Share via


RetailPromotionDiscount::GetPromotionPrice Method [AX 2012]

Gets the best price of the items for which the discount is applicable by comparing the original price with the discounted price.

Syntax

server public static Price GetPromotionPrice(
    RetailStoreId _storeId, 
    ItemId _itemId, 
    Price _originalPrice)

Run On

Server

Parameters

Return Value

Type: Price Extended Data Type
The best price after it applies the store-specific promotion on the original price.

Remarks

This class updates the final price if the promotion price is lower.

See Also

Reference

RetailPromotionDiscount Class