WrkCtrScheduler.computeJobGoal Method [AX 2012]
Computes the job goal depending on the current bill of materials (BOM) level.
Syntax
protected WrkCtrSchedulerGoal computeJobGoal(
WrkCtrParmSchedule _wrkCtrParmSchedule,
[BOMLevel _collectRefLevel,
BOMLevel _startCollectRefLevel])
Run On
Server
Parameters
- _wrkCtrParmSchedule
Type: WrkCtrParmSchedule Class
A WrkCtrParmSchedule object that contains all the scheduling parameters needed for scheduling the production order.
- _collectRefLevel
Type: BOMLevel Extended Data Type
The current BOM level that is used to determine the job goals.
- _startCollectRefLevel
Type: BOMLevel Extended Data Type
The initial BOM level that is used to determine the job goals.
Return Value
Type: WrkCtrSchedulerGoal Enumeration
A WrkCtrScheduleGoal::LatestStartTime enumeration value if the job is backward scheduled; otherwise, a WrkCtrScheduleGoal::EarliestEndTime enumeration value.