<bm:data-filtername="query"expression="(t1.company_id=${/session/@company_id} and t1.posted_flag='Y' and t1.reversed_flag='N' and write_off_flag<> 'FULL' and returned_flag not in ( 'FULL','RETURN') and t1.transaction_type in ('RECEIPT','ADVANCE_RECEIPT') and (nvl(t1.returned_amount, 0)+nvl(t1.write_off_amount, 0)<t1.transaction_amount)) "/>
<bm:data-filtername="query"expression="(t1.confirmed_flag='APPROVED' and t1.write_off_flag in('NOT','PARTIAL'))"/>
<bm:data-filtername="query"expression="(t1.confirmed_flag='ACCAUDITED' and t1.write_off_flag in('NOT','PARTIAL'))"/>
<a:model-query defaultWhereClause="t.code = 'CSH511_TRANSACTION_TYPE' and t.code_value in ('RECEIPT','ADVANCE_RECEIPT')" fetchAll="true" model="sys.sys_code_values_v" rootPath="transaction_type"/>
<a:model-query defaultWhereClause="t.code = 'CSH510_RETURN_SELECT' and t.code_value not in ('RETURN')" fetchAll="true" model="sys.sys_code_values_v" rootPath="returned_flag_rp"/>
<a:model-query defaultWhereClause="t.code = 'CSH510_REVERSE_SELECT' and t.code_value not in ('R')" fetchAll="true" model="sys.sys_code_values_v" rootPath="reversed_flag_rp"/>