Share via


RetailPeriodicDiscount::getOfferIdsByProducts Method

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

Syntax

server public static Map getOfferIdsByProducts(
    RetailChannelRecId _channel, 
    str _productRangeValue, 
    str _offerTypeRangeValue, 
    date _activeDate)

Run On

Server

Parameters

  • _productRangeValue
    Type: str
    The product Ids to retrieve the periodic discount offers for.
  • _offerTypeRangeValue
    Type: str
    The periodic discount offer type range value.
  • _activeDate
    Type: date
    Look for offers active on this date

Return Value

Type: Map Class
A map of comma separated list of offer identifiers per product Id.

See Also

Reference

RetailPeriodicDiscount Table