XMLOutput

This is a delegate of type UserExitXMLOutput and has the following parameters.

  • IWorkdoc doc

  • ILineData[] lineData

  • IAccountingData[] glData

  • ITaxData[] taxData

  • XmlDocument xmlDoc

This user exit is available so you can add custom fields to the XML output file. The XML output file is divided into the following sections.

  • Document attributes such as class name and scan date.

  • Line item details such as quantity and unit price.

  • Invoice header details such as invoice number and date.

  • General ledger coding such as GL account and cost center.

This user exit is called by the core application code once for the document header, once for the invoice header, once for each standard line item, and once for each general ledger coding line item.

The ILineData[] lineData array parameter contains the standard line items, and the IAccountingData[] glData array parameter contains the general ledger coding lines.

This user exit is available during export processing only.