DisplayField event
This event is fired for each field, after an invoice is retrieved from the database, but before the invoice is displayed in Verify.
See also: Verify event flowchart
Syntax
Public Function DisplayField() As Long
None.
Comment: Although the InvoiceField object is not available, you can get the field values (if needed) via the Invoice object.
evtOK |
The field is displayed normally. |
evtOKAbort |
The field is hidden, does not appear in any of the Verify module's dialogs, a frame does not appear around the field in the invoice view, and it is not used when determining the status of an invoice. This also applies to line item fields. When a line item field profile returns this value, the child objects (line item boundary, all line item fields) are also hidden.
If one line item field returns evtOKAbort, all line item fields are hidden.
|
This event could be used to hide certain fields from the Verify operator.
Related topics
Event reference (lists the categories)