{
 "autoname": "MS.#####", 
 "creation": "2013-01-10 16:34:30", 
 "docstatus": 0, 
 "doctype": "DocType", 
 "fields": [
  {
   "fieldname": "customer_details", 
   "fieldtype": "Section Break", 
   "label": "Customer Details", 
   "oldfieldtype": "Section Break", 
   "options": "icon-user", 
   "permlevel": 0
  }, 
  {
   "fieldname": "customer", 
   "fieldtype": "Link", 
   "in_filter": 1, 
   "in_list_view": 0, 
   "label": "Customer", 
   "oldfieldname": "customer", 
   "oldfieldtype": "Link", 
   "options": "Customer", 
   "permlevel": 0, 
   "print_hide": 1, 
   "reqd": 1, 
   "search_index": 1
  }, 
  {
   "fieldname": "column_break0", 
   "fieldtype": "Column Break", 
   "oldfieldtype": "Column Break", 
   "permlevel": 0
  }, 
  {
   "default": "Draft", 
   "fieldname": "status", 
   "fieldtype": "Select", 
   "in_filter": 1, 
   "label": "Status", 
   "no_copy": 1, 
   "oldfieldname": "status", 
   "oldfieldtype": "Select", 
   "options": "\nDraft\nSubmitted\nCancelled", 
   "permlevel": 0, 
   "read_only": 1, 
   "reqd": 1, 
   "search_index": 0
  }, 
  {
   "fieldname": "transaction_date", 
   "fieldtype": "Date", 
   "in_filter": 1, 
   "label": "Transaction Date", 
   "oldfieldname": "transaction_date", 
   "oldfieldtype": "Date", 
   "permlevel": 0, 
   "reqd": 1, 
   "search_index": 0
  }, 
  {
   "fieldname": "items", 
   "fieldtype": "Section Break", 
   "label": "Items", 
   "oldfieldtype": "Section Break", 
   "options": "icon-shopping-cart", 
   "permlevel": 0
  }, 
  {
   "fieldname": "item_maintenance_detail", 
   "fieldtype": "Table", 
   "label": "Maintenance Schedule Item", 
   "oldfieldname": "item_maintenance_detail", 
   "oldfieldtype": "Table", 
   "options": "Maintenance Schedule Item", 
   "permlevel": 0
  }, 
  {
   "fieldname": "schedule", 
   "fieldtype": "Section Break", 
   "label": "Schedule", 
   "oldfieldtype": "Section Break", 
   "options": "icon-time", 
   "permlevel": 0
  }, 
  {
   "fieldname": "generate_schedule", 
   "fieldtype": "Button", 
   "label": "Generate Schedule", 
   "oldfieldtype": "Button", 
   "permlevel": 0
  }, 
  {
   "fieldname": "maintenance_schedule_detail", 
   "fieldtype": "Table", 
   "label": "Maintenance Schedule Detail", 
   "oldfieldname": "maintenance_schedule_detail", 
   "oldfieldtype": "Table", 
   "options": "Maintenance Schedule Detail", 
   "permlevel": 0, 
   "read_only": 1
  }, 
  {
   "fieldname": "contact_info", 
   "fieldtype": "Section Break", 
   "label": "Contact Info", 
   "permlevel": 0
  }, 
  {
   "depends_on": "customer", 
   "fieldname": "customer_name", 
   "fieldtype": "Data", 
   "in_filter": 1, 
   "in_list_view": 1, 
   "label": "Customer Name", 
   "oldfieldname": "customer_name", 
   "oldfieldtype": "Data", 
   "permlevel": 0, 
   "read_only": 1, 
   "reqd": 0, 
   "search_index": 0
  }, 
  {
   "depends_on": "customer", 
   "fieldname": "contact_person", 
   "fieldtype": "Link", 
   "label": "Contact Person", 
   "options": "Contact", 
   "permlevel": 0, 
   "print_hide": 1
  }, 
  {
   "depends_on": "customer", 
   "fieldname": "contact_mobile", 
   "fieldtype": "Data", 
   "hidden": 1, 
   "label": "Mobile No", 
   "permlevel": 0, 
   "read_only": 1
  }, 
  {
   "depends_on": "customer", 
   "fieldname": "contact_email", 
   "fieldtype": "Data", 
   "hidden": 1, 
   "label": "Contact Email", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 1
  }, 
  {
   "fieldname": "contact_display", 
   "fieldtype": "Small Text", 
   "hidden": 1, 
   "label": "Contact", 
   "permlevel": 0, 
   "read_only": 1
  }, 
  {
   "fieldname": "column_break_17", 
   "fieldtype": "Column Break", 
   "permlevel": 0
  }, 
  {
   "depends_on": "customer", 
   "fieldname": "customer_address", 
   "fieldtype": "Link", 
   "label": "Customer Address", 
   "options": "Address", 
   "permlevel": 0, 
   "print_hide": 1
  }, 
  {
   "fieldname": "address_display", 
   "fieldtype": "Small Text", 
   "hidden": 1, 
   "label": "Address", 
   "permlevel": 0, 
   "read_only": 1
  }, 
  {
   "depends_on": "customer", 
   "description": "<a href=\"#Sales Browser/Territory\">Add / Edit</a>", 
   "fieldname": "territory", 
   "fieldtype": "Link", 
   "in_filter": 1, 
   "label": "Territory", 
   "oldfieldname": "territory", 
   "oldfieldtype": "Link", 
   "options": "Territory", 
   "permlevel": 0, 
   "reqd": 1, 
   "search_index": 0
  }, 
  {
   "depends_on": "customer", 
   "description": "<a href=\"#Sales Browser/Customer Group\">Add / Edit</a>", 
   "fieldname": "customer_group", 
   "fieldtype": "Link", 
   "label": "Customer Group", 
   "options": "Customer Group", 
   "permlevel": 0, 
   "reqd": 1
  }, 
  {
   "fieldname": "company", 
   "fieldtype": "Link", 
   "in_filter": 1, 
   "label": "Company", 
   "oldfieldname": "company", 
   "oldfieldtype": "Link", 
   "options": "Company", 
   "permlevel": 0, 
   "reqd": 1, 
   "search_index": 0
  }, 
  {
   "fieldname": "amended_from", 
   "fieldtype": "Link", 
   "label": "Amended From", 
   "no_copy": 1, 
   "options": "Maintenance Schedule", 
   "print_hide": 1, 
   "read_only": 1
  }
 ], 
 "icon": "icon-calendar", 
 "idx": 1, 
 "is_submittable": 1, 
 "modified": "2014-08-28 11:39:17.152817", 
 "modified_by": "Administrator", 
 "module": "Support", 
 "name": "Maintenance Schedule", 
 "owner": "Administrator", 
 "permissions": [
  {
   "amend": 1, 
   "cancel": 1, 
   "create": 1, 
   "delete": 1, 
   "email": 1, 
   "permlevel": 0, 
   "print": 1, 
   "read": 1, 
   "report": 1, 
   "role": "Maintenance Manager", 
   "submit": 1, 
   "write": 1
  }
 ], 
 "search_fields": "status,customer,customer_name"
}