12 KiB
12 KiB
Version 6.x.x
<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>
<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.
Fields
<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
<tr >
<td>3</td>
<td class="danger" title="Mandatory"><code>territory</code></td>
<td >
Link</td>
<td >
Territory
</td>
<td>
</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>
</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>
</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>
Sr | Fieldname | Type | Label | Options |
---|
<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>
<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>
<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>
<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>
<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>
<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>
<hr>
<h4>Linked In:</h4>
<ul>
<li>
<li>
<li>
<li>
<li>
<li>
<li>
<li>
</ul>