var override_queryfields = [
{
	field:'loan_contract_name',
	queryoperator:'like'
},
{
	field:'document_number',
	queryoperator:'like'
},
{
	field:'loan_contract_number',
	queryoperator:'like'
},
{
	field:'loan_con_bp_name',
	queryoperator:'like'
},
{
	field:'inside_or_outside',
	queryoperator:'='
},
{
	field:'inside_or_outside_n',
	queryoperator:'like'
},
{	
	name:'lease_item_amount_from',
	queryexpression:"t1.lease_item_amount>=${@lease_item_amount_from}"
},
{	
	name:'lease_item_amount_to',
	queryexpression:"t1.lease_item_amount<=${@lease_item_amount_to}"
},
{	
	name:'lease_start_date_from',
	queryexpression:"to_date(t1.lease_start_date,'yyyy-mm-dd')>=to_date(${@lease_start_date_from},'yyyy-mm-dd')"
},
{	
	name:'lease_start_date_to',
	queryexpression:"to_date(t1.lease_start_date,'yyyy-mm-dd')<=to_date(${@lease_start_date_to},'yyyy-mm-dd')"
}

 ];
 
var add_datafilters = [ {
	name : 'check_flag',
	expression : " T1.wfl_status='APPROVED' and nvl(T1.review_flag,'N')='Y'  AND NVL(T1.DOCUMENT_STATUS,'NEW')='REVIEW' and t1.data_class='NORMAL'"
} ];

add_datafilter();
override();
