[
 {
  "creation": "2013-01-29 10:47:14", 
  "docstatus": 0, 
  "modified": "2013-05-21 12:19:45", 
  "modified_by": "Administrator", 
  "owner": "Administrator"
 }, 
 {
  "allow_attach": 1, 
  "autoname": "naming_series:", 
  "description": "Keep a track of all communications", 
  "doctype": "DocType", 
  "document_type": "Master", 
  "in_dialog": 0, 
  "issingle": 0, 
  "module": "Core", 
  "name": "__common__"
 }, 
 {
  "doctype": "DocField", 
  "name": "__common__", 
  "parent": "Communication", 
  "parentfield": "fields", 
  "parenttype": "DocType", 
  "permlevel": 0
 }, 
 {
  "create": 1, 
  "doctype": "DocPerm", 
  "name": "__common__", 
  "parent": "Communication", 
  "parentfield": "permissions", 
  "parenttype": "DocType", 
  "permlevel": 0, 
  "read": 1, 
  "write": 1
 }, 
 {
  "doctype": "DocType", 
  "name": "Communication"
 }, 
 {
  "default": "COMM-", 
  "doctype": "DocField", 
  "fieldname": "naming_series", 
  "fieldtype": "Select", 
  "hidden": 1, 
  "label": "Naming Series", 
  "options": "COMM-"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "subject", 
  "fieldtype": "Data", 
  "label": "Subject", 
  "reqd": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "content", 
  "fieldtype": "Text Editor", 
  "label": "Content", 
  "reqd": 0, 
  "width": "400"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "section_break1", 
  "fieldtype": "Section Break", 
  "options": "simple"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "category", 
  "fieldtype": "Select", 
  "label": "Category", 
  "options": "\nSales\nComplaint\nHelp\nSuggestion\nMiscellaneous\nSent Mail", 
  "reqd": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break2", 
  "fieldtype": "Column Break"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "next_communication_date", 
  "fieldtype": "Date", 
  "label": "Next Communcation On"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "action", 
  "fieldtype": "Select", 
  "label": "Action", 
  "options": "\nCreated Opportunity\nSent Quotation\nCreated Support Ticket\nCreated Customer Issue\nNo Action\nSent Mail", 
  "reqd": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "additional_info", 
  "fieldtype": "Section Break", 
  "label": "Additional Info"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break3", 
  "fieldtype": "Column Break"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "lead", 
  "fieldtype": "Link", 
  "hidden": 0, 
  "label": "Lead", 
  "options": "Lead"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "contact", 
  "fieldtype": "Link", 
  "label": "Contact", 
  "options": "Contact"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "customer", 
  "fieldtype": "Link", 
  "label": "Customer", 
  "options": "Customer"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "supplier", 
  "fieldtype": "Link", 
  "label": "Supplier", 
  "options": "Supplier"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "opportunity", 
  "fieldtype": "Link", 
  "label": "Opportunity", 
  "options": "Opportunity"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "quotation", 
  "fieldtype": "Link", 
  "label": "Quotation", 
  "options": "Quotation"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "support_ticket", 
  "fieldtype": "Link", 
  "label": "Support Ticket", 
  "options": "Support Ticket"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "job_applicant", 
  "fieldtype": "Link", 
  "label": "Job Applicant", 
  "options": "Job Applicant"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break1", 
  "fieldtype": "Column Break"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "recipients", 
  "fieldtype": "Data", 
  "label": "Recipients"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "sender", 
  "fieldtype": "Data", 
  "label": "Sender"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "communication_medium", 
  "fieldtype": "Select", 
  "label": "Communication Medium", 
  "options": "\nChat\nPhone\nEmail\nSMS\nVisit\nOther"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "phone_no", 
  "fieldtype": "Data", 
  "label": "Phone No."
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "section_break2", 
  "fieldtype": "Section Break", 
  "options": "simple"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break4", 
  "fieldtype": "Column Break", 
  "label": "By"
 }, 
 {
  "default": "__user", 
  "doctype": "DocField", 
  "fieldname": "user", 
  "fieldtype": "Link", 
  "label": "User", 
  "options": "Profile", 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "sales_person", 
  "fieldtype": "Link", 
  "label": "Sales Person", 
  "options": "Sales Person", 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break5", 
  "fieldtype": "Column Break", 
  "label": "On"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "company", 
  "fieldtype": "Link", 
  "label": "Company", 
  "options": "Company"
 }, 
 {
  "default": "Today", 
  "doctype": "DocField", 
  "fieldname": "communication_date", 
  "fieldtype": "Date", 
  "label": "Date"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "_user_tags", 
  "fieldtype": "Data", 
  "hidden": 1, 
  "label": "User Tags", 
  "no_copy": 1, 
  "print_hide": 1
 }, 
 {
  "amend": 0, 
  "cancel": 1, 
  "doctype": "DocPerm", 
  "report": 1, 
  "role": "Support Team", 
  "submit": 0
 }, 
 {
  "amend": 0, 
  "cancel": 1, 
  "doctype": "DocPerm", 
  "report": 1, 
  "role": "Sales Manager", 
  "submit": 0
 }, 
 {
  "amend": 0, 
  "cancel": 1, 
  "doctype": "DocPerm", 
  "report": 1, 
  "role": "Sales User", 
  "submit": 0
 }, 
 {
  "cancel": 1, 
  "doctype": "DocPerm", 
  "report": 1, 
  "role": "Support Manager", 
  "submit": 0
 }, 
 {
  "cancel": 1, 
  "doctype": "DocPerm", 
  "report": 1, 
  "role": "System Manager", 
  "submit": 0
 }, 
 {
  "doctype": "DocPerm", 
  "match": "owner", 
  "role": "Sales Representative"
 }
]