The tradstat file contains trade agreement information for ODBC databases, as shown in Table 3-6.
Name |
Type |
Precision |
Description |
---|---|---|---|
CUSTNO |
SQL_VARCHAR |
35 |
Internal application identifier for the trading partner, used to link the trading partner (tp) table, trade agreement (tradstat) table, and the application data field that has the attribute “Trading Partner ID.” |
MAP_TRAN |
SQL_VARCHAR |
6 |
EDI transaction (message) identifier. Outbound:
|
ST03 |
SQL_VARCHAR |
35 |
Value to be used as the third element in the transaction on outbound X12 processing. Outbound – Implementation Convention Reference – ST 03 |
MAP_EXT |
CHARACTER |
8 |
Unique map identifier |
DIR |
SQL_VARCHAR |
3 |
Direction/purpose of maps:
|
STAT |
SQL_VARCHAR |
1 |
Transaction mode:
Outbound:
|
VERS |
SQL_VARCHAR |
12 |
Version of EDI Standard used in the map. Outbound:
|
TBCODE |
SQL_VARCHAR |
60 |
Name of the map. |
MBOX_NAME |
SQL_VARCHAR |
35 |
Name of the trading partner mailbox - used only as a label on windows and reports. A value in this field overrides a value in the MBOX_NAME field of the trading partner table. |
DEST |
SQL_VARCHAR |
100 |
Folder/ full-path directory name used to override the trading partner mailbox folder/ full-path directory name – if EDI Out is checked and only for this trade agreement. A value in this field overrides a value in the MAILBOX field of the trading partner table. |
FILE |
SQL_VARCHAR |
30 |
File name of the trading partner mailbox that is used – if EDI Out is checked and only for this trade agreement |
GS_NO |
SQL_VARCHAR |
14 |
Unique functional group control number used with tpkey in outbound maps to quickly retrieve trade agreement records once they have been found. Outbound:
|
ISA_TYPE |
SQL_VARCHAR |
5 |
EDI standard used by this trading partner in this transaction/message. Outbound:
|
SERV_CODE |
SQL_VARCHAR |
6 |
Outbound – Service Code List Directory Version Number – UNB S001 0080 (EDIFACT Syntax 4 only) |
<filler> |
SQL_VARCHAR |
1 |
No longer used. (formerly DEL_CODE) |
RCV_GSID |
SQL_VARCHAR |
35 |
Main code used to identify the group level override receiver on outbound maps. Outbound:
|
RCV_IDQUAL |
SQL_VARCHAR |
4 |
Qualifier that specifies the type of main code used to identify the interchange level override receiver on outbound maps. Outbound:
|
RCV_IDCODE |
SQL_VARCHAR |
35 |
Main code used to identify the interchange level override receiver on outbound maps. Outbound:
|
ACK_RQSTD |
SQL_VARCHAR |
1 |
Flag that specifies whether an X12 interchange-level TA1 acknowledgement is expected on outbound EDI maps:
Outbound:
|
ACK_RQSTD2 |
SQL_VARCHAR |
1 |
Flag that specifies whether an X12 group-level 997 functional acknowledgement is expected on outbound EDI maps:
Outbound:
|
EDI_OUT |
SQL_VARCHAR |
1 |
Flag that specifies if inbound EDI data is to be passed through to a mailbox on inbound maps:
|
DAYS |
SQL_VARCHAR |
2 |
“Days” portion of the time period within which the trading partner expects to receive an interchange-level acknowledgement, on outbound maps. |
HOURS |
SQL_VARCHAR |
2 |
“Hours” portion of the time period within which the trading partner expects to receive an interchange-level acknowledgement, on outbound maps. |
MINUTES |
SQL_VARCHAR |
2 |
“Minutes” portion of the time period within which the trading partner expects to receive an interchange-level acknowledgement, on outbound maps. |
SECONDS |
SQL_VARCHAR |
2 |
“Seconds” portion of the time period within which the trading partner expects to receive an interchange-level acknowledgement, on outbound maps. |
APPL_REF |
SQL_VARCHAR |
14 |
Name of the application messages contained in the EDIFACT UNB envelope. Outbound – Application Reference – UNB S005 0026 |
ACK_MSG |
SQL_VARCHAR |
1 |
Flag that specifies whether a message-level CONTRL segment (UCM) is generated in response to inbound EDIFACT messages.
|
ACK_INTCH |
SQL_VARCHAR |
1 |
Flag that specifies whether an interchange-level CONTRL segment (UCI) is generated in response to inbound Edifact messages.
Outbound – Acknowledgement Request – UNB S005 0031 |
RCVR_ROUTE |
SQL_VARCHAR |
14 (35 for Syntax 4) |
Internal code used to identify the group level override receiver on outbound maps and override sender on inbound maps. (A value in this field overrides the value in the RCVR_ROUTE field of the trading partner table.) Outbound – Interchange Receiver Internal ID – UNB S003 0014 |
RCVR_SUBID |
SQL_VARCHAR |
35 |
Internal sub-code used to identify the group level override receiver on outbound maps and override sender on inbound maps. (A value in this field overrides the value in the RCVR_SUBID field of the trading partner table.) (EDIFACT Syntax 4 only) Outbound – Interchange Receiver Internal Sub-ID – UNB S003 0046 |
PROC_PRIOR |
SQL_VARCHAR |
1 |
Outbound – Processing Priority Code – UNB S005 0029 |
COMM_AGM |
SQL_VARCHAR |
35 |
Outbound – Interchange Agreement Identifier – UNB S005 0032 |
APP_PSWD |
SQL_VARCHAR |
14 |
Outbound – Application Password – UNG S008 0058 |
ASSOC_CODE |
SQL_VARCHAR |
6 |
Outbound – Association Assigned Code:
|
CNT_AG1 |
SQL_VARCHAR |
3 |
Outbound – Controlling Agency, Coded:
|
CLIST_VER |
SQL_VARCHAR |
6 |
Outbound – Code List Directory Version Number – UNH S009 0110(EDIFACT Syntax 4 only) |
MSG_TYPE |
SQL_VARCHAR |
6 |
Outbound – Message Type Sub-Function Identifier – UNH S009 0113 (EDIFACT Syntax 4 only) |
MSG_SUBID |
SQL_VARCHAR |
14 |
Outbound – Message Subset ID – UNH S016 0115 (EDIFACT Syntax 4 only) |
MSG_SUBVER |
SQL_VARCHAR |
3 |
Outbound – Message Subset Version Number – UNH S016 0116 (EDIFACT Syntax 4 only) |
MSG_SUBREL |
SQL_VARCHAR |
3 |
Outbound – Message Subset Release Number – UNH S016 0118 (EDIFACT Syntax 4 only) |
CNT_AG2 |
SQL_VARCHAR |
3 |
Outbound – Controlling Agency, Coded – UNH S016 0051 (EDIFACT Syntax 4 only) |
MSG_IMPID |
SQL_VARCHAR |
14 |
Outbound – Message Implementation Guideline ID –UNH S017 0121 (EDIFACT Syntax 4 only) |
MSG_IMPVER |
SQL_VARCHAR |
3 |
Outbound – Message Implementation Guideline Version Number – UNH S017 0122 (EDIFACT Syntax 4 only) |
MSG_IMPREL |
SQL_VARCHAR |
3 |
Outbound – Message Implementation Guideline Release Number – UNH S017 0124 (EDIFACT Syntax 4 only) |
CNT_AG3 |
SQL_VARCHAR |
3 |
Outbound – Controlling Agency, Coded – UNH S017 0051 (EDIFACT Syntax 4 only) |
SCEN_ID |
SQL_VARCHAR |
14 |
Outbound – Scenario ID – UNH S018 0127 (EDIFACT Syntax 4 only) |
SCEN_VER |
SQL_VARCHAR |
3 |
Outbound – Scenario Version Number – UNH S018 0128 (EDIFACT Syntax 4 only) |
SCEN_REL |
SQL_VARCHAR |
3 |
Outbound – Scenario Release Number – UNH S018 0130 (EDIFACT Syntax 4 only) |
CNT_AG4 |
SQL_VARCHAR |
3 |
Outbound – Controlling Agency, Coded – UNH S018 0051 (EDIFACT Syntax 4 only) |
STD_TYPE |
SQL_VARCHAR |
2 |
The type of standard used in the map:
|
APP_RCV_QL |
SQL_VARCHAR |
4 |
Qualifier that specifies the type of main code used to identify the group level override receiver on outbound maps. A value in this field overrides the value in the APP_RCV_QL field of the trading partner table. Outbound – Application Receiver ID/ID Code Qualifier – UNG S007 0007 |
TRADKEY |
SQL_INTEGER |
10 |
Unique auto-increment field used to:
|