var override_queryfields = [
		{
			field : 'bp_name',
			queryoperator : "like"
		},
		{
			field : 'project_number',
			queryoperator : "like"
		},
		{
			name : 'create_date_from',
			queryexpression : "t1.create_date >=to_date(${@create_date_from},'yyyy-mm-dd')"
		},
		{
			name : 'create_date_to',
			queryexpression : "trunc(t1.create_date) <=to_date(${@create_date_to},'yyyy-mm-dd')"
		},
		{
			field : 'division',
			queryoperator : "="
		}, {
			field : 'lease_channel',
			queryoperator : "="
		},
		{
			field : 'project_status',
			queryoperator : "="
		}

];
var add_datafilters = [
		{
			name : 'init_filter',
			expression : "exists (select 1 from sys_user su where (su.bp_category = 'EMPLOYEE' or t1.invoice_agent_id=su.bp_id) and su.user_id = ${/session/@user_id})"
		}, {
			name : 'project_status',
			expression : "t1.project_status not in ('CLOSED')"
		} ];

add_datafilter();

override();
