FieldComplete event

This event fires right after a field has been validated by the internal routines and the field’s status has been set to Complete. The event fires at least once for each field and can be fired several times if the field value is edited and validated repeatedly.

Syntax

Public Function FieldComplete() As Long

Parameters

None.

Active objects

FieldDefinition

FieldProfile

Invoice

InvoiceDefinition

InvoiceField

InvoiceProfile

Return values

evtOK 

Normal return

evtOKAbort 

Skips any further checks on the field. Return this if you explicitly change the status of a field.

evtCancel 

Causes an error message and job termination.

evtError 

Causes an error message and job termination.

Suggested usage

Could be used to implement field validations that cannot be performed by INVOICES.

Note: This event should not be used when drawing line items in Verify. Validation of individual line item fields and rows is dependent on the values and structure of the entire line item table.