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.
- _siteId
Type: InventSiteId Extended Data Type
The ID of the site stamped on the order.
- _orderNext
Type: Common Table
A record with the data for the next order.
- _startCollectRefLevel
Type: BOMLevel Extended Data Type
The start BOM level to use to determine the job goals.
- _maxCollectRefLevel
Type: BOMLevel Extended Data Type
The maximal BOM level to use to determine the job goals.
- _jobNumNextOprFirst
Type: RecId Extended Data Type
The record ID of the first job of the next operation.
- _jobNumNextOprLast
Type: RecId Extended Data Type
The record ID of the last job of the next operation.
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. |