<bm:fieldname="is_terminate"expression="((select sum(ccc.due_amount) from con_contract_cashflow ccc where contract_id = t1.contract_id and cf_item = 1) - (select sum(ccc.received_amount) from con_contract_cashflow ccc where contract_id = t1.contract_id and cf_item = 1)) = 0"/>
<!-- <bm:data-filter enforceOperations="query" expression="t1.contract_status not in ('TERMINATING','CLOSED') "/>-->
<bm:data-filterenforceOperations="query"expression="t1.contract_status not in ('CLOSED') "/>