# Search Criteria, sales_agentwise_commission
[

	# These values are common in all dictionaries
	{
		'creation': '2010-08-26 11:52:28',
		'docstatus': 0,
		'modified': '2010-08-26 11:48:17',
		'modified_by': 'Administrator',
		'owner': 'Administrator'
	},

	# These values are common for all Search Criteria
	{
		'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',
		'columns': 'Sales Order\x01Business Associate',
		'criteria_name': 'Sales Agentwise Commission',
		'description': 'Sales Agentwise Commission',
		'disabled': 1,
		'doc_type': 'Sales Order',
		'doctype': 'Search Criteria',
		'filters': "{'Sales Order\x01Submitted':1}",
		'group_by': '`tabSales Order`.`sales_partner`',
		'module': 'Selling',
		'name': '__common__',
		'page_len': 50,
		'sort_order': 'DESC',
		'standard': 'Yes'
	},

	# Search Criteria, sales_agentwise_commission
	{
		'doctype': 'Search Criteria',
		'name': 'sales_agentwise_commission'
	}
]