InvoiceScan event

This event fires just before the Scan module tells the scanner to load the next sheet of paper. Therefore, if there are only three pages in the scanner, for example, this event will fire four times. The fourth time the event is fired, Scan returns a message saying the document feeder is empty.

Syntax

Public Function InvoiceScan() As Long

None.

evtOK

Normal return

evtOKAbort

No effect. Treated as evtOK.

evtError

Causes error message and job termination

Can be used to set the endorser string for each invoice individually using the SetEndorserString method. This can only be used if endorsing is disabled in the current job. If so, the counting mechanism in the Scan application is disabled.

Related topics

InvoiceScanned event

InvoiceScanError event