brotherton-erpnext/erpnext/docs/current/models/stock/stock_ledger_entry.html
2015-12-10 17:58:12 +05:30

552 lines
12 KiB
HTML

<!-- title: Stock Ledger Entry -->
<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/stock_ledger_entry"
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>tabStock Ledger Entry</code></p>
<h3>Fields</h3>
<table class="table table-bordered">
<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>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>2</td>
<td ><code>serial_no</code></td>
<td >
Text</td>
<td >
Serial No
</td>
<td></td>
</tr>
<tr >
<td>3</td>
<td ><code>batch_no</code></td>
<td >
Data</td>
<td >
Batch No
</td>
<td></td>
</tr>
<tr >
<td>4</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>5</td>
<td ><code>posting_date</code></td>
<td >
Date</td>
<td >
Posting Date
</td>
<td></td>
</tr>
<tr >
<td>6</td>
<td ><code>posting_time</code></td>
<td >
Time</td>
<td >
Posting Time
</td>
<td></td>
</tr>
<tr >
<td>7</td>
<td ><code>voucher_type</code></td>
<td >
Link</td>
<td >
Voucher Type
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/core/doctype">DocType</a>
</td>
</tr>
<tr >
<td>8</td>
<td ><code>voucher_no</code></td>
<td >
Dynamic Link</td>
<td >
Voucher No
</td>
<td>
<pre>voucher_type</pre>
</td>
</tr>
<tr >
<td>9</td>
<td ><code>voucher_detail_no</code></td>
<td >
Data</td>
<td >
Voucher Detail No
</td>
<td></td>
</tr>
<tr >
<td>10</td>
<td ><code>actual_qty</code></td>
<td >
Float</td>
<td >
Actual Quantity
</td>
<td></td>
</tr>
<tr >
<td>11</td>
<td ><code>incoming_rate</code></td>
<td >
Currency</td>
<td >
Incoming Rate
</td>
<td>
<pre>Company:company:default_currency</pre>
</td>
</tr>
<tr >
<td>12</td>
<td ><code>outgoing_rate</code></td>
<td >
Currency</td>
<td >
Outgoing Rate
</td>
<td>
<pre>Company:company:default_currency</pre>
</td>
</tr>
<tr >
<td>13</td>
<td ><code>stock_uom</code></td>
<td >
Link</td>
<td >
Stock UOM
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/setup/uom">UOM</a>
</td>
</tr>
<tr >
<td>14</td>
<td ><code>qty_after_transaction</code></td>
<td >
Float</td>
<td >
Actual Qty After Transaction
</td>
<td></td>
</tr>
<tr >
<td>15</td>
<td ><code>valuation_rate</code></td>
<td >
Currency</td>
<td >
Valuation Rate
</td>
<td>
<pre>Company:company:default_currency</pre>
</td>
</tr>
<tr >
<td>16</td>
<td ><code>stock_value</code></td>
<td >
Currency</td>
<td >
Stock Value
</td>
<td>
<pre>Company:company:default_currency</pre>
</td>
</tr>
<tr >
<td>17</td>
<td ><code>stock_value_difference</code></td>
<td >
Currency</td>
<td >
Stock Value Difference
</td>
<td>
<pre>Company:company:default_currency</pre>
</td>
</tr>
<tr >
<td>18</td>
<td ><code>stock_queue</code></td>
<td >
Text</td>
<td class="text-muted" title="Hidden">
Stock Queue (FIFO)
</td>
<td></td>
</tr>
<tr >
<td>19</td>
<td ><code>project</code></td>
<td >
Link</td>
<td >
Project
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/projects/project">Project</a>
</td>
</tr>
<tr >
<td>20</td>
<td ><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>21</td>
<td ><code>fiscal_year</code></td>
<td >
Data</td>
<td >
Fiscal Year
</td>
<td></td>
</tr>
<tr >
<td>22</td>
<td ><code>is_cancelled</code></td>
<td >
Select</td>
<td class="text-muted" title="Hidden">
Is Cancelled
</td>
<td>
<pre>
No
Yes</pre>
</td>
</tr>
</tbody>
</table>
<hr>
<h3>Controller</h3>
<h4>erpnext.stock.doctype.stock_ledger_entry.stock_ledger_entry</h4>
<h3 style="font-weight: normal;">Class <b>StockFreezeError</b></h3>
<p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
<div class="docs-attr-desc"><p></p>
</div>
<div style="padding-left: 30px;">
</div>
<hr>
<h3 style="font-weight: normal;">Class <b>StockLedgerEntry</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="actual_amt_check" href="#actual_amt_check" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>actual_amt_check</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="check_stock_frozen_date" href="#check_stock_frozen_date" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>check_stock_frozen_date</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="scrub_posting_time" href="#scrub_posting_time" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>scrub_posting_time</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" 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_batch" href="#validate_batch" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>validate_batch</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_item" href="#validate_item" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>validate_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="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>
<p class="docs-attr-name">
<a name="erpnext.stock.doctype.stock_ledger_entry.stock_ledger_entry.on_doctype_update" href="#erpnext.stock.doctype.stock_ledger_entry.stock_ledger_entry.on_doctype_update" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.stock.doctype.stock_ledger_entry.stock_ledger_entry.<b>on_doctype_update</b>
<i class="text-muted">()</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<br>
<!-- autodoc -->
<!-- jinja -->
<!-- static -->