Share via


WrkCtrScheduler_Req.loadJobsDetail Method [AX 2012]

Loads job information for the jobs of one operation into the scheduling engine.

Syntax

protected container loadJobsDetail(
    WrkCtrParmSchedule _wrkCtrParmSchedule, 
    Common _order, 
    BOMCalcData _bomCalcData, 
    RouteMap _routeMap, 
    InventSiteId _siteId, 
    Common _orderNext, 
    BOMLevel _startCollectRefLevel, 
    BOMLevel _maxCollectRefLevel, 
    RecId _jobNumNextOprFirst, 
    RecId _jobNumNextOprLast)

Run On

Server

Parameters

  • _wrkCtrParmSchedule
    Type: WrkCtrParmSchedule Class
    A WrkCtrParmSchedule table buffer that contains every scheduling parameter that is needed for the scheduling of the order.
  • _order
    Type: Common Table
    A record with the data for the order that is being scheduled.
  • _bomCalcData
    Type: BOMCalcData Class
    A BomCalcData instance to use to calculate the runtime of the job.
  • _routeMap
    Type: RouteMap Map
    A RouteMap map with the operation data.
  • _orderNext
    Type: Common Table
    A record with the data for the next order.

Return Value

Type: container
A container that contains the record IDs for the first and last job.

Exceptions

Exception Condition
Error

The resource specified as the target resource for an operation is already in the scheduling for that operation.

See Also

Reference

WrkCtrScheduler_Req Class