var override_queryfields = [ 
{
	name : 'hd_user_col_v02_from',
	queryexpression : "t1.hd_user_col_v02 >= ${@hd_user_col_v02_from}"
},
{
	name : 'hd_user_col_v02_to',
	queryexpression : "t1.hd_user_col_v02 <= ${@hd_user_col_v02_to}"
}
];

var add_datafilters=[{
	name:'authority_flag',
	expression : "exists (select 1 from sys_user su where (su.bp_category = 'EMPLOYEE' or t1.bp_id_agent_level1=su.bp_id) and su.user_id = ${/session/@user_id})"
},
{	name:'init_filter',
	expression : "t1.archive_status in ('20','30') and t1.contract_status != 'CANCEL'"
	
}
];

add_datafilter();

override();
