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.
Public Function InvoiceValidateError() As Long
None.
|
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. |
Can be used for control or logging purposes, or to take certain actions when a invoice fails validation.