解决方案: |
此问题已出补丁解决,请打上库存和采购的补丁(1738,1742)。以前出错的数据,请用以下脚本修改: update rdrecords set ioritaxcost=g.itaxunitprice from rdrecords inner join (select autoid,itaxunitprice from (select autoid,cvencode,cinvcode,ioritaxcost from rdrecord a inner join rdrecords b on a.id=b.id where cvouchtype='01' and isnull(ioritaxcost,0)<>0) e inner join (select cvencode,cinvcode,itaxunitprice from pu_veninvpricerule c inner join ven_inv_price_ruleitem d on c.id=d.id) as f on e.cvencode=f.cvencode and e.cinvcode=f.cinvcode and isnull(e.ioritaxcost,0)<>isnull(f.itaxunitprice,0)) as g on rdrecords.autoid=g.autoid |