用友U8.52软件中采购系统账表查询问题?
问题现象:在用友8.52erp系统中用友U8版本号:U8.52软件的供应链产品线采购管理模块出现如下问题:未完成业务明细帐的未完成金额应该不等于采购暂估表的本期结余金额,差额很大请帮忙解答!原因分析:数据错误。
解决方案:在用友erp 系统版本U8.52软件中对于有正确的iaprice的值的数据执行脚本:updaterdrecordssetimoney=CONVERT(DECIMAL(20,2),iaprice)whereconvert(decimal(20,4),iquantity)=convert(decimal(20,4),isquantity)andisnull(imoney,0)iapriceGOupdatepursettlevouchssetisvacost=rdrecords.facostfrompursettlevouchsleftjoinrdrecordsonrdrecords.autoid=pursettlevouchs.irdsidGOupdaterdrecordssetiaprice=convert(decimal(20,2),iquantity*facost)whereisquantity0GOupdaterdrecordssetimoney=convert(decimal(20,2),isquantity*facost)whereautoidin(selectautoidfromrdrecordswhereiquantityisquantityandisquantity0)GOupdaterdrecordssetiaprice=iprice,facost=iunitcostwhereisnull(iaprice,0)=0andisquantity0GOupdaterdrecordssetimoney=convert(decimal(20,2),isquantity*facost)whereisquantity0andisnull(imoney,0)=0GOupdatepursettlevouchssetisvaprice=convert(decimal(20,2),isvquantity*isvacost)GOupdaterdrecordssetimoney=CONVERT(DECIMAL(20,2),iaprice)whereconvert(decimal(20,4),iquantity)=convert(decimal(20,4),isquantity)andisnull(imoney,0)iapriceGOupdatepursettlevouchssetisvacost=rdrecords.facostfrompursettlevouchsleftjoinrdrecordsonrdrecords.autoid=pursettlevouchs.irdsidGOupdaterdrecordssetiaprice=convert(decimal(20,2),iquantity*facost)whereisquantity0GOupdaterdrecordssetimoney=convert(decimal(20,2),isquantity*facost)whereautoidin(selectautoidfromrdrecordswhereiquantityisquantityandisquantity0)GOupdaterdrecordssetiaprice=iprice,facost=iunitcostwhereisnull(iaprice,0)=0andisquantity0GOupdaterdrecordssetimoney=convert(decimal(20,2),isquantity*facost)whereisquantity0andisnull(imoney,0)=0GOupdatepursettlevouchssetisvaprice=convert(decimal(20,2),isvquantity*isvacost)GO。
用友U8ERP软件免费下载地址截止2016年已发布的版本全部在下方,安装教程请认真参考:http://www.yyrjxz.com/xue/u8azjc.html 进行安装。
1、用友MERPu811软件免费下载地址:http://www.yyrjxz.com/yongyou/MERPU811.1.html
2、用友U82.0erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/u8old820.html
3、用友U83.0erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/u8old830.html
4、用友U852erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/U852.html
5、用友U860erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/u860.html
6、用友U861erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/u861xz.html
7、用友U870erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/u870.html
8、用友U872erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/u871.html
9、用友U82.0erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/U872.html
10、用友U890erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/u890.html
11、用友U810.0erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/U810.0.html
12、用友U810.1erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/U8V10.1.html
13、用友U811.0erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/U8V11.0.html
14、用友U8+v11.1erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/U8V11.1.html
15、用友U8+v12.0erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/u8120.html
16、用友U8+v12.1erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/u8121.html
17、用友U8+v12.5erp软件免费下载地址:http://www.yyrjxz.com/yongyouu8/u8125.html
页:
[1]