{
 "actions": [],
 "allow_events_in_timeline": 1,
 "allow_import": 1,
 "autoname": "naming_series:",
 "creation": "2013-04-10 11:45:37",
 "doctype": "DocType",
 "document_type": "Document",
 "email_append_to": 1,
 "engine": "InnoDB",
 "field_order": [
  "lead_details",
  "naming_series",
  "salutation",
  "first_name",
  "middle_name",
  "last_name",
  "lead_name",
  "col_break123",
  "status",
  "company_name",
  "designation",
  "gender",
  "contact_details_section",
  "email_id",
  "mobile_no",
  "whatsapp_no",
  "column_break_16",
  "phone",
  "phone_ext",
  "additional_information_section",
  "no_of_employees",
  "industry",
  "market_segment",
  "column_break_22",
  "fax",
  "website",
  "type",
  "request_type",
  "address_section",
  "address_html",
  "city",
  "pincode",
  "county",
  "column_break2",
  "contact_html",
  "state",
  "country",
  "section_break_12",
  "lead_owner",
  "ends_on",
  "column_break_14",
  "contact_by",
  "contact_date",
  "lead_source_details_section",
  "company",
  "territory",
  "language",
  "column_break_50",
  "source",
  "campaign_name",
  "unsubscribed",
  "blog_subscriber",
  "notes_section",
  "notes",
  "other_information_section",
  "customer",
  "image",
  "title"
 ],
 "fields": [
  {
   "fieldname": "lead_details",
   "fieldtype": "Section Break",
   "label": "Lead Details",
   "options": "fa fa-user"
  },
  {
   "fieldname": "naming_series",
   "fieldtype": "Select",
   "label": "Series",
   "no_copy": 1,
   "oldfieldname": "naming_series",
   "oldfieldtype": "Select",
   "options": "CRM-LEAD-.YYYY.-",
   "set_only_once": 1
  },
  {
   "fieldname": "lead_name",
   "fieldtype": "Data",
   "in_global_search": 1,
   "label": "Full Name",
   "oldfieldname": "lead_name",
   "oldfieldtype": "Data",
   "read_only": 1,
   "search_index": 1
  },
  {
   "fieldname": "company_name",
   "fieldtype": "Data",
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "Organization Name",
   "mandatory_depends_on": "eval: !(doc.first_name)",
   "oldfieldname": "company_name",
   "oldfieldtype": "Data"
  },
  {
   "fieldname": "email_id",
   "fieldtype": "Data",
   "label": "Email Address",
   "oldfieldname": "email_id",
   "oldfieldtype": "Data",
   "options": "Email",
   "search_index": 1
  },
  {
   "fieldname": "col_break123",
   "fieldtype": "Column Break",
   "width": "50%"
  },
  {
   "default": "__user",
   "fieldname": "lead_owner",
   "fieldtype": "Link",
   "label": "Lead Owner",
   "oldfieldname": "lead_owner",
   "oldfieldtype": "Link",
   "options": "User",
   "search_index": 1
  },
  {
   "default": "Lead",
   "fieldname": "status",
   "fieldtype": "Select",
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "Status",
   "no_copy": 1,
   "oldfieldname": "status",
   "oldfieldtype": "Select",
   "options": "Lead\nOpen\nReplied\nOpportunity\nQuotation\nLost Quotation\nInterested\nConverted\nDo Not Contact",
   "reqd": 1,
   "search_index": 1
  },
  {
   "fieldname": "salutation",
   "fieldtype": "Link",
   "label": "Salutation",
   "options": "Salutation"
  },
  {
   "fieldname": "gender",
   "fieldtype": "Link",
   "label": "Gender",
   "options": "Gender"
  },
  {
   "fieldname": "source",
   "fieldtype": "Link",
   "label": "Source",
   "oldfieldname": "source",
   "oldfieldtype": "Select",
   "options": "Lead Source"
  },
  {
   "depends_on": "eval:doc.source == 'Existing Customer'",
   "fieldname": "customer",
   "fieldtype": "Link",
   "label": "From Customer",
   "no_copy": 1,
   "oldfieldname": "customer",
   "oldfieldtype": "Link",
   "options": "Customer"
  },
  {
   "fieldname": "campaign_name",
   "fieldtype": "Link",
   "label": "Campaign Name",
   "oldfieldname": "campaign_name",
   "oldfieldtype": "Link",
   "options": "Campaign"
  },
  {
   "fieldname": "image",
   "fieldtype": "Attach Image",
   "hidden": 1,
   "label": "Image",
   "print_hide": 1
  },
  {
   "fieldname": "section_break_12",
   "fieldtype": "Section Break",
   "label": "Follow Up"
  },
  {
   "fieldname": "contact_by",
   "fieldtype": "Link",
   "label": "Next Contact By",
   "oldfieldname": "contact_by",
   "oldfieldtype": "Link",
   "options": "User",
   "width": "100px"
  },
  {
   "fieldname": "column_break_14",
   "fieldtype": "Column Break"
  },
  {
   "bold": 1,
   "fieldname": "contact_date",
   "fieldtype": "Datetime",
   "label": "Next Contact Date",
   "no_copy": 1,
   "oldfieldname": "contact_date",
   "oldfieldtype": "Date",
   "width": "100px"
  },
  {
   "bold": 1,
   "fieldname": "ends_on",
   "fieldtype": "Datetime",
   "label": "Ends On",
   "no_copy": 1
  },
  {
   "collapsible": 1,
   "fieldname": "notes_section",
   "fieldtype": "Section Break",
   "label": "Notes"
  },
  {
   "fieldname": "notes",
   "fieldtype": "Text Editor",
   "label": "Notes"
  },
  {
   "fieldname": "address_html",
   "fieldtype": "HTML",
   "label": "Address HTML",
   "read_only": 1
  },
  {
   "fieldname": "city",
   "fieldtype": "Data",
   "label": "City/Town",
   "mandatory_depends_on": "eval: doc.address_title && doc.address_type"
  },
  {
   "fieldname": "county",
   "fieldtype": "Data",
   "label": "County"
  },
  {
   "fieldname": "state",
   "fieldtype": "Data",
   "label": "State"
  },
  {
   "fieldname": "country",
   "fieldtype": "Link",
   "label": "Country",
   "mandatory_depends_on": "eval: doc.address_title && doc.address_type",
   "options": "Country"
  },
  {
   "fieldname": "pincode",
   "fieldtype": "Data",
   "label": "Postal Code"
  },
  {
   "fieldname": "column_break2",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "contact_html",
   "fieldtype": "HTML",
   "label": "Contact HTML",
   "read_only": 1
  },
  {
   "fieldname": "phone",
   "fieldtype": "Data",
   "label": "Phone",
   "oldfieldname": "contact_no",
   "oldfieldtype": "Data",
   "options": "Phone"
  },
  {
   "fieldname": "mobile_no",
   "fieldtype": "Data",
   "label": "Mobile No.",
   "oldfieldname": "mobile_no",
   "oldfieldtype": "Data",
   "options": "Phone"
  },
  {
   "fieldname": "fax",
   "fieldtype": "Data",
   "label": "Fax",
   "oldfieldname": "fax",
   "oldfieldtype": "Data"
  },
  {
   "fieldname": "type",
   "fieldtype": "Select",
   "label": "Lead Type",
   "oldfieldname": "type",
   "oldfieldtype": "Select",
   "options": "\nClient\nChannel Partner\nConsultant"
  },
  {
   "fieldname": "market_segment",
   "fieldtype": "Link",
   "label": "Market Segment",
   "oldfieldname": "market_segment",
   "oldfieldtype": "Select",
   "options": "Market Segment"
  },
  {
   "fieldname": "industry",
   "fieldtype": "Link",
   "label": "Industry",
   "oldfieldname": "industry",
   "oldfieldtype": "Link",
   "options": "Industry Type"
  },
  {
   "fieldname": "request_type",
   "fieldtype": "Select",
   "label": "Request Type",
   "oldfieldname": "request_type",
   "oldfieldtype": "Select",
   "options": "\nProduct Enquiry\nRequest for Information\nSuggestions\nOther"
  },
  {
   "fieldname": "company",
   "fieldtype": "Link",
   "label": "Company",
   "oldfieldname": "company",
   "oldfieldtype": "Link",
   "options": "Company",
   "remember_last_selected_value": 1
  },
  {
   "fieldname": "website",
   "fieldtype": "Data",
   "label": "Website",
   "oldfieldname": "website",
   "oldfieldtype": "Data",
   "options": "URL"
  },
  {
   "fieldname": "territory",
   "fieldtype": "Link",
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "Territory",
   "oldfieldname": "territory",
   "oldfieldtype": "Link",
   "options": "Territory",
   "print_hide": 1
  },
  {
   "default": "0",
   "fieldname": "unsubscribed",
   "fieldtype": "Check",
   "label": "Unsubscribed"
  },
  {
   "default": "0",
   "fieldname": "blog_subscriber",
   "fieldtype": "Check",
   "label": "Blog Subscriber"
  },
  {
   "fieldname": "title",
   "fieldtype": "Data",
   "hidden": 1,
   "label": "Title",
   "print_hide": 1
  },
  {
   "fieldname": "designation",
   "fieldtype": "Link",
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "Designation",
   "options": "Designation"
  },
  {
   "fieldname": "language",
   "fieldtype": "Link",
   "label": "Print Language",
   "options": "Language"
  },
  {
   "fieldname": "first_name",
   "fieldtype": "Data",
   "label": "First Name",
   "mandatory_depends_on": "eval: !(doc.company_name)"
  },
  {
   "fieldname": "middle_name",
   "fieldtype": "Data",
   "label": "Middle Name"
  },
  {
   "fieldname": "last_name",
   "fieldtype": "Data",
   "label": "Last Name"
  },
  {
   "collapsible": 1,
   "fieldname": "additional_information_section",
   "fieldtype": "Section Break",
   "label": "Additional Information"
  },
  {
   "fieldname": "no_of_employees",
   "fieldtype": "Int",
   "label": "No. of Employees"
  },
  {
   "fieldname": "column_break_22",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "whatsapp_no",
   "fieldtype": "Data",
   "label": "WhatsApp No.",
   "options": "Phone"
  },
  {
   "collapsible": 1,
   "depends_on": "eval: !doc.__islocal",
   "fieldname": "address_section",
   "fieldtype": "Section Break",
   "label": "Address"
  },
  {
   "fieldname": "lead_source_details_section",
   "fieldtype": "Section Break",
   "label": "Lead Source Details"
  },
  {
   "fieldname": "column_break_50",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "other_information_section",
   "fieldtype": "Section Break",
   "label": "Other Information"
  },
  {
   "fieldname": "contact_details_section",
   "fieldtype": "Section Break",
   "label": "Contact Details"
  },
  {
   "fieldname": "column_break_16",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "phone_ext",
   "fieldtype": "Data",
   "label": "Phone Ext."
  }
 ],
 "icon": "fa fa-user",
 "idx": 5,
 "image_field": "image",
 "links": [],
 "modified": "2021-08-04 00:24:57.208590",
 "modified_by": "Administrator",
 "module": "CRM",
 "name": "Lead",
 "name_case": "Title Case",
 "owner": "Administrator",
 "permissions": [
  {
   "permlevel": 1,
   "read": 1,
   "report": 1,
   "role": "All"
  },
  {
   "create": 1,
   "email": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "Sales User",
   "share": 1,
   "write": 1
  },
  {
   "create": 1,
   "delete": 1,
   "email": 1,
   "export": 1,
   "import": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "Sales Manager",
   "share": 1,
   "write": 1
  },
  {
   "create": 1,
   "email": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "System Manager",
   "share": 1,
   "write": 1
  },
  {
   "permlevel": 1,
   "read": 1,
   "report": 1,
   "role": "Sales Manager"
  },
  {
   "permlevel": 1,
   "read": 1,
   "report": 1,
   "role": "Sales User"
  }
 ],
 "search_fields": "lead_name,lead_owner,status",
 "sender_field": "email_id",
 "show_name_in_global_search": 1,
 "sort_field": "modified",
 "sort_order": "DESC",
 "subject_field": "title",
 "title_field": "title"
}