InvoiceReject event

This event fires when a user clicks Reject in the Verify module. It is fired before a dialog is displayed that asks if you are sure you want to reject the invoice.

Syntax

Public Function InvoiceReject() As Long

None.

evtOK

Returning this value displays the dialog normally so that the Verify operator can choose whether or not to reject the invoice.

evtOKAbort

Returning this value suppresses the dialog. The invoice is not rejected and the next invoice is displayed. Changes made to the current invoice are saved.

evtCancel

When you return this value, the rejection of the invoice is aborted. The Verify operator can continue to verify the current invoice.

Related topic

InvoiceRejected event