科目添加核算维度保存报错
金蝶云社区-张柳
张柳
0人赞赏了该文章 1,260次浏览 未经作者许可,禁止转载编辑于2015年11月16日 13:53:28

管理费用科目添加核算维度保存报错

在 Kingdee.BOS.App.Data.AbstractDaServer stack trace: 调用堆栈:===================================================ENDINSERT INTO T_GL_BALANCE_136379 (FACCOUNTBOOKID, FYEAR, FPERIOD, FACCOUNTID, FDETAILID, FCURRENCYID, FBEGINBALANCEFOR, FBEGINBALANCE, FDEBITFOR, FDEBIT, FCREDITFOR, FCREDIT, FYTDDEBITFOR, FYTDDEBIT, FYTDCREDITFOR, FYTDCREDIT, FENDBALANCEFOR, FENDBALANCE, FADJUSTPERIOD) SELECT FACCOUNTBOOKID, FYEAR, FPERIOD, FACCOUNTID, 1 fdetailid, FCURRENCYID, FBEGINBALANCEFOR, FBEGINBALANCE, FDEBITFOR, FDEBIT, FCREDITFOR, FCREDIT, FYTDDEBITFOR, FYTDDEBIT, FYTDCREDITFOR, FYTDCREDIT, FENDBALANCEFOR, FENDBALANCE, FADJUSTPERIOD FROM T_GL_BALANCE_136379 WHERE (FACCOUNTID = 4084 AND FDETAILID = 0)BEGINSql语句: IF EXISTS (SELECT 1 FROM T_GL_BALANCE_136379 WHERE (FACCOUNTID = 4084 AND FDETAILID = 0))语句已终止。错误信息: 违反了 PRIMARY KEY 约束“PK_GL_BALANCE_136379”。不能在对象“dbo.T_GL_BALANCE_136379”中插入重复键。重复键值为 (136379, 2014, 8, 4084, 1, 0, 0)。错误编号: BOS_ExecuteNonQuery发生时间: 2015-11-16 01:47:58

5.0+最新补丁 qq:124365552