出错日志为:往属性集合BillHead中添加属性F_BAM_PurOrder失败,已经存在此属性! StackTrace :
Server stack trace:
at Kingdee.BOS.Orm.Metadata.DataEntity.DynamicPropertyCollection.AddRange(DynamicProperty[] properties)
at Kingdee.BOS.Orm.Metadata.DataEntity.DynamicObjectType.RegisterSimpleProperty(String name, Type propertyType, Object defaultValue, Boolean isReadonly, Object[] attributes)
at Kingdee.BOS.Core.Metadata.FieldElement.Field.RegisterDynamicProperty(DynamicObjectType dt)
at Kingdee.BOS.Core.Metadata.BusinessInfo.RegisterProperty(Entity entity, DynamicObjectType dt, Form form, Dictionary`2 elementsByKey)
at Kingdee.BOS.Core.Metadata.BusinessInfo.BuilderHeaderDataType(Form form, HeadEntity entity, String namePropertyName, Dictionary`2 elementsByKey)
at Kingdee.BOS.Core.Metadata.BusinessInfo.BuildDynamicObjectType()
at Kingdee.BOS.Core.Metadata.BusinessInfo.GetDynamicObjectType(Boolean forceRebuild)
at Kingdee.BOS.App.Core.MetaServicePlugIn.FormMetaServicePlugIn.OnLoadEmbedRefObject(AfterReadArgs e)
at Kingdee.BOS.App.Core.MetaDataLoadService.LoadEmbedRefObject(AbstractBusinessMetadata meta)
at Kingdee.BOS.App.Core.MetadataXmlReader.Load(String id, Boolean runtime, Boolean loadEmbedRefObject, Boolean getBaseObject, Int32 modeltypeId, Boolean isLoadSubObject)
at Kingdee.BOS.App.Core.MetaDataService.Load(Context ctx, String id, String layoutViewId, Boolean bRuntime)
at Kingdee.BOS.App.Core.MetaDataService.Load(Context ctx, String id, Boolean bRuntime)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Kingdee.BOS.Contracts.IMetaDataService.Load(Context ctx, String id, Boolean bRuntime)
at Kingdee.K3.FIN.HS.App.Core.OutStockAcctg.Object.StockBillData.InsertBillData(Context ctx, OutStockAcctgParameters acctgParameters, List`1 configs)
at Kingdee.K3.FIN.HS.App.Core.OutStockAcctg.Object.StockBillData.GetStockBillData(Context ctx, OutStockAcctgParameters acctgParameters, List`1 configs)
at Kingdee.K3.FIN.HS.App.Core.OutStcokCostAcctg.GetOutInStockAcctgData(Context ctx, OutStockAcctgParameters acctgParameters)
at Kingdee.K3.FIN.HS.App.Core.OutStcokCostAcctg.GetBillData(Context ctx, OutStockAcctgParameters acctgParameters)
at Kingdee.K3.FIN.HS.App.Core.OutStcokCostAcctg.BeforeOutStockAcctg(Context ctx, OutStockAcctgParameters acctgParameters)
at Kingdee.K3.FIN.App.Core.OutAcctg.AbstractAcctgService.BeforeExecution[T](Context ctx, T acctgParameters)
at Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.BeforeExecuteServiceForShedule[T,K](Context ctx, T acctgParameters, CostAcctgServiceObject`1 service)
at Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.ExecutionBatchServiceObject[T,K](Context ctx, T acctgParameters, Dictionary`2 services, CostCalType calType, List`1 checkAttrs, Boolean isLast)
at Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.OutStockAcctg(ComputeContext ctx, OutStockAcctgParameters acctgParameters)
at Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencilService.CostAcctg(ComputeContext ctx, OutStockAcctgParameters acctgParameters)
F_BAM_PurOrder为应付单表头二开添加的文本字段,从采购入库单携带采购订单编号
另外发现5月18日的采购入库单CGRK01050下推了标准应付单:AP00005675,业务日期同样为2016年5月18日,标准应付单也进行了审核,但是在勾稽日志中无法查到这个入库单和应付单的勾稽记录。导致现在无法对入库单CGRK01050进行采购费用分配
环境:cloud5.1 +4月补丁
推荐阅读