Mapping the Invoice Summary Section

This topic describes how to map the Invoice Summary section.

Total Monetary Value Segment (TDS)

  1. Map the following to the TDS01 segment:
    @IF(INVOIC02/IDOC/E1EDS01/SUMID == '012',@INT(@MULTIPLY(INVOIC02/IDOC/E1EDS01/SUMME,'100')),'')

    The integer value is taken after multiplying the Invoice total by 100, since there is no decimal masking in XML and to avoid rounding errors.

Invoice Shipment Summary Segment (ISS)

  1. Expand the SG16 segment to show the ISS segment.
  2. In the Output Tag Properties dialog box for the the SG16 segment, set the looping:

  3. Map the following to the ISS01 segment:
    @IF(INVOIC02/IDOC/E1EDS01/SUMID == '004',@LTRIM(INVOIC02/IDOC/E1EDS01/SUMME),'')

  4. Map the constant EA to the ISS02 segment.
  5. In the Output Tag Properties dialog box for the the ISS segment, set the following properties:

  6. Click the Filter tab and set the following properties:

    Your iWay Transformer interface should resemble the following:

  7. Save the Transform project.

iWay Software