RetailPromotionDiscount::ValidPromotionDiscountByLocation Method [AX 2012]

Indicates whether the discount offer is set up for a store in location distribution.

server public static boolean ValidPromotionDiscountByLocation(RetailDiscountOffer _rboDiscountOffer, RetailStoreId _storeId)

Run On

Server

Parameters

_rboDiscountOffer
Type: RetailDiscountOffer Table
The records of the RetailDiscountOffer table with the discount offer type as promotion.
_storeId
Type: RetailStoreId Extended Data Type
The ID value of the store to which the item belongs.

Return Value

Type: boolean
true if the discount offer is set up for a store in location distribution; otherwise, false.
Show: