Batch Script Hooks

Various scripts exist to configure the way in which the Batch application functions.

Screen Typical Use Details
BatchSchemeAddNew.SCR

Filters the list of schemes in the list-view panel.

When the Add button is clicked from the Scheme criteria screen, this form displays at the bottom of the Add new scheme screen.
BatchProcedureAddNew.SCR

Filters the list of procedures in the list-view panel.

When the Procedure button is clicked from the Scheme criteria screen, this form displays at the bottom of the Add new procedure screen.

Hook scripts exist to manage various events in the Batch application.

Script Typical Use Details

BatchUDF.VBS

Subroutine BatchUDF1

Used to perform user-defined tasks before result records are created.

Invoked before the PJCSA records are created.

BatchUDF.VBS

Subroutine BatchUDF2

Used to perform user-defined tasks after result records have been created.

Invoked after the PJCSA records have been created.

BatchUDF.VBS

Subroutine PRepUDF1

Used to perform pre-processing of job reports created in Microsoft Excel™.

Invoked before a job report is created in Microsoft Excel™.

BatchUDF.VBS

Subroutine PRepUDF2

Used to perform post-processing of job reports created in Microsoft Excel™.

Invoked after a job report has been created in Microsoft Excel™.

BatchUDF.VBS

Subroutine PRepUDF3

Used to perform pre-processing of job reports created in Microsoft Word™.

Invoked before a job report is created in Microsoft Word™.

BatchUDF.VBS

Subroutine PRepUDF4

Used to perform post-processing of job reports created in Microsoft Word™.

Invoked after a job report has been created in Microsoft Word™.

BatchUDF.VBS

Subroutine BeforeCrystalGenerate

Used to perform pre-processing of job reports created in Crystal Report™.

Invoked before a job report is created in Crystal Report™.

BatchUDF.VBS

Subroutine AfterCrystalGenerate

Used to perform post-processing of job reports created in Crystal Report™.

Invoked after a job report has been created in Crystal Report™.

User-defined scripts and screens are available for launching from the Batch application, to perform user-defined tasks.

Script Typical Use Details

Screen script (.SCR) files defined in the ScreenFilen Program Settings - BATCH.

User-defined tasks, with a screen.

Invoked from the New menu option on the main form.