Share via


WrkCtrScheduler.loadJobsDetail Method [AX 2012]

Loads the 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 all the scheduling parameters that are required to schedule the order.
  • _order
    Type: Common Table
    A record that contains the data for the order being scheduled (a ProdTable record, a ReqTrans record, etc.).
  • _bomCalcData
    Type: BOMCalcData Class
    An instance of the BomCalcData class that is used to calculate the runtime of the job.
  • _routeMap
    Type: RouteMap Map
    A RouteMap map that contains the operation data.
  • _orderNext
    Type: Common Table
    A record that contains the data for the next (reference) order.

Return Value

Type: container
A container that contains the Record ID values for the first and last job.

Exceptions

Exception Condition
Error

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

See Also

Reference

WrkCtrScheduler Class