{
 "actions": [],
 "allow_import": 1,
 "allow_rename": 1,
 "autoname": "field:item_code",
 "creation": "2026-02-02 14:41:23.105228",
 "description": "A product or service you buy, sell or keep in stock.",
 "doctype": "DocType",
 "document_type": "Setup",
 "documentation": "https://docs.frappe.io/erpnext/user/manual/en/item",
 "editable_grid": 1,
 "engine": "InnoDB",
 "field_order": [
  "details",
  "naming_series",
  "item_code",
  "item_name",
  "item_group",
  "stock_uom",
  "image",
  "column_break0",
  "disabled",
  "is_stock_item",
  "is_fixed_asset",
  "auto_create_assets",
  "is_grouped_asset",
  "asset_category",
  "asset_naming_series",
  "section_break_zlmj",
  "is_sales_item",
  "allow_alternative_item",
  "has_variants",
  "column_break_kpmi",
  "is_purchase_item",
  "is_customer_provided_item",
  "section_break_gjns",
  "standard_rate",
  "column_break_ixrh",
  "opening_stock",
  "section_break_znra",
  "over_delivery_receipt_allowance",
  "column_break_wugd",
  "over_billing_allowance",
  "section_break_11",
  "brand",
  "description",
  "accounting",
  "section_break_wfkx",
  "item_defaults",
  "deferred_accounting_section",
  "enable_deferred_expense",
  "no_of_months_exp",
  "column_break_9s9o",
  "enable_deferred_revenue",
  "no_of_months",
  "uom_tab",
  "unit_of_measure_conversion",
  "uom_conversion_details_column",
  "uom_help_html",
  "uoms",
  "item_tax_section_break",
  "section_break_oilf",
  "column_break_aytr",
  "taxes",
  "section_break_fxqz",
  "purchase_tax_withholding_category",
  "column_break_ltlb",
  "sales_tax_withholding_category",
  "inventory_section",
  "stock_levels_section",
  "stock_levels_html",
  "inventory_valuation_section",
  "valuation_method",
  "column_break_cqdk",
  "valuation_rate",
  "inventory_settings_section",
  "end_of_life",
  "default_material_request_type",
  "column_break1",
  "warranty_period",
  "weight_per_unit",
  "weight_uom",
  "allow_negative_stock",
  "sb_barcodes",
  "barcodes",
  "reorder_section",
  "reorder_levels",
  "serial_nos_and_batches",
  "has_batch_no",
  "create_new_batch",
  "batch_number_series",
  "has_expiry_date",
  "shelf_life_in_days",
  "retain_sample",
  "sample_quantity",
  "column_break_37",
  "has_serial_no",
  "serial_no_series",
  "use_serial_no_wise_valuation",
  "variants_section",
  "variant_of",
  "variant_based_on",
  "attributes",
  "purchasing_tab",
  "purchase_uom",
  "min_order_qty",
  "safety_stock",
  "purchase_details_cb",
  "lead_time_days",
  "last_purchase_rate",
  "supplier_details",
  "delivered_by_supplier",
  "section_break_ylma",
  "supplier_items",
  "foreign_trade_details",
  "country_of_origin",
  "column_break_59",
  "customs_tariff_number",
  "sales_details",
  "sales_uom",
  "grant_commission",
  "column_break3",
  "max_discount",
  "customer_details",
  "customer_items",
  "manufacturing",
  "include_item_in_manufacturing",
  "is_sub_contracted_item",
  "default_bom",
  "column_break_74",
  "total_projected_qty",
  "section_break_xili",
  "default_manufacturer_part_no",
  "default_item_manufacturer",
  "column_break_vipt",
  "customer_code",
  "quality_tab",
  "inspection_required_before_purchase",
  "inspection_required_before_delivery",
  "column_break_pxjh",
  "quality_inspection_template",
  "pricing_tab",
  "item_prices_column",
  "prices_html",
  "dashboard_tab"
 ],
 "fields": [
  {
   "fieldname": "naming_series",
   "fieldtype": "Select",
   "label": "Series",
   "options": "STO-ITEM-.YYYY.-",
   "set_only_once": 1
  },
  {
   "bold": 1,
   "fieldname": "item_code",
   "fieldtype": "Data",
   "in_global_search": 1,
   "label": "Item Code",
   "oldfieldname": "item_code",
   "oldfieldtype": "Data",
   "reqd": 1,
   "unique": 1
  },
  {
   "depends_on": "variant_of",
   "description": "If item is a variant of another item then description, image, pricing, taxes etc will be set from the template unless explicitly specified",
   "fieldname": "variant_of",
   "fieldtype": "Link",
   "ignore_user_permissions": 1,
   "in_standard_filter": 1,
   "label": "Variant Of",
   "link_filters": "[[\"Item\",\"has_variants\",\"=\",1]]",
   "options": "Item",
   "read_only": 1,
   "search_index": 1,
   "set_only_once": 1
  },
  {
   "allow_in_quick_entry": 1,
   "bold": 1,
   "fieldname": "item_name",
   "fieldtype": "Data",
   "in_global_search": 1,
   "in_import_template": 1,
   "label": "Item Name",
   "oldfieldname": "item_name",
   "oldfieldtype": "Data",
   "search_index": 1
  },
  {
   "fieldname": "item_group",
   "fieldtype": "Link",
   "in_list_view": 1,
   "in_preview": 1,
   "in_standard_filter": 1,
   "label": "Item Group",
   "link_filters": "[[\"Item Group\",\"is_group\",\"=\",0]]",
   "oldfieldname": "item_group",
   "oldfieldtype": "Link",
   "options": "Item Group",
   "reqd": 1,
   "search_index": 1
  },
  {
   "fieldname": "stock_uom",
   "fieldtype": "Link",
   "ignore_user_permissions": 1,
   "in_list_view": 1,
   "label": "Default Unit of Measure",
   "oldfieldname": "stock_uom",
   "oldfieldtype": "Link",
   "options": "UOM",
   "reqd": 1
  },
  {
   "fieldname": "column_break0",
   "fieldtype": "Column Break"
  },
  {
   "default": "0",
   "description": "Disabled items cannot be selected in any transaction.",
   "fieldname": "disabled",
   "fieldtype": "Check",
   "label": "Disabled",
   "search_index": 1,
   "show_description_on_click": 1
  },
  {
   "default": "0",
   "description": "Allow substituting this item with an alternative from the Item Alternative list when stock is unavailable.",
   "fieldname": "allow_alternative_item",
   "fieldtype": "Check",
   "label": "Allow Alternative Item",
   "show_description_on_click": 1
  },
  {
   "allow_in_quick_entry": 1,
   "bold": 1,
   "default": "1",
   "description": "ERPNext will make a stock ledger entry for each transaction of this item. Keep unchecked for non-stock or service items.",
   "fieldname": "is_stock_item",
   "fieldtype": "Check",
   "in_import_template": 1,
   "in_list_view": 0,
   "label": "Maintain Stock",
   "oldfieldname": "is_stock_item",
   "oldfieldtype": "Select",
   "read_only_depends_on": "eval:doc.is_fixed_asset"
  },
  {
   "default": "1",
   "depends_on": "eval:!doc.is_fixed_asset",
   "description": "Enable for raw material items used in BOM. Uncheck for additional services like 'washing' used in manufacturing.",
   "fieldname": "include_item_in_manufacturing",
   "fieldtype": "Check",
   "in_import_template": 1,
   "label": "Include Item In Manufacturing"
  },
  {
   "bold": 1,
   "fieldname": "opening_stock",
   "fieldtype": "Float",
   "hidden": 1,
   "label": "Opening Stock"
  },
  {
   "depends_on": "is_stock_item",
   "fieldname": "valuation_rate",
   "fieldtype": "Currency",
   "in_import_template": 1,
   "label": "Valuation Rate"
  },
  {
   "bold": 1,
   "depends_on": "eval:doc.__islocal && doc.is_sales_item",
   "description": "Creates an Item Price automatically when the item is saved",
   "fieldname": "standard_rate",
   "fieldtype": "Currency",
   "in_import_template": 1,
   "label": "Standard Selling Rate"
  },
  {
   "allow_in_quick_entry": 1,
   "default": "0",
   "description": "Enable if this item is a company asset like machinery or furniture.",
   "fieldname": "is_fixed_asset",
   "fieldtype": "Check",
   "in_import_template": 1,
   "label": "Is Fixed Asset",
   "read_only_depends_on": "eval:doc.is_stock_item",
   "in_list_view": 1
  },
  {
   "allow_in_quick_entry": 1,
   "depends_on": "is_fixed_asset",
   "fieldname": "asset_category",
   "fieldtype": "Link",
   "in_import_template": 1,
   "label": "Asset Category",
   "mandatory_depends_on": "is_fixed_asset",
   "options": "Asset Category"
  },
  {
   "depends_on": "is_fixed_asset",
   "fieldname": "asset_naming_series",
   "fieldtype": "Select",
   "label": "Asset Naming Series"
  },
  {
   "fieldname": "image",
   "fieldtype": "Attach Image",
   "hidden": 1,
   "in_preview": 1,
   "label": "Image",
   "options": "image",
   "print_hide": 1
  },
  {
   "collapsible": 1,
   "fieldname": "section_break_11",
   "fieldtype": "Section Break",
   "label": "Description"
  },
  {
   "fieldname": "brand",
   "fieldtype": "Link",
   "in_import_template": 1,
   "label": "Brand",
   "oldfieldname": "brand",
   "oldfieldtype": "Link",
   "options": "Brand",
   "print_hide": 1
  },
  {
   "fieldname": "description",
   "fieldtype": "Text Editor",
   "in_import_template": 1,
   "in_preview": 1,
   "label": "Description",
   "oldfieldname": "description",
   "oldfieldtype": "Text"
  },
  {
   "fieldname": "sb_barcodes",
   "fieldtype": "Section Break",
   "label": "Barcodes"
  },
  {
   "fieldname": "barcodes",
   "fieldtype": "Table",
   "label": "Barcodes",
   "options": "Item Barcode"
  },
  {
   "collapsible": 1,
   "collapsible_depends_on": "is_stock_item",
   "depends_on": "is_stock_item",
   "fieldname": "inventory_section",
   "fieldtype": "Tab Break",
   "label": "Inventory",
   "oldfieldtype": "Section Break",
   "options": "fa fa-truck"
  },
  {
   "depends_on": "has_expiry_date",
   "fieldname": "shelf_life_in_days",
   "fieldtype": "Int",
   "label": "Shelf Life In Days",
   "mandatory_depends_on": "eval:doc.has_batch_no && doc.has_expiry_date",
   "non_negative": 1
  },
  {
   "default": "2099-12-31",
   "depends_on": "is_stock_item",
   "description": "Defines the date after which the item can no longer be used in transactions or manufacturing",
   "fieldname": "end_of_life",
   "fieldtype": "Date",
   "label": "End of Life",
   "oldfieldname": "end_of_life",
   "oldfieldtype": "Date",
   "show_description_on_click": 1
  },
  {
   "default": "Purchase",
   "fieldname": "default_material_request_type",
   "fieldtype": "Select",
   "label": "Default Material Request Type",
   "options": "Purchase\nMaterial Transfer\nMaterial Issue\nManufacture\nCustomer Provided"
  },
  {
   "depends_on": "is_stock_item",
   "documentation_url": "https://docs.frappe.io/erpnext/change-valuation-method",
   "fieldname": "valuation_method",
   "fieldtype": "Select",
   "label": "Valuation Method",
   "options": "\nFIFO\nMoving Average\nLIFO",
   "description": "Serialized items are valued at Moving Average once stock transactions exist and Serial No Wise Valuation is disabled."
  },
  {
   "depends_on": "is_stock_item",
   "fieldname": "column_break1",
   "fieldtype": "Column Break",
   "oldfieldtype": "Column Break",
   "width": "50%"
  },
  {
   "depends_on": "eval:doc.is_stock_item",
   "fieldname": "warranty_period",
   "fieldtype": "Data",
   "label": "Warranty Period (in days)",
   "oldfieldname": "warranty_period",
   "oldfieldtype": "Data"
  },
  {
   "depends_on": "is_stock_item",
   "fieldname": "weight_per_unit",
   "fieldtype": "Float",
   "label": "Weight Per Unit",
   "non_negative": 1
  },
  {
   "depends_on": "eval:doc.is_stock_item",
   "fieldname": "weight_uom",
   "fieldtype": "Link",
   "ignore_user_permissions": 1,
   "label": "Weight UOM",
   "options": "UOM"
  },
  {
   "collapsible": 1,
   "depends_on": "is_stock_item",
   "fieldname": "reorder_section",
   "fieldtype": "Section Break",
   "label": "Auto re-order",
   "options": "fa fa-rss"
  },
  {
   "description": "Will also apply for variants unless overridden",
   "fieldname": "reorder_levels",
   "fieldtype": "Table",
   "label": "Reorder level based on Warehouse",
   "options": "Item Reorder"
  },
  {
   "fieldname": "unit_of_measure_conversion",
   "fieldtype": "Section Break"
  },
  {
   "fieldname": "uoms",
   "fieldtype": "Table",
   "oldfieldname": "uom_conversion_details",
   "oldfieldtype": "Table",
   "options": "UOM Conversion Detail"
  },
  {
   "collapsible": 1,
   "collapsible_depends_on": "eval:doc.has_batch_no || doc.has_serial_no",
   "depends_on": "eval:doc.is_stock_item",
   "fieldname": "serial_nos_and_batches",
   "fieldtype": "Section Break",
   "label": "Serial Nos / Batches"
  },
  {
   "default": "0",
   "depends_on": "eval:doc.is_stock_item",
   "description": "Track this item in batches. Cannot be changed after a stock transaction exists.",
   "fieldname": "has_batch_no",
   "fieldtype": "Check",
   "in_import_template": 1,
   "label": "Has Batch No",
   "oldfieldname": "has_batch_no",
   "oldfieldtype": "Select",
   "show_description_on_click": 1
  },
  {
   "default": "0",
   "depends_on": "has_batch_no",
   "description": "Batch number will be auto-created in format AAAA.00001 if not specified in transactions. Leave blank to always enter batch numbers manually.",
   "fieldname": "create_new_batch",
   "fieldtype": "Check",
   "label": "Automatically Create New Batch"
  },
  {
   "depends_on": "eval:doc.has_batch_no==1 && doc.create_new_batch==1",
   "description": "Example: ABCD.#####. If series is set and Batch No is not mentioned in transactions, then automatic batch number will be created based on this series. If you always want to explicitly mention Batch No for this item, leave this blank. Note: this setting will take priority over the Naming Series Prefix in Stock Settings.",
   "fieldname": "batch_number_series",
   "fieldtype": "Data",
   "label": "Batch Number Series",
   "show_description_on_click": 1,
   "translatable": 1
  },
  {
   "default": "0",
   "depends_on": "has_batch_no",
   "description": "Batch number will be created based on expiry date. Expiry dates can be set in the Batch master.",
   "fieldname": "has_expiry_date",
   "fieldtype": "Check",
   "label": "Has Expiry Date"
  },
  {
   "default": "0",
   "depends_on": "has_batch_no",
   "description": "Enable to reserve a small sample from each batch for any analysis arising ahead",
   "documentation_url": "https://docs.frappe.io/erpnext/retain-sample-stock",
   "fieldname": "retain_sample",
   "fieldtype": "Check",
   "label": "Retain Sample",
   "show_description_on_click": 1
  },
  {
   "depends_on": "eval: (doc.retain_sample && doc.has_batch_no)",
   "description": "Maximum sample quantity that can be retained",
   "fieldname": "sample_quantity",
   "fieldtype": "Int",
   "label": "Max Sample Quantity"
  },
  {
   "fieldname": "column_break_37",
   "fieldtype": "Column Break"
  },
  {
   "default": "0",
   "depends_on": "eval:doc.is_stock_item",
   "description": "Track each unit with a unique serial number for warranty and return tracking. Cannot be changed after a stock transaction exists.",
   "fieldname": "has_serial_no",
   "fieldtype": "Check",
   "in_import_template": 1,
   "label": "Has Serial No",
   "oldfieldname": "has_serial_no",
   "oldfieldtype": "Select",
   "show_description_on_click": 1
  },
  {
   "depends_on": "has_serial_no",
   "description": "Example: ABCD.#####\nIf 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.",
   "fieldname": "serial_no_series",
   "fieldtype": "Data",
   "label": "Serial Number Series",
   "show_description_on_click": 1
  },
  {
   "default": "1",
   "depends_on": "eval:doc.is_stock_item && doc.has_serial_no",
   "description": "Value every outward movement at each Serial No's own incoming rate. If unchecked, the item is valued at Moving Average once stock transactions exist. Cannot be enabled once Serial Nos exist for this item.",
   "fieldname": "use_serial_no_wise_valuation",
   "fieldtype": "Check",
   "label": "Use Serial No Wise Valuation",
   "show_description_on_click": 1
  },
  {
   "collapsible": 1,
   "collapsible_depends_on": "attributes",
   "depends_on": "eval:!doc.is_fixed_asset",
   "fieldname": "variants_section",
   "fieldtype": "Tab Break",
   "label": "Variants"
  },
  {
   "default": "0",
   "depends_on": "eval:!doc.variant_of",
   "description": "If this item has variants, then it cannot be selected in sales orders etc.",
   "fieldname": "has_variants",
   "fieldtype": "Check",
   "in_standard_filter": 1,
   "label": "Has Variants",
   "show_description_on_click": 1
  },
  {
   "default": "Item Attribute",
   "depends_on": "has_variants",
   "fieldname": "variant_based_on",
   "fieldtype": "Select",
   "label": "Variant Based On",
   "options": "Item Attribute\nManufacturer"
  },
  {
   "depends_on": "eval:(doc.has_variants || doc.variant_of) && doc.variant_based_on==='Item Attribute'",
   "fieldname": "attributes",
   "fieldtype": "Table",
   "hidden": 1,
   "label": "Variant Attributes",
   "mandatory_depends_on": "eval:(doc.has_variants || doc.variant_of) && doc.variant_based_on==='Item Attribute'",
   "options": "Item Variant Attribute"
  },
  {
   "fieldname": "item_defaults",
   "fieldtype": "Table",
   "label": "Item Defaults",
   "options": "Item Default"
  },
  {
   "default": "1",
   "description": "Allow this item to be used in purchase transactions.",
   "fieldname": "is_purchase_item",
   "fieldtype": "Check",
   "in_import_template": 1,
   "label": "Allow Purchase",
   "read_only_depends_on": "eval: doc.is_customer_provided_item",
   "show_description_on_click": 1
  },
  {
   "depends_on": "eval: doc.is_purchase_item",
   "fieldname": "purchase_uom",
   "fieldtype": "Link",
   "label": "Default Purchase Unit of Measure",
   "options": "UOM"
  },
  {
   "default": "0.00",
   "depends_on": "is_stock_item",
   "description": "Minimum quantity should be as per Stock UOM\n\n",
   "fieldname": "min_order_qty",
   "fieldtype": "Float",
   "label": "Minimum Order Qty",
   "non_negative": 1,
   "oldfieldname": "min_order_qty",
   "oldfieldtype": "Currency"
  },
  {
   "description": "Minimum stock level to maintain as a buffer. Used to calculate recommended reorder level: Reorder Level = Safety Stock + (Average Daily Consumption × Lead Time).",
   "fieldname": "safety_stock",
   "fieldtype": "Float",
   "label": "Safety Stock",
   "non_negative": 1
  },
  {
   "fieldname": "purchase_details_cb",
   "fieldtype": "Column Break"
  },
  {
   "description": "Average time taken by the supplier to deliver",
   "fieldname": "lead_time_days",
   "fieldtype": "Int",
   "label": "Lead Time in days",
   "non_negative": 1,
   "oldfieldname": "lead_time_days",
   "oldfieldtype": "Int"
  },
  {
   "description": "The rate at which this item was last purchased via a Purchase Invoice. Auto-updated by the system.",
   "fieldname": "last_purchase_rate",
   "fieldtype": "Float",
   "label": "Last Purchase Rate",
   "no_copy": 1,
   "non_negative": 1,
   "oldfieldname": "last_purchase_rate",
   "oldfieldtype": "Currency",
   "read_only": 1
  },
  {
   "default": "0",
   "description": "Enable if this item is provided by a customer and received via Stock Entry.",
   "fieldname": "is_customer_provided_item",
   "fieldtype": "Check",
   "label": "Is Customer Provided Item",
   "read_only_depends_on": "eval: doc.is_purchase_item",
   "show_description_on_click": 1
  },
  {
   "depends_on": "eval:!doc.is_fixed_asset",
   "fieldname": "supplier_details",
   "fieldtype": "Section Break",
   "hide_border": 1,
   "label": "Supplier Details"
  },
  {
   "default": "0",
   "description": "Enable for drop shipping - supplier delivers directly to the customer without passing through your warehouse.",
   "fieldname": "delivered_by_supplier",
   "fieldtype": "Check",
   "label": "Delivered by Supplier (Drop Ship)",
   "print_hide": 1
  },
  {
   "fieldname": "supplier_items",
   "fieldtype": "Table",
   "label": "Item Supplier",
   "options": "Item Supplier"
  },
  {
   "collapsible": 1,
   "fieldname": "foreign_trade_details",
   "fieldtype": "Section Break",
   "label": "Foreign Trade Details"
  },
  {
   "fieldname": "country_of_origin",
   "fieldtype": "Link",
   "label": "Country of Origin",
   "options": "Country"
  },
  {
   "fieldname": "column_break_59",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "customs_tariff_number",
   "fieldtype": "Link",
   "label": "Customs Tariff Number",
   "options": "Customs Tariff Number"
  },
  {
   "collapsible": 1,
   "depends_on": "eval: doc.is_sales_item",
   "fieldname": "sales_details",
   "fieldtype": "Tab Break",
   "label": "Sales",
   "oldfieldtype": "Section Break",
   "options": "fa fa-tag"
  },
  {
   "depends_on": "eval: doc.is_sales_item",
   "fieldname": "sales_uom",
   "fieldtype": "Link",
   "label": "Default Sales Unit of Measure",
   "options": "UOM"
  },
  {
   "default": "1",
   "description": "Allow this item to be used in sales transactions.",
   "fieldname": "is_sales_item",
   "fieldtype": "Check",
   "in_import_template": 1,
   "label": "Allow Sales",
   "show_description_on_click": 1,
   "in_list_view": 1
  },
  {
   "fieldname": "column_break3",
   "fieldtype": "Column Break",
   "oldfieldtype": "Column Break",
   "width": "50%"
  },
  {
   "description": "Maximum discount % allowed when selling this item. Eg: if set to 20%, a discount greater than 20% cannot be applied in sales transactions.",
   "fieldname": "max_discount",
   "fieldtype": "Float",
   "label": "Max Discount (%)",
   "oldfieldname": "max_discount",
   "oldfieldtype": "Currency"
  },
  {
   "default": "0",
   "description": "Income from this item will be recognized over a period of months instead of all at once. Eg: annual subscription paid upfront.",
   "fieldname": "enable_deferred_revenue",
   "fieldtype": "Check",
   "label": "Enable Deferred Revenue"
  },
  {
   "depends_on": "enable_deferred_revenue",
   "fieldname": "no_of_months",
   "fieldtype": "Int",
   "label": "No of Months (Revenue)"
  },
  {
   "default": "0",
   "description": "Expense for this item will be recognized over a period of months. Eg: prepaid insurance or annual software license",
   "fieldname": "enable_deferred_expense",
   "fieldtype": "Check",
   "label": "Enable Deferred Expense"
  },
  {
   "depends_on": "enable_deferred_expense",
   "fieldname": "no_of_months_exp",
   "fieldtype": "Int",
   "label": "No of Months (Expense)"
  },
  {
   "depends_on": "eval:!doc.is_fixed_asset",
   "fieldname": "customer_details",
   "fieldtype": "Section Break",
   "label": "Customer Details"
  },
  {
   "fieldname": "customer_items",
   "fieldtype": "Table",
   "label": "Customer Items",
   "options": "Item Customer Detail"
  },
  {
   "collapsible": 1,
   "collapsible_depends_on": "taxes",
   "fieldname": "item_tax_section_break",
   "fieldtype": "Tab Break",
   "label": "Tax",
   "oldfieldtype": "Section Break",
   "options": "fa fa-money"
  },
  {
   "description": "Will also apply for variants",
   "fieldname": "taxes",
   "fieldtype": "Table",
   "label": "Taxes",
   "oldfieldname": "item_tax",
   "oldfieldtype": "Table",
   "options": "Item Tax"
  },
  {
   "default": "0",
   "description": "A quality inspection must be completed before generating a Purchase Receipt for this item.",
   "fieldname": "inspection_required_before_purchase",
   "fieldtype": "Check",
   "label": "Inspection Required before Purchase",
   "oldfieldname": "inspection_required",
   "oldfieldtype": "Select",
   "show_description_on_click": 1
  },
  {
   "default": "0",
   "description": "A quality inspection must be completed before generating a Delivery Note for this item.",
   "fieldname": "inspection_required_before_delivery",
   "fieldtype": "Check",
   "label": "Inspection Required before Delivery",
   "show_description_on_click": 1
  },
  {
   "fieldname": "quality_inspection_template",
   "fieldtype": "Link",
   "label": "Quality Inspection Template",
   "options": "Quality Inspection Template",
   "print_hide": 1
  },
  {
   "collapsible": 1,
   "depends_on": "is_stock_item",
   "fieldname": "manufacturing",
   "fieldtype": "Tab Break",
   "label": "Manufacturing",
   "oldfieldtype": "Section Break",
   "options": "fa fa-cogs"
  },
  {
   "fieldname": "default_bom",
   "fieldtype": "Link",
   "ignore_user_permissions": 1,
   "label": "Default BOM",
   "no_copy": 1,
   "oldfieldname": "default_bom",
   "oldfieldtype": "Link",
   "options": "BOM",
   "read_only": 1
  },
  {
   "default": "0",
   "description": "Enable if a vendor manufactures this item for you. You can choose to provide them raw materials using the default BOM.",
   "fieldname": "is_sub_contracted_item",
   "fieldtype": "Check",
   "label": "Is Subcontracted Item",
   "oldfieldname": "is_sub_contracted_item",
   "oldfieldtype": "Select"
  },
  {
   "fieldname": "column_break_74",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "customer_code",
   "fieldtype": "Small Text",
   "hidden": 1,
   "label": "Customer Code",
   "no_copy": 1,
   "print_hide": 1
  },
  {
   "fieldname": "total_projected_qty",
   "fieldtype": "Float",
   "hidden": 1,
   "label": "Total Projected Qty",
   "print_hide": 1,
   "read_only": 1
  },
  {
   "depends_on": "eval:!doc.__islocal && !doc.is_fixed_asset",
   "description": "Percentage by which over-delivery or over-receipt is allowed against a Sales/Purchase Order for this item. If not set, value from Stock Settings will be used.",
   "fieldname": "over_delivery_receipt_allowance",
   "fieldtype": "Float",
   "label": "Over Delivery/Receipt Allowance (%)",
   "non_negative": 1,
   "oldfieldname": "tolerance",
   "oldfieldtype": "Currency"
  },
  {
   "depends_on": "eval:!doc.__islocal && !doc.is_fixed_asset",
   "description": "Percentage by which over-billing is allowed against a Sales/Purchase Order for this item. If not set, value from Accounts Settings will be used.",
   "fieldname": "over_billing_allowance",
   "fieldtype": "Float",
   "label": "Over Billing Allowance (%)",
   "non_negative": 1
  },
  {
   "default": "0",
   "depends_on": "is_fixed_asset",
   "fieldname": "auto_create_assets",
   "fieldtype": "Check",
   "label": "Auto create assets on purchase"
  },
  {
   "fieldname": "default_item_manufacturer",
   "fieldtype": "Link",
   "label": "Default Item Manufacturer",
   "options": "Manufacturer",
   "read_only": 1
  },
  {
   "fieldname": "default_manufacturer_part_no",
   "fieldtype": "Data",
   "label": "Default Manufacturer Part No",
   "read_only": 1
  },
  {
   "default": "1",
   "description": "If enabled, sales from this item will be included in Sales Person and Sales Partner commission calculations",
   "fieldname": "grant_commission",
   "fieldtype": "Check",
   "label": "Grant Commission",
   "show_description_on_click": 1
  },
  {
   "default": "0",
   "depends_on": "eval: doc.is_fixed_asset && doc.auto_create_assets",
   "description": "Creates a single grouped asset instead of individual assets when purchased in bulk.",
   "fieldname": "is_grouped_asset",
   "fieldtype": "Check",
   "label": "Create Grouped Asset",
   "show_description_on_click": 1
  },
  {
   "default": "0",
   "description": "Allow stock to go below zero for this item, even if negative stock is disabled in Stock Settings.",
   "fieldname": "allow_negative_stock",
   "fieldtype": "Check",
   "label": "Allow Negative Stock"
  },
  {
   "fieldname": "inventory_settings_section",
   "fieldtype": "Section Break",
   "label": "Inventory Settings"
  },
  {
   "depends_on": "eval: doc.is_purchase_item",
   "fieldname": "purchasing_tab",
   "fieldtype": "Tab Break",
   "label": "Purchasing"
  },
  {
   "fieldname": "quality_tab",
   "fieldtype": "Tab Break",
   "label": "Quality"
  },
  {
   "fieldname": "details",
   "fieldtype": "Tab Break",
   "label": "Details",
   "oldfieldtype": "Section Break",
   "options": "fa fa-flag"
  },
  {
   "fieldname": "dashboard_tab",
   "fieldtype": "Tab Break",
   "label": "Connections",
   "show_dashboard": 1
  },
  {
   "depends_on": "eval:!doc.is_fixed_asset",
   "fieldname": "accounting",
   "fieldtype": "Tab Break",
   "label": "Accounting"
  },
  {
   "fieldname": "column_break_9s9o",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "deferred_accounting_section",
   "fieldtype": "Section Break",
   "label": "Deferred Accounting"
  },
  {
   "fieldname": "section_break_znra",
   "fieldtype": "Section Break"
  },
  {
   "fieldname": "column_break_wugd",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "section_break_oilf",
   "fieldtype": "Section Break",
   "hide_border": 1
  },
  {
   "fieldname": "column_break_aytr",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "section_break_fxqz",
   "fieldtype": "Section Break"
  },
  {
   "depends_on": "is_purchase_item",
   "fieldname": "purchase_tax_withholding_category",
   "fieldtype": "Link",
   "label": "Purchase Tax Withholding Category",
   "options": "Tax Withholding Category"
  },
  {
   "fieldname": "column_break_ltlb",
   "fieldtype": "Column Break"
  },
  {
   "depends_on": "is_sales_item",
   "fieldname": "sales_tax_withholding_category",
   "fieldtype": "Link",
   "label": "Sales Tax Withholding Category",
   "options": "Tax Withholding Category"
  },
  {
   "fieldname": "column_break_cqdk",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "inventory_valuation_section",
   "fieldtype": "Section Break",
   "label": "Inventory Valuation"
  },
  {
   "fieldname": "section_break_gjns",
   "fieldtype": "Section Break"
  },
  {
   "fieldname": "column_break_ixrh",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "column_break_pxjh",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "section_break_xili",
   "fieldtype": "Section Break"
  },
  {
   "fieldname": "column_break_vipt",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "stock_levels_html",
   "fieldtype": "HTML",
   "label": "Stock Levels HTML",
   "options": "<div id=\"stock-levels-placeholder\"></div>"
  },
  {
   "fieldname": "section_break_wfkx",
   "fieldtype": "Section Break"
  },
  {
   "fieldname": "section_break_ylma",
   "fieldtype": "Section Break"
  },
  {
   "fieldname": "uom_tab",
   "fieldtype": "Tab Break",
   "label": "UOM"
  },
  {
   "depends_on": "eval: !doc.__islocal && doc.is_stock_item",
   "fieldname": "stock_levels_section",
   "fieldtype": "Section Break",
   "label": "Stock Levels"
  },
  {
   "fieldname": "uom_conversion_details_column",
   "fieldtype": "Column Break",
   "label": "UOM Conversion Details"
  },
  {
   "fieldname": "uom_help_html",
   "fieldtype": "HTML",
   "options": "<div style=\"margin-bottom:10px; color: var(--gray-500) !important;\">Define alternate units for this item. Eg: 1 Box = 12 Nos, set conversion factor as 12. (Will also apply for variants) <a href=\"https://docs.frappe.io/erpnext/uom\" target=\"_blank\">Learn more &#8594;</a></div>"
  },
  {
   "fieldname": "section_break_zlmj",
   "fieldtype": "Section Break",
   "label": "Item Attributes"
  },
  {
   "fieldname": "column_break_kpmi",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "prices_html",
   "fieldtype": "HTML",
   "label": "Prices HTML",
   "options": "<div id=\\\"item-prices-container\\\"></div>"
  },
  {
   "depends_on": "eval:!doc.__islocal",
   "fieldname": "pricing_tab",
   "fieldtype": "Tab Break",
   "label": "Pricing"
  },
  {
   "fieldname": "item_prices_column",
   "fieldtype": "Column Break",
   "label": "Item Prices"
  }
 ],
 "icon": "package",
 "idx": 2,
 "image_field": "image",
 "links": [],
 "make_attachments_public": 1,
 "modified": "2026-10-19 12:00:00.000000",
 "modified_by": "Administrator",
 "module": "Stock",
 "name": "Item",
 "naming_rule": "By fieldname",
 "owner": "Administrator",
 "permissions": [
  {
   "create": 1,
   "delete": 1,
   "email": 1,
   "export": 1,
   "import": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "Item Manager",
   "share": 1,
   "write": 1
  },
  {
   "email": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "Stock Manager"
  },
  {
   "email": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "Stock User"
  },
  {
   "read": 1,
   "role": "Sales User"
  },
  {
   "read": 1,
   "role": "Purchase User"
  },
  {
   "read": 1,
   "role": "Maintenance User"
  },
  {
   "read": 1,
   "role": "Accounts User"
  },
  {
   "read": 1,
   "role": "Manufacturing User"
  },
  {
   "email": 1,
   "export": 1,
   "print": 1,
   "report": 1,
   "role": "Desk User",
   "select": 1,
   "share": 1
  }
 ],
 "quick_entry": 1,
 "row_format": "Dynamic",
 "search_fields": "item_name,description,item_group,customer_code",
 "show_name_in_global_search": 1,
 "show_preview_popup": 1,
 "sort_field": "creation",
 "sort_order": "DESC",
 "states": [],
 "title_field": "item_name",
 "track_changes": 1
}
