浪潮财务软件往来单位定义出错

浪潮财务软件往来单位定义出错

操作系统: WIN 2000 PRO 数 据 库: SqlSvr 2000
软件版本: GS_3.2 软件模块: 基础数据
问题描述:
   增加往来单位出错,提示:Violation of Primary key constraint ‘pk_addresses

‘。Cannot insert duplicate key in object ‘dbo.addresses’。
产生原因: 同步内部编码表的数据有问题
解决方法:
   update lsnbbm set lsnbbm_nmid =(select ca st(max(addressID) as int) + 1 from addresses) where lsnbbm_nmbh = ‘address’

 

原创文章,转载请注明: 转载自浪潮888博客

本文链接地址: 浪潮财务软件往来单位定义出错

文章的脚注信息由WordPress的wp-posturl插件自动生成



This entry was posted in 浪潮文档. Bookmark the permalink.

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>