Appearance
Edit Tree
Edits a tree.
Permissions
| Command Kind | Needed User Kind |
|---|---|
| Write | All |
Parameters
| Name | Type | Description | Required | Default | Values |
|---|---|---|---|---|---|
| Dimension | string | Name of the dimension ([Dimension]). | yes | ||
| Tree | string | Name 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 dimension | yes | ||
| AddNewItems | boolean | If 'True' a new dimension item is added to the top level of the tree. The default value is 'False'. | no | false | |
| Builder | string | Function to build tree sums automatically. Dimension items are assigned to sums via functions, e.g. StrStarts("Cost_",Name()) | no | ||
| BuilderSort | string | Sort order of the builder function: [Name], [Caption1], [Caption2], [Caption3], [Caption4], [Caption5], [Caption6], [Caption7], [Caption8], [Caption9] or [Caption10]. | no | ||
| Caption1 | string | Caption 1 | no | ||
| Caption2 | string | Caption 2 | no | ||
| Caption3 | string | Caption 3 | no | ||
| Caption4 | string | Caption 4 | no | ||
| Caption5 | string | Caption 5 | no | ||
| Caption6 | string | Caption 6 | no | ||
| Caption7 | string | Caption 7 | no | ||
| Caption8 | string | Caption 8 | no | ||
| Caption9 | string | Caption 9 | no | ||
| Caption10 | string | Caption 10 | no | ||
| Default | boolean | If 'True' the tree becomes the default tree. The tree name '<Default>' is a reference to the default tree. The default value is 'False'. | no | false | |
| Name | string | New name of the tree ([Name]). | no |
Result
| Name | Type | Description |
|---|---|---|
| Tree | string | Name of the tree. |
| Caption1 | string | Caption 1 |
| Caption2 | string | Caption 2 |
| Caption3 | string | Caption 3 |
| Caption4 | string | Caption 4 |
| Caption5 | string | Caption 5 |
| Caption6 | string | Caption 6 |
| Caption7 | string | Caption 7 |
| Caption8 | string | Caption 8 |
| Caption9 | string | Caption 9 |
| Caption10 | string | Caption 10 |
| AddNewItems | boolean | If 'True' and a new dimension item is created, it is added to the top level of the tree. |
| Default | boolean | If 'True' the tree name '<Default>' is a reference to this tree. |
| Builder | string | Function to build automatically tree sums. |
| BuilderSort | string | Sort order of the builder function: Name, Caption1, Caption2, Caption3, Caption4, Caption5, Caption6, Caption7, Caption8, Caption9 or Caption10. |
| Sums | integer | Number of sums of the tree. |
| Items | integer | Number of dimension items of the tree. |
| MaxLevel | integer | Max level of the tree. |
| Subtrees | integer | Number of subtrees of the tree. |
Code
text
EDIT TREE
DIMENSION=[string, Needed]
TREE=[string, Needed]
ADDNEWITEMS=[boolean, default=false]
BUILDER=[string]
BUILDERSORT=[string]
CAPTION1=[string]
CAPTION2=[string]
CAPTION3=[string]
CAPTION4=[string]
CAPTION5=[string]
CAPTION6=[string]
CAPTION7=[string]
CAPTION8=[string]
CAPTION9=[string]
CAPTION10=[string]
DEFAULT=[boolean, default=false]
NAME=[string]