Using Additional Criteria when defining segments
Updated
Use additional criteria to identify a segment that its segment ID alone cannot identify. You choose a child data element of the segment and a value for it. The profile then uses that element and value to identify the segment.
Prerequisites
- An EDI profile with the segment you want to define. [LINK: Adding or deleting segments, loops, and elements]
- A child data element on the segment whose value identifies it. For example, the HL03 element in an HL shipment segment.
Steps
- Open the EDI profile and select the Data Elements tab.
- Expand the tree and select the segment.
- On the right side of the page, expand the Additional Criteria section.
- Select the Use Additional Criteria to Define Segment? check box.
- Click the Choose Element icon. Select a child data element of the segment and click OK.
- In the Element Value field, type the value that identifies the segment. For an HL shipment segment, the element is HL03 and the value is
S. - Click Save.
Result
The segment is identified by its data element and value. The Additional Criteria section shows the element and value you chose. [CONFIRM: What happens when a document has a value that does not match? Does the segment fail to read, or is it read as a generic segment?] [LINK: Auto-generate options] [LINK: Segment details]