PriceDiscSalesTmpPrintoutHelper::buildUnitIdBreakerSetForItemLineDisc Method [AX 2012]

Creates a set of UnitOfMeasureSymbol instances that are defined for line discount entries applicable for the provided item and customer settings throughout a specified date interval.

client server public static Set buildUnitIdBreakerSetForItemLineDisc(
    CustAccount _custAccount, 
    CustPriceGroup _custPriceGroup, 
    InventTable _inventTableEntry, 
   [FromDate _fromDate, 
    ToDate _toDate])

Run On

Called

Parameters

_custAccount
Type: CustAccount Extended Data Type
The customer account for which to search line discount entries.
_custPriceGroup
Type: CustPriceGroup Extended Data Type
The customer price group for which to search line discount entries.
_inventTableEntry
Type: InventTable Table
A valid record from the InventTable table that contains the item information for which to search the line discount entries.
_fromDate
Type: FromDate Extended Data Type
The start date of the date interval for line discount entries search.
_toDate
Type: ToDate Extended Data Type
The end date of the date interval for line discount entries search.

Return Value

Type: Set Class
A set of distinct UnitOfMeasureSymbol values from the existing line discount entries that are applicable for provided item and search conditions.
Show: