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



Type: RetailStoreId Extended Data Type
The store Id of the channel where price is active.
Type: ItemId Extended Data Type
The item to find price for.
Type: UnitOfMeasureSymbol Extended Data Type
The unit of measure of the item to find price for.
Type: InventDimId Extended Data Type
The invent dim id to find price for.
Type: utcdatetime
Valid date to find price for.
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.