Hey,
I am attempting to edit the report for receipt entry and am running into issues, so I figure it would be best to ask the community and see if anyone can help. I am attempting to print a tag from receipt entry where I am adding a few tables are the UD08 table and part tables for other part info. Here is what I have so far.
Microsoft report builder is as follows, I tried a few different options where each table in the data definition was a separate data set, but that didn’t work so here is what I settled on please correct me if this is wrong.
Dataset query on Mtl Queue
=“SELECT T1.Company,
T1.PartNum,
T2.Company,
T2.PartNum
T2.IUM,
T2.PartDescription,
T3.Company,
T3.PartNum,
T3.LotNum,
T4.Company,
T4.LotNum,
T4.OnhandQty,
T5.Key1,
T5.Key2,
T5.ShortChar10,
T5.ShortChar14
FROM MtlQueue_” + Parameters!TableGuid.Value + " T1
LEFT OUTER JOIN PartNum" + Parameters!TableGuid.Value + " T2
ON T1.Company = T2.Company AND T1.PartNum = T2.PartNum
LEFT OUTER JOIN PartLot" + Parameters!TableGuid.Value + " T3
ON T2.Company = T3.Company AND T2.PartNum = T3.PartNum
LEFT OUTER JOIN PartBin" + Parameters!TableGuid.Value + " T4
ON T3.Company = T4.Company AND T3.LotNum = T4.LotNum
LEFT OUTER JOIN UD08" + Parameters!TableGuid.Value + " T5
ON T3.PartNum = T5.Key1 AND T3.LotNum = T5.Key2"
And here is my report data definition
All fields the are excluded in the data definition besides the default which I am not using for my label anyways are on the dataset query above. Joins all match the report relationships as well. It uploaded properly, but when I try to run the report I get the following error:
Program Ice.Services.Lib.RunTask when executing task 16446541 raised an unexpected exception with the following message: RunTask:
Ice.Core.SsrsReporting.SsrsCaller.SsrsException: The SSRS server returned the status code 500 (InternalServerError) with the following error text:
An error has occurred during report processing. —> Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing. —> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for dataset ‘MtlQueue’. —> Microsoft.Data.SqlClient.SqlException: Invalid object name ‘PartNum66d7ed92ec6346d6a82bd424a695dae7’.
at Ice.Core.SsrsReporting.SsrsCaller.SoapCaller.Call[TContent,TResponse,TSoapHeader](String actionName, TContent content, TSoapHeader soapHeader) in C:_releases\ICE\ICE5.1.100.10\Source\Server\Internal\Lib\TaskLib\SsrsReporting\SsrsCaller\SoapCaller.cs:line 47
at Ice.Core.SsrsReporting.SsrsCaller.ReportExecutionService.Render(String format, String deviceInfo, String& extension, String& mimeType, String& encoding, Warning& warnings, String& streamIds) in C:_releases\ICE\ICE5.1.100.10\Source\Server\Internal\Lib\TaskLib\SsrsReporting\SsrsCaller\ReportExecutionService.cs:line 75
at Ice.Core.SsrsReporting.SsrsRendererBase.TraceReportRendered(String printProgram, String ssrsRenderFormat, Func1 timedAction) in C:\_releases\ICE\ICE5.1.100.10\Source\Server\Internal\Lib\TaskLib\SsrsReporting\SsrsRendererBase.cs:line 81 at Ice.Core.SsrsReporting.ReportProcessorBase.RenderReport_HttpClient(String ssrsRenderFormat, String printProgram, Boolean ignorePageSettings) in C:\_releases\ICE\ICE5.1.100.10\Source\Server\Internal\Lib\TaskLib\SsrsReporting\ReportProcessorBase.cs:line 349 at Ice.Core.SsrsReporting.ReportProcessorBase.RenderReport(String ssrsRenderFormat, String printProgram, Boolean ignorePageSettings) in C:\_releases\ICE\ICE5.1.100.10\Source\Server\Internal\Lib\TaskLib\SsrsReporting\ReportProcessorBase.cs:line 243 at Ice.Core.SsrsReporting.ReportProcessorBase.ProcessReportPart(String reportLocation) in C:\_releases\ICE\ICE5.1.100.10\Source\Server\Internal\Lib\TaskLib\SsrsReporting\ReportProcessorBase.cs:line 159 at Ice.Core.SsrsReporting.StandardReportProcessor.ProcessReportParts() in C:\_releases\ICE\ICE5.1.100.10\Source\Server\Internal\Lib\TaskLib\SsrsReporting\StandardReportProcessor.cs:line 31 at Ice.Core.RoutingAndBreaking.ReportPersister.Persist(ReportInstanceInformation reportInstance, Func2 reportsRenderer, Action1 fillSysRptLstRow, Action2 processReport, Func3 filterTableAttachmentsFunc) at Ice.Core.RptBase.ReportSsrsDatabaseBuilder.RenderUnroutedSsrsReport() in C:\_releases\ICE\ICE5.1.100.10\Source\Server\Internal\Lib\TaskLib\RptBase\ReportSsrsDatabaseBuilder.cs:line 355 at Ice.Core.RptTaskBase1.XMLClose() in C:_releases\ICE\ICE5.1.100.10\Source\Server\Internal\Lib\TaskLib\RptBase\RptTaskBase.cs:line 219
at Erp.Internal.XA.MtlTags.RunProcess(Int64 instanceTaskNum, String outputFileName) in C:_releases\ERP\ERP12.1.100.0\Source\Server\Internal\XA\MtlTags\MtlTags.cs:line 600
at Ice.Hosting.TaskCaller.InnerExecuteTask(IceDataContext newContext) in C:_releases\ICE\ICE5.1.100.10\Source\Server\Framework\Epicor.Ice\Hosting\TaskCaller\TaskCaller.cs:line 71
at Ice.Hosting.TaskCaller.ExecuteTask() in C:_releases\ICE\ICE5.1.100.10\Source\Server\Framework\Epicor.Ice\Hosting\TaskCaller\TaskCaller.cs:line 62
at Ice.Lib.RunTask.BpmFriendlyTaskLauncher.Run(String sessionIdPrefix, IceContext db, Action taskRunner) in C:_releases\ICE\ICE5.1.100.0\Source\Server\Services\Lib\RunTask\BpmFriendlyTaskLauncher.cs:line 57
at Ice.Services.Lib.RunTaskSvc.InnerRunTask(Int64 ipTaskNum, Boolean suppressTransaction) in C:_releases\ICE\ICE5.1.100.0\Source\Server\Services\Lib\RunTask\RunTask.cs:line 349
Which makes no sense to me because the part num field is being referenced in my data definition and of course the dataset query in power bi, so I am wondering why is it stating the object name is invalid and what are the numbers attached to the object name? How do I go about fixing this is my whole report wrong or is it something I need to contact epicor to assist with since I am on multitenant? Please help!






