[
 {
  "creation": "2013-01-29 19:25:41", 
  "docstatus": 0, 
  "modified": "2013-01-29 16:27:57", 
  "modified_by": "Administrator", 
  "owner": "Administrator"
 }, 
 {
  "allow_attach": 1, 
  "allow_rename": 1, 
  "autoname": "field:serial_no", 
  "description": "Distinct unit of an Item", 
  "doctype": "DocType", 
  "document_type": "Master", 
  "module": "Stock", 
  "name": "__common__", 
  "search_fields": "item_code,status"
 }, 
 {
  "doctype": "DocField", 
  "name": "__common__", 
  "parent": "Serial No", 
  "parentfield": "fields", 
  "parenttype": "DocType", 
  "permlevel": 0
 }, 
 {
  "doctype": "DocPerm", 
  "name": "__common__", 
  "parent": "Serial No", 
  "parentfield": "permissions", 
  "parenttype": "DocType", 
  "read": 1, 
  "submit": 0
 }, 
 {
  "doctype": "DocType", 
  "name": "Serial No"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "details", 
  "fieldtype": "Section Break", 
  "label": "Details", 
  "oldfieldtype": "Section Break"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break0", 
  "fieldtype": "Column Break"
 }, 
 {
  "default": "In Store", 
  "doctype": "DocField", 
  "fieldname": "status", 
  "fieldtype": "Select", 
  "in_filter": 1, 
  "in_list_view": 1, 
  "label": "Status", 
  "no_copy": 1, 
  "oldfieldname": "status", 
  "oldfieldtype": "Select", 
  "options": "\nIn Store\nDelivered\nNot in Use\nPurchase Returned", 
  "read_only": 1, 
  "reqd": 1, 
  "search_index": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "serial_no", 
  "fieldtype": "Data", 
  "in_filter": 0, 
  "label": "Serial No", 
  "no_copy": 1, 
  "oldfieldname": "serial_no", 
  "oldfieldtype": "Data", 
  "reqd": 1, 
  "search_index": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "item_code", 
  "fieldtype": "Link", 
  "in_filter": 1, 
  "in_list_view": 1, 
  "label": "Item Code", 
  "oldfieldname": "item_code", 
  "oldfieldtype": "Link", 
  "options": "Item", 
  "reqd": 1, 
  "search_index": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break1", 
  "fieldtype": "Column Break"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "item_name", 
  "fieldtype": "Data", 
  "in_list_view": 1, 
  "label": "Item Name", 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "description", 
  "fieldtype": "Text", 
  "in_filter": 1, 
  "label": "Description", 
  "oldfieldname": "description", 
  "oldfieldtype": "Text", 
  "read_only": 1, 
  "search_index": 0, 
  "width": "300px"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "item_group", 
  "fieldtype": "Link", 
  "in_filter": 0, 
  "label": "Item Group", 
  "oldfieldname": "item_group", 
  "oldfieldtype": "Link", 
  "options": "Item Group", 
  "read_only": 1, 
  "reqd": 1, 
  "search_index": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "brand", 
  "fieldtype": "Link", 
  "in_filter": 0, 
  "label": "Brand", 
  "oldfieldname": "brand", 
  "oldfieldtype": "Link", 
  "options": "Brand", 
  "read_only": 1, 
  "reqd": 0, 
  "search_index": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "purchase_details", 
  "fieldtype": "Section Break", 
  "label": "Purchase Details"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break2", 
  "fieldtype": "Column Break", 
  "width": "50%"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "purchase_document_type", 
  "fieldtype": "Select", 
  "label": "Purchase Document Type", 
  "no_copy": 1, 
  "options": "\nPurchase Receipt\nStock Entry"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "purchase_document_no", 
  "fieldtype": "Data", 
  "hidden": 0, 
  "label": "Purchase Document No", 
  "no_copy": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "purchase_date", 
  "fieldtype": "Date", 
  "in_filter": 1, 
  "label": "Purchase Date", 
  "no_copy": 1, 
  "oldfieldname": "purchase_date", 
  "oldfieldtype": "Date", 
  "reqd": 0, 
  "search_index": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "purchase_time", 
  "fieldtype": "Time", 
  "label": "Incoming Time", 
  "no_copy": 1, 
  "reqd": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "purchase_rate", 
  "fieldtype": "Currency", 
  "in_filter": 0, 
  "label": "Incoming Rate", 
  "no_copy": 1, 
  "oldfieldname": "purchase_rate", 
  "oldfieldtype": "Currency", 
  "options": "Company:company:default_currency", 
  "reqd": 1, 
  "search_index": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break3", 
  "fieldtype": "Column Break", 
  "width": "50%"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "warehouse", 
  "fieldtype": "Link", 
  "in_filter": 1, 
  "in_list_view": 1, 
  "label": "Warehouse", 
  "no_copy": 1, 
  "oldfieldname": "warehouse", 
  "oldfieldtype": "Link", 
  "options": "Warehouse", 
  "reqd": 0, 
  "search_index": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "supplier", 
  "fieldtype": "Link", 
  "in_filter": 1, 
  "label": "Supplier", 
  "no_copy": 1, 
  "options": "Supplier"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "supplier_name", 
  "fieldtype": "Data", 
  "in_filter": 1, 
  "label": "Supplier Name", 
  "no_copy": 1, 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "address_display", 
  "fieldtype": "Text", 
  "label": "Supplier Address", 
  "no_copy": 1, 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "delivery_details", 
  "fieldtype": "Section Break", 
  "label": "Delivery Details", 
  "oldfieldtype": "Column Break"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break4", 
  "fieldtype": "Column Break", 
  "width": "50%"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "delivery_document_type", 
  "fieldtype": "Select", 
  "in_filter": 1, 
  "label": "Delivery Document Type", 
  "no_copy": 1, 
  "options": "\nDelivery Note\nSales Invoice\nStock Entry", 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "delivery_document_no", 
  "fieldtype": "Data", 
  "in_filter": 1, 
  "label": "Delivery Document No", 
  "no_copy": 1, 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "customer_address", 
  "fieldtype": "Text", 
  "label": "Customer Address", 
  "oldfieldname": "customer_address", 
  "oldfieldtype": "Text", 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "delivery_date", 
  "fieldtype": "Date", 
  "label": "Delivery Date", 
  "no_copy": 1, 
  "oldfieldname": "delivery_date", 
  "oldfieldtype": "Date", 
  "read_only": 1, 
  "search_index": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "delivery_time", 
  "fieldtype": "Time", 
  "label": "Delivery Time", 
  "no_copy": 1, 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "is_cancelled", 
  "fieldtype": "Select", 
  "hidden": 1, 
  "label": "Is Cancelled", 
  "oldfieldname": "is_cancelled", 
  "oldfieldtype": "Select", 
  "options": "\nYes\nNo", 
  "report_hide": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break5", 
  "fieldtype": "Column Break", 
  "width": "50%"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "customer", 
  "fieldtype": "Link", 
  "in_filter": 1, 
  "label": "Customer", 
  "no_copy": 1, 
  "oldfieldname": "customer", 
  "oldfieldtype": "Link", 
  "options": "Customer", 
  "print_hide": 1, 
  "read_only": 1, 
  "search_index": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "customer_name", 
  "fieldtype": "Data", 
  "in_filter": 1, 
  "label": "Customer Name", 
  "no_copy": 1, 
  "oldfieldname": "customer_name", 
  "oldfieldtype": "Data", 
  "read_only": 1, 
  "search_index": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "delivery_address", 
  "fieldtype": "Text", 
  "label": "Delivery Address", 
  "no_copy": 1, 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "territory", 
  "fieldtype": "Link", 
  "in_filter": 1, 
  "label": "Territory", 
  "no_copy": 1, 
  "oldfieldname": "territory", 
  "oldfieldtype": "Link", 
  "options": "Territory", 
  "print_hide": 1, 
  "read_only": 1, 
  "report_hide": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "warranty_amc_details", 
  "fieldtype": "Section Break", 
  "label": "Warranty / AMC Details"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break6", 
  "fieldtype": "Column Break", 
  "width": "50%"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "maintenance_status", 
  "fieldtype": "Select", 
  "in_filter": 1, 
  "label": "Maintenance Status", 
  "no_copy": 0, 
  "oldfieldname": "maintenance_status", 
  "oldfieldtype": "Select", 
  "options": "\nUnder Warranty\nOut of Warranty\nUnder AMC\nOut of AMC", 
  "search_index": 1, 
  "width": "150px"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "warranty_period", 
  "fieldtype": "Int", 
  "label": "Warranty Period (Days)", 
  "oldfieldname": "warranty_period", 
  "oldfieldtype": "Int", 
  "width": "150px"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break7", 
  "fieldtype": "Column Break", 
  "width": "50%"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "warranty_expiry_date", 
  "fieldtype": "Date", 
  "in_filter": 1, 
  "label": "Warranty Expiry Date", 
  "oldfieldname": "warranty_expiry_date", 
  "oldfieldtype": "Date", 
  "width": "150px"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "amc_expiry_date", 
  "fieldtype": "Date", 
  "in_filter": 1, 
  "label": "AMC Expiry Date", 
  "oldfieldname": "amc_expiry_date", 
  "oldfieldtype": "Date", 
  "search_index": 0, 
  "width": "150px"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "more_info", 
  "fieldtype": "Section Break", 
  "label": "More Info"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "serial_no_details", 
  "fieldtype": "Text Editor", 
  "label": "Serial No Details"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "company", 
  "fieldtype": "Select", 
  "in_filter": 1, 
  "label": "Company", 
  "options": "link:Company", 
  "reqd": 1, 
  "search_index": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "fiscal_year", 
  "fieldtype": "Select", 
  "in_filter": 1, 
  "label": "Fiscal Year", 
  "options": "link:Fiscal Year", 
  "reqd": 1, 
  "search_index": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "trash_reason", 
  "fieldtype": "Small Text", 
  "label": "Trash Reason", 
  "oldfieldname": "trash_reason", 
  "oldfieldtype": "Small Text", 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "sle_exists", 
  "fieldtype": "Check", 
  "hidden": 1, 
  "label": "SLE Exists", 
  "no_copy": 1, 
  "print_hide": 1, 
  "read_only": 1, 
  "report_hide": 1
 }, 
 {
  "amend": 0, 
  "cancel": 0, 
  "create": 0, 
  "doctype": "DocPerm", 
  "match": "", 
  "permlevel": 1, 
  "report": 0, 
  "role": "Material Manager", 
  "write": 0
 }, 
 {
  "amend": 0, 
  "cancel": 0, 
  "create": 0, 
  "doctype": "DocPerm", 
  "permlevel": 0, 
  "report": 1, 
  "role": "Material Manager", 
  "write": 0
 }, 
 {
  "amend": 0, 
  "cancel": 0, 
  "create": 0, 
  "doctype": "DocPerm", 
  "match": "", 
  "permlevel": 1, 
  "report": 0, 
  "role": "Material User", 
  "write": 0
 }, 
 {
  "amend": 0, 
  "cancel": 0, 
  "create": 0, 
  "doctype": "DocPerm", 
  "permlevel": 0, 
  "report": 1, 
  "role": "Material User", 
  "write": 0
 }, 
 {
  "cancel": 1, 
  "create": 1, 
  "doctype": "DocPerm", 
  "permlevel": 0, 
  "report": 1, 
  "role": "System Manager", 
  "write": 1
 }, 
 {
  "cancel": 1, 
  "create": 1, 
  "doctype": "DocPerm", 
  "permlevel": 0, 
  "report": 1, 
  "role": "Material Master Manager", 
  "write": 1
 }, 
 {
  "amend": 0, 
  "cancel": 0, 
  "create": 0, 
  "doctype": "DocPerm", 
  "match": "", 
  "permlevel": 1, 
  "role": "System Manager"
 }, 
 {
  "amend": 0, 
  "cancel": 0, 
  "create": 0, 
  "doctype": "DocPerm", 
  "match": "", 
  "permlevel": 1, 
  "role": "Sales Master Manager"
 }
]