InventCostProdIndirectData_Invent::newConsumptionFromInventTrans Method [AX 2012]
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
client server public static InventCostProdIndirectData newConsumptionFromInventTrans(
InventTrans _inventTrans,
Qty _finishedQty,
ItemId _consumedItemId,
Qty _consumedQty,
CostAmount _consumedCostAmount,
boolean _postLedger,
[InventItemCostGroupRollupList _consumedCostGroupRollupList,
boolean _stornoPhysical])
Microsoft Dynamics AX 2012 R2 (SYS)
client server public static InventCostProdIndirectData newConsumptionFromInventTrans(
InventTrans _inventTrans,
Qty _finishedQty,
ItemId _consumedItemId,
Qty _consumedQty,
CostAmount _consumedCostAmount,
boolean _postLedger,
[InventItemCostGroupRollupList _consumedCostGroupRollupList,
boolean _stornoPhysical])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
client server public static InventCostProdIndirectData newConsumptionFromInventTrans(
InventTrans _inventTrans,
Qty _finishedQty,
ItemId _consumedItemId,
Qty _consumedQty,
CostAmount _consumedCostAmount,
boolean _postLedger,
[InventItemCostGroupRollupList _consumedCostGroupRollupList])
Microsoft Dynamics AX 2012 (FPK)
client server public static InventCostProdIndirectData newConsumptionFromInventTrans(
InventTrans _inventTrans,
Qty _finishedQty,
ItemId _consumedItemId,
Qty _consumedQty,
CostAmount _consumedCostAmount,
boolean _postLedger,
[InventItemCostGroupRollupList _consumedCostGroupRollupList])
Microsoft Dynamics AX 2012 (SYS)
client server public static InventCostProdIndirectData newConsumptionFromInventTrans(
InventTrans _inventTrans,
Qty _finishedQty,
ItemId _consumedItemId,
Qty _consumedQty,
CostAmount _consumedCostAmount,
boolean _postLedger,
[InventItemCostGroupRollupList _consumedCostGroupRollupList])
Run On
Called
Parameters
- _inventTrans
Type: InventTrans Table
- _finishedQty
Type: Qty Extended Data Type
- _consumedItemId
Type: ItemId Extended Data Type
- _consumedQty
Type: Qty Extended Data Type
- _consumedCostAmount
Type: CostAmount Extended Data Type
- _postLedger
Type: boolean
- _consumedCostGroupRollupList
Type: InventItemCostGroupRollupList Class
- _stornoPhysical
Type: boolean