Share via


InventModelType.costPricePcs Method [AX 2012]

Determines the cost for 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 for which to determine the cost.
  • _onHandOnly
    Type: boolean
    A Boolean value that indicates whether to return 0 if the available quantity or values is less than or equal zero; optional.

Return Value

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

See Also

Reference

InventModelType Class