RouteCalc_Formula2.calcWrkCtrProcessTime Method [AX 2012]

Calculates the processing time using a batch formula.

public Hours calcWrkCtrProcessTime(
    BOMCalcData _calc, 
    RouteMap _primaryRoute, 
    RouteOprMap _primaryOpr, 
   [WrkCtrId _wrkCtrId])

Run On

Called

Parameters

_calc
Type: BOMCalcData Class
A BOMCalcData class holding basic calculation information.
_primaryRoute
Type: RouteMap Map
A RouteMap map for the primary route.
_primaryOpr
Type: RouteOprMap Map
A RouteOprMap map for the primary operation.
_wrkCtrId
Type: WrkCtrId Extended Data Type
A WrkCtrId value that identifies the resource to use in the calculation.

Return Value

Type: Hours Extended Data Type
The duration in hours for the process job.

ExceptionCondition
Error

The primary operation is not specified.

Show: