brotherton-erpnext/erpnext/docs/current/models/stock/landed_cost_voucher.html

426 lines
9.6 KiB
HTML
Raw Normal View History

2015-12-03 12:58:19 +00:00
<!-- title: Landed Cost Voucher -->
<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/stock/doctype/landed_cost_voucher"
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>tabLanded Cost Voucher</code></p>
<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 >
<td>1</td>
<td class="danger" title="Mandatory"><code>company</code></td>
<td >
Link</td>
<td >
Company
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
</td>
</tr>
<tr >
<td>2</td>
<td ><code>purchase_receipts</code></td>
<td >
Table</td>
<td >
Purchase Receipts
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/stock/landed_cost_purchase_receipt">Landed Cost Purchase Receipt</a>
</td>
</tr>
<tr >
<td>3</td>
<td ><code>get_items_from_purchase_receipts</code></td>
<td >
Button</td>
<td >
Get Items From Purchase Receipts
</td>
<td></td>
</tr>
<tr >
<td>4</td>
<td ><code>items</code></td>
<td >
Table</td>
<td >
Purchase Receipt Items
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/stock/landed_cost_item">Landed Cost Item</a>
</td>
</tr>
<tr >
<td>5</td>
<td ><code>taxes</code></td>
<td >
Table</td>
<td >
Taxes and Charges
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/stock/landed_cost_taxes_and_charges">Landed Cost Taxes and Charges</a>
</td>
</tr>
<tr class="info">
<td>6</td>
<td ><code>sec_break1</code></td>
<td >
Section Break</td>
<td >
</td>
<td>
<pre>Simple</pre>
</td>
</tr>
<tr >
<td>7</td>
<td class="danger" title="Mandatory"><code>total_taxes_and_charges</code></td>
<td >
Currency</td>
<td >
Total Taxes and Charges
</td>
<td>
<pre>Company:company:default_currency</pre>
</td>
</tr>
<tr >
<td>8</td>
<td ><code>amended_from</code></td>
<td >
Link</td>
<td >
Amended From
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/stock/landed_cost_voucher">Landed Cost Voucher</a>
</td>
</tr>
<tr >
<td>9</td>
<td ><code>col_break1</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>10</td>
<td class="danger" title="Mandatory"><code>distribute_charges_based_on</code></td>
<td >
Select</td>
<td >
Distribute Charges Based On
</td>
<td>
<pre>
Qty
Amount</pre>
</td>
</tr>
<tr class="info">
<td>11</td>
<td ><code>sec_break2</code></td>
<td >
Section Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>12</td>
<td ><code>landed_cost_help</code></td>
<td >
HTML</td>
<td >
Landed Cost Help
</td>
<td></td>
</tr>
</tbody>
</table>
<hr>
<h3>Controller</h3>
<h4>erpnext.stock.doctype.landed_cost_voucher.landed_cost_voucher</h4>
<h3 style="font-weight: normal;">Class <b>LandedCostVoucher</b></h3>
<p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
<div class="docs-attr-desc"><p></p>
</div>
<div style="padding-left: 30px;">
<p class="docs-attr-name">
<a name="check_mandatory" href="#check_mandatory" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>check_mandatory</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_items_from_purchase_receipts" href="#get_items_from_purchase_receipts" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>get_items_from_purchase_receipts</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_cancel" href="#on_cancel" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>on_cancel</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_submit" href="#on_submit" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>on_submit</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="set_applicable_charges_for_item" href="#set_applicable_charges_for_item" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>set_applicable_charges_for_item</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="set_total_taxes_and_charges" href="#set_total_taxes_and_charges" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>set_total_taxes_and_charges</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_landed_cost" href="#update_landed_cost" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>update_landed_cost</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_rate_in_serial_no" href="#update_rate_in_serial_no" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>update_rate_in_serial_no</b>
<i class="text-muted">(self, purchase_receipt)</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>
<p class="docs-attr-name">
<a name="validate_purchase_receipts" href="#validate_purchase_receipts" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>validate_purchase_receipts</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/stock/landed_cost_voucher">Landed Cost Voucher</a>
</li>
</ul>
<!-- autodoc -->
<!-- jinja -->
<!-- static -->