单据转换
金蝶云社区-坑叔
坑叔
0人赞赏了该文章 1,157次浏览 未经作者许可,禁止转载编辑于2015年05月20日 10:11:09

标准单据扩张增加一个分录,下推时进行字段锁定,在服务中调用函数 ISDRAW() = 1 报错,错误信息如下:

未能找到字段FSaleOrderEntry_Link,或在当前实体 FSIGNCONFIG 的上下级中不能访问到。
[{"operation":"SAL_SaleOrder.LoadData"}]
发生时间:10:09:27
错误来源: Kingdee.BOS.Core
错误信息:未能找到字段FSaleOrderEntry_Link,或在当前实体 FSIGNCONFIG 的上下级中不能访问到。
===================================================
调用堆栈:
在 Kingdee.BOS.Core.DependencyRules.RowModel.DynamicRowModel.GetFieldValue(String key)
在 Kingdee.BOS.Core.Metadata.Expression.FuncDefine.IsDrawFuncDefine.IsDraw()
在 CallSite.Target(Closure , CallSite , CodeContext , Object )
在 Microsoft.Scripting.Interpreter.DynamicInstruction`3.Run(InterpretedFrame frame)
在 Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
在 Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1)
在 IronPython.Compiler.PythonScriptCode.RunWorker(CodeContext ctx)
在 IronPython.Compiler.PythonScriptCode.EvalWrapper(CodeContext ctx)
在 IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope)
在 Kingdee.BOS.Scripting.PyExpressionEvaluator.Run(Expression expression, ExpressionContext context)
在 Kingdee.BOS.Core.Metadata.Util.ConditionParser.VerifyExpression(BOSExpression expression, DynamicRowModel dynamicRow, FunctionManage funcLib)
在 Kingdee.BOS.Core.DependencyRules.EntityRule.Execute(BOSActionExecuteContext context)
在 Kingdee.BOS.Core.DependencyRules.RuleContainer`6.Execute(C executeContext, TaskCollection tasks)
在 Kingdee.BOS.Core.DependencyRules.RuleContainer`6.Resume(C executeContext)
在 Kingdee.BOS.Core.DependencyRules.RuleContainer`6.Raise(S arg, C executeContext)
在 Kingdee.BOS.Web.DynamicForm.DataBinder.UpdateView()
在 Kingdee.BOS.Web.DynamicForm.AbstractDynamicWebFormView.UpdateView()
在 Kingdee.BOS.Web.Bill.BillView.UpdateView()
在 Kingdee.BOS.Web.Bill.BillView.LoadData()
在 Kingdee.BOS.Web.DynamicForm.DynamicWebFormController.LoadData()
错误数据: System.Collections.ListDictionaryInternal