|
@@ -29,7 +29,7 @@
|
|
|
sum(shs.iSum) as exportPrice,
|
|
|
sum(iNatSum) as rmbAmount,
|
|
|
avg(so.procesUnitPriceusd) as procesUnitPriceusd,
|
|
|
- avg(so.procesUnitPricermb) as procesUnitPricermb,
|
|
|
+ avg(so.procesUnitPriceusd)*sh.iExchRate as procesUnitPricermb,
|
|
|
avg(so.procesUnitPricermb) * sum(shs.iQuantity) as processCost,
|
|
|
v.cVenName AS processUnit
|
|
|
FROM
|
|
@@ -69,7 +69,7 @@
|
|
|
sum(shs.iSum) as exportPrice,
|
|
|
sum(iNatSum) as rmbAmount,
|
|
|
max(so.iTax) as procesUnitPriceusd,
|
|
|
- max(so.iNatTax) as procesUnitPricermb,
|
|
|
+ max(so.iTax)*sh.iExchRate as procesUnitPricermb,
|
|
|
max(so.iNatTax) * sum(shs.iQuantity) as processCost,
|
|
|
v.cVenName AS processUnit
|
|
|
FROM
|
|
@@ -118,7 +118,7 @@
|
|
|
sum(shs.iSum) as exportPrice,
|
|
|
sum(iNatSum) as rmbAmount,
|
|
|
avg(so.iOriTaxCost) as procesUnitPriceusd,
|
|
|
- avg(so.iNatUnitPrice) as procesUnitPricermb,
|
|
|
+ avg(so.iOriTaxCost)*sh.iExchRate as procesUnitPricermb,
|
|
|
avg(so.iNatUnitPrice) * sum(shs.iQuantity) as processCost,
|
|
|
v.cVenName AS processUnit
|
|
|
FROM
|