用友财务软件互动问答平台

 找回密码
 立即注册
查看: 426|回复: 1

用友U8.52软件中折旧清单折旧数字与折旧分配表不一致问题?

[复制链接]
发表于 2016-9-25 16:01:05 | 显示全部楼层 |阅读模式
问题现象:在用友8.52erp系统中用友U8版本号:U8.52软件的财务系统产品线固定资产模块出现如下问题:固定资产的卡片管理折旧数字(等于)折旧清单折旧数字(不等于)折旧分配表折旧数字(折旧分配表的数字少了2万左右)有几张卡片在后台可以看见,但是在前台看不见(如00130、00146),且在后台数据库中比较该卡片和正常卡片数据时没有发现任何异常;在查询卡片的时候对数据进行跟踪未能发现任何有效线索.现在客户希望可以让折旧清单和折旧分配表一致。请帮忙解答!
原因分析:存在fa_DeptScale与fa_cards中相同卡片部门不一致的记录。
解决方案:在用友erp 系统版本U8.52软件中参照执行如下脚本即可:1、检查分析selectscardnum,max(sid)assidintotempdb..afromfa_DeptScalegroupbyscardnumselectscardnum,max(scardid)asscardidintotempdb..bfromfa_cardsgroupbyscardnumselect*fromfa_DeptScalewheresidin(selectsidfromtempdb..a)orderbysidselect*fromfa_cardswherescardidin(selectscardidfromtempdb..b)orderbyscardidselectd.*fromfa_DeptScalecinnerjoin(select*fromfa_cardswherescardidin(selectscardidfromtempdb..b))donc.scardnum=d.scardnumandc.sdeptnumd.sdeptnumwherec.sidin(selectsidfromtempdb..a)2、--所差金额selectsum(dblDepr3)fromfa_DeprTransactionswherescardnumin(selectd.scardnumfromfa_DeptScalecinnerjoin(select*fromfa_cardswherescardidin(selectscardidfromtempdb..b))donc.scardnum=d.scardnumandc.sdeptnumd.sdeptnumwherec.sidin(selectsidfromtempdb..a))3、--修复fa_DeptScale与fa_cards相同卡片部门不一致的记录updatecsetc.sdeptnum=d.sdeptnumfromfa_DeptScalecinnerjoin(select*fromfa_cardswherescardidin(selectscardidfromtempdb..b))donc.scardnum=d.scardnumandc.sdeptnumd.sdeptnumwherec.sidin(selectsidfromtempdb..a)droptabletempdb..adroptabletempdb..b注意做好数据备份!!。
回复

使用道具 举报

发表于 2016-9-25 16:58:02 | 显示全部楼层
用友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
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|用友十万个为什么 ( 赣ICP备13006939号 )

GMT+8, 2025-8-27 13:23 , Processed in 0.059866 second(s), 20 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表