Version 6.x.x Source

Table Name: tabItem

A Product or a Service that is bought, sold or kept in stock.

Fields

Sr Fieldname Type Label Options
1 name_and_description_section Section Break
icon-flag
2 naming_series Select Series
ITEM-
3 item_code Data Item Code
4 variant_of Link Variant Of

If item is a variant of another item then description, image, pricing, taxes etc will be set from the template unless explicitly specified

Item
5 item_name Data Item Name
6 item_group Link Item Group Item Group
7 stock_uom Link Default Unit of Measure UOM
8 column_break0 Column Break
9 is_stock_item Check Maintain Stock
10 disabled Check Disabled
11 image Attach Image
image
12 image_view Image Image View
image
13 section_break_11 Section Break Description
14 brand Link Brand Brand
15 barcode Data Barcode
16 description Text Editor Description
17 inventory Section Break Inventory
icon-truck
18 default_warehouse Link Default Warehouse Warehouse
19 end_of_life Date End of Life
20 has_batch_no Check Has Batch No
21 has_serial_no Check Has Serial No

Selecting "Yes" will give a unique identity to each entity of this item which can be viewed in the Serial No master.

22 serial_no_series Data Serial Number Series

Example: ABCD.##### If series is set and Serial No is not mentioned in transactions, then automatic serial number will be created based on this series. If you always want to explicitly mention Serial Nos for this item. leave this blank.

23 is_asset_item Check Is Fixed Asset Item
24 column_break1 Column Break
25 tolerance Float Allow over delivery or receipt upto this percent
26 valuation_method Select Valuation Method
FIFO
Moving Average
27 warranty_period Data Warranty Period (in days)
28 net_weight Float Net Weight
29 weight_uom Link Weight UOM UOM
30 reorder_section Section Break Auto re-order
icon-rss
31 re_order_level Float Re-order Level

Automatically create Material Request if quantity falls below this level

32 re_order_qty Float Re-order Qty
33 apply_warehouse_wise_reorder_level Check Apply Warehouse-wise Reorder Level
34 section_break_31 Section Break Reorder level based on Warehouse
35 reorder_levels Table Reorder level based on Warehouse

Will also apply for variants unless overrridden

Item Reorder
36 variants_section Section Break Variants
37 has_variants Check Has Variants

If this item has variants, then it cannot be selected in sales orders etc.

38 attributes Table Attributes Item Variant Attribute
39 purchase_details Section Break Purchase Details
icon-shopping-cart
40 is_purchase_item Check Is Purchase Item
41 min_order_qty Float Minimum Order Qty
42 lead_time_days Int Lead Time in days

Average time taken by the supplier to deliver

43 buying_cost_center Link Default Buying Cost Center Cost Center
44 expense_account Link Default Expense Account Account
45 unit_of_measure_conversion Column Break Unit of Measure Conversion
46 uoms Table UOMs

Will also apply for variants

UOM Conversion Detail
47 last_purchase_rate Float Last Purchase Rate
48 supplier_details Section Break Supplier Details
49 default_supplier Link Default Supplier Supplier
50 delivered_by_supplier Check Delivered by Supplier (Drop Ship)
51 manufacturer Data Manufacturer
52 manufacturer_part_no Data Manufacturer Part Number
53 column_break2 Column Break Item Code for Suppliers
54 supplier_items Table Supplier Items Item Supplier
55 sales_details Section Break Sales Details
icon-tag
56 is_sales_item Check Is Sales Item
57 is_service_item Check Is Service Item

Allow in Sales Order of type "Service"

58 publish_in_hub Check Publish in Hub

Publish Item to hub.erpnext.com

59 synced_with_hub Check Synced With Hub
60 income_account Link Default Income Account Account
61 selling_cost_center Link Default Selling Cost Center Cost Center
62 column_break3 Column Break Customer Item Codes
63 customer_items Table Customer Items Item Customer Detail
64 max_discount Float Max Discount (%)
65 item_tax_section_break Section Break Item Tax
icon-money
66 taxes Table Taxes

Will also apply for variants

Item Tax
67 inspection_criteria Section Break Inspection Criteria
icon-search
68 inspection_required Check Inspection Required
69 quality_parameters Table Quality Parameters

