{
 "allow_attach": 0, 
 "allow_copy": 0, 
 "allow_import": 1, 
 "allow_rename": 0, 
 "creation": "2013-01-22 15:11:38.000000", 
 "docstatus": 0, 
 "doctype": "DocType", 
 "document_type": "Master", 
 "fields": [
  {
   "description": "Item to be manufactured or repacked", 
   "fieldname": "item", 
   "fieldtype": "Link", 
   "in_filter": 1, 
   "in_list_view": 0, 
   "label": "Item", 
   "oldfieldname": "item", 
   "oldfieldtype": "Link", 
   "options": "Item", 
   "permlevel": 0, 
   "reqd": 1, 
   "search_index": 1
  }, 
  {
   "allow_on_submit": 1, 
   "default": "1", 
   "fieldname": "is_active", 
   "fieldtype": "Check", 
   "hidden": 0, 
   "in_list_view": 1, 
   "label": "Is Active", 
   "no_copy": 1, 
   "oldfieldname": "is_active", 
   "oldfieldtype": "Select", 
   "permlevel": 0, 
   "reqd": 0
  }, 
  {
   "allow_on_submit": 1, 
   "default": "1", 
   "fieldname": "is_default", 
   "fieldtype": "Check", 
   "in_list_view": 1, 
   "label": "Is Default", 
   "no_copy": 1, 
   "oldfieldname": "is_default", 
   "oldfieldtype": "Check", 
   "permlevel": 0
  }, 
  {
   "fieldname": "cb0", 
   "fieldtype": "Column Break", 
   "permlevel": 0
  }, 
  {
   "description": "Manage cost of operations", 
   "fieldname": "with_operations", 
   "fieldtype": "Check", 
   "label": "With Operations", 
   "permlevel": 0
  }, 
  {
   "fieldname": "rm_cost_as_per", 
   "fieldtype": "Select", 
   "label": "Rate Of Materials Based On", 
   "options": "Valuation Rate\nLast Purchase Rate\nPrice List", 
   "permlevel": 0
  }, 
  {
   "depends_on": "eval:doc.rm_cost_as_per===\"Price List\"", 
   "fieldname": "buying_price_list", 
   "fieldtype": "Link", 
   "label": "Price List", 
   "options": "Price List", 
   "permlevel": 0
  }, 
  {
   "depends_on": "with_operations", 
   "description": "Specify the operations, operating cost and give a unique Operation no to your operations.", 
   "fieldname": "operations", 
   "fieldtype": "Section Break", 
   "label": "Operations", 
   "oldfieldtype": "Section Break", 
   "permlevel": 0
  }, 
  {
   "fieldname": "bom_operations", 
   "fieldtype": "Table", 
   "label": "BOM Operations", 
   "oldfieldname": "bom_operations", 
   "oldfieldtype": "Table", 
   "options": "BOM Operation", 
   "permlevel": 0
  }, 
  {
   "fieldname": "materials", 
   "fieldtype": "Section Break", 
   "label": "Materials", 
   "oldfieldtype": "Section Break", 
   "permlevel": 0
  }, 
  {
   "fieldname": "bom_materials", 
   "fieldtype": "Table", 
   "label": "BOM Item", 
   "oldfieldname": "bom_materials", 
   "oldfieldtype": "Table", 
   "options": "BOM Item", 
   "permlevel": 0
  }, 
  {
   "fieldname": "costing", 
   "fieldtype": "Section Break", 
   "label": "Costing", 
   "oldfieldtype": "Section Break", 
   "permlevel": 0
  }, 
  {
   "fieldname": "total_cost", 
   "fieldtype": "Float", 
   "in_list_view": 1, 
   "label": "Total Cost", 
   "permlevel": 0, 
   "read_only": 1
  }, 
  {
   "fieldname": "cb1", 
   "fieldtype": "Column Break", 
   "permlevel": 0
  }, 
  {
   "fieldname": "raw_material_cost", 
   "fieldtype": "Float", 
   "label": "Total Raw Material Cost", 
   "permlevel": 0, 
   "read_only": 1
  }, 
  {
   "fieldname": "operating_cost", 
   "fieldtype": "Float", 
   "label": "Total Operating Cost", 
   "permlevel": 0, 
   "read_only": 1
  }, 
  {
   "fieldname": "more_info_section", 
   "fieldtype": "Section Break", 
   "label": "More Info", 
   "permlevel": 0
  }, 
  {
   "default": "1", 
   "description": "Quantity of item obtained after manufacturing / repacking from given quantities of raw materials", 
   "fieldname": "quantity", 
   "fieldtype": "Float", 
   "label": "Quantity", 
   "oldfieldname": "quantity", 
   "oldfieldtype": "Currency", 
   "permlevel": 0, 
   "reqd": 1
  }, 
  {
   "fieldname": "uom", 
   "fieldtype": "Select", 
   "label": "Item UOM", 
   "options": "link:UOM", 
   "permlevel": 0, 
   "read_only": 1
  }, 
  {
   "fieldname": "col_break23", 
   "fieldtype": "Column Break", 
   "permlevel": 0
  }, 
  {
   "fieldname": "project_name", 
   "fieldtype": "Link", 
   "in_filter": 1, 
   "label": "Project Name", 
   "oldfieldname": "project_name", 
   "oldfieldtype": "Link", 
   "options": "Project", 
   "permlevel": 0
  }, 
  {
   "fieldname": "description", 
   "fieldtype": "Small Text", 
   "in_list_view": 1, 
   "label": "Item Desription", 
   "permlevel": 0, 
   "read_only": 1
  }, 
  {
   "fieldname": "amended_from", 
   "fieldtype": "Link", 
   "ignore_restrictions": 1, 
   "label": "Amended From", 
   "no_copy": 1, 
   "options": "BOM", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 1
  }, 
  {
   "depends_on": "eval:!doc.__islocal", 
   "fieldname": "section_break0", 
   "fieldtype": "Section Break", 
   "hidden": 0, 
   "label": "Materials Required (Exploded)", 
   "permlevel": 0, 
   "print_hide": 0
  }, 
  {
   "fieldname": "flat_bom_details", 
   "fieldtype": "Table", 
   "hidden": 0, 
   "label": "Materials Required (Exploded)", 
   "no_copy": 1, 
   "oldfieldname": "flat_bom_details", 
   "oldfieldtype": "Table", 
   "options": "BOM Explosion Item", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 1
  }
 ], 
 "hide_heading": 0, 
 "hide_toolbar": 0, 
 "icon": "icon-sitemap", 
 "idx": 1, 
 "in_create": 0, 
 "is_submittable": 1, 
 "issingle": 0, 
 "istable": 0, 
 "modified": "2014-01-20 17:48:26.000000", 
 "modified_by": "Administrator", 
 "module": "Manufacturing", 
 "name": "BOM", 
 "owner": "Administrator", 
 "permissions": [
  {
   "cancel": 1, 
   "create": 1, 
   "delete": 1, 
   "email": 1, 
   "permlevel": 0, 
   "print": 1, 
   "read": 1, 
   "report": 1, 
   "role": "Manufacturing Manager", 
   "submit": 1, 
   "write": 1
  }, 
  {
   "cancel": 1, 
   "create": 1, 
   "delete": 1, 
   "email": 1, 
   "permlevel": 0, 
   "print": 1, 
   "read": 1, 
   "report": 1, 
   "role": "Manufacturing User", 
   "submit": 1, 
   "write": 1
  }
 ], 
 "read_only": 0, 
 "search_fields": "item"
}