发生时间:08:58:27
错误来源: mscorlib
错误信息:表v_MFG_CalendarUserType中读取出的数据,出现重复的主键(FItemID)数据:100001,请检查此表是否设置了主键或主键是否是FItemID。
===================================================
调用堆栈:
Server stack trace:
at Kingdee.BOS.Orm.DataManager.QuickDataTable.GetRowIndexByParmaryKey(Object key)
at Kingdee.BOS.Orm.DataManager.DataManagerImplement.SetCollectionPropertyValues(Object[] entities, QuickDataTable table, QuickDataSet dataSet, CollectionPropertyMap colMap)
at Kingdee.BOS.Orm.DataManager.DataManagerImplement.DataSetToEntities(Object[] entities, QuickDataTable table, QuickDataSet dataSet, DataEntityTypeMap dtMap)
at Kingdee.BOS.Orm.DataManager.DataManagerImplement.Read(ReadWhere where, OperateOption option)
at Kingdee.BOS.Orm.DataManager.BatchOrmAction`2.BatchOrmEnumerator.GetNextResult()
at Kingdee.BOS.Orm.DataManager.BatchOrmAction`2.BatchOrmEnumerator.MoveNext()
at Kingdee.BOS.Collections.Generic.ForWriteList`1.AddRange(IEnumerable collection)
at Kingdee.BOS.Orm.DataManagerUtils.ToArray[T](IEnumerable col)
at Kingdee.BOS.Orm.DataManager.DataManagerImplement.Read(IEnumerable ids, OperateOption option)
at Kingdee.BOS.App.Core.BusinessDataReader.LoadWithCache(Object[] pkArray, DynamicObjectType dt, Boolean loadReferenceData, OperateOption option)
at Kingdee.BOS.App.Core.BusinessDataReader.LoadFromCache(DynamicObjectType type, QueryBuilderParemeter queryParemeter, Boolean loadReferenceData)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Kingdee.BOS.Contracts.IViewService.LoadFromCache(Context ctx, DynamicObjectType type, QueryBuilderParemeter queryParemeter)
at Kingdee.BOS.ServiceHelper.BusinessDataServiceHelper.LoadFromCache(Context ctx, DynamicObjectType type, QueryBuilderParemeter queryParemeter)
at Kingdee.BOS.Model.DynamicForm.DynamicFormModel.LoadFieldDataWithCoreFilter(BaseDataField field, Object pkValue, DynamicObject activeRow)
at Kingdee.BOS.Core.Metadata.FieldElement.BaseDataField.SetFieldValue(IDynamicFormModel model, DynamicObject activeRow, Object value)
at Kingdee.BOS.Core.DynamicForm.AbstractDynamicFormModel.UpdateFieldValue(Field field, DynamicObject obj, Object value, Int32 row)
at Kingdee.BOS.Core.DynamicForm.AbstractDynamicFormModel.SetValue(Field field, DynamicObject activeRow, Object value, Int32 rowIndex)
at Kingdee.BOS.Core.DynamicForm.AbstractDynamicFormModel.SetValue(Field field, Object value, Int32 row)
at Kingdee.BOS.Core.DynamicForm.AbstractDynamicFormModel.SetValue(String key, Object value, Int32 row)
at Kingdee.K3.MFG.ENG.Business.PlugIn.Base.WorkCalCustomEdit.InitCustomCalInfo()
at Kingdee.K3.MFG.ENG.Business.PlugIn.Base.WorkCalCustomEdit.BeforeBindData(EventArgs e)
at Kingdee.BOS.Core.DynamicForm.PlugIn.DynamicFormViewPlugInProxy.FireBeforeBindData(EventArgs e)
at Kingdee.BOS.Web.DynamicForm.AbstractDynamicWebFormView.UpdateView()
at Kingdee.BOS.Web.Bill.BillView.UpdateView()
at Kingdee.BOS.Web.Bill.BillView.LoadData()
at Kingdee.BOS.Web.Bill.BillView.OnRefresh()
at Kingdee.BOS.Web.DynamicForm.AbstractDynamicWebFormView.Refresh()
at Kingdee.K3.MFG.ENG.Business.PlugIn.DynamicForm.WorkCalSetup.ShowCustomCalendarForm(OperationStatus status)
at Kingdee.K3.MFG.ENG.Business.PlugIn.DynamicForm.WorkCalSetup.TreeNodeClick(TreeNodeArgs e)
at Kingdee.BOS.Core.DynamicForm.PlugIn.DynamicFormViewPlugInProxy.FireTreeNodeClick(TreeNodeArgs e)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormController.TreeNodeClick(String key, String selectNodeId, JSONArray postDatas)
错误数据: System.Collections.ListDictionaryInternal