RetailPriceUtilities::getValidRetailPrice2 Method [AX 2012]

Converts the price from one unit of measure to another.

server public static real getValidRetailPrice2(
    RetailStoreId _storeId, 
    ItemId _itemId, 
    date _dateValid, 
    TimeOfDay _timeVal, 
    UnitOfMeasureSymbol _salesUOM, 
    RetailVariantId _variant)

Run On

Server

Parameters

_storeId
Type: RetailStoreId Extended Data Type
The current value of Store ID.
_itemId
Type: ItemId Extended Data Type
The current value of Item ID.
_dateValid
Type: date
The current date.
_timeVal
Type: timeOfDay
The current time of day.
_salesUOM
Type: UnitOfMeasureSymbol Extended Data Type
The unit to be converted from.
_variant
Type: RetailVariantId Extended Data Type
The current value of the variant of the item.

Return Value

Type: real
The converted price from one unit of measure to another.
Show: