PriceDiscSalesTmpPrintoutHelper::buildQuantityBreakerSetMultilineDiscount Method [AX 2012]

Creates a set that contains quantity breakers for multiline discounts that are registered in the system.

client server public static Set buildQuantityBreakerSetMultilineDiscount(
    CustMultiLineDiscCode _custMultiLineDiscCode, 
    CustAccount _custAccount, 
    PriceDiscTable _multiLineDiscount, 
   [FromDate _fromDate, 
    ToDate _toDate])

Run On

Called

Parameters

_custMultiLineDiscCode
Type: CustMultiLineDiscCode Extended Data Type
A customer multiline discount code for which to search for discounts.
_custAccount
Type: CustAccount Extended Data Type
A customer account for which to search for discounts.
_multiLineDiscount
Type: PriceDiscTable Table
A valid instance of the PriceDiscTable table that defines the context when it searches for multiline discount groups.
_fromDate
Type: FromDate Extended Data Type
The start of the range of dates that restrict the search for discounts.
_toDate
Type: ToDate Extended Data Type
The end of the range of dates that restrict the search for discounts.

Return Value

Type: Set Class
A set of quantity breakers defined in the search context.
Show: