brotherton-erpnext/crm/search_criteria/sales_agentwise_commission/sales_agentwise_commission.txt

37 lines
1.2 KiB
Plaintext
Raw Normal View History

[
{
'add_col': "SUM(`tabSales Order`.`total_commission`) AS 'Total Commission'\nSUM(`tabSales Order`.`net_total`) AS 'Net Total'\n((SUM(`tabSales Order`.`total_commission`) / SUM(`tabSales Order`.`net_total`)) * 100) AS 'Average Commission Rate'",
'add_cond': '`tabSales Order`.`net_total` > 0',
'add_tab': None,
'columns': 'Sales Order\x01Business Associate',
'creation': '2010-08-26 11:52:27',
'criteria_name': 'Sales Agentwise Commission',
'custom_query': '',
'description': 'Sales Agentwise Commission',
'dis_filters': None,
'disabled': 1,
'doc_type': 'Sales Order',
'docstatus': 0,
'doctype': 'Search Criteria',
'filters': "{'Sales Order\x01Submitted':1}",
'graph_series': '',
'graph_values': '',
'group_by': '`tabSales Order`.`sales_partner`',
'idx': None,
'modified': '2010-08-26 11:48:17',
'modified_by': 'Administrator',
'module': 'CRM',
'name': 'sales_agentwise_commission',
'owner': 'Administrator',
'page_len': 50,
'parent': None,
'parent_doc_type': None,
'parentfield': None,
'parenttype': None,
'report_script': None,
'server_script': None,
'sort_by': '',
'sort_order': 'DESC',
'standard': 'Yes'
}
]