InventCostReport_CostBase::addLevelAndSplitRange Method [AX 2012]
Adds ranges for the Level, Split, and TotalTrans depending on the InventCostLevel and InventCostDetail fields.
Syntax
client server protected static void addLevelAndSplitRange(
QueryBuildDataSource _datasource,
InventCostLevel _level,
InventCostDetail _detail,
int _levelFieldNum,
int _splitFieldNum)
Run On
Called
Parameters
- _datasource
Type: QueryBuildDataSource Class
The data source to which to add the range.
- _level
Type: InventCostLevel Enumeration
The level records to include in the report.
- _detail
Type: InventCostDetail Enumeration
The selection of which kind of transactions to print on the report.
- _levelFieldNum
Type: int
The fieldnum of the level field.
- _splitFieldNum
Type: int
The fieldnum of the split field.
Exceptions
Exception | Condition |
---|---|
Error | An exception is thrown if the InventCostLevel is unknown. |