Job Scheduling Form Events Handling using AutoScript
We are placing those procedures into the Scheduling Form‘s AutoScript section.
Sched_GetExtraCol ( step_id, extra_col_id )
Call this procedure to get any extra column values.
Sched_AfterCreateActivity ( date, step_id, sched_id, quant0, pos_id, rgroud_id )
Call this procedure after the creation of new activity on step_id. The new activity has sched_id, quant0, pos_id, rgroup_id as record values. The programmer can add some extra functionality here.
Sched_AfterSizeActivity ( date, step_id, sched_id, quant0, pos_id, rgroud_id )
Call this procedure after the resizing of activity on step_id. The new activity has sched_id, quant0, pos_id, rgroup_id as record values. The programmer can add some extra functionality here.
Sched_AfterDeleteActivity ( sched_id )
Call this procedure after the deletion of activity with sched_id as id.
Sched_AfterMoveActivity ( sched_id )
Call this procedure after the moving of activity with sched_id as id.
Sched_ViewApplForms ( sched_id )
Call this procedure to view some application-specific data for activity with sched_id as id.
The following functions are put into the Scheduling Form‘s AutoScript section and return 0 for failure 1 for success (default is 1)
Sched_BeforeCreateActivity ( step_id, time1, time2 )
Call this function before the creation of new activity on step_id.
Sched_BeforeSizeActivity ( sched_id, time1, time2 )
Call this function before the resizing of activity on sched_id.
Sched_BeforerDeleteActivity ( sched_id )
Call this function before deletion of activity with sched_id as id.
Sched_BeforeMoveActivity ( sched_id, time1, time2 )
Call this function before moving of activity with sched_id as id.