<bm:fieldname="import_source_desc"expression="(select v.code_value_name from sys_code_values_v v where v.code = 'CSH510_IMPORT_SOURCE' and v.code_value =t1.import_source)"forInsert="false"forUpdate="false"/>
<bm:fieldname="recoi_status"expression="(select v.code_value_name from sys_code_values_v v where v.code = 'RECOI_FLAG' and v.code_value =t1.recoi_status)"forInsert="false"forUpdate="false"/>
<bm:fieldname="recoi_status_n"expression="(select v.code_value from sys_code_values_v v where v.code = 'RECOI_FLAG' and v.code_value =t1.recoi_status)"forInsert="false"forUpdate="false"/>
<bm:fieldname="confirmed_flag_desc"expression="(select v.code_value_name from sys_code_values_v v where v.code = 'CONFIRMED_FLAG' and v.code_value =t1.confirmed_flag)"forInsert="false"forUpdate="false"/>
<!--end-->
</bm:fields>
<bm:features>
...
...
@@ -172,9 +173,8 @@
</bm:query-fields>
<bm:data-filters>
<bm:data-filtername="query"expression="(t1.company_id=${/session/@company_id} AND t1.reversed_flag = 'N' and t1.returned_flag != 'FULL')"/>
<bm:data-filtername="query"expression="(t1.transaction_type in ('ADVANCE_RECEIPT','RECEIPT',DECODE(${@cw_flag},'Y',NULL,DECODE(t1.source_type,NULL,NULL,'DEPOSIT'))) and t1.confirmed_flag in ('WF_APPROVING','ACCAUDITED','APPROVED','WF_REJECTED')) "/>
<bm:data-filtername="query"expression="(t1.transaction_type in ('ADVANCE_RECEIPT','RECEIPT',DECODE(${@cw_flag},'Y',NULL,DECODE(t1.source_type,NULL,NULL,'DEPOSIT'))) and t1.confirmed_flag in ('ACCAUDITED','APPROVED','WF_REJECTED')) "/>
<bm:data-filtername="position_code"expression="(((${@cw_flag} = 'Y') or (${@position_code} = '009' and t1.created_by != ${/session/@user_id} and (t1.paid_byother_flag = 'F' and t1.bp_category = 'TENANT' and t1.confirmed_flag != 'ACCAUDITED') or (${/session/@user_id} = 1)) or (${@position_code} = '014' and t1.created_by != ${/session/@user_id} and ((((t1.paid_byother_flag != 'F' or t1.bp_category != 'TENANT')) or t1.transaction_type = 'DEPOSIT') and t1.confirmed_flag != 'ACCAUDITED' and t1.created_by != ${/session/@user_id}) or (${/session/@user_id} = 1))))"/>