InvoiceValidate event

This event fires when an invoice is about to be validated-that is, when each individual field on the invoice has Complete status and field/invoice-level validations are about to be performed. The event fires at least once for each Complete invoice, and it can be fired several times if the invoice is edited and validated repeatedly.

Syntax

Public Function InvoiceValidate() As Long

None.

evtOK

Normal return.

evtOKAbort

Causes the internal invoice validation to be skipped.

evtError

Causes an error message and job termination.

Could be used to implement invoice validations that cannot be performed by ReadSoft Invoices.

Related topics

InvoiceValidated event

InvoiceValidateError event