RetailPricingDataManager.getPeriodicDiscounts Method [AX 2012]

Gets the periodic discount configurations to apply to the product/variant

public container getPeriodicDiscounts(
    RecId _productId, 
    RecId _distinctProductVariantId, 
    container _priceGroups, 
    CurrencyCode _currencyCode, 
    utcdatetime _dateToCheck)

Run On

Called

Parameters

_productId
Type: RecId Extended Data Type
The record Id of the product to search by.
_distinctProductVariantId
Type: RecId Extended Data Type
The record Id of the variant (if any) to search by.
_priceGroups
Type: container
The price group record Ids to search by.
_currencyCode
Type: CurrencyCode Extended Data Type
The currency code to search by.
_dateToCheck
Type: utcdatetime
The date which should be covered by all returned results.

Return Value

Type: container
Set of periodic discount configurations. Rows roughly contain normalized periodic discount lines for all discount types which may apply given the filters.

Community Additions

ADD
Show: