Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- _amount
 Type: AmountMST Extended Data Type
 The amount to add, based on cost group.
- _amounts
 Type: InventCostAmountHandler Class
 The set of amounts to which to add the specified amount.
- _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. |