Share via


RetailPromotionDiscount::isItemDiscountApplicable Method [AX 2012]

Indicates whether the discount is applicable for the specified item with the ItemID item ID.

Syntax

server public static boolean isItemDiscountApplicable(ItemId _itemId, RetailDiscountLineOffer _rboDiscountLineOffer)

Run On

Server

Parameters

Return Value

Type: boolean
true if the item is applicable for the discount; otherwise, false.

Remarks

This method retrieves the list of items available for the selected item type.

See Also

Reference

RetailPromotionDiscount Class