<bm:query-fieldname="reverse_detail_flag"queryExpression="(${@deposit_type}='Y' and t1.write_off_type='DEPOSIT_CREDIT')or(${@reverse_detail_flag}='Y' and ${@deposit_type} in('N',null) and t1.write_off_type in ('RECEIPT_CREDIT','RECEIPT_ADVANCE_RECEIPT','ADVANCE_RECEIPT_CREDIT','DEPOSIT','RISK','DEPOSIT_CUS','RECEIPT_NONBUSINESS'))"/>
<bm:query-fieldname="reverse_detail_flag"queryExpression="(nvl(${@deposit_type},'N')='Y' and t1.write_off_type='DEPOSIT_CREDIT')or(${@reverse_detail_flag}='Y' and nvl(${@deposit_type},'N') in('N',null) and t1.write_off_type in ('RECEIPT_CREDIT','RECEIPT_ADVANCE_RECEIPT','ADVANCE_RECEIPT_CREDIT','DEPOSIT','RISK','DEPOSIT_CUS','RECEIPT_NONBUSINESS'))"/>
<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="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="deposit_trans_type_desc"expression="(select v.code_value_name from sys_code_values_v v where v.code = 'DEPOSIT_TRANS_TYPE' and v.code_value =t1.deposit_trans_type)"forInsert="false"forUpdate="false"/>
<bm:fieldname="deposit_trans_type_desc"expression="(select v.code_value_name from sys_code_values_v v where v.code = 'DEPOSIT_TRANS_TYPE' and v.code_value =t1.deposit_trans_type)"forInsert="false"forUpdate="false"/>
<bm:fieldname="bp_name_n"expression="(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)"forInsert="false"forUpdate="false"/>
<bm:fieldname="bp_id_telnet_n"expression="(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)"forInsert="false"forUpdate="false"/>
<bm:fieldname="bp_id_telnet_n"expression="(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_agent_level1)"forInsert="false"forUpdate="false"/>
<bm:fieldname="bp_name_n"expression="(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_agent_level1)"forInsert="false"forUpdate="false"/>
</bm:fields>
</bm:fields>
<bm:features>
<bm:features>
<f:standard-who/>
<f:standard-who/>
...
@@ -161,7 +161,7 @@
...
@@ -161,7 +161,7 @@
<!--<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-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="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="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 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_agent_level1) 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: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: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-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="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="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 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_agent_level1) 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: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: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-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="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="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 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_agent_level1) 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: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="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="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="deposit_trans_type"/>
<bm:fieldname="deposit_trans_type"/>
<bm:fieldname="deposit_trans_type_desc"expression="(select v.code_value_name from sys_code_values_v v where v.code = 'DEPOSIT_TRANS_TYPE' and v.code_value =t1.deposit_trans_type)"forInsert="false"forUpdate="false"/>
<bm:fieldname="deposit_trans_type_desc"expression="(select v.code_value_name from sys_code_values_v v where v.code = 'DEPOSIT_TRANS_TYPE' and v.code_value =t1.deposit_trans_type)"forInsert="false"forUpdate="false"/>
<bm:fieldname="bp_name_n"expression="(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)"forInsert="false"forUpdate="false"/>
<bm:fieldname="bp_id_telnet_n"expression="(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)"forInsert="false"forUpdate="false"/>
<bm:fieldname="bp_id_telnet_n"expression="(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_agent_level1)"forInsert="false"forUpdate="false"/>
<bm:fieldname="bp_name_n"expression="(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_agent_level1)"forInsert="false"forUpdate="false"/>
<bm:fieldname="source_type"/>
<bm:fieldname="source_type"/>
</bm:fields>
</bm:fields>
<bm:features>
<bm:features>
...
@@ -162,7 +162,7 @@
...
@@ -162,7 +162,7 @@
<bm:query-fieldname="bank_account_num"queryExpression="(select a.bank_account_num from csh_bank_account a where a.bank_account_id=t1.bank_account_id) like '%'||upper(${@bank_account_num})||'%'"/>
<bm:query-fieldname="bank_account_num"queryExpression="(select a.bank_account_num from csh_bank_account a where a.bank_account_id=t1.bank_account_id) like '%'||upper(${@bank_account_num})||'%'"/>
<!--<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-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="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 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_agent_level1) 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} "/>