阳光网驿-企业信息化交流平台【DTC零售连锁全渠道解决方案】

 找回密码
 注册

QQ登录

只需一步,快速开始

扫描二维码登录本站

手机号码,快捷登录

手机号码,快捷登录

老司机
查看: 3069|回复: 7

[原创] KIS 专业版10.0 凭证过账提示“名称代码已被使用”

[复制链接]
  • TA的每日心情
    擦汗
    2018-9-4 17:06
  • 签到天数: 1131 天

    [LV.10]以坛为家III

    发表于 2011-4-4 21:20:58 | 显示全部楼层 |阅读模式
    如题,KIS 专业版10.0 凭证过账时,提示“名称代码已被使用”,不能过账,请求支援。谢谢了!
    楼主热帖
    启用邀请码注册,提高发帖质量,建设交流社区
  • TA的每日心情
    无聊
    2023-11-14 11:00
  • 签到天数: 448 天

    [LV.9]以坛为家II

    发表于 2011-4-5 09:44:41 | 显示全部楼层
    金蝶软件中科目代码和另外一个科目重了。
    启用邀请码注册,提高发帖质量,建设交流社区
  • TA的每日心情
    擦汗
    2018-9-4 17:06
  • 签到天数: 1131 天

    [LV.10]以坛为家III

     楼主| 发表于 2011-4-5 09:53:43 | 显示全部楼层
    回复 qiangsheng 的帖子

    首先,谢谢你!
    我再描述一下具体症状,这个月有198张凭证,我一次过二十张凭证,没有问题,这样过10次账,就把这198张凭证过完了账。但是不能一次全部过账,如果一次过198张凭证,就出现上面的错误提示。也不能成批的反过账。郁闷!
    启用邀请码注册,提高发帖质量,建设交流社区
  • TA的每日心情
    奋斗
    2014-8-29 14:48
  • 签到天数: 1 天

    [LV.1]初来乍到

    发表于 2011-4-6 13:14:19 | 显示全部楼层
    备份好帐  反结帐,反初始化 到查询分析器中执行以下语句
    exec sp_cleanitemdetailv
    update a set a.fdetailcount=b.Fcount from t_itemdetail a join (select Fdetailid,count(Fitemid) Fcount from t_itemdetailv where fitemid<>0 group by Fdetailid) b on a.fdetailid=b.fdetailid
    exec sp_cleanitemdetailv
    update t_account set Fdetailid =(select min(fdetailid) from t_itemdetail where fdetailid in (select Fdetailid from t_itemdetailv where fitemid=-1) and Fdetailcount=1 and F2=-1 ) where Fdetailid in (select (fdetailid) from t_itemdetail where fdetailid in (select Fdetailid from t_itemdetailv where fitemid=-1) and Fdetailcount=1 and F2=-1 )

    delete from t_itemdetail where Fdetailid in(select (fdetailid) from t_itemdetail where fdetailid in (select Fdetailid from t_itemdetailv where fitemid=-1) and Fdetailcount=1 and F2=-1 ) and Fdetailid <>(select min(fdetailid) from t_itemdetail where fdetailid in (select Fdetailid from t_itemdetailv where fitemid=-1)and Fdetailcount=1 and F2=-1 ) exec sp_cleanitemdetailv
    select * from t_balance where fdetailid not in (select fdetailid from t_itemdetail)
    delete from t_balance where fdetailid not in (select fdetailid from t_itemdetail)

    select * from t_quantitybalance where fdetailid not in (select fdetailid from t_itemdetail)

    delete from t_quantitybalance where fdetailid not in (select fdetailid from t_itemdetail)

    select * from t_profitandloss where fdetailid not in (select fdetailid from t_itemdetail)

    delete from t_profitandloss where fdetailid not in (select fdetailid from t_itemdetail)


    select * from t_itemdetail where fdetailid in (select fdetailid from t_itemdetailv where fitemid=-1)
    启用邀请码注册,提高发帖质量,建设交流社区
  • TA的每日心情
    开心
    2024-2-19 16:31
  • 签到天数: 421 天

    [LV.9]以坛为家II

    发表于 2011-4-6 13:25:36 | 显示全部楼层
    没有遇到过这样的问题,同时过几百张好像都没有问题
    启用邀请码注册,提高发帖质量,建设交流社区
  • TA的每日心情
    擦汗
    2018-9-4 17:06
  • 签到天数: 1131 天

    [LV.10]以坛为家III

     楼主| 发表于 2011-4-6 17:55:17 | 显示全部楼层
    回复 lengyue7 的帖子

    谢谢你的帮助!帐套使用好几年了,反结账,反初始化,好像不大可能了。有没有其他办法?
    启用邀请码注册,提高发帖质量,建设交流社区
  • TA的每日心情
    擦汗
    2018-9-4 17:06
  • 签到天数: 1131 天

    [LV.10]以坛为家III

     楼主| 发表于 2011-4-10 22:20:07 | 显示全部楼层
    回复 亲近大地 的帖子

    有哪位同仁给留意下,这个问题,相信会解决。
    启用邀请码注册,提高发帖质量,建设交流社区
  • TA的每日心情
    开心
    2017-7-19 07:03
  • 签到天数: 70 天

    [LV.6]常住居民II

    发表于 2011-4-10 23:27:10 | 显示全部楼层
    老问题了,到网上搜索一下,有很多解决方法!
    启用邀请码注册,提高发帖质量,建设交流社区
    您需要登录后才可以回帖 登录 | 注册

    本版积分规则

    快速回复 返回顶部 返回列表