web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Adding a new dataset to an SSRS report

(0) ShareShare
ReportReport
Posted on by 545

Hi,

I am using Dynamics 365 Finance and Supply chain 10.0.26 Update 50.

I have a requirement to add a new dataset to the Purchase Inquiry report data provider.

I have created an extension of the PurchPurchaseOrderDP class and created a regular table to provide the data.

In my extension I have my method with the SRSReportDataSetAttribute decorator that returns the table, I also have the methods to create the records also using the setTransactionConnection.

In SQL Server, I can see the records being created correctly and with matching createdTransactionId.

I then created a copy of the PurchPurchaseOrder report and added the dataset (issue happens with and without changing the design).  Compiled and deployed.

Lastly I extended PrintMgmtReportFormatPopulator so that I can set the report in the Print Management

Question 1

However when I try to print using this design I get an error:

"No report data table with name <dataset table name> exists in report schema for data provider <RDP name>."

According to Microsoft this means: 

"Verify that the report is bound to tables that exist and do not bind multiple datasets to a single report data provider class. Instead, define the report to have the multiple tables pointing to the same dataset."

But what does this mean exactly?  My report already has 2 datasets coming from the same DP class so why does the new one cause the problem?

I have also tried cloning the entire data provider to make sure its not an extension problem, but I get the error anyway.  I've compiled, deployed the reports, restarted SSRS, deleted my usage data, not sure what else to try

Question 2:

The table is a regular table, which is how PurchPurchaseOrderHeader (for instance) is.  When and how does the table get cleaned - is there a batch job for example for this?

I have the same question (0)
  • Mav Profile Picture
    on at
    RE: Adding a new dataset to an SSRS report

    Hi Norbert Spiteri,

    Can you check and confirm if these properties for report data set is configured correctly, you may want to use salescofnirm report as reference.

    pastedimage1654618037326v1.png

    Thanks

    Mav

    Please mark verify if it helped in resolving your query and thus help others looking for same answers

  • nspiteri Profile Picture
    545 on at
    RE: Adding a new dataset to an SSRS report

    Hi Mav

    I confirm that all these are configured correctly.  I have tried both with Dynamic True and False.. only difference is that True adds a new parameter.

    One thing I noticed is that when I add the dataset it's clones one of the parameters of the purchase line but I fixed that manually.

    The issue still remains.

  • Verified answer
    nspiteri Profile Picture
    545 on at
    RE: Adding a new dataset to an SSRS report

    After a lot of trial and error, I think I figured it out myself.

    The name of the table in my data provider was 44 characters long.  When I shortened it to 27 characters, rebuild, resynced, modified the report and deployed the report and restarted ssrs it worked.

    I can't tell for sure if it simply wanted to force me to create a new table, but my guess is that somewhere in SSRS or in the connector to SSRS there is a string size limit.

    So lesson learned - keep table names short for the data providers!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,882

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 794 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 525 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans