brotherton-erpnext/erpnext/docs/current/models/setup/sales_partner.html
2015-12-10 17:58:12 +05:30

559 lines
12 KiB
HTML

<!-- title: Sales Partner -->
<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/sales_partner"
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>tabSales Partner</code></p>
A third party distributor / dealer / commission agent / affiliate / reseller who sells the companies products for a commission.
<h3>Fields</h3>
<table class="table table-bordered">
<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>partner_name</code></td>
<td >
Data</td>
<td >
Sales Partner Name
</td>
<td></td>
</tr>
<tr >
<td>2</td>
<td ><code>partner_type</code></td>
<td >
Select</td>
<td >
Partner Type
</td>
<td>
<pre>
Channel Partner
Distributor
Dealer
Agent
Retailer
Implementation Partner
Reseller</pre>
</td>
</tr>
<tr >
<td>3</td>
<td class="danger" title="Mandatory"><code>territory</code></td>
<td >
Link</td>
<td >
Territory
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</a>
</td>
</tr>
<tr >
<td>4</td>
<td ><code>column_break0</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>5</td>
<td class="danger" title="Mandatory"><code>commission_rate</code></td>
<td >
Float</td>
<td >
Commission Rate
</td>
<td></td>
</tr>
<tr class="info">
<td>6</td>
<td ><code>address_contacts</code></td>
<td >
Section Break</td>
<td >
Address & Contacts
</td>
<td></td>
</tr>
<tr >
<td>7</td>
<td ><code>address_desc</code></td>
<td >
HTML</td>
<td >
Address Desc
</td>
<td></td>
</tr>
<tr >
<td>8</td>
<td ><code>address_html</code></td>
<td >
HTML</td>
<td >
Address HTML
</td>
<td></td>
</tr>
<tr >
<td>9</td>
<td ><code>column_break1</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>10</td>
<td ><code>contact_desc</code></td>
<td >
HTML</td>
<td >
Contact Desc
</td>
<td></td>
</tr>
<tr >
<td>11</td>
<td ><code>contact_html</code></td>
<td >
HTML</td>
<td >
Contact HTML
</td>
<td></td>
</tr>
<tr class="info">
<td>12</td>
<td ><code>partner_target_details_section_break</code></td>
<td >
Section Break</td>
<td >
Sales Partner Target
</td>
<td></td>
</tr>
<tr >
<td>13</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>14</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>
<tr class="info">
<td>15</td>
<td ><code>website</code></td>
<td >
Section Break</td>
<td >
Website
</td>
<td></td>
</tr>
<tr >
<td>16</td>
<td ><code>show_in_website</code></td>
<td >
Check</td>
<td >
Show In Website
</td>
<td></td>
</tr>
<tr class="info">
<td>17</td>
<td ><code>section_break_17</code></td>
<td >
Section Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>18</td>
<td ><code>logo</code></td>
<td >
Attach</td>
<td >
Logo
</td>
<td></td>
</tr>
<tr >
<td>19</td>
<td ><code>partner_website</code></td>
<td >
Data</td>
<td >
Partner's Website
</td>
<td></td>
</tr>
<tr >
<td>20</td>
<td ><code>column_break_20</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>21</td>
<td ><code>page_name</code></td>
<td >
Data</td>
<td >
Page Name
</td>
<td></td>
</tr>
<tr class="info">
<td>22</td>
<td ><code>section_break_22</code></td>
<td >
Section Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>23</td>
<td ><code>introduction</code></td>
<td >
Text</td>
<td >
Introduction
</td>
<td></td>
</tr>
<tr >
<td>24</td>
<td ><code>description</code></td>
<td >
Text Editor</td>
<td >
Description
</td>
<td></td>
</tr>
<tr >
<td>25</td>
<td ><code>parent_website_route</code></td>
<td >
Read Only</td>
<td >
Parent Website Route
</td>
<td></td>
</tr>
</tbody>
</table>
<hr>
<h3>Controller</h3>
<h4>erpnext.setup.doctype.sales_partner.sales_partner</h4>
<h3 style="font-weight: normal;">Class <b>SalesPartner</b></h3>
<p style="padding-left: 30px;"><i>Inherits from frappe.website.website_generator.WebsiteGenerator</i></h4>
<div class="docs-attr-desc"><p></p>
</div>
<div style="padding-left: 30px;">
<p class="docs-attr-name">
<a name="autoname" href="#autoname" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>autoname</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="get_contacts" href="#get_contacts" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>get_contacts</b>
<i class="text-muted">(self, nm)</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="get_context" href="#get_context" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>get_context</b>
<i class="text-muted">(self, context)</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="onload" href="#onload" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>onload</b>
<i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p>Load address and contacts in <code>__onload</code></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/utilities/address">Address</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/utilities/contact">Contact</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/accounts/pricing_rule">Pricing Rule</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/selling/sms_center">SMS Center</a>
</li>
</ul>
<!-- autodoc -->
<!-- jinja -->
<!-- static -->