{
 "apply_user_permissions": 1,
 "creation": "2012-10-04 18:45:27",
 "docstatus": 0,
 "doctype": "Report",
 "idx": 1,
 "is_standard": "Yes",
 "modified": "2014-07-14 07:18:17.006732",
 "modified_by": "Administrator",
 "module": "Selling",
 "name": "Customer Addresses and Contacts",
 "owner": "Administrator",
 "query": "SELECT\n\t`tabCustomer`.name as customer_id,\n\t`tabCustomer`.customer_name,\n\t`tabCustomer`.customer_group,\n\t`tabAddress`.address_line1,\n\t`tabAddress`.address_line2,\n\t`tabAddress`.city,\n\t`tabAddress`.state,\n\t`tabAddress`.pincode,\n\t`tabAddress`.country,\n\t`tabAddress`.is_primary_address, \n\t`tabContact`.first_name,\n\t`tabContact`.last_name,\n\t`tabContact`.phone,\n\t`tabContact`.mobile_no,\n\t`tabContact`.email_id,\n\t`tabContact`.is_primary_contact\nFROM\n\t`tabCustomer`\n\tleft join `tabAddress` on (\n\t\t`tabAddress`.customer=`tabCustomer`.name\n\t)\n\tleft join `tabContact` on (\n\t\t`tabContact`.customer=`tabCustomer`.name\n\t)\nWHERE\n\t`tabCustomer`.docstatus<2\nORDER BY\n\t`tabCustomer`.name asc",
 "ref_doctype": "Customer",
 "report_name": "Customer Addresses And Contacts",
 "report_type": "Query Report"
}
