用友软件免费下载(www.myufida.net.cn)旨在提供全系列最新最全的用友财务软件免费下载地址。微信号:yyrjlls用友软件免费版用友软件破解版用友软件试用版

首页学用友正文

清空年度账时提示已经有客户使用[333]账套[2009],年度账,不能清除!

用友财务软件2016-11-032136年度数据用友T3年结年度账删除账套

问题现象:清空年度账时提示已经有客户使用[333]账套[2009],年度账,不能清除!

解决方案:经查看没有操作使用也没有任务或锁定信息,可通过在数据库中删除年度账来重新建立来操作。

微信号:yyrjlls
加微咨询技术问题!
复制微信号

以333账套删除2009年度账为例,SQL语句:

use UFSystem

delete fromUA_Account_sub where cAcc_Id=333 and iYear=2009

delete from UA_BackupLog wherecAcc_Id=333 and iYear=2009

delete fromUA_BackupPlans where cAcc_Id=333 and iYear=2009

delete from UA_HoldAuthwhere cAcc_Id=333 and iYear=2009

delete from UA_Log wherecAcc_Id=333 and iyear=2009

delete from UA_Periodwhere cAcc_Id=333 and iYear=2009

delete from UA_Task wherecAcc_Id=333 and iYear=2009

Drop databaseufdata_333_2009

网友评论