InventCostPriceCache.costPricePcs Method [AX 2012]
Gets the current cost price for the specified on hand.
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
public CostPrice costPricePcs(InventSum _inventSum, [InventDim _inventDim])
Microsoft Dynamics AX 2012 R2 (SYS)
public CostPrice costPricePcs(InventSum _inventSum)
Microsoft Dynamics AX 2012 Feature Pack (SYS)
public CostPrice costPricePcs(InventSum _inventSum)
Microsoft Dynamics AX 2012 (FPK)
public CostPrice costPricePcs(InventSum _inventSum)
Microsoft Dynamics AX 2012 (SYS)
public CostPrice costPricePcs(InventSum _inventSum)
Run On
Called
Parameters
- _inventSum
Type: InventSum Table
The on hand for which the cost price is retrieved.
- _inventDim
Type: InventDim Table
Return Value
Type: CostPrice Extended Data Type
The cost price.