RetailPricingEngine::calculatePromotionPrice Method [AX 2012]

Deprecated.

Given original price, product, datetime, and channelinfo, find the adjusted retail price

Syntax

client server public static Price calculatePromotionPrice(
    Price _originalPrice, 
    RecId _channelId, 
    RecId _productId, 
    RecId _distinctProductVariantId, 
    UnitOfMeasureSymbol _uomSymbol, 
    utcdatetime _dateToCheck)

Run On

Called

Parameters

  • _originalPrice
    Type: Price Extended Data Type
    The price before adjustments. This is the basis of "percent off" adjustments
  • _distinctProductVariantId
    Type: RecId Extended Data Type
    Optional. The record Id of the distinct variant being adjusted
  • _dateToCheck
    Type: utcdatetime
    The date and time of the adjusted price

Return Value

Type: Price Extended Data Type
The price of the given product/variant after retail price adjustments

See Also

Reference

RetailPricingEngine Class