Added Report : Customers Without Any Sales Transactions

This commit is contained in:
Basawaraj 2018-05-17 16:54:03 +05:30
parent f4feedace4
commit 6d334b8135
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{
"add_total_row": 0,
"creation": "2018-05-17 15:25:06.015111",
"disabled": 0,
"docstatus": 0,
"doctype": "Report",
"idx": 0,
"is_standard": "Yes",
"modified": "2018-05-17 16:31:21.306588",
"modified_by": "Administrator",
"module": "Selling",
"name": "Customers Without Any Sales Transactions",
"owner": "Administrator",
"query": "SELECT\n `tabCustomer`.name as \"Customer Id:Link/Customer:120\",\n `tabCustomer`.customer_name as \"Customer Name::120\",\n `tabCustomer`.territory as \"Territory:Link/Territory:120\",\n `tabCustomer`.customer_group as \"Customer Group:Link/Customer Group:120\"\nFROM\n `tabCustomer` \nLEFT JOIN\n `tabSales Invoice` ON `tabCustomer`.name = `tabSales Invoice`.customer \nLEFT JOIN\n `tabSales Order` ON `tabCustomer`.name = `tabSales Order`.customer\nWHERE\n ( `tabSales Invoice`.customer IS NULL OR `tabSales Invoice`.docstatus != 1 ) AND (`tabSales Order`.customer IS NULL OR `tabSales Order`.docstatus != 1 )",
"ref_doctype": "Sales Invoice",
"report_name": "Customers Without Any Sales Transactions",
"report_type": "Query Report",
"roles": [
{
"role": "Sales User"
},
{
"role": "Sales Manager"
},
{
"role": "System Manager"
}
]
}