子单据体增加物料字段后报错,且删除还是报错
金蝶云社区-云小爱
云小爱
0人赞赏了该文章 1,236次浏览 未经作者许可,禁止转载编辑于2013年09月29日 09:16:12

二开单据上有父单据体和子单据体,父单据体上包含物料字段,运行正常,后在子单据体上增加物料字段,运行时报如下错误:
发生时间:09:09:42
错误来源: Kingdee.BOS.ServiceHelper
错误信息:寻找实体上MATERIALTESTENTRYDETAIL对应的属性描述符失败,实体不存在此属性!
===================================================
调用堆栈:

Server stack trace:
at Kingdee.BOS.Orm.Metadata.DataEntity.DynamicProperty.FindTrueProperty(DynamicObject dataEntity)
at Kingdee.BOS.App.Core.BusinessFlow.BusinessFlowTrackerApply.GetDynamicObjectCollection(DynamicObject dataObject, Entity entity)
at Kingdee.BOS.App.Core.BusinessFlow.BusinessFlowTrackerApply.CreateArticulationSheet(LinkEntity linkEntity, DynamicObject dataObject)
at Kingdee.BOS.App.Core.BusinessFlow.BusinessFlowTrackerApply.Save(DynamicObject[] dataObjects, String operationNumber)
at Kingdee.BOS.App.Core.Save.SaveConvertData(DynamicObject[] dataObject)
at Kingdee.BOS.App.Core.Save.ExecuteOperatinTransaction(DynamicObject[] objs)
at Kingdee.BOS.App.Core.AbstractOprerationService.CallOperation(DynamicObject[]& objs)
at Kingdee.BOS.App.Core.AbstractOprerationService.CallOperatinTransaction(DynamicObject[] objs)
at Kingdee.BOS.App.Core.AbstractOprerationService.DoExcete()
at Kingdee.BOS.App.Core.AbstractOprerationService.Excute(DynamicObject[] dataEntities)
at Kingdee.BOS.App.Core.SaveService.Save(Context ctx, BusinessInfo info, DynamicObject[] dataEntities, OperateOption option, String operationNumber)

Exception rethrown at [0]:
at Kingdee.BOS.ServiceHelper.BusinessDataServiceHelper.Save(Context ctx, BusinessInfo businessInfo, DynamicObject dataObject, OperateOption option, String operationNumber)
at Kingdee.BOS.Model.Bill.BillModel.Save(OperateOption option)
at Kingdee.BOS.Business.Bill.Operation.Save.ExecuteBillOperation(OperateOption option)
at Kingdee.BOS.Core.DynamicForm.AbstractDynamicFormOperation.Operation(CallBackWfAfterOperation callbackwf, IOperationResult result)
at Kingdee.BOS.Core.DynamicForm.AbstractDynamicFormOperation.Execute(InvokeFormOperation4WfParam param, CallBackWfAfterOperation callbackwf)
at Kingdee.BOS.Web.DynamicForm.OperationCaller.InvokeFormOperation(String operationNumber)
at Kingdee.BOS.Business.DynamicForm.BusinessService.ExcuteOperation.DoAction(FormBusinessServiceArgs e)
at Kingdee.BOS.Core.DynamicForm.FormBusinessServiceUtil.InvokeServices(IDynamicFormView view, Object source, IEnumerable`1 services, Int32 actionType, String activeEntity, DynamicObject activeRow, Int32 rowIndex)
at Kingdee.BOS.Web.DynamicForm.BusinessServiceCaller.InvokeFormBusiness(IDynamicFormView view, Object source, List`1 formBusinessServices, Int32 actionType, String entityKey, Int32 row)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormView.BarItemClick(String parentKey, String barItemKey, BarDataManager bar, Int32 bartype)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormView.MainBarItemClick(String barItemKey)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormController.MainBarItemClick(String itemKey, JSONArray postDatas)
错误数据: System.Collections.ListDictionaryInternal

求大神指点!