Skip to content

Copy Tree ​

Copies a tree.

Permissions ​

Command KindNeeded User Kind
WriteAll

Parameters ​

NameTypeDescriptionRequiredDefaultValues
CopystringName of the copy ([Copy]).yes
DimensionstringName of the dimension ([Dimension]).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 ​

NameTypeDescription
TreestringName of the tree.
Caption1stringCaption 1
Caption2stringCaption 2
Caption3stringCaption 3
Caption4stringCaption 4
Caption5stringCaption 5
Caption6stringCaption 6
Caption7stringCaption 7
Caption8stringCaption 8
Caption9stringCaption 9
Caption10stringCaption 10
AddNewItemsbooleanIf 'True' and a new dimension item is created, it is added to the top level of the tree.
DefaultbooleanIf 'True' the tree name '<Default>' is a reference to this tree.
BuilderstringFunction to build automatically tree sums.
BuilderSortstringSort order of the builder function: Name, Caption1, Caption2, Caption3, Caption4, Caption5, Caption6, Caption7, Caption8, Caption9 or Caption10.
SumsintegerNumber of sums of the tree.
ItemsintegerNumber of dimension items of the tree.
MaxLevelintegerMax level of the tree.
SubtreesintegerNumber of subtrees of the tree.

Code ​

text
COPY TREE
COPY=[string, Needed]
DIMENSION=[string, Needed]
TREE=[string, Needed]