Commit c7cb90f3 authored by 18083's avatar 18083

经租付款代码还原

parent b1151109
......@@ -101,8 +101,7 @@
and t.business_type = 'OTHERS'
and t.document_type = 'PUR_ORDER'
and t.division='95'
AND nvl(t.contract_status,'NEW') = 'INCEPT'
AND NOT EXISTS(SELECT 1
AND NOT EXISTS(SELECT 1
FROM csh_payment_req_ln l, csh_payment_req_hd hd
WHERE l.ref_doc_line_id = f.cashflow_id
AND l.ref_doc_category = 'CONTRACT'
......@@ -143,4 +142,7 @@
queryExpression="t1.invoice_status_n like '%'||${@invoice_status_n}||'%'"/>
<bm:query-field name="contract_number" queryExpression="t1.contract_number=${@contract_number}"/>
</bm:query-fields>
<bm:data-filters>
<bm:data-filter name="contract_status" expression="(nvl(t1.contract_status,'NEW') = 'INCEPT')"/>
</bm:data-filters>
</bm:model>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment