Share via


WrkCtrScheduler.insertJobAndConstraints Method [AX 2012]

Inserts jobs and constraints to be scheduled into the engine data pool.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          protected container insertJobAndConstraints(
            RouteJobMap _routeJobMap, 
            WrkCtrParmSchedule _wrkCtrParmSchedule, 
            ProdUnitId _prodUnitId, 
            InventLocationIdInput _inputWarehouse, 
            Map _requirementProperties, 
            Map _jobTimes, 
            WrkCtrActivityRequirementSet _wrkCtrActivityRequirementSet, 
            OprNum _oprNumNext, 
            ProdJobType _prodJobType, 
            RouteGroup _routeGroup, 
            WrkCtrSchedulerGoal _goal, 
            boolean _useFastSetup, 
            real _jobTimeForAllResources, 
            RecId _jobNumPrev, 
            Map _mapJobNumPrevNumPrimSec, 
            List _resourceList, 
            boolean _isFirstJob, 
            RouteJobType _jobTypePrev, 
            SchedJobLink _primaryLink, 
            SchedJobLinkType _primaryLinkType, 
            RecId _jobNumFirst, 
           [RecId _primaryParallelJobRecId])

  Microsoft Dynamics AX 2012 R2 (SYS)
          protected container insertJobAndConstraints(
            RouteJobMap _routeJobMap, 
            WrkCtrParmSchedule _wrkCtrParmSchedule, 
            ProdUnitId _prodUnitId, 
            InventLocationIdInput _inputWarehouse, 
            Map _requirementProperties, 
            Map _jobTimes, 
            WrkCtrActivityRequirementSet _wrkCtrActivityRequirementSet, 
            OprNum _oprNumNext, 
            ProdJobType _prodJobType, 
            RouteGroup _routeGroup, 
            WrkCtrSchedulerGoal _goal, 
            boolean _useFastSetup, 
            real _jobTimeForAllResources, 
            RecId _jobNumPrev, 
            Map _mapJobNumPrevNumPrimSec, 
            List _resourceList, 
            boolean _isFirstJob, 
            RouteJobType _jobTypePrev, 
            SchedJobLink _primaryLink, 
            SchedJobLinkType _primaryLinkType, 
            RecId _jobNumFirst)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          protected container insertJobAndConstraints(
            RouteJobMap _routeJobMap, 
            WrkCtrParmSchedule _wrkCtrParmSchedule, 
            ProdUnitId _prodUnitId, 
            InventLocationIdInput _inputWarehouse, 
            Map _requirementProperties, 
            Map _jobTimes, 
            WrkCtrActivityRequirementSet _wrkCtrActivityRequirementSet, 
            OprNum _oprNumNext, 
            ProdJobType _prodJobType, 
            RouteGroup _routeGroup, 
            WrkCtrSchedulerGoal _goal, 
            boolean _useFastSetup, 
            real _jobTimeForAllResources, 
            RecId _jobNumPrev, 
            Map _mapJobNumPrevNumPrimSec, 
            List _resourceList, 
            boolean _isFirstJob, 
            RouteJobType _jobTypePrev, 
            SchedJobLink _primaryLink, 
            SchedJobLinkType _primaryLinkType, 
            RecId _jobNumFirst)

  Microsoft Dynamics AX 2012 (FPK)
          protected container insertJobAndConstraints(
            RouteJobMap _routeJobMap, 
            WrkCtrParmSchedule _wrkCtrParmSchedule, 
            ProdUnitId _prodUnitId, 
            InventLocationIdInput _inputWarehouse, 
            Map _requirementProperties, 
            Map _jobTimes, 
            WrkCtrActivityRequirementSet _wrkCtrActivityRequirementSet, 
            OprNum _oprNumNext, 
            ProdJobType _prodJobType, 
            RouteGroup _routeGroup, 
            WrkCtrSchedulerGoal _goal, 
            boolean _useFastSetup, 
            real _jobTimeForAllResources, 
            RecId _jobNumPrev, 
            Map _mapJobNumPrevNumPrimSec, 
            List _resourceList, 
            boolean _isFirstJob, 
            RouteJobType _jobTypePrev, 
            SchedJobLink _primaryLink, 
            SchedJobLinkType _primaryLinkType, 
            RecId _jobNumFirst)

  Microsoft Dynamics AX 2012 (SYS)
          protected container insertJobAndConstraints(
            RouteJobMap _routeJobMap, 
            WrkCtrParmSchedule _wrkCtrParmSchedule, 
            ProdUnitId _prodUnitId, 
            InventLocationIdInput _inputWarehouse, 
            Map _requirementProperties, 
            Map _jobTimes, 
            WrkCtrActivityRequirementSet _wrkCtrActivityRequirementSet, 
            OprNum _oprNumNext, 
            ProdJobType _prodJobType, 
            RouteGroup _routeGroup, 
            WrkCtrSchedulerGoal _goal, 
            boolean _useFastSetup, 
            real _jobTimeForAllResources, 
            RecId _jobNumPrev, 
            Map _mapJobNumPrevNumPrimSec, 
            List _resourceList, 
            boolean _isFirstJob, 
            RouteJobType _jobTypePrev, 
            SchedJobLink _primaryLink, 
            SchedJobLinkType _primaryLinkType, 
            RecId _jobNumFirst)

Run On

Server

Parameters

  • _routeJobMap
    Type: RouteJobMap Map
    A RouteMap table map that contains the current route.
  • _wrkCtrParmSchedule
    Type: WrkCtrParmSchedule Class
    A WrkCtrParmSchedule object that contains the order scheduling parameters for the order to which the job belongs.
  • _requirementProperties
    Type: Map Class
    A Map that contains all the properties that the resource or working time should have to run the job.
  • _jobTimes
    Type: Map Class
    A Map that contains all the resources on which the job can be scheduled and the runtime of the job on each resource.
  • _prodJobType
    Type: ProdJobType Class
    A RouteJobType value that specifies the type of job to schedule (Setup, Process, etc.).
  • _routeGroup
    Type: RouteGroup Table
    A RouteGroup table buffer that defines the run time calculation parameters.
  • _useFastSetup
    Type: boolean
    A Boolean value that indicates whether fast setup should be used.
  • _jobTimeForAllResources
    Type: real
    A number that determines the runtime for all resources when fast setup is used.
  • _mapJobNumPrevNumPrimSec
    Type: Map Class
    A Map that contains the already created jobs.
  • _resourceList
    Type: List Class
    A List of all applicable resources.
  • _isFirstJob
    Type: boolean
    A Boolean value that indicates whether the job is the first job.

Return Value

Type: container
A Container that contains the new job state.

See Also

Reference

WrkCtrScheduler Class