核算单据查询,成本维护报错
金蝶云社区-云社区用户4m4N1234
云社区用户4m4N1234
0人赞赏了该文章 1,974次浏览 未经作者许可,禁止转载编辑于2014年03月28日 12:09:40
违反了 PRIMARY KEY 约束 'PK_HS_EXPENSESPROCESS'。不能在对象 'dbo.T_HS_EXPENSESPROCESS' 中插入重复键。
语句已终止。
发生时间: 2014-03-28 12:07:30
错误编号: BOS_ExecuteNonQuery
错误信息: 违反了 PRIMARY KEY 约束 'PK_HS_EXPENSESPROCESS'。不能在对象 'dbo.T_HS_EXPENSESPROCESS' 中插入重复键。
语句已终止。
Sql语句: INSERT INTO T_HS_ExpensesProcess (FProcessEntryId, FOrdetBySeq, FSeqEntryId, FIncome, FIssue, FBalance, FAcctgAmount, FCalDataType, FExpensesItemId) VALUES (@FProcessEntryId, @FOrdetBySeq, @FSeqEntryId, @FIncome, @FIssue, @FBalance, @FAcctgAmount, @FCalDataType, @FExpensesItemId)
===================================================
调用堆栈:
at Kingdee.BOS.App.Data.AbstractDatabase.ExecuteNonQuery(DbCommand command, IEnumerable`1 listParam)
at Kingdee.BOS.App.Data.DBUtils.ExecuteBatch(Context ctx, List`1 lstSqlObj)
at Kingdee.K3.FIN.HS.App.Core.AbstractOutStockAcctg.OtherAcctgCall(ValuationMethodParameter valuationMethodParameter, OutStockAcctgParameters acctgParameters, List`1 process)
at Kingdee.K3.FIN.HS.App.Core.OutStockAcctg.Object.OtherAcctgCall.CalBanace(Context ctx, OutStockAcctgParameters acctgParameters, Dictionary`2 paras, List`1 processInfos, Dictionary`2 dictConfig, Dictionary`2 process)
at Kingdee.K3.FIN.HS.App.Core.OutStockAcctg.Object.OtherAcctgCall.Cal(Context ctx, OutStockAcctgParameters acctgParameters, List`1 processInfos, List`1 outAcctgSeqConfigs)
at Kingdee.K3.FIN.HS.App.Core.OutStockAcctg.Object.OtherAcctgCall.OtherCallOutAcctg(Context ctx, OutStockAcctgParameters acctgParameters)
at Kingdee.K3.FIN.HS.App.Core.OutStockAcctgService.OtherCallOutAcctg(Context ctx, OutStockAcctgParameters acctgParameters)
at Kingdee.K3.FIN.HS.App.Core.HSBillMaintainService.UpdateHsBillPrice(Context ctx, OutStockAcctgParameters acctParams)
at Kingdee.K3.FIN.HS.ServiceHelper.HSBillMaintainServiceHelper.UpdateHsBillPrice(Context ctx, OutStockAcctgParameters acctParams)
at Kingdee.K3.FIN.HS.Business.PlugIn.HSBillMaintain.ButtonClick(ButtonClickEventArgs e)
at Kingdee.BOS.Core.DynamicForm.PlugIn.DynamicFormViewPlugInProxy.FireButtonClick(ButtonClickEventArgs e)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormView.ButtonClick(String key, String menuKey)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormController.ButtonClick(String buttonKey, String menuKey, JSONArray postDatas)