<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:fieldname="transaction_amount"databaseType="NUMBER"datatype="java.lang.Double"physicalName="TRANSACTION_AMOUNT"prompt="CSH511.CSH_TRANSACTION.TRANSACTION_AMOUNT"expression="(select to_char(transaction_amount,'99999999.99') from dual)"/>
<bm:fieldname="debt_confirmed_by_desc"expression="(select description from sys_user where user_id=t1.debt_confirmed_by)"forInsert="false"forUpdate="false"/>
<bm:fieldname="acc_confirmed_by"/>
<bm:fieldname="acc_confirmed_by_desc"expression="(select description from sys_user where user_id=t1.acc_confirmed_by)"forInsert="false"forUpdate="false"/>
<bm:fieldname="receipt_type_n"expression="(select v.code_value_name from sys_code_values_v v where v.code = 'RECEIPT_TYPE' and v.code_value =t1.receipt_type)"forInsert="false"forUpdate="false"/>
<bm:fieldname="paid_byother_flag_n"expression="(select v.code_value_name from sys_code_values_v v where v.code = 'PAID_BYOTHER_FLAG' and v.code_value =t1.paid_byother_flag)"forInsert="false"forUpdate="false"/>
<a:model-querydefaultWhereClause="t1.user_id=${/session/@user_id} and position_code in(00215,00215)"fetchAll="true"model="csh.CSH509.query_roles_info"rootPath="position_code"/>
<a:model-querydefaultWhereClause="t1.user_id=${/session/@user_id} and position_code in(002)"fetchAll="true"model="csh.CSH509.query_roles_info"rootPath="position_code"/>