beautypg.com

Onpreexported, Onpostexported, Onimport, onexport – Kofax DOKuStar Validation User Manual

Page 35

background image

DOKuStar Validation for Ascent Capture

Page

31

OnPreExported

This event will be fired after the user selected to close or suspend the batch, but before the batch is really closed. The
data are still present. If

OnPreExporting

returns

False

, the closing process is aborted and the batch remains

open.

The closing mode (

Suspend

or

Close

) is handed over as a parameter.

Definition:

Private Sub Data_OnPreExported(ByVal Data As Data, ByVal Mode As ExportMode)

ExportMode

can take the values:

ExportModeSuspend (=

„Suspend“)

ExportModeNone (=

„Close“)

The

OnPreExporting

event is a good place to do checks across the whole batch before being closed. See the

How Do I…

chapter for an example.

Note: Following this event, no

ActiveField

or

ActiveDocument

. is defined. Trying to access this, for

example via

Controller.ActiveField

, will cause an error.

OnPostExported

This event is fired after the batch has been closed and all data has been transferred to Ascent Capture. The parameter

Data

still contains the data just transferred.

Note: There is no

OnPostExporting

event. This event cannot be canceled.

Definition:

Private Sub data_OnPostExported(ByVal Data As Data, ByVal Mode As ExportMode)

OnImport, OnExport

These events are not supported in the Ascent Capture version of DOKuStar Validation. You will never get these
events.