RetailPricingEngine::getRetailPriceByItem Method [AX 2012]

Gets the active retail channel price for a given Item.

client server public static Price getRetailPriceByItem(
    RetailStoreId _storeId, 
    ItemId _itemId, 
    UnitOfMeasureSymbol _uomId, 
    InventDimId _inventDimId, 
    utcdatetime _validDate, 
    RetailVariantId _variantId)

Run On

Called

Parameters

_storeId
Type: RetailStoreId Extended Data Type
The store Id of the channel where price is active.
_itemId
Type: ItemId Extended Data Type
The item to find price for.
_uomId
Type: UnitOfMeasureSymbol Extended Data Type
The unit of measure of the item to find price for.
_inventDimId
Type: InventDimId Extended Data Type
The invent dim id to find price for.
_validDate
Type: utcdatetime
Valid date to find price for.
_variantId
Type: RetailVariantId Extended Data Type
Optional. If specified, price is filtered by given variant dimension values.

Return Value

Type: Price Extended Data Type
Retail channel price for the given item.
Show: