DimensionTree.clearLevels Method [AX 2012]
Deletes all tree nodes at the specified levels.
Syntax
private void clearLevels(RecId _hierarchyLevelIds, int _parentLevel)
Run On
Called
Parameters
- _hierarchyLevelIds
Type: RecId Extended Data Type
The list of record IDs that specify the levels.
- _parentLevel
Type: int
The parent hierarchy level that defines where the nodes with "*" are created.
Remarks
Nodes with "*" are appended at truncation level.
The criteria records that correspond are deleted also.