expression="c.contract_id = ccc.contract_id and ccc.due_date <= trunc(sysdate) and c.data_class = 'NORMAL' and ccc.write_off_flag != 'FULL' and c.contract_status in ('SIGN','INCEPT') and ccc.cf_status = 'RELEASE' and ccc.cf_direction = 'INFLOW' and c.pay_method is not null and ccc.cf_item in (1,9)"/>
<bm:data-filtername="query"
expression="not exists(select 1 from hls_ebank_batch_group g,hls_ebank_batch_ln l where g.status in ('NEW','DEAL') and g.group_id = l.group_id and l.cashflow_id = ccc.cashflow_id)"/>
expression="not exists(select 1 from hls_ebank_batch_group g,hls_ebank_batch_ln l where g.status in ('NEW','DEAL') and g.group_id = l.group_id and l.cashflow_id = t.cashflow_id)"/>
<bm:query-fieldfield="bp_category"queryExpression="(t1.bp_category = ${@bp_category} or exists(select 1 from hls_bp_master_role br where br.bp_id = t1.bp_id and br.bp_category = ${@bp_category} and br.bp_type = ${@bp_category}))"/>
<bm:query-fieldfield="bp_category_name"queryExpression="(t1.bp_category_name like '%'||${@bp_category_name}||'%')"/>
<!-- <bm:query-field name="contract_bp_flag" queryExpression="(exists (select 1 from con_contract_bp b where b.contract_id in (${:@contract_id}) and b.bp_id = t1.bp_id and b.bp_category in ('VENDER','TENANT','TENANT_SEC') )or nvl(${@contract_bp_flag},'N') != 'Y' )"/> -->
<bm:fieldname="current_month_income"databaseType="NUMBER"datatype="java.lang.Double"expression="(select sum(t.unearned_finance_income) from con_unearned_finance_income t where t.contract_id =t1.contract_id and t.internal_period_num =${@internal_period_num})"forInsert="false"forUpdate="false"/>
<bm:fieldname="contract_number"databaseType="VARCHAR2"datatype="java.lang.String"expression="(select t.contract_number from con_contract t where t.contract_id =t1.contract_id )"forInsert="false"forUpdate="false"/>
<bm:fieldname="contract_name"databaseType="VARCHAR2"datatype="java.lang.String"expression="(select t.contract_name from con_contract t where t.contract_id =t1.contract_id )"forInsert="false"forUpdate="false"/>