Share via


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

  • _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.

See Also

Reference

InventCostReport_CostBase Class