User-defined Codes for EDI

Many fields accept only user-defined codes (UDCs). You must define these codes to perform EDI processes.

UDCs are stored in tables by system and code type. For example, system 47, type PU represents electronic commerce and transaction-set purpose codes.

You can view some UDCs from selections on the EDI Advanced & Technical Operations menu (G4731). Alternatively, you can access all codes through a single UDC form. After you select a UDC form from a menu, change the system code and the UDC type fields to access another UDC table. The system stores UDCs in the F0005 table.

These UDCs are primary to the EDI system:

  • Record type codes (00/RD) define the type of inbound and outbound tables.

    These UDCs are loaded and hard-coded, and you should not change the code or its meaning. To do so would interfere with correct processing.

  • Transaction type codes (00/TT) identify the American National Standards Institute (ANSI) code and definition for each type of EDI transaction.

    For example, code 823 is the UDC code and the ANSI code for lockbox transactions, and 850 is the UDC and ANSI code for purchase order transactions. These codes are loaded. You can review the list of codes to determine the current codes and their descriptions.

  • EDI transaction-set number codes (40/ST) describe each type of EDI document that you send and receive.

    You can define transaction-set codes for any EDI standard. Transaction-set codes for EDI documents are loaded. You can modify the transaction-set codes and add transaction sets to the table.

  • Transaction-set purpose codes (47/PU) control the actions that the system performs when you send and receive EDI documents.

    The system uses the code each time that the transaction-set purpose appears in a table. These codes are loaded, and they are intended for use with ANSI X12 element 353. For inbound documents, the system uses this code to determine the action to perform on the transaction. For outbound documents, this code communicates the purpose of the transaction to the trading partner.

    You can review the current list of codes and their descriptions.