PriceDiscSalesTmpPrintoutHelper::buildQuantityBreakerSetForLineDiscount Method [AX 2012]

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

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

Run On

Called

Parameters

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

Return Value

Type: Set Class
A set that contains all quantity breakers that are applicable for all possible combinations of the price discount searching parameters-
Show: