MRP运算错误,提示进程被锁死!这个问题不只是一次出现了,[u]一周大概出现3到4次。[/u]
source:UPDATE T_PLN_RESERVELINK SET FGENERATEID = @FGENERATEID, FCOMPUTEID = @FCOMPUTEID WHERE FID = @OID
message:事务(进程 ID 101)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。
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.Orm.Drivers.OrmTransactionBase.ExecuteSqlTasks(IList`1 tasks)
at Kingdee.BOS.Orm.Drivers.OrmTransactionBase.Commit()
at Kingdee.BOS.Orm.DataManager.DataManagerImplement.DoItInTransaction(Action`2 action, IOrmTransaction ormTransaction, OperateOption option)
at Kingdee.K3.MFG.App.MFGDataManagerUtil.SaveData(Context ctx, IEnumerable items, DynamicObjectType dt, Boolean isClearCache, Boolean bCacheMetadata)
at Kingdee.K3.MFG.PLN.App.MrpModel.Util.MrpModelUtil.SplitSaveData(Context ctx, IEnumerable`1 saveItems, DynamicObjectType dt)
at Kingdee.K3.MFG.PLN.App.MrpModel.Util.MrpServiceContainerUtil.CommitMemoryData(IExtendServiceProvider serviceProvider)
at Kingdee.K3.MFG.PLN.App.MrpModel.LogicUnitImpl.Mrp.NetCalcLogicUnit.DoComputeLogicByLLC(Decimal dLevelProgress, AbstractDSQueueBuilder demandQueueBuilder, Int64 i)
at Kingdee.K3.MFG.PLN.App.MrpModel.LogicUnitImpl.Mrp.NetCalcLogicUnit.OnExecuteLogicUnit()
at Kingdee.K3.MFG.PLN.App.MrpModel.AbstractMrpLogicUnit.Execute()
at Kingdee.K3.MFG.PLN.App.Core.MrpComputeService.RunMrp(Context ctx, DynamicObject mrpDataObject, OperateOption option)