WrkCtrScheduler.handleRouteLessOrder Method [AX 2012]
Inserts a placeholder job to enable the engine to schedule orders without routes.
Syntax
protected int64 handleRouteLessOrder(
Common _order,
WrkCtrParmSchedule _wrkCtrParmSchedule,
ItemId _itemId,
InventDimId _inventDimId,
InventRefId _refId,
InventRefId _refIdOrig,
BOMLevel _startCollectRefLevel,
BOMLevel _currentCollectRefLevel,
ReqRefType _reqRefType,
[Days _leadTime,
CalendarDays _calendarDays,
SchedDate _minSchedDate,
SchedTime _minSchedTime])
Run On
Server
Parameters
- _order
Type: Common Table
A record that contains the scheduling order data ( ProdTable , ReqTrans , etc.).
- _wrkCtrParmSchedule
Type: WrkCtrParmSchedule Class
A WrkCtrParmSchedule object that contains the order scheduling parameters.
- _itemId
Type: ItemId Extended Data Type
The item identifier.
- _inventDimId
Type: InventDimId Extended Data Type
The inventory dimension identifier.
- _refId
Type: InventRefId Extended Data Type
The top level order identifier.
- _refIdOrig
Type: InventRefId Extended Data Type
The original order identifier.
- _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.
- _reqRefType
Type: ReqRefType Enumeration
The type of the order to schedule.
- _leadTime
Type: Days Extended Data Type
A lead time to use as the length for the job that is created as a placeholder for the whole order.
- _calendarDays
Type: CalendarDays Extended Data Type
A Boolean value that indicates whether to use calendar days or a calendar.
- _minSchedDate
Type: SchedDate Extended Data Type
The minimum schedule date.
- _minSchedTime
Type: SchedTime Extended Data Type
The minimum schedule time.
Return Value
Type: int64
The fake job ID.