1
This commit is contained in:
parent
ad0d06d098
commit
49dbc68723
@ -164,7 +164,7 @@ namespace Pilot.Report.Exploitation.AccountsReceivableStatements
|
|||||||
", FSDate,fDate,ZZFID,fClient,XSYFID,ZZHTH);
|
", FSDate,fDate,ZZFID,fClient,XSYFID,ZZHTH);
|
||||||
sql += string.Format(@"/*dialect*/
|
sql += string.Format(@"/*dialect*/
|
||||||
INSERT INTO YingShouZhanKuanMX_GZTH(NUMBER,FQTY,FTAXPRICE,FALLAMOUNT,OrderAmount,ShipmentsNum,ShipmentsAmount,
|
INSERT INTO YingShouZhanKuanMX_GZTH(NUMBER,FQTY,FTAXPRICE,FALLAMOUNT,OrderAmount,ShipmentsNum,ShipmentsAmount,
|
||||||
ReturnNum,ReturnAmount,BillingAmount,PaymentAmount,ShippedDebt,InvoicedDebt,OwedTickets)
|
ReturnNum,ReturnAmount,BillingAmount,PaymentAmount,ShippedDebt,InvoicedDebt,OwedTickets,[K3专票金额],[K3普票金额])
|
||||||
SELECT
|
SELECT
|
||||||
'合计',
|
'合计',
|
||||||
SUM(FQTY),
|
SUM(FQTY),
|
||||||
@ -179,7 +179,9 @@ namespace Pilot.Report.Exploitation.AccountsReceivableStatements
|
|||||||
SUM(PaymentAmount),
|
SUM(PaymentAmount),
|
||||||
SUM(ShippedDebt),
|
SUM(ShippedDebt),
|
||||||
SUM(InvoicedDebt),
|
SUM(InvoicedDebt),
|
||||||
SUM(OwedTickets)
|
SUM(OwedTickets),
|
||||||
|
SUM([K3专票金额]),
|
||||||
|
SUM([K3普票金额])
|
||||||
FROM
|
FROM
|
||||||
YingShouZhanKuanMX_GZTH
|
YingShouZhanKuanMX_GZTH
|
||||||
where 1=1
|
where 1=1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user