Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- _inventTable
Type: InventTable Table
The InventTable record for the item.
- _inventDimId
Type: InventDimId Extended Data Type
The InventDimID for which to retrieve the cost.
- _inventTableModuleInvent
Type: InventTableModule Table
The InventTableModule record for which to retrieve the cost; optional.
- _transDate
Type: TransDate Extended Data Type
The date for which to retrieve the cost; optional.
- _newSiteId
Type: InventSiteId Extended Data Type
The site 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.