Job Executing Form Events Handling using AutoScript
Those procedures are placed into the Job Executing Form's AutoScript section
Sched_ViewApplForms ( sched_id )
Call this procedure in order to view some application specific data for activity with sched_id as id.
Sched_AfterStartActivity ( sched_id )
Call this procedure after the starting of an activity.
Sched_AfterInterruptActivity ( step_log_id )
Call this procedure after the interrupt of an activity.
Sched_AfterFinishActivity (step_id, sched_id, quant1, date )
Call this procedure after the finishing of activity on step_id, sched_id, the final quantity quant1, and the date.
Sched_AfterRetartActivity ( sched_id )
Call this procedure after the restarting of an activity.
This function is placed into the Job Executing Form's AutoScript section and returns 0 for failure or 1 for success (default is 1)
Sched_BeforeEventActivity ( sched_id, event )
Call this function data for activity with sched_id as id and event with values "start_step", "start_step_startup", "start_step_cleanup", "start_step_break", "finish_step", "interrupt_step" and "restart_step".