The tp file contains trading partner information for ODBC databases as illustrated in Table 3-4.
Name |
Type |
Precision |
Description |
---|---|---|---|
CUSTNO |
SQL_VARCHAR |
35 |
Internal application identifier for the trading partner, used to link the trading partner table (tp), trade agreement (tradstat) table, and the application data field that has the attribute Trading Partner ID |
<filler> |
SQL_VARCHAR |
1 |
No longer used (formerly TYPE_OWNER) |
NAME |
SQL_VARCHAR |
35 |
Internal application name for the trading partner |
IDQUAL |
SQL_VARCHAR |
4 |
Qualifier that specifies the type of main code used to identify the interchange level default receiver on outbound maps and the interchange sender lookup value on inbound maps. (The value in this field will be overridden by a value in the RCV_IDQUAL field of the trade agreement table for outbound processing.)
|
IDCODE |
SQL_VARCHAR |
35 |
Main code used to identify the interchange level default receiver on outbound maps and default sender on inbound maps. The value in this field is overridden by a value in the RCV_IDCODE field of the trade agreement table for outbound processing. Outbound – Loads the contents of this field into the RECV_CODE system variable, then loads RECV_CODE into the following envelope fields:
|
IDCODE |
SQL_VARCHAR |
35 |
Inbound – When this field is part of the trading partner lookup, the program compares the contents of this field with the contents of the SEND_CODE system variable loaded from these envelope fields:
|
AUTH_QUAL |
SQL_VARCHAR |
2 |
Qualifier that specifies the type of code used to authenticate the trading partner at the interchange level. If this field is blank, the program uses the value in the WIX_AUTH_QUAL field in the company table for outbound processing. Outbound – Loads the contents of this field into the AUTH_QUAL system variable, then loads AUTH_QUAL into this envelope field: Authorization Information Qualifier – ISA 01 |
AUTH_CODE |
SQL_VARCHAR |
10 |
Code used to authenticate the trading partner at the interchange level. If this field is blank, the program uses the value in the WIX_AUTH_CODE field in the company table for outbound processing. Outbound – Loads the contents of this field into the AUTH_CODE system variable, then loads AUTH_CODE into the following envelope fields:
|
SECU_QUAL |
SQL_VARCHAR |
2 |
Qualifier that specifies the type of code used to grant security clearance to the trading partner at the interchange level. If this field is blank, the program uses the value in the WIX_SECU_QUAL field in the company table for outbound processing. Outbound – Loads the contents of this field into the SECU_QUAL system variable, then loads SECU_QUAL into these envelope fields:
|
SECU_CODE |
SQL_VARCHAR |
10 |
Code used to grant security clearance to the trading partner at the interchange level. If this field is blank, the program uses the value in WIX_SECU_CODE field in the company table for outbound processing. Outbound – Loads the contents of this field into the SECU_CODE system variable, then loads SECU_CODE into these envelope fields:
|
GSID |
SQL_VARCHAR |
35 |
Main code used to identify the group level default receiver on outbound maps and default sender on inbound maps.
|
SHIPQUAL |
SQL_VARCHAR |
2 |
Qualifier that specifies Ship To identification code of the trading partner. Outbound – Loads the contents of this field into the SYS_SHIPQUAL system variable, where it is available for use in mapping. |
SHIPIDEN |
SQL_VARCHAR |
15 |
Ship To identification code of the trading partner. Outbound – Loads the contents of this field into the SYS_SHIPIDEN system variable, where it is available for use in mapping. |
BILLQUAL |
SQL_VARCHAR |
2 |
Qualifier that specifies Bill To identification code of the trading partner. Outbound – Loads the contents of this field into the SYS_BILLQUAL system variable, where it is available for use in mapping. |
BILLIDEN |
SQL_VARCHAR |
15 |
Bill To identification code of the trading partner. Outbound – Loads the contents of this field into the SYS_BILLIDEN system variable, where it is available for use in mapping. |
ADDR1 |
SQL_VARCHAR |
35 |
Street address at which the trading partner is located. Outbound – Loads the contents of this field into the SYS_ADDR1 system variable, where it is available for use in mapping. |
ADDR2 |
SQL_VARCHAR |
35 |
Additional street address at which the trading partner is located. Outbound – Loads the contents of this field into the SYS_ADDR2 system variable, where it is available for use in mapping. |
CITY |
SQL_VARCHAR |
19 |
City in which the trading partner is located. Outbound – Loads the contents of this field into the SYS_CITY system variable, where it is available for use in mapping. |
STATE |
SQL_VARCHAR |
15 |
State in which the trading partner is located. Outbound – Loads the contents of this field into the SYS_STATE system variable, where it is available for use in mapping. |
COUNTRY |
SQL_VARCHAR |
25 |
Country in which the trading partner is located. Outbound – Loads the contents of this field into the SYS_COUNTRY system variable, where it is available for use in mapping. |
ZIP |
SQL_VARCHAR |
9 |
Zip code at which the trading partner is located. Outbound – Loads the contents of this field into the SYS_ZIP system variable, where it is available for use in mapping. |
CONTACT1 |
SQL_VARCHAR |
35 |
Name of the trading partner contact. Outbound – Loads the contents of this field into the CONTACT1 system variable, where it is available for use in mapping. |
TELEPHONE1 |
SQL_VARCHAR |
22 |
Telephone number of the trading partner contact. Outbound – Loads the contents of this field into the TELEPHONE1 system variable, where it is available for use in mapping. |
CONTACT2 |
SQL_VARCHAR |
35 |
Name of an additional trading partner contact. Outbound – Loads the contents of this field into the CONTACT2 system variable, where it is available for use in mapping. |
TELEPHONE2 |
SQL_VARCHAR |
22 |
Telephone number of an additional trading partner contact. Outbound – Loads the contents of this field into the TELEPHONE2 system variable, where it is available for use in mapping. |
ISA_IN_NO |
SQL_VARCHAR |
14 |
Interchange-level control reference number for inbound processing. Inbound – The program reads the incoming EDI envelope, performs a trading partner lookup to select the map to be run (using criteria specified by the user), writes an entry to the log, then the contents of these envelope fields into the INT_HEAD_NUM system variable:
The program then also stores the contents of INT_HEAD_NUM in an internal storage area. When the trading partner changes, the program loads the contents of the internal storage location into this field. Users can load an override value into this field on the Mailbox tab of the Trading Partner window. |
ISA_OUT_NO |
SQL_VARCHAR |
14 |
Interchange-level control reference number for outbound processing. Outbound – The program first looks for a trade agreement match to select the map to be run. Once it finds a match, it increments the value in this field by 1, loads the field contents into the INT_HEAD_NUM system variable, then loads INT_HEAD_NUM into these envelope fields:
When the trading partner changes during processing, the program increments the value in this field by 1, loads the contents of the field into the INT_HEAD_NUM system variable, and loads INT_HEAD_NUM into the appropriate envelope field. Users can load an override value into this field on the Mailbox tab of the Trading Partner window. |
SND_GSID |
SQL_VARCHAR |
35 |
Main code used to identify the group level override sender on outbound maps and group receiver lookup value on inbound maps. If this field is blank, the program uses the value in the WIX_IDQUAL field in the company table for outbound processing.
|
SND_IDQUAL |
SQL_VARCHAR |
4 |
Qualifier that specifies the type of main code used to identify the interchange level override sender on outbound maps and interchange receiver lookup value on inbound maps. If this field is blank, the program uses the value in the WIX_IDQUAL field of the company table for outbound processing.
|
SND_IDCODE |
SQL_VARCHAR |
35 |
Main code used to identify the interchange level override sender on outbound maps and interchange receiver lookup value on inbound maps. If this field is blank, the program uses the value in the WIX_IDCODE field of the company table for outbound processing.
|
SUB_DELIMT |
SQL_VARCHAR |
3 |
Special character used by the trading partner to override the default X12 sub-element delimiter. Outbound – If there is a value in this field, the program uses it to create outbound EDI data. If not, it uses a default value. |
ELE_DELIMT |
SQL_VARCHAR |
3 |
Special character used by the trading partner to override the default X12 element delimiter. Outbound – If there is a value in this field, the program uses it to create outbound EDI data. If not, it uses a default value. |
SEG_DELIMT |
SQL_VARCHAR |
3 |
Special character used by the trading partner to override the default X12 segment delimiter. Outbound – If there is a value in this field, the program uses it to create outbound EDI data. If not, it uses a default value. |
RELEASE_CH |
SQL_VARCHAR |
3 |
Special character used by the trading partner to override the default X12 release character. Outbound – If there is a value in this field, the program uses it to create outbound EDI data. If not, it uses a default value. |
X12_REPEAT |
SQL_VARCHAR |
3 |
Special character used by the trading partner to override the default X12 repeat character. Outbound – If there is a value in this field, the program uses it to create outbound EDI data. IfIf not, it uses a default value. |
<filler> |
SQL_VARCHAR |
1 |
No longer used. (formerly DEL_CODE) |
EDIF_SUBDL |
SQL_VARCHAR |
3 |
Special character used by the trading partner to override the default EDIFACT sub-element delimiter. Outbound – If there is a value in this field, the program uses it to create outbound EDI data. If not, it uses a default value. |
EDIF_ELEDL |
SQL_VARCHAR |
3 |
Special character used by the trading partner to override the default EDIFACT element delimiter. Outbound – If there is a value in this field, the program uses it to create outbound EDI data. If not, it uses a default value. |
EDIF_SEGDL |
SQL_VARCHAR |
3 |
Special character used by the trading partner to override the default EDIFACT segment delimiter. Outbound – If there is a value in this field, the program uses it to create outbound EDI data. If not, it uses a default value. |
EDIF_RELCH |
SQL_VARCHAR |
3 |
Special character used by the trading partner to override the default EDIFACT release character. Outbound – If there is a value in this field, the program uses it to create outbound EDI data. If not, it uses a default value. |
EDIF_REPEA |
SQL_VARCHAR |
3 |
Special character used by the trading partner to override the default EDIFACT repeat character. Outbound – If there is a value in this field, the program uses it to create outbound EDI data. If not, it uses a default value. |
HL7_SEGDL |
SQL_VARCHAR |
3 |
Special character used by the trading partner to override the default HL7 segment delimiter. Outbound – If there is a value in this field, the program uses it to create outbound EDI data. If not, it uses a default value. |
HL7_ELEDL |
SQL_VARCHAR |
3 |
Special character used by the trading partner to override the default HL7 element delimiter. Outbound – If there is a value in this field, the program uses it to create outbound EDI data. If not, it uses a default value. |
HL7_SUBDL |
SQL_VARCHAR |
3 |
Special character used by the trading partner to override the default HL7 sub-element delimiter. Outbound – If there is a value in this field, the program uses it to create outbound EDI data. If not, it uses a default value. |
HL7_SUBSUB |
SQL_VARCHAR |
3 |
Special character used by the trading partner to override the default HL7 component delimiter. Outbound – If there is a value in this field, the program uses it to create outbound EDI data. If not, it uses a default value. |
HL7_RELCH |
SQL_VARCHAR |
3 |
Special character used by the trading partner to override the default HL7 release character. Outbound – If there is a value in this field, the program uses it to create outbound EDI data. If not, it uses a default value. |
HL7_REPEAT |
SQL_VARCHAR |
3 |
Special character used by the trading partner to override the default HL7 repeat character. Outbound – If there is a value in this field, the program uses it to create outbound EDI data. If not, it uses a default value. |
EXPORT_FLAG |
SQL_VARCHAR |
1 |
Special character used to designate that flagged trading partner records can be moved from one database to another. |
MBOX_NAME |
SQL_VARCHAR |
35 |
Internal name of the trading partner mailbox – used only as a label on windows or reports. The value in this field can be overridden by a value in the MBOX_NAME field in the trade agreement table. |
MAILBOX |
SQL_VARCHAR |
100 |
Full-path name of the trading partner mailbox folder, or directory. The value in this field can be overridden by a value in the dest field in the trade agreement table. |
CURR_FMT |
SQL_VARCHAR |
1 |
Character used to indicate whether a period or comma is used as the decimal character
|
POS_LTR |
SQL_VARCHAR |
1 |
Reserved for future use with packed decimal. |
SNDR_ROUTE |
SQL_VARCHAR |
14 (35 for Syntax 4) |
Internal code used to identify the interchange level override sender on outbound maps and interchange receiver lookup value on inbound maps.
|
SNDR_SUBID |
SQL_VARCHAR |
35 |
Internal sub-code used to identify the interchange level override sender on outbound maps and interchange receiver lookup value on inbound maps. (EDIFACT Syntax 4 only)
|
RCVR_ROUTE |
SQL_VARCHAR |
14 (35 for Syntax 4) |
Internal code used to identify the interchange level default receiver on outbound maps and interchange sender lookup value on inbound maps.
|
RCVR_SUBID |
SQL_VARCHAR |
35 |
Internal sub-code used to identify the interchange level default receiver on outbound maps and interchange sender lookup value on inbound maps.
|
APP_SND_QL |
SQL_VARCHAR |
4 |
Qualifier that specifies type of code used to identify the group level override sender on outbound maps and group receiver lookup value on inbound maps.
|
APP_RCV_QL |
SQL_VARCHAR |
4 |
Qualifier that specifies the type of main code used to identify the group level default receiver on outbound maps and group sender lookup value on inbound maps.
|
B_SEND_ID |
SQL_VARCHAR |
24 |
Batch sender ID |
B_RECV_ID |
SQL_VARCHAR |
24 |
Batch receiver ID |
BIN_NUMB |
SQL_INTEGER |
6 |
Bin number |
PROC_NUMB |
SQL_VARCHAR |
10 |
Processing control number |
SERV_QUAL |
SQL_VARCHAR |
2 |
Service provider ID qualifier |
SERV_ID |
SQL_VARCHAR |
15 |
Service provider ID |
SOFT_ID |
SQL_VARCHAR |
10 |
Software/vendor ID |
ACK_TYPE |
SQL_VARCHAR |
1 |
Acknowledgement flag |
TPKEY |
SQL_INTEGER |
10 |
Unique auto-increment field used to:
|