用友删除年度账 使用于T3 、T6

分享到:

2014-05-11 22:39:11

删除年度账不成功时,可以用如下方法


1、先通过系统管理备份所有帐套

      如果系统管理备份不了,则通过企业管理器备份。

      总之,数据备份至关重要!  你懂的 !


2、打开数据库

use UFSystem


3、查询帐套

 select * from UA_HoldAuth  where  cAcc_Id = '001' 

select * from UA_Period  where  cAcc_Id = '001' 

select * from UA_Account_sub  where  cAcc_Id = '001' 

select * from UA_Account  where  cAcc_Id = '001' 


4、删除帐套表

delete UA_HoldAuth where cAcc_Id = '001' and iYear <2012

delete UA_Period where cAcc_Id = '001' and iYear <2012

delete UA_Account_sub where cAcc_Id='001' and iYear < 2012

UA_Account  如果帐套路径改变 则需要更改此表帐套路径   你懂的


5、通过企业管理器手动删除 UFDATA_001_2012  等不用的帐套


声明:此篇为用友服务中心文章,转载请标明出处链接:
  • 相关文章
  • 热门下载
  • 数据修复
  • 热门标签
合作伙伴