金蝶KIS专业版在过账时出现:名称或代码在系统中已被使用

问题描述:金蝶KIS专业版,凭证过账时系统提示:名称或代码在系统中已经被使用
错误代码:3604(E14H) Source :Microsoft OLE DB Provider for SQL Server
Detail :在结果列的列表中多次出现列名 'F3000' 这个要怎么解决呀

常见原因是核算项目横表中核算项目个数与 F 列不对应导致的,可通过以下语
句进行修复(直接在查询分析器针对问题账套执行即可),
select * from t_itemdetail
exec sp_cleanitemdetailvGO
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追问

怎么针对相应的账套啊

温馨提示:答案为网友推荐,仅供参考
相似回答