PriceDiscSalesTmpPrintoutHelper::buildDateBreakerSetForLineDiscount Method [AX 2012]
Creates a set that contains price discount date breakers for line discounts registered in the system.
client server public static Set buildDateBreakerSetForLineDiscount(
CustTable _custTable,
InventTable _inventTable,
UnitOfMeasureSymbol _priceUnitOfMeasureSymbol,
[FromDate _fromDate,
ToDate _toDate])
Run On
CalledParameters
- _custTable
- Type: CustTable Table
A CustTable buffer that contains information about the customer or customer price group that is used for search parameters when it searches for price discounts.
- _inventTable
- Type: InventTable Table
An InventTable buffer that contains information about the item that is used for search parameters when it searches for price discounts.
- _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 ClassA set that contains all price discount date breakers that are applicable for provided searching parameters.
Show: