[
 {
  "owner": "Administrator", 
  "docstatus": 0, 
  "creation": "2012-11-02 17:16:46", 
  "modified_by": "Administrator", 
  "modified": "2012-11-27 18:27:47"
 }, 
 {
  "autoname": "naming_series:", 
  "name": "__common__", 
  "default_print_format": "Standard", 
  "search_fields": "lead_name,lead_owner,status", 
  "module": "Selling", 
  "doctype": "DocType", 
  "document_type": "Master"
 }, 
 {
  "name": "__common__", 
  "parent": "Lead", 
  "doctype": "DocField", 
  "parenttype": "DocType", 
  "parentfield": "fields"
 }, 
 {
  "name": "__common__", 
  "parent": "Lead", 
  "amend": 0, 
  "submit": 0, 
  "doctype": "DocPerm", 
  "read": 1, 
  "parenttype": "DocType", 
  "parentfield": "permissions"
 }, 
 {
  "name": "Lead", 
  "doctype": "DocType"
 }, 
 {
  "description": "To manage multiple series please go to Setup > Manage Series", 
  "no_copy": 1, 
  "oldfieldtype": "Select", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Naming Series", 
  "oldfieldname": "naming_series", 
  "permlevel": 0, 
  "fieldname": "naming_series", 
  "fieldtype": "Select", 
  "reqd": 0, 
  "options": "LEAD\nLEAD/10-11/\nLEAD/MUMBAI/"
 }, 
 {
  "oldfieldtype": "Data", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Contact Name", 
  "oldfieldname": "lead_name", 
  "fieldname": "lead_name", 
  "fieldtype": "Data", 
  "search_index": 1, 
  "reqd": 1, 
  "permlevel": 0, 
  "in_filter": 1
 }, 
 {
  "oldfieldtype": "Data", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Email Id", 
  "oldfieldname": "email_id", 
  "fieldname": "email_id", 
  "fieldtype": "Data", 
  "search_index": 1, 
  "reqd": 0, 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "cb6", 
  "fieldtype": "Column Break", 
  "permlevel": 0
 }, 
 {
  "permlevel": 0, 
  "no_copy": 1, 
  "oldfieldtype": "Select", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Status", 
  "oldfieldname": "status", 
  "default": "Open", 
  "trigger": "Client", 
  "fieldname": "status", 
  "fieldtype": "Select", 
  "search_index": 1, 
  "reqd": 1, 
  "options": "\nOpen\nAttempted to Contact\nContact in Future\nContacted\nInterested\nNot interested\nLead Lost\nConverted", 
  "in_filter": 1
 }, 
 {
  "description": "Source of the lead. If via a campaign, select \"Campaign\"", 
  "no_copy": 1, 
  "oldfieldtype": "Select", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Source", 
  "oldfieldname": "source", 
  "permlevel": 0, 
  "trigger": "Client", 
  "fieldname": "source", 
  "fieldtype": "Select", 
  "search_index": 0, 
  "reqd": 0, 
  "in_filter": 1, 
  "options": "\nAdvertisement\nBlog\nCampaign\nCall\nCustomer\nExhibition\nSupplier\nWebsite\nEmail"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "communication_history", 
  "fieldtype": "Section Break", 
  "permlevel": 0
 }, 
 {
  "allow_on_submit": 0, 
  "oldfieldtype": "Table", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Communication HTML", 
  "oldfieldname": "follow_up", 
  "fieldname": "communication_html", 
  "fieldtype": "HTML", 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "label": "Lead Details", 
  "fieldname": "sb8", 
  "fieldtype": "Section Break", 
  "permlevel": 0
 }, 
 {
  "description": "Name of organization from where lead has come", 
  "oldfieldtype": "Data", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Company Name", 
  "oldfieldname": "company_name", 
  "trigger": "Client", 
  "fieldname": "company_name", 
  "fieldtype": "Data", 
  "search_index": 0, 
  "reqd": 0, 
  "in_filter": 1, 
  "permlevel": 0
 }, 
 {
  "description": "Source of th", 
  "oldfieldtype": "Link", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "From Customer", 
  "oldfieldname": "customer", 
  "permlevel": 0, 
  "fieldname": "customer", 
  "fieldtype": "Link", 
  "depends_on": "eval:doc.source == 'Existing Customer'", 
  "hidden": 0, 
  "options": "Customer"
 }, 
 {
  "description": "Enter campaign name if the source of lead is campaign.", 
  "oldfieldtype": "Link", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Campaign Name", 
  "oldfieldname": "campaign_name", 
  "permlevel": 0, 
  "fieldname": "campaign_name", 
  "fieldtype": "Link", 
  "depends_on": "eval:doc.source == 'Campaign'", 
  "hidden": 0, 
  "options": "Campaign"
 }, 
 {
  "doctype": "DocField", 
  "width": "50%", 
  "fieldname": "column_break1", 
  "fieldtype": "Column Break", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Select", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Lead Type", 
  "oldfieldname": "type", 
  "options": "\nClient\nChannel Partner\nConsultant", 
  "fieldname": "type", 
  "fieldtype": "Select", 
  "permlevel": 0, 
  "in_filter": 1
 }, 
 {
  "oldfieldtype": "Text", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Remark", 
  "oldfieldname": "remark", 
  "fieldname": "remark", 
  "fieldtype": "Small Text", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Column Break", 
  "doctype": "DocField", 
  "label": "Contact Info", 
  "fieldname": "contact_info", 
  "fieldtype": "Section Break", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Data", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Phone", 
  "oldfieldname": "contact_no", 
  "fieldname": "phone", 
  "fieldtype": "Data", 
  "reqd": 0, 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Data", 
  "doctype": "DocField", 
  "label": "Mobile No.", 
  "oldfieldname": "mobile_no", 
  "fieldname": "mobile_no", 
  "fieldtype": "Data", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Data", 
  "doctype": "DocField", 
  "label": "Fax", 
  "oldfieldname": "fax", 
  "fieldname": "fax", 
  "fieldtype": "Data", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Data", 
  "doctype": "DocField", 
  "label": "Website", 
  "oldfieldname": "website", 
  "fieldname": "website", 
  "fieldtype": "Data", 
  "permlevel": 0
 }, 
 {
  "print_hide": 1, 
  "description": "<a href=\"javascript:cur_frm.cscript.TerritoryHelp();\">To manage Territory, click here</a>", 
  "oldfieldtype": "Link", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Territory", 
  "oldfieldname": "territory", 
  "options": "Territory", 
  "fieldname": "territory", 
  "fieldtype": "Link", 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break2", 
  "fieldtype": "Column Break", 
  "permlevel": 0
 }, 
 {
  "print_hide": 1, 
  "oldfieldtype": "Data", 
  "doctype": "DocField", 
  "label": "Address Line 1", 
  "oldfieldname": "address_line1", 
  "fieldname": "address_line1", 
  "fieldtype": "Data", 
  "reqd": 0, 
  "permlevel": 0
 }, 
 {
  "print_hide": 1, 
  "oldfieldtype": "Data", 
  "doctype": "DocField", 
  "label": "Address Line 2", 
  "oldfieldname": "address_line2", 
  "fieldname": "address_line2", 
  "fieldtype": "Data", 
  "permlevel": 0
 }, 
 {
  "print_hide": 1, 
  "oldfieldtype": "Select", 
  "doctype": "DocField", 
  "label": "City", 
  "oldfieldname": "city", 
  "fieldname": "city", 
  "fieldtype": "Data", 
  "reqd": 0, 
  "permlevel": 0
 }, 
 {
  "print_hide": 1, 
  "oldfieldtype": "Select", 
  "doctype": "DocField", 
  "label": "Country", 
  "oldfieldname": "country", 
  "trigger": "Client", 
  "fieldname": "country", 
  "fieldtype": "Select", 
  "reqd": 0, 
  "options": "link:Country", 
  "permlevel": 0
 }, 
 {
  "print_hide": 1, 
  "oldfieldtype": "Select", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "State", 
  "oldfieldname": "state", 
  "options": "Suggest", 
  "fieldname": "state", 
  "fieldtype": "Data", 
  "permlevel": 0
 }, 
 {
  "print_hide": 1, 
  "oldfieldtype": "Data", 
  "doctype": "DocField", 
  "label": "Pin Code", 
  "oldfieldname": "pincode", 
  "fieldname": "pincode", 
  "fieldtype": "Data", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Section Break", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "More Info", 
  "fieldname": "more_info", 
  "fieldtype": "Section Break", 
  "permlevel": 0
 }, 
 {
  "default": "__user", 
  "oldfieldtype": "Link", 
  "doctype": "DocField", 
  "label": "Lead Owner", 
  "oldfieldname": "lead_owner", 
  "options": "Profile", 
  "fieldname": "lead_owner", 
  "fieldtype": "Link", 
  "search_index": 1, 
  "permlevel": 0, 
  "in_filter": 1
 }, 
 {
  "oldfieldtype": "Select", 
  "doctype": "DocField", 
  "label": "Market Segment", 
  "oldfieldname": "market_segment", 
  "permlevel": 0, 
  "fieldname": "market_segment", 
  "fieldtype": "Select", 
  "search_index": 0, 
  "reqd": 0, 
  "hidden": 0, 
  "options": "\nLower Income\nMiddle Income\nUpper Income", 
  "in_filter": 1
 }, 
 {
  "oldfieldtype": "Link", 
  "doctype": "DocField", 
  "label": "Industry", 
  "oldfieldname": "industry", 
  "options": "Industry Type", 
  "fieldname": "industry", 
  "fieldtype": "Link", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Select", 
  "doctype": "DocField", 
  "label": "Request Type", 
  "oldfieldname": "request_type", 
  "options": "\nProduct Enquiry\nRequest for Information\nSuggestions\nOther", 
  "fieldname": "request_type", 
  "fieldtype": "Select", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Select", 
  "doctype": "DocField", 
  "label": "Fiscal Year", 
  "oldfieldname": "fiscal_year", 
  "options": "link:Fiscal Year", 
  "fieldname": "fiscal_year", 
  "fieldtype": "Select", 
  "hidden": 1, 
  "permlevel": 0, 
  "in_filter": 1
 }, 
 {
  "oldfieldtype": "Column Break", 
  "doctype": "DocField", 
  "width": "50%", 
  "fieldname": "column_break3", 
  "fieldtype": "Column Break", 
  "permlevel": 0
 }, 
 {
  "oldfieldtype": "Link", 
  "allow_on_submit": 0, 
  "doctype": "DocField", 
  "label": "Lost Reason", 
  "oldfieldname": "order_lost_reason", 
  "options": "Quotation Lost Reason", 
  "fieldname": "order_lost_reason", 
  "fieldtype": "Link", 
  "depends_on": "eval:doc.status == 'Lead Lost'", 
  "hidden": 0, 
  "permlevel": 0
 }, 
 {
  "print_hide": 0, 
  "description": "Your sales person who will contact the lead in future", 
  "permlevel": 0, 
  "oldfieldtype": "Link", 
  "colour": "White:FFF", 
  "allow_on_submit": 0, 
  "doctype": "DocField", 
  "label": "Next Contact By", 
  "oldfieldname": "contact_by", 
  "width": "100px", 
  "fieldname": "contact_by", 
  "fieldtype": "Link", 
  "reqd": 0, 
  "hidden": 0, 
  "in_filter": 1, 
  "options": "Profile"
 }, 
 {
  "description": "Your sales person will get a reminder on this date to contact the lead", 
  "no_copy": 1, 
  "oldfieldtype": "Date", 
  "colour": "White:FFF", 
  "allow_on_submit": 0, 
  "doctype": "DocField", 
  "label": "Next Contact Date", 
  "oldfieldname": "contact_date", 
  "width": "100px", 
  "fieldname": "contact_date", 
  "fieldtype": "Date", 
  "reqd": 0, 
  "in_filter": 1, 
  "permlevel": 0
 }, 
 {
  "print_hide": 1, 
  "description": "Date on which the lead was last contacted", 
  "no_copy": 1, 
  "oldfieldtype": "Date", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Last Contact Date", 
  "oldfieldname": "last_contact_date", 
  "fieldname": "last_contact_date", 
  "fieldtype": "Date", 
  "depends_on": "eval:!doc.__islocal", 
  "permlevel": 1
 }, 
 {
  "oldfieldtype": "Link", 
  "colour": "White:FFF", 
  "doctype": "DocField", 
  "label": "Company", 
  "oldfieldname": "company", 
  "options": "Company", 
  "fieldname": "company", 
  "fieldtype": "Link", 
  "reqd": 0, 
  "permlevel": 0
 }, 
 {
  "print_hide": 1, 
  "no_copy": 1, 
  "oldfieldtype": "Small Text", 
  "doctype": "DocField", 
  "label": "Trash Reason", 
  "oldfieldname": "trash_reason", 
  "fieldname": "trash_reason", 
  "fieldtype": "Small Text", 
  "permlevel": 1
 }, 
 {
  "doctype": "DocField", 
  "label": "Unsubscribed", 
  "fieldname": "unsubscribed", 
  "fieldtype": "Check", 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "label": "Blog Subscriber", 
  "fieldname": "blog_subscriber", 
  "fieldtype": "Check", 
  "permlevel": 0
 }, 
 {
  "create": 0, 
  "doctype": "DocPerm", 
  "write": 0, 
  "role": "All", 
  "cancel": 0, 
  "permlevel": 1
 }, 
 {
  "create": 1, 
  "doctype": "DocPerm", 
  "write": 1, 
  "role": "Sales User", 
  "cancel": 0, 
  "permlevel": 0
 }, 
 {
  "create": 1, 
  "doctype": "DocPerm", 
  "write": 1, 
  "role": "Sales Manager", 
  "cancel": 1, 
  "permlevel": 0
 }, 
 {
  "create": 1, 
  "doctype": "DocPerm", 
  "write": 1, 
  "role": "System Manager", 
  "cancel": 0, 
  "permlevel": 0
 }, 
 {
  "create": 0, 
  "doctype": "DocPerm", 
  "write": 0, 
  "role": "Sales Manager", 
  "cancel": 0, 
  "permlevel": 1
 }, 
 {
  "create": 0, 
  "doctype": "DocPerm", 
  "write": 0, 
  "role": "Sales User", 
  "cancel": 0, 
  "permlevel": 1
 }, 
 {
  "create": 1, 
  "doctype": "DocPerm", 
  "write": 1, 
  "role": "System Manager", 
  "cancel": 0, 
  "permlevel": 0
 }, 
 {
  "create": 1, 
  "doctype": "DocPerm", 
  "write": 1, 
  "role": "Guest", 
  "cancel": 0, 
  "permlevel": 0
 }
]