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

328 lines
6.9 KiB
HTML
Raw Normal View History

2015-12-03 12:58:19 +00:00
<!-- title: Bin -->
<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/bin"
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>tabBin</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 ><code>warehouse</code></td>
<td >
Link</td>
<td >
Warehouse
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/stock/warehouse">Warehouse</a>
</td>
</tr>
<tr >
<td>2</td>
<td ><code>item_code</code></td>
<td >
Link</td>
<td >
Item Code
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
</td>
</tr>
<tr >
<td>3</td>
<td ><code>reserved_qty</code></td>
<td >
Float</td>
<td >
Reserved Quantity
</td>
<td></td>
</tr>
<tr >
<td>4</td>
<td ><code>actual_qty</code></td>
<td >
Float</td>
<td >
Actual Quantity
</td>
<td></td>
</tr>
<tr >
<td>5</td>
<td ><code>ordered_qty</code></td>
<td >
Float</td>
<td >
Ordered Quantity
</td>
<td></td>
</tr>
<tr >
<td>6</td>
<td ><code>indented_qty</code></td>
<td >
Float</td>
<td >
Quantity Requested for Purchase
</td>
<td></td>
</tr>
<tr >
<td>7</td>
<td ><code>planned_qty</code></td>
<td >
Float</td>
<td >
Planned Qty
</td>
<td></td>
</tr>
<tr >
<td>8</td>
<td ><code>projected_qty</code></td>
<td >
Float</td>
<td >
Projected Qty
</td>
<td></td>
</tr>
<tr >
<td>9</td>
<td ><code>ma_rate</code></td>
<td >
Float</td>
<td class="text-muted" title="Hidden">
Moving Average Rate
</td>
<td></td>
</tr>
<tr >
<td>10</td>
<td ><code>stock_uom</code></td>
<td >
Link</td>
<td >
UOM
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
</td>
</tr>
<tr >
<td>11</td>
<td ><code>fcfs_rate</code></td>
<td >
Float</td>
<td class="text-muted" title="Hidden">
FCFS Rate
</td>
<td></td>
</tr>
<tr >
<td>12</td>
<td ><code>valuation_rate</code></td>
<td >
Float</td>
<td >
Valuation Rate
</td>
<td></td>
</tr>
<tr >
<td>13</td>
<td ><code>stock_value</code></td>
<td >
Float</td>
<td >
Stock Value
</td>
<td></td>
</tr>
</tbody>
</table>
<hr>
<h3>Controller</h3>
<h4>erpnext.stock.doctype.bin.bin</h4>
<h3 style="font-weight: normal;">Class <b>Bin</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="get_first_sle" href="#get_first_sle" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>get_first_sle</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_qty" href="#update_qty" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>update_qty</b>
<i class="text-muted">(self, args)</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_stock" href="#update_stock" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>update_stock</b>
<i class="text-muted">(self, args, allow_negative_stock=False, via_landed_cost_voucher=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="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_mandatory" href="#validate_mandatory" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>validate_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>
</div>
<hr>
<!-- autodoc -->
<!-- jinja -->
<!-- static -->