var add_datafilters = [ {
	name : 'query',
	expression : " (${/session/@user_id} = 1 or t1.rent_user_id =${/session/@user_id} or t1.business_user_id =${/session/@user_id} or ${/session/@user_id} in (SELECT su.user_id FROM sys_user su, exp_employee_assigns eea, exp_employees ex,exp_org_position_vl eo WHERE su.employee_id = eea.employee_id AND eea.position_id = eo.position_id and ex.employee_id = su.employee_id and nvl(su.frozen_flag, 'N') <> 'Y' and eea.enabled_flag = 'Y' and ex.enabled_flag = 'Y' and eo.enabled_flag = 'Y' and sysdate between su.start_date and nvl(su.end_date, to_date('3000-01-01', 'yyyy-mm-dd')) and eo.POSITION_CODE = '300'))"
}];

add_datafilter();

var override_queryfields = [ 

{
	field : 'project_name',
	queryoperator : "like"
},
{
	field : 'bp_name',
	queryoperator : "like"
},
{
	field : 'project_number',
	queryoperator : "like"
},
{
	name : 'creation_date_from',
	queryexpression : "t1.creation_date >=to_date(${@creation_date_from},'yyyy-mm-dd')"
},
{
	name : 'creation_date_to',
	queryexpression : "trunc(t1.creation_date) <=to_date(${@creation_date_to},'yyyy-mm-dd')"
},
{
	field : 'employee_id',
	queryoperator : "="
},
{
	field : 'lease_organization',
	queryoperator : "="
},
{
	field : 'employee_id_of_manager',
	queryoperator : "="
},
{
	field : 'document_type',
	queryoperator : "="
}

];

override();
