14 KiB
14 KiB
Version 6.x.x
<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/accounts/doctype/pos_profile"
target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
<p><b>Table Name:</b> <code>tabPOS Profile</code></p>
Fields
<tr >
<td>1</td>
<td ><code>user</code></td>
<td >
Link</td>
<td >
Applicable for User
</td>
<td>
</td>
</tr>
<tr >
<td>2</td>
<td class="danger" title="Mandatory"><code>naming_series</code></td>
<td >
Select</td>
<td >
Series
</td>
<td>
<pre>[Select]</pre>
</td>
</tr>
<tr >
<td>3</td>
<td ><code>warehouse</code></td>
<td >
Link</td>
<td >
Warehouse
</td>
<td>
</td>
</tr>
<tr >
<td>4</td>
<td ><code>update_stock</code></td>
<td >
Check</td>
<td >
Update Stock
</td>
<td></td>
</tr>
<tr >
<td>5</td>
<td ><code>column_break_4</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>6</td>
<td ><code>customer</code></td>
<td >
Link</td>
<td >
Customer
</td>
<td>
</td>
</tr>
<tr >
<td>7</td>
<td class="danger" title="Mandatory"><code>company</code></td>
<td >
Link</td>
<td >
Company
</td>
<td>
</td>
</tr>
<tr >
<td>8</td>
<td class="danger" title="Mandatory"><code>currency</code></td>
<td >
Link</td>
<td >
Currency
</td>
<td>
</td>
</tr>
<tr >
<td>9</td>
<td ><code>mode_of_payment</code></td>
<td >
Link</td>
<td >
Mode of Payment
</td>
<td>
</td>
</tr>
<tr class="info">
<td>10</td>
<td ><code>section_break_16</code></td>
<td >
Section Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>11</td>
<td ><code>print_format</code></td>
<td >
Link</td>
<td >
Print Format
</td>
<td>
</td>
</tr>
<tr >
<td>12</td>
<td ><code>letter_head</code></td>
<td >
Link</td>
<td >
Letter Head
</td>
<td>
</td>
</tr>
<tr >
<td>13</td>
<td ><code>select_print_heading</code></td>
<td >
Link</td>
<td >
Print Heading
</td>
<td>
</td>
</tr>
<tr >
<td>14</td>
<td ><code>tc_name</code></td>
<td >
Link</td>
<td >
Terms and Conditions
</td>
<td>
</td>
</tr>
<tr >
<td>15</td>
<td ><code>column_break0</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>16</td>
<td ><code>territory</code></td>
<td >
Link</td>
<td >
Territory
</td>
<td>
</td>
</tr>
<tr >
<td>17</td>
<td ><code>selling_price_list</code></td>
<td >
Link</td>
<td >
Price List
</td>
<td>
</td>
</tr>
<tr class="info">
<td>18</td>
<td ><code>section_break_19</code></td>
<td >
Section Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>19</td>
<td class="danger" title="Mandatory"><code>write_off_account</code></td>
<td >
Link</td>
<td >
Write Off Account
</td>
<td>
</td>
</tr>
<tr >
<td>20</td>
<td class="danger" title="Mandatory"><code>write_off_cost_center</code></td>
<td >
Link</td>
<td >
Write Off Cost Center
</td>
<td>
</td>
</tr>
<tr >
<td>21</td>
<td ><code>taxes_and_charges</code></td>
<td >
Link</td>
<td >
Taxes and Charges
</td>
<td>
Sales Taxes and Charges Template
</td>
</tr>
<tr >
<td>22</td>
<td ><code>column_break_23</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>23</td>
<td ><code>cash_bank_account</code></td>
<td >
Link</td>
<td >
Cash/Bank Account
</td>
<td>
</td>
</tr>
<tr >
<td>24</td>
<td ><code>income_account</code></td>
<td >
Link</td>
<td >
Income Account
</td>
<td>
</td>
</tr>
<tr >
<td>25</td>
<td ><code>expense_account</code></td>
<td >
Link</td>
<td >
Expense Account
</td>
<td>
</td>
</tr>
<tr >
<td>26</td>
<td ><code>cost_center</code></td>
<td >
Link</td>
<td >
Cost Center
</td>
<td>
</td>
</tr>
</tbody>
Sr | Fieldname | Type | Label | Options |
---|
<hr>
<h3>Controller</h3>
<h4>erpnext.accounts.doctype.pos_profile.pos_profile</h4>
<h3 style="font-weight: normal;">Class <b>POSProfile</b></h3>
<p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
<div class="docs-attr-desc"><p></p>
<p class="docs-attr-name">
<a name="check_for_duplicate" href="#check_for_duplicate" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>check_for_duplicate</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="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>
<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>
<p class="docs-attr-name">
<a name="set_defaults" href="#set_defaults" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>set_defaults</b>
<i class="text-muted">(self, include_current_pos=True)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></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>
<p class="docs-attr-name">
<a name="validate_all_link_fields" href="#validate_all_link_fields" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>validate_all_link_fields</b>
<i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<hr>
<p><span class="label label-info">Public API</span>
<br><code>/api/method/erpnext.accounts.doctype.pos_profile.pos_profile.get_series</code>
</p>
<p class="docs-attr-name">
<a name="erpnext.accounts.doctype.pos_profile.pos_profile.get_series" href="#erpnext.accounts.doctype.pos_profile.pos_profile.get_series" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.accounts.doctype.pos_profile.pos_profile.<b>get_series</b>
<i class="text-muted">()</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>