<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="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"/>
<bm:fieldname="paid_byother_flag"/>
<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="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="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="extra_nam"expression="(select v.extra_nam from hls_bp_master v where v.enabled_flag = 'Y' and v.bp_category = 'AGENT' and v.bp_id = t1.bp_id)"forInsert="false"forUpdate="false"/>
</bm:fields>
</bm:fields>
<bm:features>
<bm:features>
<f:standard-who/>
<f:standard-who/>
...
@@ -159,5 +162,6 @@
...
@@ -159,5 +162,6 @@
<bm:query-fieldname="description"queryExpression="t1.description like '%'||${@description}||'%'"/>
<bm:query-fieldname="description"queryExpression="t1.description like '%'||${@description}||'%'"/>
<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-fieldname="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="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="extra_nam"queryExpression="(SELECT cc.extra_nam FROM hls_bp_master cc WHERE cc.enabled_flag = 'Y' and cc.bp_category = 'AGENT' and cc.bp_id = t1.bp_id ) like '%'||upper(${@extra_nam})||'%'"/>
(select v.extra_nam from hls_bp_master v where v.enabled_flag = 'Y' and v.bp_category = 'AGENT' and v.bp_id = t.bp_id) extra_nam,
(case when t.paid_byother_flag = 'T' and (select v.extra_nam from hls_bp_master v where v.enabled_flag = 'Y' and v.bp_category = 'AGENT' and v.bp_id = t.bp_id) = '深圳美鹏' then