I am trying to modify the SO Pick List by adding a column to the SOPickL_QtyOnhand subreport. In the subreport dataset I have linked in the PartLot table to pull in the ExpirationDate. When I supply the necessary parameters for the subreport and preview it, the ExpirationDate is displayed as expected; however, when the main rdl is previewed (SOPickL.rdl) it shows all the data in each column correctly, except for the ExpirationDate column. There is shows #error. Since this is a subreport, there is no formatting on the SOPickL.rdl, so I am perplexed.
That is a very good question as I am known to add a default value and forget to revert it back to none, but in this case they are all set to none in the subreport.
Is the field in the sub-report an expression or just the value from the dataset?
Try using an expression to format the date as a string.
For debugging, you could make that expression just do a test for NULL, or extract just the year, etc… to make sure there is valid data when it is processed as a whole report(not just the sub-report)
Sorry for the delay in getting back to you. I ran this report again from within Epicor in order to produce a new GUID in the Ice.SysRptLst to use in SSRS as the old one expired. Once I did this and added the new TableGuid to the report in SSRS, the date started to appear correctly! I have absolutely no idea what changed, but I did not make any changes to the report itself. Perhaps there was some corruption in the prior TableGuid???
At any rate, I appreciate your time and assistance for this issue. It is most appreciated.