Share via


InventCostReport_CostBase::addAmountBasedOnCostGroup Method [AX 2012]

Adds the specified amount to an appropriate total amount, which is given in a set of amounts.

Syntax

client server public static void addAmountBasedOnCostGroup(
    AmountMST _amount, 
    InventCostAmountHandler _amounts, 
    BOMCostGroup _bomCostGroup)

Run On

Called

Parameters

  • _bomCostGroup
    Type: BOMCostGroup Table
    The specified amount is added to or stored in an amount depending on the CostGroupBehavior or CostGroupType values from this record.

Exceptions

Exception Condition
Error

The CostGroupType is unknown.

See Also

Reference

InventCostReport_CostBase Class