brotherton-erpnext/erpnext/docs/current/models/setup/territory.html

446 lines
8.6 KiB
HTML
Raw Normal View History

2015-12-03 12:58:19 +00:00
<!-- title: Territory -->
<div class="dev-header">
<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
Version 6.x.x</a>
<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/setup/doctype/territory"
target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
</div>
<p><b>Table Name:</b> <code>tabTerritory</code></p>
Classification of Customers by region
<h3>Fields</h3>
2015-12-10 11:47:41 +00:00
<table class="table table-bordered">
2015-12-03 12:58:19 +00:00
<thead>
<tr>
<th style="width: 5%">Sr</th>
<th style="width: 25%">Fieldname</th>
<th style="width: 20%">Type</th>
<th style="width: 25%">Label</th>
<th style="width: 25%">Options</th>
</tr>
</thead>
<tbody>
<tr >
<td>1</td>
<td class="danger" title="Mandatory"><code>territory_name</code></td>
<td >
Data</td>
<td >
Territory Name
</td>
<td></td>
</tr>
<tr >
<td>2</td>
<td ><code>parent_territory</code></td>
<td >
Link</td>
<td >
Parent Territory
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</a>
</td>
</tr>
<tr >
<td>3</td>
<td class="danger" title="Mandatory"><code>is_group</code></td>
<td >
Select</td>
<td >
Has Child Node
<p class="text-muted small">
Only leaf nodes are allowed in transaction</p>
</td>
<td>
<pre>
Yes
No</pre>
</td>
</tr>
<tr >
<td>4</td>
<td ><code>cb0</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>5</td>
<td ><code>territory_manager</code></td>
<td >
Link</td>
<td >
Territory Manager
<p class="text-muted small">
For reference</p>
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/setup/sales_person">Sales Person</a>
</td>
</tr>
<tr >
<td>6</td>
<td ><code>lft</code></td>
<td >
Int</td>
<td class="text-muted" title="Hidden">
lft
</td>
<td></td>
</tr>
<tr >
<td>7</td>
<td ><code>rgt</code></td>
<td >
Int</td>
<td class="text-muted" title="Hidden">
rgt
</td>
<td></td>
</tr>
<tr >
<td>8</td>
<td ><code>old_parent</code></td>
<td >
Link</td>
<td class="text-muted" title="Hidden">
old_parent
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</a>
</td>
</tr>
<tr class="info">
<td>9</td>
<td ><code>target_details_section_break</code></td>
<td >
Section Break</td>
<td >
Territory Targets
<p class="text-muted small">
Set Item Group-wise budgets on this Territory. You can also include seasonality by setting the Distribution.</p>
</td>
<td></td>
</tr>
<tr >
<td>10</td>
<td ><code>targets</code></td>
<td >
Table</td>
<td >
Targets
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/setup/target_detail">Target Detail</a>
</td>
</tr>
<tr >
<td>11</td>
<td ><code>distribution_id</code></td>
<td >
Link</td>
<td >
Target Distribution
<p class="text-muted small">
Select Monthly Distribution to unevenly distribute targets across months.</p>
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/accounts/monthly_distribution">Monthly Distribution</a>
</td>
</tr>
</tbody>
</table>
<hr>
<h3>Controller</h3>
<h4>erpnext.setup.doctype.territory.territory</h4>
<h3 style="font-weight: normal;">Class <b>Territory</b></h3>
<p style="padding-left: 30px;"><i>Inherits from frappe.utils.nestedset.NestedSet</i></h4>
<div class="docs-attr-desc"><p></p>
</div>
<div style="padding-left: 30px;">
<p class="docs-attr-name">
<a name="on_update" href="#on_update" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>on_update</b>
<i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<br>
<p class="docs-attr-name">
<a name="validate" href="#validate" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>validate</b>
<i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<br>
</div>
<hr>
<h4>Linked In:</h4>
<ul>
<li>
<a href="https://frappe.github.io/erpnext/current/models/accounts/c_form_invoice_detail">C-Form Invoice Detail</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note">Delivery Note</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/selling/installation_note">Installation Note</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/crm/lead">Lead</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_schedule">Maintenance Schedule</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_visit">Maintenance Visit</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/crm/opportunity">Opportunity</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/accounts/pos_profile">POS Profile</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/accounts/pricing_rule">Pricing Rule</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/selling/quotation">Quotation</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice">Sales Invoice</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order">Sales Order</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/setup/sales_partner">Sales Partner</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/selling/selling_settings">Selling Settings</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/support/warranty_claim">Warranty Claim</a>
</li>
</ul>
<!-- autodoc -->
<!-- jinja -->
<!-- static -->