Version 6.7.7 Source

Table Name: tabSerial No

Distinct unit of an Item

Fields

Sr Fieldname Type Label Options
1 details Section Break
2 column_break0 Column Break
3 serial_no Data Serial No
4 item_code Link Item Code Item
5 warehouse Link Warehouse

Warehouse can only be changed via Stock Entry / Delivery Note / Purchase Receipt

Warehouse
6 column_break1 Column Break
7 item_name Data Item Name
8 description Text Description
9 item_group Link Item Group Item Group
10 brand Link Brand Brand
11 purchase_details Section Break Purchase / Manufacture Details
12 column_break2 Column Break
13 purchase_document_type Link Creation Document Type DocType
14 purchase_document_no Dynamic Link Creation Document No
purchase_document_type
15 purchase_date Date Creation Date
16 purchase_time Time Creation Time
17 purchase_rate Currency Incoming Rate
Company:company:default_currency
18 column_break3 Column Break
19 supplier Link Supplier Supplier
20 supplier_name Data Supplier Name
21 delivery_details Section Break Delivery Details
22 delivery_document_type Select Delivery Document Type
Delivery Note
Sales Invoice
Stock Entry
Purchase Receipt
23 delivery_document_no Data Delivery Document No
24 delivery_date Date Delivery Date
25 delivery_time Time Delivery Time
26 is_cancelled Select Is Cancelled
Yes
No
27 column_break5 Column Break
28 customer Link Customer Customer
29 customer_name Data Customer Name
30 warranty_amc_details Section Break Warranty / AMC Details
31 column_break6 Column Break
32 maintenance_status Select Maintenance Status
Under Warranty
Out of Warranty
Under AMC
Out of AMC
33 warranty_period Int Warranty Period (Days)
34 column_break7 Column Break
35 warranty_expiry_date Date Warranty Expiry Date
36 amc_expiry_date Date AMC Expiry Date
37 more_info Section Break More Information
38 serial_no_details Text Editor Serial No Details
39 company Link Company Company

Controller

erpnext.stock.doctype.serial_no.serial_no

Class SerialNo

Inherits from erpnext.controllers.stock_controller.StockController

__init__ (self, arg1, arg2=None)

No docs


after_rename (self, old, new, merge=False)

rename serial_no text fields


before_rename (self, old, new, merge=False)

No docs


get_last_sle (self)

No docs


get_stock_ledger_entries (self)

No docs


on_stock_ledger_entry (self)

No docs


on_trash (self)

No docs


set_maintenance_status (self)

No docs


set_purchase_details (self, purchase_sle)

No docs


set_sales_details (self, delivery_sle)

No docs


validate (self)

No docs


validate_item (self)

Validate whether serial no is required for this item


validate_warehouse (self)

No docs



Class SerialNoCannotCannotChangeError

Inherits from frappe.exceptions.ValidationError


Class SerialNoCannotCreateDirectError

Inherits from frappe.exceptions.ValidationError


Class SerialNoDuplicateError

Inherits from frappe.exceptions.ValidationError


Class SerialNoItemError

Inherits from frappe.exceptions.ValidationError


Class SerialNoNotExistsError

Inherits from frappe.exceptions.ValidationError


Class SerialNoNotRequiredError

Inherits from frappe.exceptions.ValidationError


Class SerialNoQtyError

Inherits from frappe.exceptions.ValidationError


Class SerialNoRequiredError

Inherits from frappe.exceptions.ValidationError


Class SerialNoWarehouseError

Inherits from frappe.exceptions.ValidationError


erpnext.stock.doctype.serial_no.serial_no.allow_serial_nos_with_different_item (sle_serial_no, sle)

Allows same serial nos for raw materials and finished goods in Manufacture / Repack type Stock Entry


erpnext.stock.doctype.serial_no.serial_no.get_item_details (item_code)

No docs


erpnext.stock.doctype.serial_no.serial_no.get_serial_nos (serial_no)

No docs


erpnext.stock.doctype.serial_no.serial_no.make_serial_no (serial_no, sle)

No docs


erpnext.stock.doctype.serial_no.serial_no.process_serial_no (sle)

No docs


erpnext.stock.doctype.serial_no.serial_no.update_serial_nos (sle, item_det)

No docs


erpnext.stock.doctype.serial_no.serial_no.update_serial_nos_after_submit (controller, parentfield)

No docs


erpnext.stock.doctype.serial_no.serial_no.validate_serial_no (sle, item_det)

No docs


Linked In: