HL |
Hierarchical Level |
|
|
Ref |
Id |
Element Name |
Req |
Type |
Min/Max |
Usage |
|
HL01 |
628 |
Hierarchical ID Number
|
M |
AN |
1/12 |
Must use |
|
HL03 |
735 |
Hierarchical Level Code
|
M |
ID |
1/2 |
Must use |
|
Code |
Name |
|
O |
Order |
|
S |
Shipment |
1. |
The HL Segment is used to identify levels of detail information using a Hierarchical Structure, such as relating line item data to shipment data, and packaging data to line item data. |
2. |
The HL segment defines a top-down/left-right ordered structure. |
3. |
HL01 shall contain a unique alphanumeric number for each occurrence of the HL segment in the transaction set. For example HL01 could be used to indicate the number of occurrences of the HL segment, in which case the value of HL01 would be "1" for the initial HL segment, and would be incremented by one in each subsequent HL segment within the transaction. |
4. |
HL02 identifies the Hierarchical ID Number of the HL segment to which the current HL segment is subordinate. |
5. |
HL03 indicates the context of the series of segments following the current HL segment up to the next occurrence of an HL segment in the transaction. For example, HL03 is used to indicate that subsequent segments in the HL loop form a logical grouping of data referring to shipment, order or item level information. |
6. |
HL04 indicates whether or not there are subordinate (or child) HL segments related to the current HL segment. |