Skip to main content

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

  1. 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

Territory1 of 3
TerritoryCreated

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

Territory2 of 3
TerritoryLeaf

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

Territory3 of 3
TerritoryGroup

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.

Mistakes people make with territories

Tick any that happen here.

In ERPNext, and in your system

How ERPNext models it

DocTypeWhat it does here
Territoryterritory_name is the key. parent_territory places it in the tree. is_group marks a group. territory_manager is a reference.
Target DetailChild table on the territory: item-group targets for a fiscal year, by quantity or amount.
CustomerThe territory field on the customer record.
Sales PersonLinked as territory_manager. The docs say it is for reference only.

What other systems call it

SystemNameNote
ERPNextTerritoryDocType 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?

Territories turn a list of customers into a sales map a manager can act on. They give each lead and account a region, let targets be set per region and item group, and show where growth is and where it is missing. A territory tree is cheap to set up and expensive to change once records hang off it, so the levels are a decision, not a default.

Reviewed 14 October 2026. All 40 documents: the ERP glossary.

Start with one conversation

One message, call or WhatsApp is enough. Every line reaches the team directly.

Team away now