The N1:3 Segment
The N1:3 segment in the N1:2 group identifies the Name of the entity or individual. If the N1:3 segment is used, then the N1:301 element is mandatory. The N1:301 element contains the Entity Identifier Code, which identifies the type of name and address in that iteration of the group.
To ensure that Sterling Gentran:Server® displays the correct name and address in the Ship To and Remit To fields, you should use the key field function. The key field function enables you to specify a second qualification in selecting a segment (the segment name is the first qualification). Data must be provided in the order designated through the use of key fields. For example, for this tutorial, your screen entry translation object users enter the ship to name and address (N1:2 group) first, and then the remit to name and address (N1:3 group).
By using the key field function, if a screen entry translation object user enters only a Remit To name and address (N1:3 group) in a document using this invoice translation object, then saves the document and opens it later, the Remit To name and address are displayed in the correct fields. If you do not use the key field function, then in the same scenario described above, the Remit To name and address are displayed in the Ship To fields (since they are the first N1 fields in which data can be displayed).