External ID Types When Using TRADACOMS
The sender and receiver of a TRADACOMS transmission must be identified in Trading Networks. To identify senders and receivers, Trading Networks can use information in the transmission's STX segment to look up a partner profile for the sender and receiver of a document. That information will be associated with the BizDocEnvelope created for the transmission.
The external ID types that Module for EDI automatically installs (Tradacoms Code and Tradacoms Name) correspond to the STX segment's FROM and UNTO data elements. Each data element is a composite with two optional fields: Code and Name. Either or both of these fields can be used to identify the sender or receiver of a TRADACOMS transmission.
When Trading Networks examines partner profiles to look up a sender or receiver, the following four possibilities can result, depending on which fields have values:
Code present? | Name present? | Result |
No | No | Unknown trading partner |
Yes | No | Uses Code to look up trading partner |
No | Yes | Uses Name to look up trading partner |
Yes | Yes | Uses both Name and Code to look up trading partner |
For example:
If the sender's FROM data element contains... | Then the sender will be the trading partner with... |
Code=ABC -and- Name field is empty | The external ID type Tradacoms Code defined as ABC. |
Code field is empty -and- Name=ABC | The external ID type Tradacoms Name defined as ABC. |
Code field=ABC -and- Name field=XYZ | Both of the following: ![*](chapterTOC_bullet.png) The external ID type Tradacoms Code defined as ABC and ![*](chapterTOC_bullet.png) The external ID type Tradacoms Name defined as XYZ |