|
@@ -25,7 +25,7 @@
|
|
|
sh.cSOCode AS orderNum,
|
|
|
max(so.cdefine22) AS poStyleNum,
|
|
|
max(so.cDefine28) AS smallPo,
|
|
|
- max(shs.iTaxUnitPrice) AS exportUnitPrice ,
|
|
|
+ avg(shs.iTaxUnitPrice) AS exportUnitPrice ,
|
|
|
sum(shs.iSum) as exportPrice,
|
|
|
sum(iNatSum) as rmbAmount,
|
|
|
max(so.procesUnitPriceusd) as procesUnitPriceusd,
|
|
@@ -65,7 +65,7 @@
|
|
|
sh.cSOCode AS orderNum,
|
|
|
max(so.cdefine22) AS poStyleNum,
|
|
|
max(so.cDefine28) AS smallPo,
|
|
|
- max(shs.iTaxUnitPrice) AS exportUnitPrice ,
|
|
|
+ avg(shs.iTaxUnitPrice) AS exportUnitPrice ,
|
|
|
sum(shs.iSum) as exportPrice,
|
|
|
sum(iNatSum) as rmbAmount,
|
|
|
max(so.iTax) as procesUnitPriceusd,
|
|
@@ -114,7 +114,7 @@
|
|
|
sh.cSOCode AS orderNum,
|
|
|
max(so.cdefine22) AS poStyleNum,
|
|
|
max(so.cDefine28) AS smallPo,
|
|
|
- max(shs.iTaxUnitPrice) AS exportUnitPrice ,
|
|
|
+ avg(shs.iTaxUnitPrice) AS exportUnitPrice ,
|
|
|
sum(shs.iSum) as exportPrice,
|
|
|
sum(iNatSum) as rmbAmount,
|
|
|
max(so.iTax) as procesUnitPriceusd,
|