17 lines
1.3 KiB
JSON
17 lines
1.3 KiB
JSON
{
|
|
"apply_user_permissions": 1,
|
|
"creation": "2013-10-22 11:58:16",
|
|
"docstatus": 0,
|
|
"doctype": "Report",
|
|
"idx": 1,
|
|
"is_standard": "Yes",
|
|
"modified": "2015-02-02 11:39:57.231750",
|
|
"modified_by": "Administrator",
|
|
"module": "Selling",
|
|
"name": "Lead Details",
|
|
"owner": "Administrator",
|
|
"query": "SELECT\n `tabLead`.name as \"Lead Id:Link/Lead:120\",\n `tabLead`.lead_name as \"Lead Name::120\",\n\t`tabLead`.company_name as \"Company Name::120\",\n\t`tabLead`.status as \"Status::120\",\n\tconcat_ws(', ', \n\t\ttrim(',' from `tabAddress`.address_line1), \n\t\ttrim(',' from tabAddress.address_line2)\n\t) as 'Address::180',\n\t`tabAddress`.state as \"State::100\",\n\t`tabAddress`.pincode as \"Pincode::70\",\n\t`tabAddress`.country as \"Country::100\",\n\t`tabLead`.phone as \"Phone::100\",\n\t`tabLead`.mobile_no as \"Mobile No::100\",\n\t`tabLead`.email_id as \"Email Id::120\",\n\t`tabLead`.lead_owner as \"Lead Owner::120\",\n\t`tabLead`.source as \"Source::120\",\n\t`tabLead`.territory as \"Territory::120\",\n `tabLead`.owner as \"Owner:Link/User:120\"\nFROM\n\t`tabLead`\n\tleft join `tabAddress` on (\n\t\t`tabAddress`.lead=`tabLead`.name\n\t)\nWHERE\n\t`tabLead`.docstatus<2\nORDER BY\n\t`tabLead`.name asc",
|
|
"ref_doctype": "Lead",
|
|
"report_name": "Lead Details",
|
|
"report_type": "Query Report"
|
|
} |