Compartir a través de


InventItemPrice::findCostingVersion Method

Gets the price for a specific costing version.

Syntax

client server public static InventPriceMap findCostingVersion(
    ItemId _itemId, 
    CostingVersionId _versionId, 
    PriceDate _priceDate, 
    CostingVersionPriceType _priceType, 
    InventDimId _inventDimId, 
   [InventSiteId _newSiteId])

Run On

Called

Parameters

  • _newSiteId
    Type: InventSiteId Extended Data Type
    A specific site from which the price should be taken. This will overwrite the value of site in the inventDimId; optional.

Return Value

Type: InventPriceMap Map
A map that is based on either the simulated prices or the starting prices in a specific version.

Remarks

The CostingType is not part of the select statement because the costing type is fixed on the version.

See Also

Reference

InventItemPrice Table