【已解决】5.0升6.1凭证生成情况查询报错!!
金蝶云社区-云社区用户JX321035
云社区用户JX321035
0人赞赏了该文章 334次浏览 未经作者许可,禁止转载编辑于2016年07月14日 10:22:43

5.0升6.1 打了7月1日补丁
凭证生成情况查询,勾选【期初在产品成本调整(凭证)】查询会报错!
勾选其他的正常。
联系QQ:651011734

MERGE INTO #TM_GL_VOUCHERPRODUCESEARCH A USING (Select t0.FID AS FShitBillID FROM V_HS_OUTACCTGINITPROCOSTADJ t0 ) B ON (A.FBillPKID=B.FShitBillID AND A.FVchTmplID='079' AND A.FORMID='CB_INITPROCOSTADJVOUCHER' AND A.FACCTBOOKID=161460) WHEN MATCHED THEN UPDATE SET A.FVchTmplGrpID='079_1'

Server stack trace:
在 Kingdee.BOS.App.Data.Sql.SqlDatabase.ExecuteBatch(List`1 sqlArray, Int32 batchSize, Int32 commandTimeout)
在 Kingdee.BOS.App.Data.DBUtils.ExecuteBatchWithTime(Context ctx, List`1 sqlArray, Int32 batchSize, Int32 commandTimeout)
在 Kingdee.K3.FIN.App.Core.VoucherService.BizVchCommonFunction.ExecuteBatchWithTime(Context ctx, List`1 sqlLst, String funcDescription)
在 Kingdee.K3.FIN.GL.App.Core.VoucherProduceSearch.Executesql(Context ctx, List`1 sqlLst, String Message, String numStr)
在 Kingdee.K3.FIN.GL.App.Core.VoucherProduceSearch.GetBizBillDataSql(Context ctx, String tempTableName, String billDataIDSTbl, Boolean breakWhenNoGlVch)
在 Kingdee.K3.FIN.GL.App.Core.VoucherProduceSearch.DataDeal(Context ctx, String tempTableName, Boolean breakWhenNoGlVch)
在 Kingdee.K3.FIN.GL.App.Core.VoucherProduceSearch.BuilderSql(Context ctx, String tableName, String filter, String orderby)
在 Kingdee.K3.FIN.GL.App.Report.VoucherProduceSearchService.BuilderSql(IRptParams filter, String tableName)
在 Kingdee.BOS.Core.Report.PlugIn.AbstractSysReportServicePlugIn.CreateTempTable(IRptParams filter, String tablename)
在 Kingdee.BOS.Core.Report.PlugIn.AbstractSysReportServicePlugIn.GetDataForVirtual(IRptParams filter)
在 Kingdee.BOS.Core.Report.PlugIn.AbstractSysReportServicePlugIn.GetData(IRptParams filter)
在 Kingdee.BOS.App.Core.PlugInProxy.SysReportServicePlugInProxy.GetReportData(ReportServiceParameter parameter)
在 Kingdee.BOS.App.Core.SysReportService.GetReportData(ReportServiceParameter parameter)
Exception rethrown at [0]:
在 System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
在 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
在 Kingdee.BOS.Contracts.ISysReportService.GetReportData(ReportServiceParameter parameter)
在 Kingdee.BOS.ServiceHelper.SysReportServiceHelper.GetReportData(ReportServiceParameter parameter)
在 Kingdee.BOS.Model.Report.SysReportModel.GetData(Int32 start, Int32 rows)
在 Kingdee.BOS.Web.Report.SysReportView.GetListData()
在 Kingdee.BOS.Web.Report.SysReportView.<>c__DisplayClass4d.b__49()