WrkCtrScheduler.loadRoute Method [AX 2012]
Loads into the scheduling engine all information needed for scheduling a route for an order.
Syntax
public void loadRoute(
WrkCtrParmSchedule _wrkCtrParmSchedule,
Common _order,
InventSiteId _siteId,
[Common _orderNext,
OprNum _orderNextOprNum,
BOMLevel _startCollectRefLevel,
BOMLevel _maxCollectRefLevel])
Run On
Server
Parameters
- _wrkCtrParmSchedule
Type: WrkCtrParmSchedule Class
A WrkCtrParmSchedule table buffer that contains all the scheduling parameters needed for scheduling the order.
- _order
Type: Common Table
A record that contains the data for the order begin scheduled.
- _siteId
Type: InventSiteId Extended Data Type
The order site ID.
- _orderNext
Type: Common Table
A record that contains the next order that is linked to the order that is being scheduled; optional.
- _orderNextOprNum
Type: OprNum Extended Data Type
The operation number of the next order to which we have to link; optional.
- _startCollectRefLevel
Type: BOMLevel Extended Data Type
The initial BOM level that is used to determine the job goals; optional.
- _maxCollectRefLevel
Type: BOMLevel Extended Data Type
The maximal BOM level that is used to determine the job goals; optional.