销售订单选择客户的时候报错
金蝶云社区-张柳
张柳
0人赞赏了该文章 831次浏览 未经作者许可,禁止转载编辑于2017年02月27日 16:23:26

销售订单新增的时候选择客户报错

详细报错信息如下:
[{"operation":"SAL_SaleOrder.SetItemValueByIDFromClient"}]
发生时间:16:22:01
错误来源: 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.RuntimeScriptCode.InvokeTarget(Scope scope)
at Kingdee.BOS.Scripting.PyExpressionEvaluator.Run(Expression expression, ExpressionContext context)
at Kingdee.BOS.Business.DynamicForm.BusinessService.Calculate.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.AbstractDynamicWebFormView.InvokeFieldUpdateService(String key, Int32 row)
at Kingdee.K3.SCM.Sal.Business.PlugIn.Common.SetDefaultHeadLoc(AbstractBillPlugIn billPlugIn, String receiverKey, String headLocKey, Boolean isSetValue)
at Kingdee.K3.SCM.Sal.Business.PlugIn.SaleOrderEdit.DataChanged(DataChangedEventArgs e)
at Kingdee.BOS.Core.DynamicForm.PlugIn.DynamicFormModelPlugInProxy.FireDataChanged(DataChangedEventArgs e)
at Kingdee.BOS.Core.DynamicForm.AbstractDynamicFormModel.UpdateFieldValue(Field field, DynamicObject obj, Object value, Int32 row)
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, DynamicObject activeRow, Object value)
at Kingdee.BOS.Core.DependencyRules.BOSDynamicRow.TrySetMember(String key, Object value)
at Kingdee.BOS.Scripting.ExpressionContext.TrySetValue(String key, Object newValue)
at Kingdee.BOS.Scripting.PyDynamicMetaObject.TrySetMember(SetMemberBinder binder, Object value)
at CallSite.Target(Closure , CallSite , Object , Object )
at IronPython.Runtime.PythonContext.SetAttr(CodeContext context, Object o, String name, Object value)
at IronPython.Runtime.Operations.PythonOps.SetAttr(CodeContext context, Object o, String name, Object value)
at Microsoft.Scripting.Interpreter.ActionCallInstruction`3.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
at Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1)
at IronPython.Compiler.PythonScriptCode.RunWorker(CodeContext ctx)
at IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope)
at Kingdee.BOS.Scripting.PyExpressionEvaluator.Run(Expression expression, ExpressionContext context)
at Kingdee.BOS.Business.DynamicForm.BusinessService.Calculate.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.SetItemValueByIDFromClient(String key, Object id, Int32 row)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormController.SetItemValueByIDFromClient(String key, Object id, Int32 row, JSONArray postDatas)
错误数据: System.Collections.ListDictionaryInternal

cloud5.0