[
 {
  "owner": "Administrator", 
  "docstatus": 0, 
  "creation": "2012-03-27 14:36:41", 
  "modified_by": "Administrator", 
  "modified": "2012-03-27 14:45:49"
 }, 
 {
  "section_style": "Simple", 
  "is_submittable": 1, 
  "search_fields": "status,customer,customer_name, sales_order_no", 
  "module": "Support", 
  "server_code_error": " ", 
  "autoname": "MS.#####", 
  "_last_update": "1322549701", 
  "name": "__common__", 
  "colour": "White:FFF", 
  "doctype": "DocType", 
  "show_in_menu": 0, 
  "version": 156
 }, 
 {
  "name": "__common__", 
  "parent": "Maintenance Schedule", 
  "doctype": "DocField", 
  "parenttype": "DocType", 
  "parentfield": "fields"
 }, 
 {
  "name": "__common__", 
  "parent": "Maintenance Schedule", 
  "read": 1, 
  "doctype": "DocPerm", 
  "parenttype": "DocType", 
  "parentfield": "permissions"
 }, 
 {
  "name": "Maintenance Schedule", 
  "doctype": "DocType"
 }, 
 {
  "amend": 1, 
  "create": 1, 
  "doctype": "DocPerm", 
  "submit": 1, 
  "write": 1, 
  "report": 1, 
  "role": "System Manager", 
  "cancel": 1, 
  "permlevel": 0
 }, 
 {
  "role": "System Manager", 
  "permlevel": 1, 
  "doctype": "DocPerm"
 }, 
 {
  "amend": 1, 
  "create": 1, 
  "doctype": "DocPerm", 
  "submit": 1, 
  "write": 1, 
  "report": 1, 
  "role": "Maintenance Manager", 
  "cancel": 1, 
  "permlevel": 0
 }, 
 {
  "role": "Maintenance Manager", 
  "permlevel": 1, 
  "doctype": "DocPerm"
 }, 
 {
  "oldfieldtype": "Section Break", 
  "doctype": "DocField", 
  "label": "Customer Details", 
  "options": "Simple", 
  "fieldname": "customer_details", 
  "fieldtype": "Section Break", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Column Break", 
  "doctype": "DocField", 
  "fieldname": "column_break0", 
  "fieldtype": "Column Break", 
  "permlevel": 0
 }, 
 {
  "print_hide": 1, 
  "oldfieldtype": "Link", 
  "doctype": "DocField", 
  "label": "Customer", 
  "oldfieldname": "customer", 
  "permlevel": 0, 
  "trigger": "Client", 
  "fieldname": "customer", 
  "fieldtype": "Link", 
  "search_index": 1, 
  "reqd": 1, 
  "options": "Customer", 
  "in_filter": 1
 }, 
 {
  "print_hide": 1, 
  "doctype": "DocField", 
  "label": "Customer Address", 
  "permlevel": 0, 
  "fieldname": "customer_address", 
  "fieldtype": "Link", 
  "options": "Address"
 }, 
 {
  "print_hide": 1, 
  "doctype": "DocField", 
  "label": "Contact Person", 
  "permlevel": 0, 
  "fieldname": "contact_person", 
  "fieldtype": "Link", 
  "options": "Contact"
 }, 
 {
  "search_index": 0, 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Name", 
  "oldfieldname": "customer_name", 
  "fieldname": "customer_name", 
  "fieldtype": "Data", 
  "oldfieldtype": "Data", 
  "reqd": 0, 
  "permlevel": 1, 
  "in_filter": 1
 }, 
 {
  "doctype": "DocField", 
  "label": "Address", 
  "fieldname": "address_display", 
  "fieldtype": "Small Text", 
  "permlevel": 1
 }, 
 {
  "doctype": "DocField", 
  "label": "Contact", 
  "fieldname": "contact_display", 
  "fieldtype": "Small Text", 
  "permlevel": 1
 }, 
 {
  "doctype": "DocField", 
  "label": "Mobile No", 
  "fieldname": "contact_mobile", 
  "fieldtype": "Text", 
  "permlevel": 1
 }, 
 {
  "print_hide": 1, 
  "doctype": "DocField", 
  "label": "Contact Email", 
  "fieldname": "contact_email", 
  "fieldtype": "Text", 
  "permlevel": 1
 }, 
 {
  "oldfieldtype": "Column Break", 
  "doctype": "DocField", 
  "fieldname": "column_break1", 
  "fieldtype": "Column Break", 
  "permlevel": 0
 }, 
 {
  "search_index": 0, 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Transaction Date", 
  "oldfieldname": "transaction_date", 
  "fieldname": "transaction_date", 
  "fieldtype": "Date", 
  "oldfieldtype": "Date", 
  "reqd": 1, 
  "permlevel": 0, 
  "in_filter": 1
 }, 
 {
  "permlevel": 1, 
  "no_copy": 1, 
  "oldfieldtype": "Select", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Status", 
  "oldfieldname": "status", 
  "default": "Draft", 
  "fieldname": "status", 
  "fieldtype": "Select", 
  "search_index": 0, 
  "reqd": 1, 
  "options": "\nDraft\nSubmitted\nCancelled", 
  "in_filter": 1
 }, 
 {
  "no_copy": 1, 
  "oldfieldtype": "Data", 
  "doctype": "DocField", 
  "label": "Amended From", 
  "oldfieldname": "amended_from", 
  "fieldname": "amended_from", 
  "fieldtype": "Data", 
  "permlevel": 1
 }, 
 {
  "print_hide": 1, 
  "no_copy": 1, 
  "oldfieldtype": "Date", 
  "doctype": "DocField", 
  "label": "Amendment Date", 
  "oldfieldname": "amendment_date", 
  "fieldname": "amendment_date", 
  "fieldtype": "Date", 
  "hidden": 1, 
  "permlevel": 1, 
  "report_hide": 1
 }, 
 {
  "search_index": 0, 
  "doctype": "DocField", 
  "label": "Company", 
  "oldfieldname": "company", 
  "permlevel": 0, 
  "fieldname": "company", 
  "fieldtype": "Link", 
  "oldfieldtype": "Link", 
  "reqd": 1, 
  "options": "Company", 
  "in_filter": 1
 }, 
 {
  "search_index": 0, 
  "doctype": "DocField", 
  "label": "Territory", 
  "oldfieldname": "territory", 
  "permlevel": 0, 
  "fieldname": "territory", 
  "fieldtype": "Link", 
  "oldfieldtype": "Link", 
  "reqd": 1, 
  "options": "Territory", 
  "in_filter": 1
 }, 
 {
  "doctype": "DocField", 
  "label": "Customer Group", 
  "permlevel": 0, 
  "fieldname": "customer_group", 
  "fieldtype": "Link", 
  "reqd": 1, 
  "options": "Customer Group"
 }, 
 {
  "oldfieldtype": "Section Break", 
  "doctype": "DocField", 
  "label": "Items", 
  "options": "Simple", 
  "fieldname": "items", 
  "fieldtype": "Section Break", 
  "permlevel": 0
 }, 
 {
  "search_index": 1, 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Sales Order No", 
  "oldfieldname": "sales_order_no", 
  "permlevel": 0, 
  "trigger": "Client", 
  "fieldname": "sales_order_no", 
  "fieldtype": "Link", 
  "oldfieldtype": "Link", 
  "options": "Sales Order", 
  "in_filter": 1
 }, 
 {
  "oldfieldtype": "Button", 
  "doctype": "DocField", 
  "label": "Get Items", 
  "options": "pull_sales_order_detail", 
  "fieldname": "get_items", 
  "fieldtype": "Button", 
  "permlevel": 0, 
  "report_hide": 1
 }, 
 {
  "oldfieldtype": "Table", 
  "doctype": "DocField", 
  "label": "Maintenance Schedule Item", 
  "oldfieldname": "item_maintenance_detail", 
  "options": "Maintenance Schedule Item", 
  "fieldname": "item_maintenance_detail", 
  "fieldtype": "Table", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Section Break", 
  "doctype": "DocField", 
  "label": "Schedule", 
  "options": "Simple", 
  "fieldname": "schedule", 
  "fieldtype": "Section Break", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Button", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Generate Schedule", 
  "trigger": "Client", 
  "fieldname": "generate_schedule", 
  "fieldtype": "Button", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Table", 
  "doctype": "DocField", 
  "label": "Maintenance Schedule Detail", 
  "oldfieldname": "maintenance_schedule_detail", 
  "options": "Maintenance Schedule Detail", 
  "fieldname": "maintenance_schedule_detail", 
  "fieldtype": "Table", 
  "permlevel": 1
 }
]