PriceDiscSalesTmpPrintoutHelper::buildQuantityBreakerSetForTotalDiscount Method [AX 2012]

Instantiates, populates, and returns a set that contains quantity breakers for total discount agreements that are registered in the system.

client server public static Set buildQuantityBreakerSetForTotalDiscount(
    CustEndDiscCode _custEndDiscountGroupCode, 
    CustAccount _custAccount, 
   [FromDate _fromDate, 
    ToDate _toDate])

Run On

Called

Parameters

_custEndDiscountGroupCode
Type: CustEndDiscCode Extended Data Type
The customer end discount group for which to search agreements.
_custAccount
Type: CustAccount Extended Data Type
The customer account number for which to search agreements.
_fromDate
Type: FromDate Extended Data Type
The start of the range of dates that restrict agreements contributing to the quantity breaker set.
_toDate
Type: ToDate Extended Data Type
The end of the range of dates that restrict agreements contributing to the quantity breaker set.

Return Value

Type: Set Class
A valid set of quantity breakers for total discount agreements registered in the system.
Show: