10、总账反结账后重新结账时提示“违反primary key 约束,不能插入重复键”
执行语句:
delete from t_balance where (fperiod>当前期间 and fyear=当前年度) or fyear>当前年度
delete from t_quantitybalance where (fperiod>当前期间 and fyear= 当前年度) or fyear>当前年度
delete from t_profitandloss where (fperiod>当前期间 and fyear= 当前年度) or fyear>当前年度
11、结账时提示“本期有未结账的其它子系统”不能结账
备份账套后执行语句:
Update T_subsys set fperiodsynch=0 where Fsubsysid>1 and Fused=1 and Fperiodsynch=1 And Fcheckout = 0 and Fyear = 2007 and Fperiod = 4
11、计算机名称修改后不能登录帐套管理
先在查询分析器里查看:select * from t_ad_kdaccount_gl 看下fserver列是不是现在的计算机名称,如果不是执行:update t_ad_kdaccount_gl set fserver = 当前计算机名称,同时需要将字段FconnectString 字段中的Data Source 的记录修改为当前计算机名称。
12、ypbwkfyjhyhgzj
13、提示非法的加密服务器
Use AIS2009###### --(指用户李林登录的账套号)
Update t_user set fsid=’’where fname=’李林’ 将管理员的密码设为空
14、Use AIS2009###### --(指Manager 用户登录的账套号)
Select * from t_userprofile where fuserid in (select fuserid from t_user where fname ='Manager')
Delete from t_userprofile where fuserid in (select fuserid from t_user where fname ='Manager')
15、Use AIS2009###### --(指Manager 用户登录的账套号)
Update t_user set
fsid='' where fuserid=16394/fname=’用户名’ 清除密码!