提示名称和代码已被使用
来源: 添加时间:1970-01-01 访问次数:
提示名称和代码已被使用
备份帐套,在查询分析器里执行语句:
update d set d.fdetailcount=v.fcount
from t_ItemDetail d,
(select fdetailid,count(*) fcount from t_ItemDetailv where fitemid=-1 group by fdetailid ) v
where d.fdetailid=v.fdetailid
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 的记录修改为当前计算机名称。
版权与免责声明:
1.凡本网注明来源为“本站原创”的所有作品,包括文字与图片,未经本网授权不得转载。违反上述声明者,本网将依法追究法律责任。
2.凡注明"来源:xxx(非本站)"的作品,均转载自其它媒体,本网转载的目的在于传播更多信息,此类稿件并不代表本网观点,本网不承担此类稿件侵权行为的直接责任及连带责任。
3.如因作品内容、版权等需要同本网联系的,请在作品在本网发表之日起30日内联,否则视为放弃相关权利