{
 "allow_import": 1, 
 "allow_rename": 1, 
 "creation": "2013-01-10 16:34:32.000000", 
 "docstatus": 0, 
 "doctype": "DocType", 
 "document_type": "Master", 
 "fields": [
  {
   "fieldname": "contact_section", 
   "fieldtype": "Section Break", 
   "label": "Contact Details", 
   "options": "icon-user", 
   "permlevel": 0
  }, 
  {
   "fieldname": "first_name", 
   "fieldtype": "Data", 
   "label": "First Name", 
   "oldfieldname": "first_name", 
   "oldfieldtype": "Data", 
   "permlevel": 0, 
   "reqd": 1
  }, 
  {
   "fieldname": "last_name", 
   "fieldtype": "Data", 
   "label": "Last Name", 
   "oldfieldname": "last_name", 
   "oldfieldtype": "Data", 
   "permlevel": 0
  }, 
  {
   "fieldname": "cb00", 
   "fieldtype": "Column Break", 
   "permlevel": 0
  }, 
  {
   "default": "Passive", 
   "fieldname": "status", 
   "fieldtype": "Select", 
   "label": "Status", 
   "options": "Passive\nOpen\nReplied", 
   "permlevel": 0
  }, 
  {
   "fieldname": "email_id", 
   "fieldtype": "Data", 
   "in_list_view": 1, 
   "label": "Email Id", 
   "oldfieldname": "email_id", 
   "oldfieldtype": "Data", 
   "permlevel": 0, 
   "reqd": 0, 
   "search_index": 1
  }, 
  {
   "fieldname": "phone", 
   "fieldtype": "Data", 
   "label": "Phone", 
   "oldfieldname": "contact_no", 
   "oldfieldtype": "Data", 
   "permlevel": 0, 
   "reqd": 0
  }, 
  {
   "fieldname": "sb00", 
   "fieldtype": "Section Break", 
   "label": "Communication History", 
   "options": "icon-comments", 
   "permlevel": 0, 
   "print_hide": 1
  }, 
  {
   "fieldname": "communication_html", 
   "fieldtype": "HTML", 
   "label": "Communication HTML", 
   "permlevel": 0, 
   "print_hide": 1
  }, 
  {
   "fieldname": "contact_details", 
   "fieldtype": "Section Break", 
   "label": "Reference", 
   "options": "icon-pushpin", 
   "permlevel": 0
  }, 
  {
   "depends_on": "eval:!doc.supplier && !doc.sales_partner", 
   "fieldname": "customer", 
   "fieldtype": "Link", 
   "label": "Customer", 
   "oldfieldname": "customer", 
   "oldfieldtype": "Link", 
   "options": "Customer", 
   "permlevel": 0, 
   "print_hide": 0
  }, 
  {
   "depends_on": "eval:!doc.supplier && !doc.sales_partner", 
   "fieldname": "customer_name", 
   "fieldtype": "Data", 
   "in_list_view": 1, 
   "label": "Customer Name", 
   "permlevel": 0, 
   "read_only": 1
  }, 
  {
   "fieldname": "column_break1", 
   "fieldtype": "Column Break", 
   "oldfieldtype": "Column Break", 
   "permlevel": 0, 
   "width": "50%"
  }, 
  {
   "depends_on": "eval:!doc.customer && !doc.sales_partner", 
   "fieldname": "supplier", 
   "fieldtype": "Link", 
   "label": "Supplier", 
   "options": "Supplier", 
   "permlevel": 0
  }, 
  {
   "allow_on_submit": 0, 
   "depends_on": "eval:!doc.customer && !doc.sales_partner", 
   "fieldname": "supplier_name", 
   "fieldtype": "Data", 
   "in_list_view": 1, 
   "label": "Supplier Name", 
   "permlevel": 0, 
   "read_only": 1
  }, 
  {
   "depends_on": "eval:!doc.customer && !doc.supplier", 
   "fieldname": "sales_partner", 
   "fieldtype": "Link", 
   "label": "Sales Partner", 
   "options": "Sales Partner", 
   "permlevel": 0
  }, 
  {
   "default": "0", 
   "depends_on": "eval:(doc.customer || doc.supplier || doc.sales_partner)", 
   "fieldname": "is_primary_contact", 
   "fieldtype": "Check", 
   "label": "Is Primary Contact", 
   "oldfieldname": "is_primary_contact", 
   "oldfieldtype": "Select", 
   "permlevel": 0
  }, 
  {
   "fieldname": "more_info", 
   "fieldtype": "Section Break", 
   "label": "More Info", 
   "options": "icon-file-text", 
   "permlevel": 0
  }, 
  {
   "fieldname": "mobile_no", 
   "fieldtype": "Data", 
   "label": "Mobile No", 
   "oldfieldname": "mobile_no", 
   "oldfieldtype": "Data", 
   "permlevel": 0
  }, 
  {
   "description": "Enter department to which this Contact belongs", 
   "fieldname": "department", 
   "fieldtype": "Data", 
   "label": "Department", 
   "options": "Suggest", 
   "permlevel": 0
  }, 
  {
   "description": "Enter designation of this Contact", 
   "fieldname": "designation", 
   "fieldtype": "Data", 
   "label": "Designation", 
   "options": "Suggest", 
   "permlevel": 0
  }, 
  {
   "fieldname": "unsubscribed", 
   "fieldtype": "Check", 
   "label": "Unsubscribed", 
   "permlevel": 0
  }, 
  {
   "fieldname": "trash_reason", 
   "fieldtype": "Small Text", 
   "label": "Trash Reason", 
   "oldfieldname": "trash_reason", 
   "oldfieldtype": "Small Text", 
   "permlevel": 0, 
   "read_only": 1
  }, 
  {
   "fieldname": "communications", 
   "fieldtype": "Table", 
   "hidden": 1, 
   "label": "Communications", 
   "options": "Communication", 
   "permlevel": 0, 
   "print_hide": 1
  }
 ], 
 "icon": "icon-user", 
 "idx": 1, 
 "in_create": 0, 
 "in_dialog": 0, 
 "modified": "2014-01-20 17:48:29.000000", 
 "modified_by": "Administrator", 
 "module": "Utilities", 
 "name": "Contact", 
 "owner": "Administrator", 
 "permissions": [
  {
   "cancel": 0, 
   "create": 1, 
   "delete": 1, 
   "email": 1, 
   "permlevel": 0, 
   "print": 1, 
   "read": 1, 
   "report": 1, 
   "role": "System Manager", 
   "submit": 0, 
   "write": 1
  }, 
  {
   "amend": 0, 
   "cancel": 0, 
   "create": 1, 
   "delete": 1, 
   "email": 1, 
   "permlevel": 0, 
   "print": 1, 
   "read": 1, 
   "report": 1, 
   "role": "Sales Master Manager", 
   "submit": 0, 
   "write": 1
  }, 
  {
   "cancel": 0, 
   "create": 1, 
   "delete": 1, 
   "email": 1, 
   "permlevel": 0, 
   "print": 1, 
   "read": 1, 
   "report": 1, 
   "role": "Purchase Master Manager", 
   "submit": 0, 
   "write": 1
  }, 
  {
   "cancel": 0, 
   "create": 1, 
   "delete": 0, 
   "email": 1, 
   "permlevel": 0, 
   "print": 1, 
   "read": 1, 
   "report": 1, 
   "role": "Sales Manager", 
   "submit": 0, 
   "write": 1
  }, 
  {
   "cancel": 0, 
   "create": 1, 
   "delete": 0, 
   "email": 1, 
   "permlevel": 0, 
   "print": 1, 
   "read": 1, 
   "report": 1, 
   "role": "Purchase Manager", 
   "submit": 0, 
   "write": 1
  }, 
  {
   "cancel": 0, 
   "create": 1, 
   "delete": 0, 
   "email": 1, 
   "permlevel": 0, 
   "print": 1, 
   "read": 1, 
   "report": 1, 
   "role": "Maintenance Manager", 
   "submit": 0, 
   "write": 1
  }, 
  {
   "cancel": 0, 
   "create": 1, 
   "delete": 0, 
   "email": 1, 
   "permlevel": 0, 
   "print": 1, 
   "read": 1, 
   "report": 1, 
   "role": "Accounts Manager", 
   "submit": 0, 
   "write": 1
  }, 
  {
   "cancel": 0, 
   "create": 1, 
   "delete": 0, 
   "email": 1, 
   "permlevel": 0, 
   "print": 1, 
   "read": 1, 
   "report": 1, 
   "role": "Sales User", 
   "submit": 0, 
   "write": 1
  }, 
  {
   "cancel": 0, 
   "create": 1, 
   "delete": 0, 
   "email": 1, 
   "permlevel": 0, 
   "print": 1, 
   "read": 1, 
   "report": 1, 
   "role": "Purchase User", 
   "submit": 0, 
   "write": 1
  }, 
  {
   "cancel": 0, 
   "create": 1, 
   "delete": 0, 
   "email": 1, 
   "permlevel": 0, 
   "print": 1, 
   "read": 1, 
   "report": 1, 
   "role": "Maintenance User", 
   "submit": 0, 
   "write": 1
  }, 
  {
   "cancel": 0, 
   "create": 1, 
   "delete": 0, 
   "email": 1, 
   "permlevel": 0, 
   "print": 1, 
   "read": 1, 
   "report": 1, 
   "role": "Accounts User", 
   "submit": 0, 
   "write": 1
  }
 ]
}