环境:Cloud 5.0
补丁:PT094252
如题:委外订单下推委外领料单,点击委外领料单明细菜单栏中的“业务查询”--“库存查询”,在弹出的“即时库存”界面中,选中相应的行,点击“返回数据”或者双击行返回数据时,报错如下:
发生时间:10:19:24
错误来源: Kingdee.BOS.DataEntity
错误信息:实体类型MaterialBase中不存在名为BaseUnitId_Id的属性
===================================================
调用堆栈:
at Kingdee.BOS.Orm.DataEntity.DynamicObject.get_Item(String propertyName)
at Kingdee.K3.SCM.Business.DynamicForm.Operation.QueryStock.SetBillRowData(InvQueryRetRecord data, Decimal baseLeftQty, Decimal secLeftQty, String baseRetQtyField, Int32 rowIndex, Boolean useInvQty)
at Kingdee.K3.SCM.Business.DynamicForm.Operation.QueryStock.ApplyReturnData(FormResult ret)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormView.DoCallBackAction(Object returnData, Action`1 action)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormView.FormClosedCallBack(String id, Boolean isSyncCall)
at Kingdee.BOS.Web.DynamicForm.AbstractDynamicWebFormView.CloseWindow()
at Kingdee.BOS.Web.DynamicForm.AbstractDynamicWebFormView.OnClose()
at Kingdee.K3.SCM.Stock.Business.PlugIn.InvJoinQueryEdit.ReturnDetailData()
at Kingdee.K3.SCM.Stock.Business.PlugIn.InvJoinQueryEdit.BarItemClick(BarItemClickEventArgs e)
at Kingdee.BOS.Core.DynamicForm.PlugIn.DynamicFormViewPlugInProxy.FireBarItemClick(BarItemClickEventArgs e)
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
说明:1)BOM中父项物料和子项物料都启用批号和辅助属性;子项物料发料方式为调拨领料或者直接领料;
2)不通过“库存查询”,而直接在委外领料单明细中,手工选择“批号”和输入数量,委外领料单可以保存审核。
事情紧急,请总部尽快帮忙处理谢谢!
推荐阅读