<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 AND ccc.cf_status<>'BLOCK') - (select sum(ccc.received_amount) from con_contract_cashflow ccc where contract_id = t1.contract_id and cf_item = 1 AND ccc.cf_status<>'BLOCK')) = 0"/>
<bm:data-filterenforceOperations="query"expression="t1.contract_status not in ('CLOSED') "/>
<bm:data-filterenforceOperations="query"expression="t1.contract_status in ('INCEPT','ETING','REPURING','TERMINATING') "/>
<bm:fieldname="bp_name"expression="(select bp_name from hls_bp_master where bp_id=t1.bp_id_tenant and enabled_flag='Y')"forInsert="false"forUpdate="false"/>