<!--<bm:query-field name="contract_number" queryExpression="(SELECT cc.contract_number FROM con_contract cc WHERE cc.contract_id = t1.ref_contract_id) like '%'||upper(${@contract_number})||'%'"/>-->
<bm:query-fieldname="bp_id_telnet_n"queryExpression="(select hb.bp_name from hls_bp_master hb,con_contract ct where ct.contract_id=t1.ref_contract_id and hb.bp_id=ct.bp_id_tenant) like ${@bp_id_telnet_n}"/>
<bm:query-fieldname="contract_number"queryExpression="(SELECT cc.contract_number FROM con_contract cc WHERE cc.contract_id = t1.ref_contract_id) like '%'||${@contract_number}||'%'"/>
<bm:query-fieldname="bp_name_n"queryExpression="(select d.bp_name from hls_bp_master_v d where d.bp_id=t1.bp_id) like ${@bp_name_n} "/>
<bm:query-fieldname="bp_name_n"queryExpression="(select d.bp_name from hls_bp_master_v d where d.bp_id=t1.bp_id) like '%'||${@bp_name_n}||'%' "/>
<!--<bm:query-field name="contract_number" queryExpression="(SELECT cc.contract_number FROM con_contract cc WHERE cc.contract_id = t1.ref_contract_id) like '%'||upper(${@contract_number})||'%'"/>-->
<bm:query-fieldname="bp_id_telnet_n"queryExpression="(select hb.bp_name from hls_bp_master hb,con_contract ct where ct.contract_id=t1.ref_contract_id and hb.bp_id=ct.bp_id_tenant) like ${@bp_id_telnet_n}"/>
<bm:query-fieldname="contract_number"queryExpression="(SELECT cc.contract_number FROM con_contract cc WHERE cc.contract_id = t1.ref_contract_id) like '%'||${@contract_number}||'%'"/>
<bm:query-fieldname="bp_name_n"queryExpression="(select d.bp_name from hls_bp_master_v d where d.bp_id=t1.bp_id) like ${@bp_name_n} "/>
<bm:query-fieldname="bp_name_n"queryExpression="(select d.bp_name from hls_bp_master_v d where d.bp_id=t1.bp_id) like '%'||${@bp_name_n}||'%' "/>
<!--<bm:query-field name="contract_number" queryExpression="(SELECT cc.contract_number FROM con_contract cc WHERE cc.contract_id = t1.ref_contract_id) like '%'||upper(${@contract_number})||'%'"/>-->
<bm:query-fieldname="bp_id_telnet_n"queryExpression="(select hb.bp_name from hls_bp_master hb,con_contract ct where ct.contract_id=t1.ref_contract_id and hb.bp_id=ct.bp_id_tenant) like ${@bp_id_telnet_n}"/>
<bm:query-fieldname="contract_number"queryExpression="(SELECT cc.contract_number FROM con_contract cc WHERE cc.contract_id = t1.ref_contract_id) like '%'||${@contract_number}||'%'"/>
<bm:query-fieldname="bp_name_n"queryExpression="(select d.bp_name from hls_bp_master_v d where d.bp_id=t1.bp_id) like ${@bp_name_n} "/>
<bm:query-fieldname="bp_name_n"queryExpression="(select d.bp_name from hls_bp_master_v d where d.bp_id=t1.bp_id) like '%'||${@bp_name_n}||'%' "/>
<!--<bm:query-field name="contract_number" queryExpression="(SELECT cc.contract_number FROM con_contract cc WHERE cc.contract_id = t1.ref_contract_id) like '%'||upper(${@contract_number})||'%'"/>-->
<bm:query-fieldname="bp_id_telnet_n"queryExpression="(select hb.bp_name from hls_bp_master hb,con_contract ct where ct.contract_id=t1.ref_contract_id and hb.bp_id=ct.bp_id_tenant) like ${@bp_id_telnet_n}"/>
<bm:query-fieldname="contract_number"queryExpression="(SELECT cc.contract_number FROM con_contract cc WHERE cc.contract_id = t1.ref_contract_id) like '%'||${@contract_number}||'%'"/>
<bm:query-fieldname="bp_name_n"queryExpression="(select d.bp_name from hls_bp_master_v d where d.bp_id=t1.bp_id) like ${@bp_name_n} "/>
<bm:query-fieldname="bp_name_n"queryExpression="(select d.bp_name from hls_bp_master_v d where d.bp_id=t1.bp_id) like '%'||${@bp_name_n}||'%' "/>
<bm:data-filtername="query"expression="(exists (select 1 from sys_user su where su.user_id= ${/session/@user_id} and (su.user_name in('HAND','HL_ADMIN') or (su.user_name not in('HAND','HL_ADMIN') and su.user_id=t.recipient_id) )))"/>
<!-- <bm:data-filter name="query" expression="(exists (select 1 from sys_user su where su.user_id= ${/session/@user_id} and (su.user_name in('HAND','HL_ADMIN') or (su.user_name not in('HAND','HL_ADMIN') and su.user_id=t.recipient_id) )))"/>-->
<bm:data-filtername="query"expression="(exists (select 1 from sys_role sr where sr.role_id= ${/session/@role_id} and (sr.role_code in('0017','HAND') or (sr.role_code not in('0017','HAND') and ${/session/@user_id}=t.recipient_id) )))"/>