Share via


InventModelType_StdCost.costPricePcs Method [AX 2012]

Calculates the cost of one piece.

Syntax

public CostPrice costPricePcs(
    InventSum _inventSum, 
    InventModelGroup _inventModelGroup, 
   [boolean _onHandOnly, 
    PriceDate _priceDate])

Run On

Called

Parameters

  • _inventSum
    Type: InventSum Table
    The inventSum record to determine the cost.
  • _onHandOnly
    Type: boolean
    A Boolean value that indicates the return value is zero.

Return Value

Type: CostPrice Extended Data Type
The cost for one piece.

See Also

Reference

InventModelType_StdCost Class