Max Use
of a segment.
1
means that the segment cannot be repeated.>1
means that the segment can be repeated an infinite number of times.- Any other number means the segment can be repeated at most that number of times.
Qualifiers
You’ll see segment repetitions most often when the segment has a qualifier. A qualifier determines the meaning of a segment. For example, the DTM segment contains a date and it uses a qualifier to tell you if it’s a shipping date, a delivery date, a blind date, etc. It often makes sense to have multiple dates, so theDTM
segment can be repeated.
DTM
segment can be repeated, say, 300 times, but if your trading partner only accepts a shipping date and an estimated delivery date, they may set a maximum of 2 repetitions.