微智科技网
您的当前位置:首页金蝶凭证过账提示代码或名称在系统已使用

金蝶凭证过账提示代码或名称在系统已使用

来源:微智科技网


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

问题描述:金蝶KIS专业版,凭证过账时系统提示:名称或代码在系统中已经被使用

错误代码:3604(E14H)

Source :Microsoft OLE DB Provider for SQL Server

Detail :在结果列的列表中多次出现列名 'F1'

(注:不同的账套,可能会提示不同的列名,如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

在进行凭证过账的时候,就是针对有其他应收款的科目(有明细到职员核算)这张凭证,系统提示:名称或代码在系统中已被使用,错误代码:3604(E14H),SOURCE:microsoft OLe DB Provider for SQL Server. Datail:在结果列的列表中多次出现列名'f3'

解决方法:

常见问题是由于t_itemdetail 表中F 列与FdetailCount 不对应导致,需要修复,参

考如下,

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:在结果的列表中多次出现列名“F2。”

------------------------------

由于核算项目信息表中的核算项目类别个数与设置的核算项目类别不对应造成,请调整为一致即可。更新SQL语句参考如下。

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

以上代码仅作参考

因篇幅问题不能全部显示,请点此查看更多更全内容