RetailPromotionDiscount::isItemDiscountApplicable Method [AX 2012]

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

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

Run On

Server

Parameters

_itemId
Type: ItemId Extended Data Type
The item in the caller record.
_rboDiscountLineOffer
Type: RetailDiscountLineOffer Table
A RetailDiscountLineOffer table in the caller.

Return Value

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

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

Show: