<bm:query-fieldfield="bp_category"queryExpression="(t1.bp_category = ${@bp_category} or exists(select 1 from hls_bp_master_role br where br.bp_id = t1.bp_id and br.bp_category = ${@bp_category} and br.bp_type = ${@bp_category}))"/>
<bm:query-fieldfield="bp_category_name"queryExpression="(t1.bp_category_name like '%'||${@bp_category_name}||'%')"/>
<!-- <bm:query-field name="contract_bp_flag" queryExpression="(exists (select 1 from con_contract_bp b where b.contract_id in (${:@contract_id}) and b.bp_id = t1.bp_id and b.bp_category in ('VENDER','TENANT','TENANT_SEC') )or nvl(${@contract_bp_flag},'N') != 'Y' )"/> -->
<bm:data-filtername="query"expression="(t1.bp_category in ('TENANT','AGENT','VENDER') or exists(select 1 from hls_bp_master_role br where br.bp_id = t1.bp_id and br.enabled_flag = 'Y' and br.bp_category in('TENANT','AGENT','VENDER') and br.bp_type in('TENANT','AGENT','VENDER')))"/>