261 lines
		
	
	
		
			4.9 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			261 lines
		
	
	
		
			4.9 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!-- title: Batch -->
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| <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/batch"
 | |
| 		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>tabBatch</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 class="danger" title="Mandatory"><code>batch_id</code></td>
 | |
|             <td >
 | |
|                 Data</td>
 | |
|             <td >
 | |
|                 Batch ID
 | |
|                 
 | |
|             </td>
 | |
|             <td></td>
 | |
|         </tr>
 | |
|         
 | |
|         <tr >
 | |
|             <td>2</td>
 | |
|             <td class="danger" title="Mandatory"><code>item</code></td>
 | |
|             <td >
 | |
|                 Link</td>
 | |
|             <td >
 | |
|                 Item
 | |
|                 
 | |
|             </td>
 | |
|             <td>
 | |
|                 
 | |
|                 
 | |
| 
 | |
| 
 | |
| <a href="https://frappe.github.io/erpnext/current/models/stock/item">Item</a>
 | |
| 
 | |
| 
 | |
|                 
 | |
|             </td>
 | |
|         </tr>
 | |
|         
 | |
|         <tr >
 | |
|             <td>3</td>
 | |
|             <td ><code>column_break_3</code></td>
 | |
|             <td class="info">
 | |
|                 Column Break</td>
 | |
|             <td >
 | |
|                 
 | |
|                 
 | |
|             </td>
 | |
|             <td></td>
 | |
|         </tr>
 | |
|         
 | |
|         <tr >
 | |
|             <td>4</td>
 | |
|             <td ><code>expiry_date</code></td>
 | |
|             <td >
 | |
|                 Date</td>
 | |
|             <td >
 | |
|                 Expiry Date
 | |
|                 
 | |
|             </td>
 | |
|             <td></td>
 | |
|         </tr>
 | |
|         
 | |
|         <tr class="info">
 | |
|             <td>5</td>
 | |
|             <td ><code>section_break_7</code></td>
 | |
|             <td >
 | |
|                 Section Break</td>
 | |
|             <td >
 | |
|                 
 | |
|                 
 | |
|             </td>
 | |
|             <td></td>
 | |
|         </tr>
 | |
|         
 | |
|         <tr >
 | |
|             <td>6</td>
 | |
|             <td ><code>description</code></td>
 | |
|             <td >
 | |
|                 Small Text</td>
 | |
|             <td >
 | |
|                 Batch Description
 | |
|                 
 | |
|             </td>
 | |
|             <td></td>
 | |
|         </tr>
 | |
|         
 | |
|     </tbody>
 | |
| </table>
 | |
| 
 | |
| 
 | |
|     <hr>
 | |
|     <h3>Controller</h3>
 | |
|     <h4>erpnext.stock.doctype.batch.batch</h4>
 | |
| 
 | |
|     
 | |
| 
 | |
| 
 | |
| 
 | |
| 	
 | |
|         
 | |
| 	<h3 style="font-weight: normal;">Class <b>Batch</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="item_has_batch_enabled" href="#item_has_batch_enabled" class="text-muted small">
 | |
|             <i class="icon-link small" style="color: #ccc;"></i></a>
 | |
| 		<b>item_has_batch_enabled</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>
 | |
| 
 | |
|         
 | |
|     </div>
 | |
|     <hr>
 | |
| 
 | |
| 	
 | |
| 
 | |
| 
 | |
|     
 | |
|     
 | |
|         <h4>Linked In:</h4>
 | |
|         <ul>
 | |
|         
 | |
| 			
 | |
|             <li>
 | |
| 
 | |
| 
 | |
| <a href="https://frappe.github.io/erpnext/current/models/stock/delivery_note_item">Delivery Note Item</a>
 | |
| 
 | |
| </li>
 | |
| 			
 | |
|         
 | |
| 			
 | |
|             <li>
 | |
| 
 | |
| 
 | |
| <a href="https://frappe.github.io/erpnext/current/models/stock/packed_item">Packed Item</a>
 | |
| 
 | |
| </li>
 | |
| 			
 | |
|         
 | |
| 			
 | |
|             <li>
 | |
| 
 | |
| 
 | |
| <a href="https://frappe.github.io/erpnext/current/models/stock/packing_slip_item">Packing Slip Item</a>
 | |
| 
 | |
| </li>
 | |
| 			
 | |
|         
 | |
| 			
 | |
|             <li>
 | |
| 
 | |
| 
 | |
| <a href="https://frappe.github.io/erpnext/current/models/stock/purchase_receipt_item">Purchase Receipt Item</a>
 | |
| 
 | |
| </li>
 | |
| 			
 | |
|         
 | |
| 			
 | |
|             <li>
 | |
| 
 | |
| 
 | |
| <a href="https://frappe.github.io/erpnext/current/models/buying/purchase_receipt_item_supplied">Purchase Receipt Item Supplied</a>
 | |
| 
 | |
| </li>
 | |
| 			
 | |
|         
 | |
| 			
 | |
|             <li>
 | |
| 
 | |
| 
 | |
| <a href="https://frappe.github.io/erpnext/current/models/buying/quality_inspection">Quality Inspection</a>
 | |
| 
 | |
| </li>
 | |
| 			
 | |
|         
 | |
| 			
 | |
|             <li>
 | |
| 
 | |
| 
 | |
| <a href="https://frappe.github.io/erpnext/current/models/accounts/sales_invoice_item">Sales Invoice Item</a>
 | |
| 
 | |
| </li>
 | |
| 			
 | |
|         
 | |
| 			
 | |
|             <li>
 | |
| 
 | |
| 
 | |
| <a href="https://frappe.github.io/erpnext/current/models/stock/stock_entry_detail">Stock Entry Detail</a>
 | |
| 
 | |
| </li>
 | |
| 			
 | |
|         
 | |
|         </ul>
 | |
|     
 | |
| 
 | |
| 
 | |
| <!-- autodoc -->
 | |
| <!-- jinja -->
 | |
| <!-- static --> |