用友软件年结多出一个库存

微信号:yyrjlls
技术咨询,有偿服务!
复制微信号
技术咨询,有偿服务!
复制微信号
原因分析:1.首先“建立年度帐”和“结转上年数据”时可进行数据库跟踪,跟踪时未发现异常;2.那么我们去账套参数表(AccInformation)看下“库存系统启用日期”是否有正常;3.再查询“账套年度设置表”(UA_Account_sub),看下里面的模块启用日期(ST代表“库存系统”)是否有问题,经检查发现此表中多了两条“库存系统”的启用记录。我们基本可以判断出客户的购销存模块曾经启用过之后又反启用,所以造成以上的操作。
问题解答:在“查询分析器”执行下列语句:delete from ua_account_sub where cacc_id='账套号' and csub_id='ap'delete from ua_account_sub where cacc_id='账套号' and csub_id='ar'delete from ua_account_sub where cacc_id='账套号' and csub_id='pu'delete from ua_account_sub where cacc_id='账套号' and csub_id='st'delete from ua_account_sub where cacc_id='账套号' and csub_id='sa'