InventCostProdIndirectData_Invent::newConsumptionProdTable Method [AX 2012]
Initializes a new instance of the InventCostProdIndirectData_Invent class.
Syntax
client server public static InventCostProdIndirectData newConsumptionProdTable(
ProdTable _prodTable,
Qty _finishedQty,
ItemId _consumedItemId,
Qty _consumedQty,
CostAmount _consumedCostAmount,
[InventItemCostGroupRollupList _consumedCostGroupRollupList])
Run On
Called
Parameters
- _prodTable
Type: ProdTable Table
A ProdTable record that represents a production order.
- _finishedQty
Type: Qty Extended Data Type
A real value that represents a produced finished quantity.
- _consumedItemId
Type: ItemId Extended Data Type
A string value that represents an item ID that is consumed to the production order.
- _consumedQty
Type: Qty Extended Data Type
A real value that represents the consumed quantity.
- _consumedCostAmount
Type: CostAmount Extended Data Type
A real value that represents the consumed value.
- _consumedCostGroupRollupList
Type: InventItemCostGroupRollupList Class
A InventCostGroupRollupList object that holds the cost broken down.
Return Value
Type: InventCostProdIndirectData Class
A InventCostProdIndirectData_Invent object.