ANSI3020 the #110 transaction

The #110 transaction set causes two errors.

The first analyze error defines indistinguishable components with optional components in between the SL1 Segments in the ansi3020.mtt type tree and might read as follows: L199 - COMPONENT 14 is not distinguishable from COMPONENT 17 that may follow in TYPE 'Transaction #110 Inbound Partner Set V3020 ANSI EDI' (error).

The 14th and 17th components of the #110 transaction set are the LoopLX and the SL1 Segment.

The problem is an ambiguous SL1 Segment; there is one in the actual transaction set. It might be confused with the one nested in the LoopLX within the LoopL5.

You must modify the definition according to your own specifications. Here is a possible solution for making the transaction set unambiguous:

  • Remove one of the S1 Segment components.
  • Make either the L4 Segment or L3 Segment components that are required by changing the component range minimum to at least 1.

The second analyze error for the ansi3020.mtt type tree #110 transaction set also identifies indistinguishable components:

The 14th and 18th components of the #110 transaction set are the LoopLX and the L10 Segment.

This problem is similar to the first error for this transaction. The L10 Segment in the actual transaction set and the one nested within the LoopLX are indistinguishable because optional components fall in between.

Modify the definition according to your own specifications. Here is a possible solution for making the transaction set unambiguous:

Remove one of the L10 Segment components.

  • Make either the L3, L4, or SL1 components outside of LoopL5 and LoopL1 required.