销售出库单下推应收单保存时报错
金蝶云社区-云社区用户4aIM1234
云社区用户4aIM1234
0人赞赏了该文章 1,052次浏览 未经作者许可,禁止转载编辑于2015年07月20日 10:47:49

环境:5.0版本 6月19号补丁
[{"operation":"AR_receivable.MBIClick.tbSplitSave"}]
发生时间:10:44:57
错误来源: Kingdee.BOS.ServiceHelper
错误信息:对实体类型SAL_RETURNSTOCK注册复杂属性SaleOrgId失败,属性类型dataEntityType不能为空!
===================================================
调用堆栈:

Server stack trace:
在 Kingdee.BOS.Orm.Metadata.DataEntity.DynamicObjectType.RegisterComplexProperty(String name, DynamicObjectType dataEntityType, Boolean isReadonly, Object[] attributes)
在 Kingdee.BOS.Core.Metadata.FieldElement.BaseDataField.RegisterDynamicProperty(DynamicObjectType dt)
在 Kingdee.BOS.Core.Metadata.BusinessInfo.RegisterProperty(Entity entity, DynamicObjectType dt, Form form, Dictionary`2 elementsByKey)
在 Kingdee.BOS.Core.Metadata.BusinessInfo.BuilderHeaderDataType(Form form, HeadEntity entity, String namePropertyName, Dictionary`2 elementsByKey)
在 Kingdee.BOS.Core.Metadata.BusinessInfo.BuildDynamicObjectType()
在 Kingdee.BOS.Core.Metadata.BusinessInfo.GetDynamicObjectType(Boolean forceRebuild)
在 Kingdee.BOS.App.Core.MetadataXmlReader.Load(String id, Boolean runtime, Boolean loadEmbedRefObject, Boolean getBaseObject, Int32 modeltypeId, Boolean isLoadSubObject)
在 Kingdee.BOS.App.Core.MetaDataService.Load(Context ctx, String id, String layoutViewId, Boolean bRuntime)
在 Kingdee.BOS.App.Core.MetaDataService.Load(Context ctx, String id, Boolean bRuntime)
在 Kingdee.BOS.App.Core.BusinessFlow.BusinessFlowWriteBack.LoadFormMetadata(String formId)
在 Kingdee.BOS.App.Core.BusinessFlow.BusinessFlowWriteBack.LoadEntityTableNumber(WriteBackRuleElement ruleElement, Boolean& isHeadEntity)
在 Kingdee.BOS.App.Core.BusinessFlow.BusinessFlowWriteBack.BuildRuleMapping(IDynamicFormModel model, WriteBackRuleElement rule)
在 Kingdee.BOS.App.Core.BusinessFlow.BusinessFlowWriteBack.CreateArticulationRowWriteBackRow(IDynamicFormModel model, Row`1 row, WriteBackRuleElement rule)
在 Kingdee.BOS.App.Core.BusinessFlow.BusinessFlowWriteBack.CreateArticulationRowWriteBackRows(IDynamicFormModel model, Row`1 row)
在 Kingdee.BOS.App.Core.BusinessFlow.BusinessFlowWriteBack.CreateSheetWriteBackRows(IDynamicFormModel model, Sheets`1 sheets)
在 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