brotherton-erpnext/erpnext/docs/current/models/buying/supplier.html

708 lines
15 KiB
HTML
Raw Normal View History

2015-12-03 12:58:19 +00:00
<!-- title: Supplier -->
<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/buying/doctype/supplier"
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>tabSupplier</code></p>
Supplier of Goods or Services.
<h3>Fields</h3>
<table class="table table-bordered" style="table-layout: fixed;">
<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 class="info">
<td>1</td>
<td ><code>basic_info</code></td>
<td >
Section Break</td>
<td >
</td>
<td>
<pre>icon-user</pre>
</td>
</tr>
<tr >
<td>2</td>
<td ><code>naming_series</code></td>
<td >
Select</td>
<td >
Series
</td>
<td>
<pre>SUPP-</pre>
</td>
</tr>
<tr >
<td>3</td>
<td class="danger" title="Mandatory"><code>supplier_name</code></td>
<td >
Data</td>
<td >
Supplier Name
</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>supplier_type</code></td>
<td >
Link</td>
<td >
Supplier Type
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/setup/supplier_type">Supplier Type</a>
</td>
</tr>
<tr >
<td>6</td>
<td ><code>is_frozen</code></td>
<td >
Check</td>
<td >
Is Frozen
</td>
<td></td>
</tr>
<tr class="info">
<td>7</td>
<td ><code>section_break_7</code></td>
<td >
Section Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>8</td>
<td ><code>default_currency</code></td>
<td >
Link</td>
<td >
Billing Currency
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/geo/currency">Currency</a>
</td>
</tr>
<tr >
<td>9</td>
<td ><code>default_price_list</code></td>
<td >
Link</td>
<td >
Price List
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/stock/price_list">Price List</a>
</td>
</tr>
<tr >
<td>10</td>
<td ><code>credit_days</code></td>
<td >
Int</td>
<td >
Credit Days
</td>
<td></td>
</tr>
<tr class="info">
2015-12-09 11:58:51 +00:00
<td>11</td>
2015-12-03 12:58:19 +00:00
<td ><code>address_contacts</code></td>
<td >
Section Break</td>
<td >
Address and Contacts
</td>
<td>
<pre>icon-map-marker</pre>
</td>
</tr>
<tr >
2015-12-09 11:58:51 +00:00
<td>12</td>
2015-12-03 12:58:19 +00:00
<td ><code>address_html</code></td>
<td >
HTML</td>
<td >
Address HTML
</td>
<td></td>
</tr>
<tr >
2015-12-09 11:58:51 +00:00
<td>13</td>
2015-12-03 12:58:19 +00:00
<td ><code>column_break1</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
2015-12-09 11:58:51 +00:00
<td>14</td>
2015-12-03 12:58:19 +00:00
<td ><code>contact_html</code></td>
<td >
HTML</td>
<td >
Contact HTML
</td>
<td></td>
</tr>
<tr class="info">
2015-12-09 11:58:51 +00:00
<td>15</td>
2015-12-03 12:58:19 +00:00
<td ><code>default_payable_accounts</code></td>
<td >
Section Break</td>
<td >
Default Payable Accounts
</td>
<td></td>
</tr>
<tr >
2015-12-09 11:58:51 +00:00
<td>16</td>
2015-12-03 12:58:19 +00:00
<td ><code>accounts</code></td>
<td >
Table</td>
<td >
Accounts
<p class="text-muted small">
Mention if non-standard receivable account</p>
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/accounts/party_account">Party Account</a>
</td>
</tr>
<tr class="info">
2015-12-09 11:58:51 +00:00
<td>17</td>
2015-12-03 12:58:19 +00:00
<td ><code>column_break2</code></td>
<td >
Section Break</td>
<td >
Supplier Details
</td>
<td></td>
</tr>
<tr >
2015-12-09 11:58:51 +00:00
<td>18</td>
2015-12-03 12:58:19 +00:00
<td ><code>website</code></td>
<td >
Data</td>
<td >
Website
</td>
<td></td>
</tr>
<tr >
2015-12-09 11:58:51 +00:00
<td>19</td>
2015-12-03 12:58:19 +00:00
<td ><code>supplier_details</code></td>
<td >
Text</td>
<td >
Supplier Details
<p class="text-muted small">
Statutory info and other general information about your Supplier</p>
</td>
<td></td>
</tr>
<tr >
2015-12-09 11:58:51 +00:00
<td>20</td>
2015-12-03 12:58:19 +00:00
<td ><code>communications</code></td>
<td >
Table</td>
<td class="text-muted" title="Hidden">
Communications
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/core/communication">Communication</a>
</td>
</tr>
</tbody>
</table>
<hr>
<h3>Controller</h3>
<h4>erpnext.buying.doctype.supplier.supplier</h4>
<h3 style="font-weight: normal;">Class <b>Supplier</b></h3>
<p style="padding-left: 30px;"><i>Inherits from erpnext.utilities.transaction_base.TransactionBase</i></h4>
<div class="docs-attr-desc"><p></p>
</div>
<div style="padding-left: 30px;">
<p class="docs-attr-name">
<a name="after_rename" href="#after_rename" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>after_rename</b>
<i class="text-muted">(self, olddn, newdn, merge=False)</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="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="delete_supplier_address" href="#delete_supplier_address" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>delete_supplier_address</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="delete_supplier_contact" href="#delete_supplier_contact" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>delete_supplier_contact</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_feed" href="#get_feed" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>get_feed</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="on_trash" href="#on_trash" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>on_trash</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="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="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="update_address" href="#update_address" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>update_address</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="update_contact" href="#update_contact" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>update_contact</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="update_supplier_address" href="#update_supplier_address" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>update_supplier_address</b>
<i class="text-muted">(self, newdn, set_field)</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>
<p><span class="label label-info">Public API</span>
<br><code>/api/method/erpnext.buying.doctype.supplier.supplier.get_dashboard_info</code>
</p>
<p class="docs-attr-name">
<a name="erpnext.buying.doctype.supplier.supplier.get_dashboard_info" href="#erpnext.buying.doctype.supplier.supplier.get_dashboard_info" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.buying.doctype.supplier.supplier.<b>get_dashboard_info</b>
<i class="text-muted">(supplier)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<br>
<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/stock/item">Item</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/stock/item_supplier">Item Supplier</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/stock/landed_cost_purchase_receipt">Landed Cost Purchase Receipt</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/purchase_invoice">Purchase Invoice</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/buying/purchase_order">Purchase Order</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt">Purchase Receipt</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/selling/sales_order_item">Sales Order Item</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/stock/serial_no">Serial No</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/selling/sms_center">SMS Center</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry">Stock Entry</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/buying/supplier_quotation">Supplier Quotation</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/accounts/tax_rule">Tax Rule</a>
</li>
</ul>
<!-- autodoc -->
<!-- jinja -->
<!-- static -->