GLN usage options
There are three values for indicating GLN usage. GLN cross reference setup is described in the GLN Substitutions section of this document. GLN substitutions setup
B – Both:
Use the "B" usage indicator to use both vendor assigned account numbers and GLNs in the EDI transactions. With the "B" indicator, both the vendor assigned account numbers and GLNs are cross referenced and used in the translation.
For outbound transactions (POs), if a GLN does not exist in the Lawson interface file, a GLN lookup is performed. If both account numbers and GLNs are used and available, two N1 segments are created. One N1ST segment with the account number preceded by a "91" qualifier and an N1DA segment with the GLN preceded by a "UL" qualifier.
N1^ST^^91^1067A91067
N1^DA^PO SHIP TO NAME 1067A IC02.1-X^UL^1234567890123
For inbound transactions (855, 810, etc.), if an N1 segment contains a "91" qualifier, an account number – Lawson value cross reference look up is performed. If an N1 segment contains a "UL" qualifier and a Lawson Id hasn't already been found, a GLN cross reference is performed.
L – Lookup:
Use the "L" usage indicator to only use GLNs through data substitution cross references. With the "L" indicator, an attempt is made to cross reference Lawson identifiers with GLNs in the data substitution records. With the "L" indicator, only GLNs (qualified with "UL") is created or processed; vendor assigned account numbers will not be created or processed.
For outbound processing, the 850 transaction would only contain an N1ST segment with a "UL" qualifier.
N1^ST^PO SHIP TO NAME 1067A IC02.1-X^UL^1234567890123
For inbound processing, only N1 segments containing "UL" qualifier would be used to look up Lawson values. For example, an N1ST segment with a "UL" qualifier would be used to lookup a Lawson ship to value using the GLN.
This segment would not be used because it does not contain a "UL" qualifier:
N1^ST^^91^1067A91067.
This segment would be used because it does contain a "UL" qualifier:
N1^ST^PO SHIP TO NAME 1067A IC02.1-X^UL^1234567890123
The value "1234567890123" would be used to lookup an ED40 record with a Lawson ship to.
O – Only:
Use the "O" usage indicator to only use GLNs in transactions. With the "O" indicator, no cross referencing is finished. GLNs are directly mapped between the Lawson interface files and the ASC X12 transactions. This option can only be used with Lawson applications 9.0.1.4 (or 9.0.1.3 + CTPs) and higher. Only N1 segments with "UL" qualifiers are used.
N – None
There is a fourth option. Use an "N" to specify not to use GLN's. This is useful if you have enabled GLN usage for all trading partners with an asterisk as described above and want to exclude specific trading partners.
Using GLNs with 9.0.1.4 Lawson applications
As stated above, GLNs are available for use in the Lawson interface files for Lawson applications 9.0.1.4 and higher. Customers meeting this requirement have the option to only use GLNs in ANSI X12 Transactions. The GLNs will need to be specified and associated with the Lawson identifiers in IC58.1 and be active. Also, the interface programs (for example, MA531, MA540) need to have the GLN processing flag set to yes. For more information on GLN setup refer to the GTIN GLN Setup Guide available on the Lawson Knowledgebase.