brotherton-erpnext/erpnext/docs/user/manual/en/setting-up/articles/managing-tree-structure-masters.md

53 lines
2.0 KiB
Markdown
Raw Normal View History

2015-12-23 06:41:21 +00:00
#Managing Tree Structure Masters
2015-12-23 13:27:38 +00:00
Some of the masters in ERPNext are maintained in tree structure. Tree structured masters allow you to set Parent master, and Child masters under those Parents. Setting up this structure allows you creating intelligent report, and track growth at each level in the hierarchy.
Following is the partial list of masters which are maintained in the tree structure.
* Chart of Accounts
* Chart of Cost Centers
* Customer Group
* Territory
* Sales Person
* Item Group
Following are the steps to manage and create record in the tree structured master. Let's consider Territory master to understand managing tree masters.
####Step 1 : Go to Master
`Selling > Setup > Territory`
2015-12-23 13:27:38 +00:00
####Step 2 : Parent Territory
2015-12-23 13:27:38 +00:00
<img alt="Default Territories" class="screenshot" src="{{docs_base_url}}/assets/img/articles/territory-2.png">
2015-12-23 13:27:38 +00:00
When click on Parent territory, you will see option to add child territory under it. All default Territory groups will be listed under Parent group called "All Territories". You can add further Parent or child Territory Groups under it.
2015-12-23 13:27:38 +00:00
####Step 3: Add new Territory
When click on Add Child, a dialog box will provide two fields.
**Territory Group Name**
Territory will be saved with Territory Name provided here.
**Group Node**
If Group Node selected as Yes, then this Territory will be created as Parent, which means you can further create sub-territories under it. If select No, then it will become child Territory which you will be able to select in another masters.
<div class="well">Only child Territory Groups are selectable in another masters and transactions.</div>
2015-12-23 13:27:38 +00:00
<img alt="Default Territories" class="screenshot" src="{{docs_base_url}}/assets/img/articles/territory-1.gif">
Following is how Child Territories will be listed under a Parent Territory.
2015-12-23 13:27:38 +00:00
<img alt="Adding new Territories" class="screenshot" src="{{docs_base_url}}/assets/img/articles/territory-3.png">
2015-12-23 13:27:38 +00:00
Following this steps, you can manage other tree masters as well in ERPNext.
<!-- markdown -->