PriceDiscSalesTmpPrintoutHelper::buildDateBreakerSetForMultilineDiscount Method [AX 2012]

Creates a set that contains multiline discount date breakers for price discounts that are registered in the system.

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

Run On

Called

Parameters

_custMultiLineDiscCode
Type: CustMultiLineDiscCode Extended Data Type
A customer multiline discount group.
_custAccount
Type: CustAccount Extended Data Type
A customer account.
_multiLineDiscount
Type: PriceDiscTable Table
A valid PriceDiscTable table that defines context for item multiline discount relations.
_fromDate
Type: FromDate Extended Data Type
The start of the range of dates that restricts date breaker boundaries.
_toDate
Type: ToDate Extended Data Type
The end of the range of dates that restricts date breaker boundaries.

Return Value

Type: Set Class
The set that contains all price discount date breakers applicable for provided search parameters.
Show: