hlLoop example
The hlLoop example is an example of using a customized ITX standard for the X12 856 Ship Notice/Manifest or Advanced Ship Notice - ASN. The ITX standard has been customized to preserve the hierarchy during runtime parsing of the input data when a hierarchy is defined for the output for easier mapping.
Map source and executable: receiveasn.mms
Customized standard: ansi8020_856.mtt
Input X12 856: asn856Test.input
Output X12 856: asn856Test.out
The REF segments in the output file identify, the functional map executions in the map source/executable along with the description from the input file of the loop levels. For example: REF*ZZ*forEachItem*Item 1 & Pack 2 & S1Order 1
identifies functional map forEachItem execution
Item 1 with Pack 2 parent
Pack 2 parent is Order1
Order 1 parent is S1 (Shipment 1).