关于金蝶KIS专业版凭证过账提示“名称或代码在系统中已被使用”

来源:www.nbjxsoft.cn   发布时间:2012/6/12 11:45:08   浏览次数:0


     关于金蝶KIS专业版凭证过账提示“名称或代码在系统中已被使用”

exec sp_cleanitemdetailv
go
update a set a.fdetailcount=b.Fcount
from t_itemdetail a join (select Fdetailid,count(*) as Fcount from t_itemdetailv
where fitemid=-1 group by Fdetailid) b
on a.fdetailid=b.fdetailid where a.fdetailcount<>b.Fcount
go
如果其他用户异常则只需将manager替换为出现异常的用户名,执行SQL语句前请对帐套做好备份处理。

 

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


 上一条新闻:没有新闻!
 下一条新闻:没有带应用平台的标准版打开带应用平台的标准版帐套
[打印本文]  [返回服务中心]  [关闭窗口]
友情链接:

宁波金蝶软件有限公司 2006 版权所有 浙ICP备16034465号-2 销售服务电话:15957871790
地址(ADD):浙江省宁波市 网址:www.nbjxsoft.cn
Copyright 2006 Auto Parts All Right Reserved