This event is fired after the JobStarted event, but before the Verify session actually starts. It allows the user to specify batch numbers to be verified, and it is only fired if is selected in the job description. (To access that option, click on the tab of the dialog.) The list of available batches is passed as an argument to the method.
The event handler can set the batches by using SetBatchSelection on the Application object.
|
Return value |
Description |
|
EV_OK |
Normal return. The dialog appears (API selection skipped). |
|
EV_OK_ABORT |
The dialog is skipped. |
|
EV_ERROR |
Execution stops and an error is reported. |
Use this event to automatically select batches to verify, or to display your own selection dialog.
Only fired in the Verify module.
Note that the Job, BatchDef, and FormDef objects are available even though this event is fired on application level in Verify.