Trees

Trees are the perfect tool to help in showing the hierarchical structure of many elements of Tiny ERP. The first example of a tree when running Tiny ERP is the menu.

Trees usefulness

In addition to the help in showing certain data types, the trees are also ideal for rights management of data belonging to the same domain.

Thus, it is easily possible, via an arborescent product hierarchy, to define special offers on a product category, including products subcategories and products:

You can also grant access rights to certain levels of the tree, for by instance authorizing a users group to deal with a certain part of the Chart of Accounts, or to only have access to certain analytical accounts...

In addition, this tree structure can allow you to represent groups of stock locations in a hierarchical way , such as for example:

This structure can for example help you in estimating your stock value, warehouse warehouse, to see which warehouse is the most used for corrosive substances, while taking in account the overlapping of different storage locations.

Moddify a tree

To modify a tree structure, you have to modify the link towards the parents at the top level node to move.

Thus, in the example of above stock locations, to move the Gembloux departure area to the east building of northern Wavre, you have to change the departure area (Gembloux storage locate) to east building (northern Wavre).

To update a parent is only available in the form mode; also to modify the parent of a tree node, you have to select the node in the tree, then switch to form mode (form/tree icon).

Once you are in the form mode, you have to change the value of the parent field that you wish to modify, and to save the modifications done on the record.

The elements, roots of a tree structure, are the elements which 'parent' field is empty.