Share via


InventModelType.inventCostPriceMap Method [AX 2012]

Retrieves the cost for 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 for which to retrieve the cost; optional.
  • _throwError
    Type: boolean
    A Boolean value that indicates whether to throw an error if no cost is found; optional.

Return Value

Type: InventPriceMap Map
An InventPriceMap buffer with the cost for the item.

See Also

Reference

InventModelType Class