PurchaseInvoiceMatching

This component allows you to match a purchase invoice line to a purchase order line and runs the Purchase Invoice Matching (PIM) function.

Only one invoice line can be matched to one order line at a time.

Note: This Help contains hyperlinks that are enabled when the Help is accessed within the application. However, if you have accessed this Help via the SunSystems Web portal, hyperlinks are not enabled.

Methods

Match
Driver Type: SASI
Use this method to match an invoice line to an order line.

Mandatory fields

General
The following may need to be supplied:
  • Purchase Invoice Reference - payload element <PurchaseInvoiceReference>
  • Purchase Invoice Line Number - payload element <PurchaseInvoiceLineNumber>
  • Purchase Order Reference - payload element <PurchaseOrderReference>
  • Purchase Order Line Number - payload element <PurchaseOrderLineNumber>
  • Fully Match Invoice Line - payload element <FullyMatchInvoiceLine>
Manual Input
If using the Purchase Invoice Matching function manually through Navigation Manager, then on certain occasions a critical message is displayed which requires you to choose the required outcome. In this SSC component, a number of outcomes have been pre-defined but one requires you to choose as part of the input payload.
If an invoice line and order line have the same quantity and/or value then both the order line and the invoice line are automatically fully matched, and will not be available for matching to other orders and invoices.
If the order line quantity and/or value is greater than the invoice line quantity and/or value, the order line is always left open but the invoice line is closed. This allows further purchase invoices to be matched to the order. You can then go through an administration exercise and close orders as required using the 'Cancel Qty' action if there are no more invoices.
If the invoice line quantity and/or value is greater than the order line quantity and/or value you must select the option you require when prompted if you want the invoice line to remain open. You must supply your choice in the Input Payload using the 'FullyMatchInvoiceLine' tag for each record:
  • If you require the invoice line to be kept open, enter 0 ('No'). More order lines can be matched to this invoice line.
  • If you want to close (fully match) the invoice line, enter '1' (meaning 'Yes'). No more order lines can be matched to this invoice line.
Note: At runtime the component validates the payload contents to ensure that the values supplied are correct. Various combinations of values may require other elements in the payload to be specified before the payload can be processed successfully.

Related data

Stage.