Skip to content

Clear Subtree

Removes all items and sums from a subtree. The items of the dimension of the sums of the tree are not deleted.

Permissions

Command KindNeeded User Kind
WriteAll

Parameters

NameTypeDescriptionRequiredDefaultValues
DimensionstringName of the dimension ([Dimension]).yes
Subtreearray of stringName of the subtree ([Subtree]). A subtree is a flat extract of items and sums of the tree.yes
TreestringName of the tree ([Tree]). A tree is a hierarchical structure of a dimension. A tree is build of sums. These sums can contain other sums or elements of the dimensionyes

Result

No fields

Code

text
CLEAR SUBTREE
DIMENSION=[string, Needed]
SUBTREE=[string, Multiple, Needed]
TREE=[string, Needed]