<bm:fieldname="can_returned_amount"expression="(select transaction_amount-nvl(returned_amount,0) from dual)"/>
<bm:fieldname="can_returned_amount"expression="(select transaction_amount-nvl(returned_amount,0)-nvl(write_off_amount,0) from dual)"/>
<bm:fieldname="this_return_amount"expression="nvl((sELECT r.this_return_amount from csh_transaction_return r WHERE status='APPROVING' AND r.transaction_id=t1.transaction_id),0)"/>
<bm:fieldname="gsber"/>
<bm:fieldname="sus_belnr"/>
...
...
@@ -109,7 +109,7 @@
</bm:primary-key>
<bm:data-filters>
<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='ACCAUDITED' and t1.write_off_flag in('NOT','PARTIAL'))"/>
<bm:data-filtername="query"expression="(t1.confirmed_flag not in ('ACCAUDITING','NEW','CT_REJECTED') and t1.write_off_flag in('NOT','PARTIAL'))"/>