WrkCtrScheduler.insertEmptyJob Method [AX 2012]
Inserts an empty job to enable the engine to schedule jobless operations.
Syntax
protected RecId insertEmptyJob(
WrkCtrParmSchedule _wrkCtrParmSchedule,
InventRefId _refIdOrig,
BOMLevel _startCollectRefLevel,
BOMLevel _currentCollectRefLevel,
[SchedDate _minSchedDate,
SchedTime _minSchedTime])
Run On
Server
Parameters
- _wrkCtrParmSchedule
Type: WrkCtrParmSchedule Class
A WrkCtrParmSchedule object that contains the order scheduling parameters.
- _refIdOrig
Type: InventRefId Extended Data Type
The original order ID.
- _startCollectRefLevel
Type: BOMLevel Extended Data Type
A starting route level that determines the order of the operations.
- _currentCollectRefLevel
Type: BOMLevel Extended Data Type
A current route level.
- _minSchedDate
Type: SchedDate Extended Data Type
The minimum schedule date; when forward scheduling is used, this is passed as a StartsAt constraint.
- _minSchedTime
Type: SchedTime Extended Data Type
The minimum schedule time; when forward scheduling is used, this is passed as a StartsAt constraint.
Return Value
Type: RecId Extended Data Type
A Record ID that identifies the temporary table buffer that contains the created placeholder job.