委外订单关联生成直接调拨单报错的问题
金蝶云社区-tonylinyy
tonylinyy
0人赞赏了该文章 1,708次浏览 未经作者许可,禁止转载编辑于2014年04月27日 00:38:14

版本:V3.0+最新周补丁
操作步骤:手工新增一张委外订单,发现用料清单少了一个物料,于是打开用料清单,点关联生成委外用料清单变更单,新增缺少的物料,然后审核,然后在委外订单关联生成直接调拨单,就报以下的错误了。
截图:

报错日志:
发生时间:00:24:35
错误来源: mscorlib
错误信息:The value "Microsoft.Scripting.Interpreter.InterpretedFrameInfo" is not of type "System.String" and cannot be used in this generic collection.
Parameter name: key
===================================================
调用堆栈:

Server stack trace:
at System.ThrowHelper.ThrowWrongKeyTypeArgumentException(Object key, Type targetType)
at System.Collections.Generic.Dictionary`2.System.Collections.IDictionary.set_Item(Object key, Object value)
at Microsoft.Scripting.Interpreter.Interpreter.HandleException(InterpretedFrame frame, Exception exception)
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.App.Core.Convertible.BusinessService.Calculate.DoAction(PushBusinessServiceArgs e)
at Kingdee.BOS.App.Core.Convertible.ExecuteFormBusinessAction.ExecuteFormBusinessService(IDynamicFormModel model, FormBusinessService service, IPushFormBusinessService executeService)
at Kingdee.BOS.App.Core.Convertible.ExecuteFormBusinessAction.Do()
at Kingdee.BOS.Core.BusinessPolicyModel.BusinessPolicyEngine.Do(OperateOption context)
at Kingdee.BOS.App.Core.Convertible.ConvertEngine.OnCreating(PushArgs pushArgs, OperateOption option)
at Kingdee.BOS.App.Core.ConvertService.Push(Context ctx, PushArgs serviceArgs, OperateOption option, Boolean validPermission)

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.IConvertService.Push(Context ctx, PushArgs serviceArgs, OperateOption option, Boolean validPermission)
at Kingdee.BOS.ServiceHelper.ConvertServiceHelper.Push(Context ctx, PushArgs serviceArgs, OperateOption option)
at Kingdee.BOS.Business.Bill.Operation.Push.DoPush(OpFormReturnInfo retInfo, ListSelectedRow[] selectedRows)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormView.<>c__DisplayClass2d.b__2b()
错误数据: System.Collections.ListDictionaryInternal