网站首页技术支持资源下载产品中心产品报价访客留言关于我们
首页新闻中心技术文档  
     
 
凭证过账时系统提示:名称或代码在系统中已经存在
来源:本站 点击数:4734次 更新时间:2014-03-11 16:43:43
金蝶K3或KIS专业版凭证过帐时提示“名称或代码在系统中已经存在”

select * from t_itemdetail
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

凭证过账时系统提示:名称或代码在系统中已经被使用 错误代码:3604(E14H) Source :Microsoft OLE DB Provider for SQL Server Detail :在结果列的列表中多次出现列名 'F8'

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
不同的账套,可能会提示不同的列名,如F1等,请变通执行

在查询科目余额表并选择包括核算项目时,系统提示:
名称或代码在系统中已被使用
错误代码:3604(E14H)
Fdetail:列名'F3001'无效

If Not Exists(Select c.Name from syscolumns c,sysobjects o
where c.Id=o.Id and c.name='F3001' and o.name='t_ItemDetail')
Begin
Alter Table t_ItemDetail Add F3001 int not null default(0)
Create Index ix_ItemDetail_3001 On t_ItemDetail(F3001)
END

如果还存在其他列名无效,参照修改上述SQL中的列名后,进行添加。

【刷新页面】【加入收藏】【打印此文】 【关闭窗口】
上一篇:金蝶K3客户端打开提示“单据显示出错” 下一篇:KIS专业版,Manager查询余额表提示“没有权限!”
 
  友情链接
荆门企软荆门企软荆门企软荆门企软荆门企软荆门企软
广告服务 | 联系我们 | 关于我们 | 版权声明 | 友情链接
荆门金蝶_荆门金蝶软件_荆门财务软件_荆门ERP软件_荆门企软信息 2008-2014 @ All Rights Reserved www.jmqr.net 鄂ICP备13014668号
邮件:354733876@qq.com 电话:0724-2335755  地址:荆门市云台路
技术支持:荆门鑫网