RetailPriceUtilities::calcComparisonPrice Method [AX 2012]

Calculates the comparison sales price for the item that is selected.

server public static real calcComparisonPrice(ItemId _itemId, real _basePrice)

Run On

Server

Parameters

_itemId
Type: ItemId Extended Data Type
The item ID for which the sales price to be calculated.
_basePrice
Type: real
The base price of the item that will be used for comparison.

Return Value

Type: real
Calculated price for the item if the item unit can be converted.
Show: