InvoiceApproved event

This event fires after an invoice is approved, and validated, in Verify. This event occurs after the InvoiceApprove event.

Syntax

Public Function InvoiceApproved() As Long

None.

evtOK

Normal return.

evtCancel

The invoice is not approved.

evtError

Currently no action.

You can return evtCancel to abort the process. However, evtCancel is not defined in the Kofax ReadSoft Invoices 5.2 COM API type library. To use evtCancel, for the few events that support it, you must declare the constant yourself:

 Private Const evtCancel  As Long = 2