The end goal is to add the bill to customer name to the shipping schedule in the job traveler. I’ve added OrderHed as a data source, and given it a relationship to JobShip:
Just a wild guess, is there a space between T1 and LEFT in the expression?
PS: I think you would want to maintain spacing near the quotes too as you are building the SQL statement and the T1 or T2 need to be the alias to the tablename_guid - not tablename_guidT1. If that makes sense.
Are you able to access SSMS and look at the temp tables? if so, do that and look at the tables for your latest GUID. This way you can ensure that the field actually made it into there.
Are you able to run the Subreport on its own with the GUID? sometimes subreports are just finicky and the true error is unclear until you look at it by itself.
I think you spotted it. Because there should also be a space before the T1 as well. And you are missing a space between the second table"+Parameters!TableGuid.Value+" and T2
In your RDD you link from JobShip to OrderHed by Company = Company & OrderNum = OrderNum. When in your SSRS report you link with Company = Company & CustNum = CustNum
The GUID created for the main report (which can be found in the SysMonitor), will be the same for the subreports. So open the Sub report in Report Builder, run it and enter the parameters.
You’re not adding the Customer table to the RDD. And BTName is not a native field in OrderHed. So the actual fieldname in the temp dataset will probably be something like Calc_BTName, or OrderHed_BTName
You do realize I can get you Epicor On-Prem running as good as MT for 1000$ server. Whats the hold up, switch today and live happy DELL-T310 or T710 will suffice.
When you go to preview the report in report builder you will be prompted with a parameter asking for the GUID. This is where you can supply the value you found in the System Monitor for when you ran your report in Epicor.