InvoiceValidated event

This event fires after invoice-level validation routines (which follow field-level validation routines) have been performed, regardless of the result-that is, before both InvoiceComplete and InvoiceValidateError. It is also fired by Interpret even when the invoice has not received Complete status, but all fields have been validated.

Syntax

Public Function InvoiceValidated() As Long

None.

evtOK

Normal return.

evtOKAbort

No effect, treated the same as evtOK.

evtError

Causes an error message and job termination.

Could be used for doing extra checks on the invoice after all internal validation routines have been performed but before the invoice is saved to the database.

Related topics

InvoiceValidate event

InvoiceValidateError event