RouteCalcConsumption.findWrkCtrTable Method [AX 2012]

Finds the specified record in the WrkCtrTable table using either the resource ID or the costing resource.

protected WrkCtrTable findWrkCtrTable(WrkCtrId _wrkCtrId, RouteOprMap _primaryOpr)

Run On

Called

Parameters

_wrkCtrId
Type: WrkCtrId Extended Data Type
The resource ID.
_primaryOpr
Type: RouteOprMap Map
An operation map on which to base the search.

Return Value

Type: WrkCtrTable Table
A WrkCtrTable record.

ExceptionCondition
Error

No resource could be found so the calculation must be canceled.

Community Additions

ADD
Show: