收款单保存报错name 'FREALRECAMOUNTFOR_D' is not defined
1、手工新增、系统原有应收单下推生成的收款单保存时不报错,
2、用BOS新建的单据,仿照应收单生成收款单的单据转换规则,生成的收款单保存时报错:
错误信息:
operation":"AR_RECEIVEBILL.MBIClick.tbSplitSave"}]
发生时间:11:11:28
错误来源: Kingdee.BOS.ServiceHelper
错误信息:name 'FREALRECAMOUNTFOR_D' is not defined
===================================================
调用堆栈:
Server stack trace:
在 IronPython.Runtime.Operations.PythonOps.GetVariable(CodeContext context, String name, Boolean isGlobal, Boolean lightThrow)
在
在 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.Util.CalcExprParser.GetExpressionValue(VerifyExpressionParameter calcParameter)
在 Kingdee.BOS.App.Core.BusinessFlow.BusinessFlowWriteBack.FillWriteBackRowAmount(IDynamicFormModel model, Row`1 articulationRow, WRule`1 writebackrow, RuleMapping ruleMapping)
在 Kingdee.BOS.App.Core.BusinessFlow.BusinessFlowWriteBack.FillWriteBackRowWithOutSourceAmount(IDynamicFormModel model, Row`1 articulationRow, WRule`1 writebackrow, List`1 rowFirstNodes)
在 Kingdee.BOS.App.Core.BusinessFlow.BusinessFlowWriteBack.FillArticulationRowWriteBackRows(IDynamicFormModel model, Row`1 articulationRow, Dictionary`2 routeTrees)
在 Kingdee.BOS.App.Core.BusinessFlow.BusinessFlowWriteBack.FillSheetWriteBackRows(IDynamicFormModel model, Sheets`1 sheets, Dictionary`2 routeTrees)
在 Kingdee.BOS.App.Core.BusinessFlow.BusinessFlowWriteBack.DoWriteBack(Sheets`1 sheets, AED`1 aed)
在 Kingdee.BOS.App.Core.BusinessFlow.BusinessFlowTracker`1.WriteDataToDB(BusinessFlowInstanceCollection newInstances, BusinessFlowTrackerCollection trackerRows, Sheets`1 sheets, Sheets`1 snapshot, AED`1 aed)
在 Kingdee.BOS.App.Core.BusinessFlow.BusinessFlowTracker`1.Save(Sheets`1 sheets)
在 Kingdee.BOS.App.Core.BusinessFlow.BusinessFlowTrackerApply.Save(DynamicObject[] dataObjects, String operationNumber)
在 Kingdee.BOS.App.Core.Save.SaveConvertData(DynamicObject[] dataObject)
在 Kingdee.BOS.App.Core.AbstractOprerationService.CallOperation(DynamicObject[]& objs)
在 Kingdee.BOS.App.Core.AbstractOprerationService.CallOperatinTransaction(DynamicObject[] objs)
在 Kingdee.BOS.App.Core.AbstractOprerationService.DoExcete()
在 Kingdee.BOS.App.Core.AbstractOprerationService.Excute(DynamicObject[] dataEntities)
在 Kingdee.BOS.App.Core.SaveService.Save(Context ctx, BusinessInfo info, DynamicObject[] dataEntities, OperateOption option, String operationNumber)
Exception rethrown at [0]:
在 Kingdee.BOS.ServiceHelper.BusinessDataServiceHelper.Save(Context ctx, BusinessInfo businessInfo, DynamicObject dataObject, OperateOption option, String operationNumber)
在 Kingdee.BOS.Model.Bill.BillModel.Save(OperateOption option)
在 Kingdee.BOS.Business.Bill.Operation.Save.ExecuteBillOperation(OperateOption option)
在 Kingdee.BOS.Core.DynamicForm.AbstractDynamicFormOperation.Operation(CallBackWfAfterOperation callbackwf, IOperationResult result)
在 Kingdee.BOS.Core.DynamicForm.AbstractDynamicFormOperation.Execute(InvokeFormOperation4WfParam param, CallBackWfAfterOperation callbackwf)
在 Kingdee.BOS.Web.DynamicForm.AbstractDynamicWebFormView.InvokeFormOperation(String operationNumber)
在 Kingdee.BOS.Business.DynamicForm.BusinessService.ExcuteOperation.DoAction(FormBusinessServiceArgs e)
在 Kingdee.BOS.Core.DynamicForm.FormBusinessServiceUtil.InvokeServices(IDynamicFormView view, Object source, IEnumerable`1 services, Int32 actionType, String activeEntity, DynamicObject activeRow, Int32 rowIndex)
在 Kingdee.BOS.Web.DynamicForm.BusinessServiceCaller.InvokeFormBusiness(IDynamicFormView view, Object source, List`1 formBusinessServices, Int32 actionType, String entityKey, Int32 row)
在 Kingdee.BOS.Web.DynamicForm.DynamicWebFormView.BarItemClick(String parentKey, String barItemKey, BarDataManager bar, Int32 bartype)
在 Kingdee.BOS.Web.DynamicForm.DynamicWebFormView.MainBarItemClick(String barItemKey)
在 Kingdee.BOS.Web.DynamicForm.DynamicWebFormController.MainBarItemClick(String itemKey, JSONArray postDatas)
错误数据: System.Collections.ListDictionaryInternal
推荐阅读