业务场景:在物料上增加文本字段命名为货号,由新增物料人员填写,现需要把该字段在即时库存中显示,所以在即时库存中增加基础资料属性字段取物料上的货号字段,在查询即时库存的时候也能看到改货号,在即时库存中已货号搜索的时候报错,如下
[{"operation":"STK_InvSumQuery_List.ToolBarItemClick"}]
发生时间: 2017-01-05 09:25:06
错误编号: BOS_ExecuteNonQuery
错误信息: 列名 'F_PAEZ_BaseProperty' 无效。
列名 'F_PAEZ_BaseProperty' 无效。
Sql语句: SELECT t0.FQTY fqty, t0.FSTOCKUNITID fstockunitid, t0.FBASEUNITID fbaseunitid, t0.FBASEQTY fbaseqty, t0.FSECQTY fsecqty, t0.FSECUNITID fsecunitid, t0.FLOCKQTY flockqty, t0.FBASELOCKQTY fbaselockqty, t0.FSECLOCKQTY fseclockqty, t0.FAVBQTY favbqty, t0.FBASEAVBQTY fbaseavbqty, t0.FSECAVBQTY fsecavbqty, t0.FMATERIALID fmaterialid, t0.FSTOCKID fstockid, t0.FLOT flot, t0.FSTOCKORGID fstockorgid, st012.FPRECISION fstockunitid_fprecision, t0.FOBJECTTYPEID fobjecttypeid, t0.FID fid, ROW_NUMBER() OVER( ORDER BY t0.FID ASC) fidentityid INTO TMPC9A61B75D2E511E680C61418776 FROM T_STK_INVENTORY t0 LEFT OUTER JOIN T_BD_UNIT st012 ON t0.FSTOCKUNITID = st012.FUNITID WHERE (((((F_PAEZ_BaseProperty LIKE N'%SYHC0001%') AND ((t0.FBASEQTY <> 0) OR (t0.FSECQTY <> 0))) AND (F_PAEZ_BaseProperty LIKE N'%SYHC0001%')) AND (t0.FSTOCKORGID = 0 OR (t0.FSTOCKORGID IN (1) AND t0.FSTOCKORGID = 1))) AND t0.FOBJECTTYPEID = 'STK_Inventory')
===================================================
调用堆栈:
在 Kingdee.BOS.App.Data.AbstractDatabase.ExecuteNonQuery(DbCommand command, IEnumerable`1 listParam)
在 Kingdee.BOS.App.Data.DBUtils.ExecuteBatch(Context ctx, List`1 lstSqlObj)
在 Kingdee.K3.SCM.App.Core.StockInvService.FillInvSumQueryData(Context ctx, Dictionary`2 para)
在 Kingdee.K3.SCM.ServiceHelper.StockServiceHelper.FillInvSumQueryData(Context ctx, Dictionary`2 para)
在 Kingdee.K3.SCM.Stock.Business.PlugIn.InvSumQueryList.BuildSumVewData(String queryFilter, String orgFilter, Int32 maxRowCount)
在 Kingdee.K3.SCM.Stock.Business.PlugIn.InvSumQueryList.PrepareFilterParameter(FilterArgs e)
在 Kingdee.BOS.Core.List.PlugIn.ListModelPlugInProxy.FirePrepareFilterParameter(FilterArgs e)
在 Kingdee.BOS.Model.List.ListModel.CreateSqlBuilderParameter()
在 Kingdee.BOS.Model.List.ListModel.CreateSqlBuilder()
在 Kingdee.BOS.Web.List.ListView.OnRefreshByFilter()
在 Kingdee.BOS.Web.DynamicForm.AbstractDynamicWebFormView.RefreshByFilter()
在 Kingdee.BOS.Web.List.ListView.RefreshByFilterScheme()
在 Kingdee.BOS.Web.List.ListView.Search()
在 Kingdee.BOS.Web.DynamicForm.DynamicWebFormController.ToolBarItemClick(String barName, String itemKey, JSONArray postDatas)
QQ截图20170105092629.png(57.70KB)
推荐阅读