[
 {
  "owner": "Administrator", 
  "docstatus": 0, 
  "creation": "2012-12-19 12:29:06", 
  "modified_by": "Administrator", 
  "modified": "2012-12-19 15:52:47"
 }, 
 {
  "istable": 0, 
  "in_create": 0, 
  "allow_print": 0, 
  "search_fields": "item", 
  "module": "Manufacturing", 
  "document_type": "Master", 
  "allow_attach": 0, 
  "read_only": 0, 
  "allow_email": 0, 
  "hide_heading": 0, 
  "issingle": 0, 
  "name": "__common__", 
  "allow_rename": 0, 
  "doctype": "DocType", 
  "is_submittable": 1, 
  "hide_toolbar": 0, 
  "allow_copy": 0
 }, 
 {
  "name": "__common__", 
  "parent": "BOM", 
  "doctype": "DocField", 
  "parenttype": "DocType", 
  "parentfield": "fields"
 }, 
 {
  "name": "__common__", 
  "parent": "BOM", 
  "read": 1, 
  "doctype": "DocPerm", 
  "parenttype": "DocType", 
  "parentfield": "permissions"
 }, 
 {
  "name": "BOM", 
  "doctype": "DocType"
 }, 
 {
  "description": "Item to be manufactured or repacked", 
  "oldfieldtype": "Link", 
  "doctype": "DocField", 
  "label": "Item", 
  "oldfieldname": "item", 
  "permlevel": 0, 
  "fieldname": "item", 
  "fieldtype": "Link", 
  "search_index": 1, 
  "reqd": 1, 
  "in_filter": 1, 
  "options": "Item"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "cb0", 
  "fieldtype": "Column Break", 
  "permlevel": 0
 }, 
 {
  "no_copy": 1, 
  "oldfieldtype": "Select", 
  "allow_on_submit": 1, 
  "doctype": "DocField", 
  "label": "Is Active", 
  "oldfieldname": "is_active", 
  "default": "1", 
  "fieldname": "is_active", 
  "fieldtype": "Check", 
  "reqd": 0, 
  "hidden": 0, 
  "permlevel": 0
 }, 
 {
  "no_copy": 1, 
  "oldfieldtype": "Check", 
  "allow_on_submit": 1, 
  "doctype": "DocField", 
  "label": "Is Default", 
  "oldfieldname": "is_default", 
  "fieldname": "is_default", 
  "fieldtype": "Check", 
  "permlevel": 0
 }, 
 {
  "description": "Manage cost of operations", 
  "doctype": "DocField", 
  "label": "With Operations", 
  "fieldname": "with_operations", 
  "fieldtype": "Check", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Section Break", 
  "doctype": "DocField", 
  "label": "Operations", 
  "options": "Specify the operations, operating cost and give a unique Operation no to your operations.", 
  "fieldname": "operations", 
  "fieldtype": "Section Break", 
  "depends_on": "with_operations", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Table", 
  "doctype": "DocField", 
  "label": "BOM Operations", 
  "oldfieldname": "bom_operations", 
  "options": "BOM Operation", 
  "fieldname": "bom_operations", 
  "fieldtype": "Table", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Section Break", 
  "doctype": "DocField", 
  "label": "Materials", 
  "fieldname": "materials", 
  "fieldtype": "Section Break", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Table", 
  "doctype": "DocField", 
  "label": "BOM Item", 
  "oldfieldname": "bom_materials", 
  "options": "BOM Item", 
  "fieldname": "bom_materials", 
  "fieldtype": "Table", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Section Break", 
  "doctype": "DocField", 
  "label": "Costing", 
  "fieldname": "costing", 
  "fieldtype": "Section Break", 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "label": "Rate Of Materials Based On", 
  "options": "Valuation Rate\nLast Purchase Rate", 
  "fieldname": "rm_cost_as_per", 
  "fieldtype": "Select", 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "label": "Total Cost", 
  "fieldname": "total_cost", 
  "fieldtype": "Currency", 
  "permlevel": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "cb1", 
  "fieldtype": "Column Break", 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "label": "Total Raw Material Cost", 
  "fieldname": "raw_material_cost", 
  "fieldtype": "Currency", 
  "permlevel": 1
 }, 
 {
  "doctype": "DocField", 
  "label": "Total Operating Cost", 
  "fieldname": "operating_cost", 
  "fieldtype": "Currency", 
  "permlevel": 1
 }, 
 {
  "doctype": "DocField", 
  "label": "More Info", 
  "fieldname": "more_info_section", 
  "fieldtype": "Section Break", 
  "permlevel": 0
 }, 
 {
  "description": "Quantity of item obtained after manufacturing / repacking from given quantities of raw materials", 
  "default": "1", 
  "oldfieldtype": "Currency", 
  "doctype": "DocField", 
  "label": "Quantity", 
  "oldfieldname": "quantity", 
  "fieldname": "quantity", 
  "fieldtype": "Currency", 
  "reqd": 1, 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "label": "Item UOM", 
  "options": "link:UOM", 
  "fieldname": "uom", 
  "fieldtype": "Select", 
  "permlevel": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "col_break23", 
  "fieldtype": "Column Break", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Link", 
  "doctype": "DocField", 
  "label": "Project Name", 
  "oldfieldname": "project_name", 
  "options": "Project", 
  "fieldname": "project_name", 
  "fieldtype": "Link", 
  "permlevel": 0, 
  "in_filter": 1
 }, 
 {
  "doctype": "DocField", 
  "label": "Item Desription", 
  "fieldname": "description", 
  "fieldtype": "Small Text", 
  "permlevel": 1
 }, 
 {
  "print_hide": 1, 
  "no_copy": 1, 
  "doctype": "DocField", 
  "label": "Amended From", 
  "options": "BOM", 
  "fieldname": "amended_from", 
  "fieldtype": "Link", 
  "permlevel": 1
 }, 
 {
  "print_hide": 0, 
  "depends_on": "eval:!doc.__islocal", 
  "doctype": "DocField", 
  "label": "Materials Required (Exploded)", 
  "fieldname": "section_break0", 
  "fieldtype": "Section Break", 
  "hidden": 0, 
  "permlevel": 0
 }, 
 {
  "print_hide": 1, 
  "permlevel": 1, 
  "no_copy": 1, 
  "oldfieldtype": "Table", 
  "doctype": "DocField", 
  "label": "Materials Required (Exploded)", 
  "oldfieldname": "flat_bom_details", 
  "default": "No Toolbar", 
  "fieldname": "flat_bom_details", 
  "fieldtype": "Table", 
  "hidden": 0, 
  "options": "BOM Explosion Item"
 }, 
 {
  "create": 1, 
  "doctype": "DocPerm", 
  "submit": 1, 
  "write": 1, 
  "role": "System Manager", 
  "cancel": 1, 
  "permlevel": 0
 }, 
 {
  "doctype": "DocPerm", 
  "role": "System Manager", 
  "permlevel": 1
 }, 
 {
  "create": 1, 
  "doctype": "DocPerm", 
  "submit": 1, 
  "write": 1, 
  "role": "Manufacturing Manager", 
  "cancel": 1, 
  "permlevel": 0
 }, 
 {
  "doctype": "DocPerm", 
  "role": "Manufacturing Manager", 
  "permlevel": 1
 }, 
 {
  "create": 1, 
  "doctype": "DocPerm", 
  "submit": 1, 
  "write": 1, 
  "role": "Manufacturing User", 
  "cancel": 1, 
  "permlevel": 0
 }, 
 {
  "doctype": "DocPerm", 
  "role": "Manufacturing User", 
  "permlevel": 1
 }
]