WrkCtrScheduler.limitMaterialDate Method [AX 2012]
Enforces the rule that an operation cannot start earlier than the materials are available when scheduling with finite materials.
Syntax
protected void limitMaterialDate(
WrkCtrParmSchedule _wrkCtrParmSchedule,
ReqRefType _reqRefTypeBOM,
OprNum _oprNum,
RecId _jobId)
Run On
Server
Parameters
- _wrkCtrParmSchedule
Type: WrkCtrParmSchedule Class
A WrkCtrParmSchedule table buffer that contains all the scheduling parameters needed for scheduling the production order.
- _reqRefTypeBOM
Type: ReqRefType Enumeration
The type of issue to find material date for.
- _oprNum
Type: OprNum Extended Data Type
The operation for which to find the material date for.
- _jobId
Type: RecId Extended Data Type
The ID of the first job on the operation.