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

Announcements

No record found.

News and Announcements icon
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 555

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

    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
    555 on at

    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
    555 on at

    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 658

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 468 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 333 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans