Sales set-up · step 1 of 3
Territory
A territory is a named region in a tree of regions, used to group customers, leads, opportunities and Sales Partner records and to set item-group targets.
Why it exists: Because a business sells in regions, and needs sales, targets and responsibility to roll up in the same shape as the map.
Where it sits
TerritoryThis document
Sales set-up: Territory → Sales Partner (ERPNext DocType) → Pricing Rule
How a territory moves through its life
Three states. Pick one to see what a territory is, and what it can still become.
Added under a parent. A territory with no parent goes under the root of the tree.
Then: Leaf
Added under a parent. A territory with no parent goes under the root of the tree.
Then: Leaf
Picked on customers, leads, opportunities, quotations and orders. Targets count here.
Then: Group
Picked on customers, leads, opportunities, quotations and orders. Targets count here.
Then: Group
Given child territories. No longer picked on a transaction; the leaves under it are.
Ends here
Given child territories. No longer picked on a transaction; the leaves under it are.
Ends here
Rules that must hold, and what breaks them
Rules
- The tree has one root. Every other territory has exactly one parent, and a territory saved with no parent is placed under the root.
- A territory name is its record key, so two territories cannot share a name.
- Only a leaf territory is for transactions. A group territory holds lower-level territories and is not picked on a document.
Does this happen in your business?
Tick what you recognise. Each tick shows what it costs.
Tick any that happen here.
In ERPNext, and in your system
How ERPNext models it
| DocType | What it does here |
|---|---|
| Territory | territory_name is the key. parent_territory places it in the tree. is_group marks a group. territory_manager is a reference. |
| Target Detail | Child table on the territory: item-group targets for a fiscal year, by quantity or amount. |
| Customer | The territory field on the customer record. |
| Sales Person | Linked as territory_manager. The docs say it is for reference only. |
What other systems call it
| System | Name | Note |
|---|---|---|
| ERPNext | Territory | DocType Territory. Docs updated 2026-08-02; source territory.json and territory.py at v16.50.0. |
| Tally | — | not verified as a territory master. TallyPrime's getting-started help groups parties by region with party groups. |
| Zoho Books | — | not verified: only Zoho Books' help index page was searched (read 2026-10-14). The index names no territory feature. |
| SAP Business One | — | not verified on SAP's help. Third-party guides name a Territory field on the Business Partner's General tab; SAP's 10.0 page does not. |
| Odoo | — | not verified: the 18.0 docs name no territory record. Sales Teams route leads and carry targets; the docs do not call them territories. |
From each maker's own documentation, checked 13 October 2026. A dash: not confirmed.
Where a territory connects
More terms it connects to
Each one opens that term.
Questions about territories
The one most people ask is answered first. Type to find the rest.
What does a territory mean for the business?
- A second territory with the same name in another branch is refused, because the name is the key.
- Each of customer, lead, opportunity, quotation and sales order has its own territory field. Setting one does not set the others.
- Seasonality in targets is set with a monthly distribution, on the same fiscal year as the target.
Reviewed 14 October 2026. All 40 documents: the ERP glossary.