Commit fd58a085 authored by stone's avatar stone

【fix】修改销项发票字段

parent 3409e696
...@@ -41,16 +41,14 @@ ...@@ -41,16 +41,14 @@
<bm:operations> <bm:operations>
<bm:operation name="query"> <bm:operation name="query">
<bm:query-sql><![CDATA[ <bm:query-sql><![CDATA[
select t.cashflow_id, SELECT t.cashflow_id,
t.record_id, t.record_id,
t.billing_object, t.billing_object,
(select c.code_value_name (SELECT c.code_value_name
from sys_code_values_v c FROM sys_code_values_v c
where c.code = 'ACR510_BILL_DETAIL_METHOD' WHERE c.code = 'ACR510_BILL_DETAIL_METHOD'
and c.code_value = t.billing_object) as billing_object_desc, AND c.code_value = t.billing_object) AS billing_object_desc,
(select m.bp_name (SELECT m.bp_name FROM hls_bp_master_s_v m WHERE m.bp_id = t.bp_id) billing_object_name,
from hls_bp_master_s_v m
where m.bp_id =t.bp_id) billing_object_name,
t.due_amount, t.due_amount,
--本次开票金额 --本次开票金额
t.due_amount received_amount, t.due_amount received_amount,
...@@ -63,31 +61,31 @@ ...@@ -63,31 +61,31 @@
con.project_number, con.project_number,
con.project_name, con.project_name,
t.invoice_kind, t.invoice_kind,
(select v.code_value_name (SELECT v.code_value_name
from sys_code_values_v v FROM sys_code_values_v v
where v.code = 'ACR510_INVOICE_KIND' WHERE v.code = 'ACR510_INVOICE_KIND'
and v.code_value = t.invoice_kind) as invoice_kind_desc, AND v.code_value = t.invoice_kind) AS invoice_kind_desc,
t.currency, t.currency,
(select c.currency_name (SELECT c.currency_name
from gld_currency_vl c FROM gld_currency_vl c
where c.currency_code = t.currency) as currency_desc, WHERE c.currency_code = t.currency) AS currency_desc,
1 as exchange_rate, 1 AS exchange_rate,
'MANUAL' as exchange_rate_type, 'MANUAL' AS exchange_rate_type,
(select v.rate_type_desc (SELECT v.rate_type_desc
from gld_exchange_rate_type_v v FROM gld_exchange_rate_type_v v
where v.rate_type_code = 'MANUAL') as exchange_rate_type_desc, WHERE v.rate_type_code = 'MANUAL') AS exchange_rate_type_desc,
to_char(cf.transaction_date,'yyyy-mm-dd')transaction_date, (SELECT cf.transaction_date
FROM hls_journal_detail cf
WHERE cf.journal_line_id = t.journal_line_id) transaction_date,
t.cf_item, t.cf_item,
t.tax_amount, t.tax_amount,
'违约金' cf_item_desc, '违约金' cf_item_desc,
'融资租赁费' as product_name '融资租赁费' AS product_name
from acr_invoice_create_tmp t, FROM acr_invoice_create_tmp t, con_contract_v con
con_contract_v con, WHERE t.session_id = ${/session/@session_id}
ACR_INVOICE_PENALTY_V cf AND t.contract_id = con.contract_id
where t.session_id = ${/session/@session_id} ORDER BY con.contract_id, t.cf_item
and t.contract_id = con.contract_id
and t.contract_id = cf.contract_id
order by con.contract_id,t.cf_item
]]></bm:query-sql> ]]></bm:query-sql>
</bm:operation> </bm:operation>
......
...@@ -195,7 +195,7 @@ ...@@ -195,7 +195,7 @@
<a:column name="cf_item_desc"/> <a:column name="cf_item_desc"/>
<a:column name="contract_name" width="200"/> <a:column name="contract_name" width="200"/>
<a:column name="project_number" width="150" prompt="报单编号"/> <a:column name="project_number" width="150" prompt="报单编号"/>
<a:column name="project_name" width="200" prompt="报单名称"/> <!-- <a:column name="project_name" width="200" prompt="报单名称"/>-->
<a:column name="last_received_date" renderer="Leaf.formatDate" width="80"/> <a:column name="last_received_date" renderer="Leaf.formatDate" width="80"/>
<!-- <a:column name="exchange_rate" align="right"/> <!-- <a:column name="exchange_rate" align="right"/>
<a:column name="exchange_rate_type_desc"/>--> <a:column name="exchange_rate_type_desc"/>-->
......
...@@ -189,7 +189,7 @@ ...@@ -189,7 +189,7 @@
<a:column name="cf_item_desc"/> <a:column name="cf_item_desc"/>
<a:column name="contract_name" width="200"/> <a:column name="contract_name" width="200"/>
<a:column name="project_number" width="150" prompt="报单编号"/> <a:column name="project_number" width="150" prompt="报单编号"/>
<a:column name="project_name" width="200" prompt="报单名称"/> <!-- <a:column name="project_name" width="200" prompt="报单名称"/>-->
<a:column name="transaction_date" renderer="Leaf.formatDate" width="80" prompt="收款日期"/> <a:column name="transaction_date" renderer="Leaf.formatDate" width="80" prompt="收款日期"/>
<!-- <a:column name="exchange_rate" align="right"/> <!-- <a:column name="exchange_rate" align="right"/>
<a:column name="exchange_rate_type_desc"/>--> <a:column name="exchange_rate_type_desc"/>-->
......
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