Will also apply to variants

Item Quality Inspection Parameter
70 manufacturing Section Break Manufacturing
icon-cogs
71 is_pro_applicable Check Allow Production Order
72 is_sub_contracted_item Check Supply Raw Materials for Purchase

If subcontracted to a vendor

73 column_break_74 Column Break
74 default_bom Link Default BOM BOM
75 customer_code Data Customer Code
76 website_section Section Break Website
icon-globe
77 show_in_website Check Show in Website
78 page_name Data Page Name

website page link

79 weightage Int Weightage

Items with higher weightage will be shown higher

80 slideshow Link Slideshow

Show a slideshow at the top of the page

Website Slideshow
81 website_image Attach Image

Item Image (if not slideshow)

82 thumbnail Data Thumbnail
83 cb72 Column Break
84 website_warehouse Link Website Warehouse

Show "In Stock" or "Not in Stock" based on stock available in this warehouse.

Warehouse
85 website_item_groups Table Website Item Groups

List this Item in multiple groups on the website.

Website Item Group
86 sb72 Section Break Website Specifications
87 copy_from_item_group Button Copy From Item Group
88 website_specifications Table Website Specifications Item Website Specification
89 web_long_description Text Editor Website Description
90 parent_website_route Read Only Parent Website Route

Controller

erpnext.stock.doctype.item.item

Class Item

Inherits from frappe.website.website_generator.WebsiteGenerator

add_default_uom_in_conversion_factor_table (self)

No docs


after_rename (self, olddn, newdn, merge)

No docs


autoname (self)

No docs


before_insert (self)

No docs


before_rename (self, olddn, newdn, merge=False)

No docs


cant_change (self)

No docs


check_for_active_boms (self)

No docs


check_if_sle_exists (self)

No docs


check_item_tax (self)

Check whether Tax Rate is not entered twice for same Tax Type


check_warehouse_is_set_for_stock_item (self)

No docs


copy_specification_from_item_group (self)

No docs


fill_customer_code (self)

Append all the customer codes and insert into "customer_code" field of item table


get_context (self, context)

No docs


make_thumbnail (self)

Make a thumbnail of website_image


on_trash (self)

No docs


on_update (self)

No docs


onload (self)

No docs


recalculate_bin_qty (self, newdn)

No docs


set_attribute_context (self, context)

No docs


set_disabled_attributes (self, context)

Disable selection options of attribute combinations that do not result in a variant


set_last_purchase_rate (self, newdn)

No docs


set_variant_context (self, context)

No docs


update_item_desc (self)

No docs


update_item_price (self)

No docs


update_template_item (self)

Set Show in Website for Template Item if True for its Variant


update_template_tables (self)

No docs


update_variants (self)

No docs


validate (self)

No docs


validate_attributes (self)

No docs


validate_barcode (self)

No docs


validate_conversion_factor (self)

No docs


validate_has_variants (self)

No docs


validate_item_type (self)

No docs


validate_name_with_item_group (self)

No docs


validate_reorder_level (self)

No docs


validate_uom (self)

No docs


validate_variant_attributes (self)

No docs


validate_warehouse_for_reorder (self)

No docs


validate_website_image (self)

Validate if the website image is a public file



Class WarehouseNotSet

Inherits from frappe.exceptions.ValidationError


erpnext.stock.doctype.item.item._msgprint (msg, verbose)

No docs


erpnext.stock.doctype.item.item.check_stock_uom_with_bin (item, stock_uom)

No docs


erpnext.stock.doctype.item.item.get_last_purchase_details (item_code, doc_name=None, conversion_rate=1.0)

returns last purchase details in stock uom


erpnext.stock.doctype.item.item.invalidate_cache_for_item (doc)

No docs


erpnext.stock.doctype.item.item.validate_cancelled_item (item_code, docstatus=None, verbose=1)

No docs


erpnext.stock.doctype.item.item.validate_end_of_life (item_code, end_of_life=None, disabled=None, verbose=1)

No docs


erpnext.stock.doctype.item.item.validate_is_stock_item (item_code, is_stock_item=None, verbose=1)

No docs


Linked In: