PmfCoByProdCalcTrans::calcRealCostAmountByResourceType Method
Calculates the total realized amount for all co-products for a specific resource and type.
Syntax
client server public static Amount calcRealCostAmountByResourceType(
ProdId _prodId,
BOMCalcResource _resource,
ItemCalcType _calcType)
Run On
Called
Parameters
- _prodId
Type: ProdId Extended Data Type
A string value that holds the production ID.
- _resource
Type: BOMCalcResource Extended Data Type
A string value that represents an item ID, a cost group ID, or an operation.
- _calcType
Type: ItemCalcType Enumeration
An enumeration value that represents the calculation type.
Return Value
Type: Amount Extended Data Type
A real value that holds the total realized amount for all co-products for a specific resource and type.