Share via


WrkCtrScheduler.insertNotOnSameResConstraints Method [AX 2012]

Emits constraints for jobs that should not be scheduled on the same resource.

Syntax

protected void insertNotOnSameResConstraints(WrkCtrParmSchedule _wrkCtrParmSchedule, RouteJobMap _routeJobMap)

Run On

Server

Parameters

  • _wrkCtrParmSchedule
    Type: WrkCtrParmSchedule Class
    A WrkCtrParmSchedule object that contains order scheduling parameters.
  • _routeJobMap
    Type: RouteJobMap Map
    A RouteJobMap record map that contains the current job that is being processed.

Remarks

NotOnSameResource constraints will be added between the current job being processed and all jobs already saved in the setNotOnSameResJobs variable.

See Also

Reference

WrkCtrScheduler Class