Share via


RouteCalcConsumption.findWrkCtrTable Method [AX 2012]

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

Syntax

protected WrkCtrTable findWrkCtrTable(WrkCtrId _wrkCtrId, RouteOprMap _primaryOpr)

Run On

Called

Parameters

  • _primaryOpr
    Type: RouteOprMap Map
    An operation map on which to base the search.

Return Value

Type: WrkCtrTable Table
A WrkCtrTable record.

Exceptions

Exception Condition
Error

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

See Also

Reference

RouteCalcConsumption Class