Getting incorrect or doubled value for set trailer.

Document created by anton_serbanescu Employee on Jul 16, 2014
Version 1Show Document
  • View in full screen mode
Getting incorrect or doubled value for set trailer.

Source file has 9 line items or 9 line orders. The set trailer ends up with a value of 18. Why?
Make sure the segments in the EDI profile are in the correct order.

For example,

Detail Loop
   REF 
   PO4

will cause a doubled value for the set trailer, because the looping will expect REF again, so it will go back up
to the Detail Loop and continue the count for the set trailer.

If on the other hand the EDI profile, has the correct sequence of segments,

Detail Loop
   PO4
   REF

then the Looping will not go back to the Detail Loop, and continue counting.

Attachments

    Outcomes