Share via


DimensionTree::moveLevelServer Method [AX 2012]

Moves the dimension attribute at the specified level to a new level position.

Syntax

server private static container moveLevelServer(
    container _packedDimensionTree, 
    int _level, 
    int _index)

Run On

Server

Parameters

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

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 moving the level.

Remarks

The hierarchy is updated. Nodes beyond the lowest move point are converted into "*" branches.

See Also

Reference

DimensionTree Class