PriceDiscSalesTmpPrintoutHelper::buildDateBreakerSetForPriceList Method [AX 2012]

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

client server public static Set buildDateBreakerSetForPriceList(
    CustTable _custTable, 
    InventTable _inventTable, 
    UnitOfMeasureSymbol _priceUnitOfMeasureSymbol, 
   [FromDate _fromDate, 
    ToDate _toDate])

Run On

Called

Parameters

_custTable
Type: CustTable Table
A CustTable buffer that contains information about the customer for which the prices are searched.
_inventTable
Type: InventTable Table
An InventTable buffer that contains information about the item that is used for search parameters when it searches for prices.
_priceUnitOfMeasureSymbol
Type: UnitOfMeasureSymbol Extended Data Type
_fromDate
Type: FromDate Extended Data Type
The start of the range of dates that restricts the price search.
_toDate
Type: ToDate Extended Data Type
The end of the range of dates that restricts the price search.

Return Value

Type: Set Class
The set that contains all date breakers applicable for all possible combinations of the price search parameters.
Show: