InventCostReport_CostBase::assignAmountToTemp Method [AX 2012]
Assigns the specified amount to an appropriate amount on an InventCostTmpTransBreakdown record.
Syntax
client server protected static void assignAmountToTemp(
AmountMST _amount,
BOMCostGroup _bomCostGroup,
InventCostTmpTransBreakdown _inventCostTmpTransBreakdown)
Run On
Called
Parameters
- _amount
Type: AmountMST Extended Data Type
The amount that is assigned to the given record.
- _bomCostGroup
Type: BOMCostGroup Table
The specified amount that is added to or stored in an amount depending on the CostGroupBehavior or CostGroupType value from this record.
- _inventCostTmpTransBreakdown
Type: InventCostTmpTransBreakdown Table
The specified amount is stored in amounts on this record.
Exceptions
Exception | Condition |
---|---|
Error | The CostGroupType value is unknown. |