Share via


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.
  • _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.

See Also

Reference

WrkCtrScheduler Class