InvoiceReinterpretQuestion

This event is fired when a Verify operator is asked if they want to reinterpret the invoice (exception is when the last page of a document is specified).

Examples of when the event is fired:

  • The invoice definition to which the invoice belongs was changed after the invoice was interpreted.
  • The user clicks in the Supplier name box, presses Enter, and a matching definition is found.
  • The invoice can be matched to more than one variant of an invoice definition

Syntax

Public Function InvoiceReinterpretQuestion(ReinterpretAction as Long) As Long

ReinterpretAction

Describes what to do if a new page is set as the last invoice page:

-1 = Do not reinterpret the invoice, and do not display the message that asks the Verify operator whether the invoice should be reinterpreted.

0 = Show a message that asks the Verify operator whether the invoice should be reinterpreted (default).

1 = Reinterpret the invoice without displaying the message.

evtOK

Use the ReinterpretAction value.

evtOKAbort, evtCancel, evtError

Show a message that asks the Verify operator whether the invoice should be reinterpreted (default).

  • Have all invoices with changes to the supplier automatically reinterpreted without displaying a message.
  • Ensure that a message is displayed asking the operator if the invoice should be reinterpreted.