ANSI2003 the #830 transaction set

After you analyze the ansi2003.mtt type tree, the following analyzer message appears:

L199 - COMPONENT 4 is not distinguishable from COMPONENT 7 that may follow in TYPE 'LoopLIN #830 Inbound Partner Set V2003 ANSI EDI' (error)

In the #830 transaction set type, there is a LoopLIN type. Within the LoopLIN type, there is a LoopSLN type. LoopSLN ends with an optional PID Segment. However, there is also a PID Segment later in the component list of the LoopLIN. In between, the PO3 Segment and the CTP Segment are optional. This means that if a PID Segment appears in the data, it may be the one in the LoopSLN or the one in the LoopLIN.

Possible solutions for making the transaction set unambiguous include the following:

  • Make at least one occurrence of the PO3 Segment or CTP Segment required, make its component range minimum at least 1.
  • Remove one of the PID Segment components.