<bm:data-filtername="query"expression="(exists (select 1 from csh_write_off cw where cw.csh_transaction_id=transaction_id and cw.write_off_type='DEPOSIT_CREDIT'))"/>
<bm:data-filtername="query"expression="(exists (select 1 from csh_write_off cw where cw.csh_transaction_id=transaction_id and cw.write_off_type='DEPOSIT_CREDIT' and cw.reversed_flag='N'))"/>