Cloud 7.0 基础资料单据头自定义字段如何映射到动态表单头
金蝶云社区-古帆浪子
古帆浪子
0人赞赏了该文章 1,573次浏览 未经作者许可,禁止转载编辑于2017年12月05日 14:41:10

Cloud 7.0 基础资料单据头自定义字段如何映射到动态表单单据头?


1、多基础资料的的单据 物料清单 进行扩展 增加自定义字段


2、在动态表单 物料清单正查 增加同样字段

3、在字段映射 物料清单至BOM展开模型 增加映射对应关系后审核。

4、物料清单自定义字段 填写并 重新启动IIS

5、在物料正查上找对应BOM 刷新 之后 无法取值。出现以下报错。




[i][u][{"operation":"ENG_BomQueryForward2.ButtonClick"}]
发生时间: 14:37:47
错误编号: 4c60f7eb0caa4e6bae1ff389fdaf65dd
错误信息: 寻找实体上F_CSCX_SA对应的属性描述符失败,实体不存在此属性![EntityType:BomExpandResult Propeyties:Id MaterialId_Id MaterialId BomId_Id BomId NeedDate NeedQty WorkCalId_Id WorkCalId DayId TimeUnit MtoNo BomEntryId BomLevel MaterialType IsExpanded ParentEntryId EffectDate ExpireDate BaseNumerator BaseFixScrapQty FixScrapQty ScrapRate BaseQty TopEntryId DosageType AccuNumerator AccuDenominator UnitId_Id UnitId BaseUnitId_Id BaseUnitId Qty Numerator Denominator BomEntryControl SrcBillNo DISASSMBLERATE AuxPropId_Id AuxPropId BaseActualQty SupplyDate OffsetTime BaseDenominator ActualQty OWNERTYPEID OWNERID_Id OWNERID SrcFormId_Id SrcFormId SrcInterId SrcEntryId SrcSeqNo SupplyOrgId_Id SupplyOrgId STOCKID_Id STOCKID STOCKLOCID_Id STOCKLOCID ISSUETYPE FISGETSCRAP RowId PickOrgId_Id PickOrgId ParentUnitId_Id ParentUnitId BomEntryGuid IsSubsKeyItem BackFlushType Memo IsKeyItem AllowOver OperId OverRate PositionNo ProcessId_Id ProcessId BillAccuNumerator BillAccuDenominator SupRate ExceptionCode StartDate ErpClsId InstockOrgId_Id InstockOrgId DemandOrgId_Id DemandOrgId SupplyManagerId_Id SupplyManagerId ReplaceGroup ReplacePolicy ReplaceType SupplyManagerEntryId SupplyGroup OverControlMode BillAccuYieldRate AccuDisassmbleRate ReplacePriority OPTQUEUE TotalGroup BatchQty BaseActDenominator ISSkip ISMinIssueQty SupplyMode PATHENTRYID F_WH_SA ]
===================================================
调用堆栈:
在 Kingdee.BOS.Orm.Metadata.DataEntity.DynamicProperty.FindTrueProperty(DynamicObject dataEntity)
在 Kingdee.BOS.Orm.Metadata.DataEntity.DynamicProperty.SetValue(DynamicObject dataEntity, Object newValue)
在 Kingdee.K3.MFG.App.MFGBillFieldLinkUtil.DoFieldMapping(List`1 handles, DynamicObject sourceDataEntity, DynamicObject targetDataEntity)
在 Kingdee.K3.MFG.ENG.App.Core.BomExpand.ImplMem.ForwardAction.ResultPolicy.ResultFieldMapPolicy.Execute(IEnumerable`1 dataEntities)
在 Kingdee.K3.MFG.ENG.App.Core.BomExpand.ImplMem.BomExpandMemStrategy.AddBomChildToResult(Context ctx, DynamicObject bomExpandDataObject, BomExpandResult bomExpandRow, BomView bomBillDataView, BomExpandOption option)
在 Kingdee.K3.MFG.ENG.App.Core.BomExpand.ImplMem.BomExpandMemStrategy.DoBomExpandCore(Context ctx, DynamicObject bomExpandDataObject, IEnumerable`1 bomExpandRows, BomExpandOption option, Boolean isParent)
在 Kingdee.K3.MFG.ENG.App.Core.BomExpand.ImplMem.BomExpandMemStrategy.DoBomExpand()
在 Kingdee.K3.MFG.ENG.App.Core.BomExpandMemService.ExpandBomForward(Context ctx, List`1 lstBomOpenSource, MemBomExpandOption option, AbstractBomExpandStrategy bomExpandStrategy)
在 Kingdee.K3.MFG.ENG.App.Core.BomExpandMemService.ExpandBomForward(Context ctx, List`1 lstBomOpenSource, MemBomExpandOption option)
在 Kingdee.K3.MFG.ENG.App.Core.BomQueryService.GetBomQueryForwardResult(Context ctx, List`1 sourceData, MemBomExpandOption_ForPSV option)
在 Kingdee.K3.MFG.ServiceHelper.ENG.BomQueryServiceHelper.GetBomQueryForwardResult(Context ctx, List`1 sourceData, MemBomExpandOption_ForPSV option)
在 Kingdee.K3.MFG.ENG.Business.PlugIn.DynamicForm.BomQueryForward.FillBomChildData()
在 Kingdee.BOS.Core.DynamicForm.PlugIn.DynamicFormViewPlugInProxy.FireButtonClick(ButtonClickEventArgs e)
在 Kingdee.BOS.Web.DynamicForm.DynamicWebFormView.ButtonClick(String key, String menuKey)
在 Kingdee.BOS.Web.DynamicForm.DynamicWebFormController.ButtonClick(String buttonKey, String menuKey, JSONArray postDatas)[/u][/i]