初始库存 录入物料编码后报错
金蝶云社区-degwgj
degwgj
0人赞赏了该文章 613次浏览 未经作者许可,禁止转载编辑于2015年12月07日 16:31:32


发生时间:16:23:20
错误来源: mscorlib
错误信息:The value "Microsoft.Scripting.Runtime.DynamicStackFrame" is not of type "System.String" and cannot be used in this generic collection.
Parameter name: key
===================================================
调用堆栈:
at System.ThrowHelper.ThrowWrongKeyTypeArgumentException(Object key, Type targetType)
at System.Collections.Generic.Dictionary`2.System.Collections.IDictionary.set_Item(Object key, Object value)
at IronPython.Runtime.Operations.PythonOps.UpdateStackTrace(Exception e, CodeContext context, FunctionCode funcCode, Int32 line)
at (Closure , CodeContext , FunctionCode )
at Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1)
at IronPython.Compiler.PythonScriptCode.RunWorker(CodeContext ctx)
at IronPython.Compiler.PythonScriptCode.EvalWrapper(CodeContext ctx)
at IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope)
at Kingdee.BOS.Scripting.PyExpressionEvaluator.Run(Expression expression, ExpressionContext context)
at Kingdee.BOS.Core.Metadata.Util.ConditionParser.VerifyExpression(BOSExpression expression, DynamicRowModel dynamicRow, FunctionManage funcLib)
at Kingdee.BOS.Core.DependencyRules.EntityRule.Execute(BOSActionExecuteContext context)
at Kingdee.BOS.Core.DependencyRules.RuleContainer`6.Execute(C executeContext, TaskCollection tasks)
at Kingdee.BOS.Core.DependencyRules.RuleContainer`6.Resume(C executeContext)
at Kingdee.BOS.Core.DependencyRules.RuleContainer`6.Raise(S arg, C executeContext)
at Kingdee.BOS.Core.DependencyRules.BOSRuleContainer.RaiseDataChanged(String fieldKey, Object dataEntity, BOSActionExecuteContext executeContext)
at Kingdee.BOS.Web.DynamicForm.DataBinder.FieldDataChanged(ModelDataChangedEventArgs e)
at Kingdee.BOS.Core.DynamicForm.ModelDataChangedHandle.Invoke(Object sender, ModelDataChangedEventArgs e)
at Kingdee.BOS.Core.DynamicForm.AbstractDynamicFormModel.UpdateField(Field field, DynamicObject activeRow, Object value, Int32 rowIndex, Object oldValue)
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.BOS.Business.DynamicForm.BusinessService.TakeBasePropertyData.SetPropValue(Field field, Object oValue, Int32 row)
at Kingdee.BOS.Business.DynamicForm.BusinessService.TakeBasePropertyData.SetValue(String sKey, String sSourceKey, BaseDataField sourceFiled, DynamicObject obj, Int32 row)
at Kingdee.BOS.Business.DynamicForm.BusinessService.TakeBasePropertyData.SetPropertyData(String[] parameters, FormBusinessServiceArgs e)
at Kingdee.BOS.Business.DynamicForm.BusinessService.TakeBasePropertyData.DoAction(FormBusinessServiceArgs e)
at Kingdee.BOS.Core.DynamicForm.FormBusinessServiceUtil.InvokeServices(IDynamicFormView view, Object source, IEnumerable`1 services, Int32 actionType, String activeEntity, DynamicObject activeRow, Int32 rowIndex)
at Kingdee.BOS.Web.DynamicForm.BusinessServiceCaller.InvokeFormBusiness(IDynamicFormView view, Object source, List`1 formBusinessServices, Int32 actionType, String entityKey, Int32 row)
at Kingdee.BOS.Web.DynamicForm.BusinessServiceCaller.CallUpdateBusinessService(FieldAppearance fieldAppearance, Int32 row)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormView.DoLookUpAfterShow(String key, Int32 row, ILookUpField lookUpField, FieldAppearance ap, FormResult result, String combinedFieldKey)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormView.<>c__DisplayClass46.b__45(FormResult result)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormView.<>c__DisplayClass36.b__34()
错误数据: System.Collections.ListDictionaryInternal