如题,1、A单据与B单据通过单据头与单据头关联,在单据转换插件的断点跟踪中发现,OnGetSourceData这个方法并没有执行
2、目标B单据保存时报如下错误:
“Kingdee.BOS.Core.DependencyRules.LazyCollection
[{"operation":"BAH_PeiJianXiaoShouDan.MBIClick.tbSplitSave"}]
发生时间: 14:36:11
错误编号: 19329ee95f924dd4ba815f5735cc2cde
错误信息: “Kingdee.BOS.Core.DependencyRules.LazyCollection
Server stack trace:
在 CallSite.Target(Closure , CallSite , Object )
在 Kingdee.BOS.App.Core.BusinessFlow.BusinessFlowWriteBack.GetQtyEtcFieldScale(Row`1 articulationRow, DynamicRowModel rowModel, FieldScaleMapping scaleMapping, RoundMode& roundMode)
在 Kingdee.BOS.App.Core.BusinessFlow.BusinessFlowWriteBack.GetMaxFieldScale(Row`1 articulationRow, RuleMapping ruleMapping, RoundMode& roundMode)
在 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, AED`1 aed, Dictionary`2 routeTrees)
在 Kingdee.BOS.App.Core.BusinessFlow.BusinessFlowWriteBack.DoWriteBack(Sheets`1 sheets, 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)
求解!
推荐阅读