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

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

用友知识堂用友软件2017-05-13 23:44:2313260A+A-

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

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

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

use UFSystem

delete from UA_Account_sub where cAcc_Id=333 and iYear=2009

delete from UA_BackupLog where cAcc_Id=333 and iYear=2009

delete from UA_BackupPlans where cAcc_Id=333 and iYear=2009

delete from UA_HoldAuth where cAcc_Id=333 and iYear=2009

delete from UA_Log where cAcc_Id=333 and iyear=2009

delete from UA_Period where cAcc_Id=333 and iYear=2009

delete from UA_Task where cAcc_Id=333 and iYear=2009

Drop database ufdata_333_2009

点击这里复制本文地址 以上内容由用友财务软件免费下载整理呈现,请务必在转载分享时注明本文地址!如对内容有疑问,请联系我们,谢谢!

用友财务软件免费下载 © All Rights Reserved.  赣ICP备16001187号
Aiufida用友免费资源网是最全,最新的用友财务软件免费下载站,免费提供用友T1用友T3用友T6用友U8 ERP用友数据库用友补丁会计电算化考试软件,等用友软件免费下载地址。