用友软件 发表于 2016-9-25 16:13:51

用友U8.52软件中存货中暂估入库余额表报销金额错误?

问题现象:在用友8.52erp系统中用友U8版本号:U8.52软件的供应链产品线存货核算模块出现如下问题:用户使用计划价核算,暂估方式为单到回冲,在9-10月份采购结算后,发现存货暂估余额表中的报销金额是实际金额而非计划价!但是,存货明细帐上显示的红蓝回冲单都是计划价!检查后发现,入库单上暂估金额为0,当采购结算时,将发票金额回写到暂估金额上了!现在,已经将库存选项中入库单自动代出选中,再做业务没有此问题。但是,以前的单据不知道怎么办?能不能直接修改入库单上的暂估单价!请帮忙解答!
原因分析:通过数据库中察看,跨月暂估的采购入库单在存货明细账中的暂估金额与收发记录主子表中的暂估金额一致,而且完全结算的入库单在收发记录主子表中暂估金额与结算暂估金额一致,只有结算单表中的结算暂估金额不正确,其并不影响存货明细账。
解决方案:在用友erp 系统版本U8.52软件中可以使用附件中的更改语句在查询分析器中针对数据帐套执行,以进行更改--更改updatebsetiaprice=convert(decimal(20,2),isnull(iaprice,0))fromrdrecordainnerjoinrdrecordsbona.id=b.idwherecvouchtype='01'andisnull(iaprice,0)0updatebsetiunitcost=convert(decimal(20,2),isnull(iprice,0))/iquantityfromrdrecordainnerjoinrdrecordsbona.id=b.idwherecvouchtype='01'andiapriceisnotnullandcaccounterisnotnullandiunitcostisnullandisnull(iprice,0)0andisnull(iquantity,0)0updatebsetfacost=iunitcostfromrdrecordainnerjoinrdrecordsbona.id=b.idwherecvouchtype='01'andiapriceisnotnullandcaccounterisnotnullandfacostisnullandisnull(iprice,0)=isnull(iaprice,0)updatebsetfacost=convert(decimal(20,2),isnull(iaprice,0))/iquantityfromrdrecordainnerjoinrdrecordsbona.id=b.idwherecvouchtype='01'andiapriceisnotnullandcaccounterisnotnullandfacostisnullandisnull(iprice,0)isnull(iaprice,0)andisnull(iquantity,0)0updateasetisvacost=b.facostfrompursettlevouchsaleftjoinrdrecordsbonb.autoid=a.irdsidupdateasetisvaprice=convert(decimal(20,2),isvquantity*isvacost)frompursettlevouchsaleftjoinrdrecordsbonb.autoid=a.irdsidwhereisnull(a.isvquantity,0)isnull(b.isquantity,0)updateasetisvaprice=convert(decimal(20,2),b.imoney)frompursettlevouchsaleftjoinrdrecordsbonb.autoid=a.irdsidwhereisnull(a.isvquantity,0)=isnull(b.isquantity,0)。

用友财务软件 发表于 2016-9-25 17:46:44

用友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]
查看完整版本: 用友U8.52软件中存货中暂估入库余额表报销金额错误?