InvoiceValidateError event

This event fires when an invoice fails the invoice-level validation routines. If the invoice is Complete after validation, this event is not fired. It can be fired several times if the invoice is edited and validated repeatedly.

Syntax

Public Function InvoiceValidateError() As Long

Parameters

None.

Active objects

Invoice

InvoiceDefinition

InvoiceProfile

Return values

evtOK 

Normal return.

evtOKAbort 

No effect. Treated the same as evtOK.

evtCancel 

Causes an error message and job termination.

evtError 

Causes an error message and job termination.

Suggested usage

Can be used for control or logging purposes, or to take certain actions when a invoice fails validation.

InvoiceValidate event

InvoiceValidated event

VeriHandleValidationError event

FieldValidateError event