本计算的时候出现这个错误 cloud 7.1 请问如何解决呀!
金蝶云社区-张Sir
张Sir
0人赞赏了该文章 364次浏览 未经作者许可,禁止转载编辑于2018年04月16日 13:57:36
Message:MERGE 语句试图多次更新或删除同一行。目标行与多个源行匹配时会出现这种情况。MERGE 语句无法多次更新/删除目标表的同一行。请简化 ON 子句,以确保目标行最多与一个源行匹配,也可以使用 GROUP BY 子句对源行分组。;StackTrace: 在 Kingdee.BOS.App.Data.Sql.SqlDatabase.ExecuteBatch(List`1 sqlArray, Int32 batchSize, Int32 commandTimeout)
在 Kingdee.BOS.App.Data.DBUtils.ExecuteBatchWithTime(Context ctx, List`1 sqlArray, Int32 batchSize, Int32 commandTimeout)
在 Kingdee.K3.FIN.CB.App.Core.ProductingCountService.CreateAutoWipData(Context ctx, CommonBillRptCondition condition, Int64 pkId, String tempTable)
在 Kingdee.K3.FIN.CB.App.Core.ProductingCountService.GetAutoWipData(Context ctx, CommonBillRptCondition condition)
在 Kingdee.K3.FIN.CB.App.Core.CostCal.AcctgBillData.GetWipCountQty(Context ctx, CostCalParameters parameters)
在 Kingdee.K3.FIN.CB.App.Core.CostCal.Cal.BusinessDataService.GetWipCountQty(Context ctx, CostCalParameters parameters, ProductingParameter productingParameter)
在 Kingdee.K3.FIN.CB.App.Core.CostCal.Cal.ProductCostAcctgService.BeforeCostAcctgOnlyCalOnce(Context ctx, CostCalParameters parameters)
在 Kingdee.K3.FIN.App.Core.OutAcctg.AbstractAcctgService.BeforeExecution[T](Context ctx, T acctgParameters)
在 Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.BeforeExecuteServiceForShedule[T,K](Context ctx, T acctgParameters, CostAcctgServiceObject`1 service)
在 Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.ExecutionBatchServiceObject[T,K](Context ctx, T acctgParameters, Dictionary`2 services, CostCalType calType, List`1 checkAttrs, Boolean isLast)
在 Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.LevelCaling(CostCalParameters acctgParameters, Context bosctx, Dictionary`2 calservice)
在 Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.ExecutionCostCal(CostCalGlobalContext costCalGlobalContext, Context bosctx, Dictionary`2 calservice)
在 Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.CostCal(ComputeContext ctx, CostCalGlobalContext costCalGlobalContext)
在 Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencilService.CostAcctg(ComputeContext ctx, OutStockAcctgParameters acctgParameters)