Share via


RetailPromotionDiscount::ValidPromotionDiscountByLocation Method [AX 2012]

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

Syntax

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.

Return Value

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

See Also

Reference

RetailPromotionDiscount Class