InventItemPrice::getCacheKey Method
Composes a cache key for provided criteria for finding current active InventItemPrice record.
Syntax
client server private static str getCacheKey(
ItemId _itemId,
CostingVersionPriceType _priceType,
InventDimId _inventDimId,
[TransDate _activationDate,
InventSiteId _newSiteId,
InventItemCostingType _costingType])
Run On
Called
Parameters
- _itemId
Type: ItemId Extended Data Type
The item identifier of the InventItemPrice record.
- _priceType
Type: CostingVersionPriceType Enumeration
The price type of the InventItemPrice record.
- _inventDimId
Type: InventDimId Extended Data Type
The inventory dimension identifier of the InventItemPrice record.
- _activationDate
Type: TransDate Extended Data Type
The activation date of the InventItemPrice record.
- _newSiteId
Type: InventSiteId Extended Data Type
The site identifier of the InventItemPrice record.
- _costingType
Type: InventItemCostingType Enumeration
The costing type of the InventItemPrice record.
Return Value
Type: str
A string that represents a key for provided InventItemPrice record selection criteria.