PriceDiscSalesTmpPrintoutHelper::buildDateBreakerSetForTotalDiscount Method [AX 2012]

Builds a set of date breakers that are based on the total discounts registered in the system.

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

Run On

Called

Parameters

_custEndDiscountGroupCode
Type: CustEndDiscCode Extended Data Type
The customer end discount group used to search for date breakers.
_custAccount
Type: CustAccount Extended Data Type
The customer account number that is used to search for date breakers.
_fromDate
Type: FromDate Extended Data Type
Start of the range of dates that restricts the search for total discount date breakers.
_toDate
Type: ToDate Extended Data Type
End of the range of dates that restricts the search for total discount date breakers.

Return Value

Type: Set Class
A set of date breakers based on the total discounts registered in the system.

The value of the _toDate parameter is incremented by one day. The end of the range of dates is inclusive.

Show: