<bm:data-filterenforceOperations="query"expression="t1.internal_period_num = ${@internal_period_num} and exists (select 1 from con_contract t where t.contract_id=t1.contract_id and t.contract_status = 'INCEPT' and t.data_class = 'NORMAL') and exists (select 1 from con_contract_cashflow c where c.cashflow_id = t1.cashflow_id and c.interest is not null)"/>
<bm:data-filterenforceOperations="query"expression="t1.internal_period_num = ${@internal_period_num} and exists (Select 1 From con_contract c Where t1.contract_id = c.contract_id And c.data_class = 'NORMAL' And (c.contract_status = 'INCEPT' Or c.contract_status = 'TERMINATE' Or (c.contract_status = 'PENDING' And Exists (Select 1 From con_contract_et_hd e Where e.contract_id = c.contract_id And e.document_type = 'ET' And e.available_flag = 'Y' And e.status = 'NEW')) Or c.contract_status = 'ETING' Or (c.contract_status = 'PENDING' And Exists (Select 1 From con_contract_change_req cc Where cc.contract_id = c.contract_id And cc.document_type = 'PAYCARD' And cc.req_status In ('NEW'))))) and exists (select 1 from con_contract_cashflow c where c.cashflow_id = t1.cashflow_id and c.interest is not null)"/>
<bm:data-filterenforceOperations="query"expression="t1.cashflow_id in (select cw.cashflow_id from con_contract_cashflow cw where cw.cf_direction not in ('NONCASH'))"/>
<!-- <bm:data-filter enforceOperations="query" expression="t1.contract_id in (select contract_id from con_contract t where nvl(t.fraud_flag,'N') !='Y')"/>-->