Share via


RetailPeriodicDiscount::getOfferIds Method

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

Syntax

Note

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

  • _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.

See Also

Reference

RetailPeriodicDiscount Table