RetailPeriodicDiscount::getOfferIds Method [AX 2012]

Retrieves the periodic discount offer ID of a specified type that are available in a specified retail channel for a specified product.

NoteNote

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.


  Microsoft Dynamics AX 2012 R3
          server public static Str60 getOfferIds(
            RefRecId _channel, 
            EcoResProductRecId _product, 
            str _offerTypeRangeValue, 
            date _activeDate)

  Microsoft Dynamics AX 2012 R2 (SYS)
          server public static Str60 getOfferIds(
            RefRecId _channel, 
            EcoResProductRecId _product, 
            str _offerTypeRangeValue, 
            date _activeDate)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          server public static Str60 getOfferIds(
            RefRecId _channel, 
            EcoResProductRecId _product, 
            str _offerTypeRangeValue)

Run On

Server

Parameters

_channel
Type: RefRecId Extended Data Type
The channel to retrieve the periodic discount offers.
_product
Type: EcoResProductRecId Extended Data Type
The product to retrieve the periodic discount offers.
_offerTypeRangeValue
Type: str
The periodic discount offer type range value.
_activeDate
Type: date

Return Value

Type: Str60 Extended Data Type
A comma separated list of offer identifiers.
Show: