Share via


InventModelType_StdCost.inventCostPriceMap Method [AX 2012]

Retrieves the cost of an item.

Syntax

public InventPriceMap inventCostPriceMap(
    InventTable _inventTable, 
    InventDimId _inventDimId, 
   [InventTableModule _inventTableModuleInvent, 
    TransDate _transDate, 
    InventSiteId _newSiteId, 
    boolean _throwError])

Run On

Called

Parameters

  • _inventTableModuleInvent
    Type: InventTableModule Table
    The InventTableModule record to retrieve the cost; optional.
  • _throwError
    Type: boolean
    A Boolean value that indicates whether to throw an error if no cost is found; optional. false.

Return Value

Type: InventPriceMap Map
A InventPriceMap record with the cost for the item.

See Also

Reference

InventModelType_StdCost Class