DimensionTree.addLevel Method [AX 2012]
Adds the dimension attribute to the tree at the specified level.
Syntax
public boolean addLevel(RecId _dimensionAttributeId, int _level)
Run On
Called
Parameters
- _dimensionAttributeId
Type: RecId Extended Data Type
The ID of the DimensionAttribute record.
- _level
Type: int
The level value for the new hierarchy level.
Return Value
Type: boolean
true if the level is successfully added; otherwise, false;
Remarks
The hierarchy is updated.
Any nodes that are to the right of the level that is being inserted will be converted to "*" branches.