成本计算报错
金蝶云社区-木头爱上雨
木头爱上雨
0人赞赏了该文章 431次浏览 未经作者许可,禁止转载编辑于2017年04月29日 08:43:26

MERGE 语句试图多次更新或删除同一行。目标行与多个源行匹配时会出现这种情况。MERGE 语句无法多次更新/删除目标表的同一行。请简化 ON 子句,以确保目标行最多与一个源行匹配,也可以使用 GROUP BY 子句对源行分组。 StackTrace : at Kingdee.BOS.App.Data.AbstractDatabase.ExecuteNonQuery(DbCommand command, IEnumerable`1 listParam)
at Kingdee.BOS.App.Data.DBUtils.Execute(Context ctx, String strSQL, IEnumerable`1 paramList, Boolean needTranslate)
at Kingdee.BOS.App.Data.DBUtils.Execute(Context ctx, String strSQL)
at Kingdee.K3.FIN.CB.App.Core.ExpenseAllocate.AllocateCost.UpdateDirectDataCostItem()
at Kingdee.K3.FIN.CB.App.Core.ExpenseAllocate.AllocateCost.ExpenseAllocate()
at Kingdee.K3.FIN.CB.App.Core.ExpenseAllocate.ExpenseAllocateEngine.ExpenseAllocate()
at Kingdee.K3.FIN.App.Core.OutAcctg.AbstractAcctgService.Execution[T](Context ctx, T acctgParameters)
at Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.ExecuteServiceForShedule[T,K](Context ctx, T acctgParameters, CostAcctgServiceObject`1 service)
at Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.ExecutionBatchServiceObject[T,K](Context ctx, T acctgParameters, Dictionary`2 services, CostCalType calType, List`1 checkAttrs, Boolean isLast)
at Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.ExecutionCostCal(CostCalParameters acctgParameters, Context bosctx, Dictionary`2 checkservices, Dictionary`2 calservice)
at Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.CostCal(ComputeContext ctx, CostCalParameters acctgParameters)
at Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencilService.CostAcctg(ComputeContext ctx, OutStockAcctgParameters acctgParameters)

请各路大神帮忙,急急急!!!谢谢。