Inbound
For inbound processing, the process decision tree is as follows:
No GLN
This is the existing functionality. Only vendor assigned account numbers are used.
If N1 segment with N103 = 91 or 92 |
|
L1_I_USE_GLN = B
If GLN usage is set to Both, both Lawson id values and GLNs are written to the interface file. For customers not on 9.0.1.4, the GLNs will not be written to the interface file.
-
If N1 segment with N103 = 91 or 92
-
account number = N104 from N1^ST^^91^account number
-
company = lookup tpid_I_COMPANY with account number.
-
vendor = lookup tpid_I_VENDOR with account number
-
other substitutions available depending on transaction.
-
-
If N1 segment with N103 = UL
if N102 = ST or DA -
shipto_gln = N104
-
if no shipto_location, shipto_location = lookup L1_SHIPTO_GLN with shipto_gln
-
if no company, company = lookup L1_COMPANY_GLN with shipto_gln
-
L1_I_USE_GLN = L
If GLN usage is set to Lookup, only GLNs are used to lookup Lawson id values; only Lawson id values are written to the interface file; GLNs will not be written to the interface file.
-
If N1 segment with N103 = UL
if N102 = ST or DA -
shipto_location = lookup L1_SHIPTO_GLN with N104
-
if no company, company = lookup L1_COMPANY_GLN with N104
if N102 = BT company = lookup L1_COMPANY_GLN with N104 if N102 = VN vendor = lookup L1_VENDOR_GLN with N104 if N102 = SE purchfrom = lookup L1_PURCHFROM_GLN with N104 if N102 = RE remitto = lookup L1_REMITTO_GLN with N104 -
L1_I_USE_GLN = O
This usage is only valid for customer with 9.0.1.4 Lawson Applications or 9.0.1.3 with CTP's applied. With this option, GLNs are directly mapped to the interface file; no lookups are performed; no Lawson id values are mapped.
-
If N1 segment with N103 = UL
if N102 = ST or DA shipto_gln = N104 if N102 = BT company_gln = N104 if N102 = VN vendor_gln = N104 if N102 = SE purchfrom_gln = N104 if N102 = RE remitto_gln = N104
L1_O_USE_GLN = B or L or O
If GLN usage is set to B, L, or O, GLNs are written into the interface file in their appropriate position.