FROM ACR_INVOICE_CONTRACT_V t1, ACR_INVOICE_CONTRACT_CF_V t2
FROM ACR_INVOICE_CONTRACT_V t1, ACR_INVOICE_CONTRACT_CF_V t2
WHERE t2.due_date<sysdate
#WHERE_CLAUSE#
ORDER BY
ORDER BY
t1.contract_id,
t1.contract_id,
t2.times,
t2.times,
t2.due_date,
t2.due_date,
t2.cf_item
t2.cf_item
]]></bm:query-sql>
]]></bm:query-sql>
</bm:operation>
</bm:operation>
</bm:operations>
</bm:operations>
...
@@ -341,6 +343,7 @@
...
@@ -341,6 +343,7 @@
<bm:query-fieldname="bill_flag"
<bm:query-fieldname="bill_flag"
queryExpression="(${@bill_flag} = 'Y' and t1.billing_frequency in (${@times_bill_flag},${@mid_bill_flag},${@final_bill_flag},${@et_bill_flag}) )"/>
queryExpression="(${@bill_flag} = 'Y' and t1.billing_frequency in (${@times_bill_flag},${@mid_bill_flag},${@final_bill_flag},${@et_bill_flag}) )"/>
<bm:query-fieldname="all_contract_number"
<bm:query-fieldname="all_contract_number"
queryExpression="(t1.contract_number in (Select regexp_substr( replace(replace(replace(${@all_contract_number},chr(32)),chr(10)),chr(13)), '[^,]+', 1, Level) From dual Connect By regexp_substr(replace(replace(replace(${@all_contract_number},chr(32)),chr(10)),chr(13)), '[^,]+', 1, Level) Is Not Null) )"/>
queryExpression="(t1.contract_number in (Select regexp_substr( replace(replace(replace(${@all_contract_number},chr(32)),chr(10)),chr(13)), '[^,]+', 1, Level) From dual Connect By regexp_substr(replace(replace(replace(${@all_contract_number},chr(32)),chr(10)),chr(13)), '[^,]+', 1, Level) Is Not Null) )"/>
expression="t2.billing_status != 'FULL' and t2.cf_direction='INFLOW'"/>
expression="t2.billing_status != 'FULL' and t2.cf_direction='INFLOW'"/>
<bm:data-filterenforceOperations="query"
<!-- <bm:data-filter enforceOperations="query"
expression="t2.contract_id = t1.contract_id AND t1.billing_status IN ('NOT', 'PARTIAL') AND t1.contract_status not in ('NEW','CANCEL') AND t2.cf_status = 'RELEASE'"/>
expression="t2.contract_id = t1.contract_id AND t1.billing_status IN ('NOT', 'PARTIAL') AND t1.contract_status not in ('NEW','CANCEL') AND t2.cf_status = 'RELEASE'"/>
<bm:data-filtername="query"expression="exists(select 1 from con_contract_cashflow ccc where (ccc.due_date <= sysdate and ccc.cashflow_id = t2.cashflow_id and t1.inv_object_taxpayer_type != 'GENERAL_TAXPAYER') or (t1.bill_object_bp_class = 'ORG' and ccc.cashflow_id = t2.cashflow_id and t1.inv_object_taxpayer_type = 'GENERAL_TAXPAYER'))"/>
var iframe = Ext.get('word_export_window') || new Ext.Template('<iframeid ="word_export_window"name="word_export_window"style="position:absolute;left:-10000px;top:-10000px;width:1px;height:1px;display:none"></iframe>').insertFirst(document.body, {}, true);
// var iframe = Ext.get('word_export_window') || new Ext.Template('<iframeid ="word_export_window"name="word_export_window"style="position:absolute;left:-10000px;top:-10000px;width:1px;height:1px;display:none"></iframe>').insertFirst(document.body, {}, true);
<a:model-querydefaultWhereClause="header_id=${/model/header/record/@header_id} and TEMPLATE_CODE = 'CSH_TRX_BANK'"model="basic.hls_fnd_attribute_status"rootPath="status"/>
new Ext.Template('<iframe id ="_input_window" name="_input_window" border="0" frameborder="0" height="100%" width="100%" style="border:none;padding:0px;margin:0px;"></iframe>').insertFirst(_input_window.body.dom, {}, true);
var form = document.getElementById('importForm');
var url = '${/request/@context_path}/modules/hls/HLS204N/hls_lease_item_gps_excel_import.lview?session_id=${/parameter/@session_id}&winid=${/parameter/@winid}&batch_id=${/parameter/@batch_id}&_csrf=${/session/@_csrf.token}';