Share via


DimensionTree::removeLevelServer Method [AX 2012]

Removes the dimension attribute from the tree at the specified level.

Syntax

server private static container removeLevelServer(container _packedDimensionTree, int _level)

Run On

Server

Parameters

  • _packedDimensionTree
    Type: container
    A packed instance of the DimensionTree class to act on.
  • _level
    Type: int
    The level value for the hierarchy level to be deleted.

Return Value

Type: container
A container with the first element a boolean true if the level is successfully added and the second element a packed instance of the dimensionTree after removing the level.

Remarks

The hierarchy is updated. Nodes beyond the deleted level are converted into "*" branches.

See Also

Reference

DimensionTree Class