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, ...
Unanswered

Report name not set, please set report name using ParmReportName method.

(0) ShareShare
ReportReport
Posted on by

Hi ..

While im trying to print any report  im getting error like Report name not set, please set report name using ParmReportName method.

could anyone help? 

/pastedimage1681208488724v1.png/

I have the same question (0)
  • Phill jones Profile Picture
    on at
    Report name not set, please set report name using ParmReportName method.
    Sure, it seems like you're encountering an error while trying to print a report, indicating that the report name hasn't been set. To resolve this, you need to ensure that you're setting the report name using the ParmReportName method.
    First, check the code or configuration where you're attempting to print the report. Make sure that you're properly setting the report name using the ParmReportName method before calling the print function.
    For example, if you're using X++ code in Dynamics 365 Finance and Operations, you would typically set the report name like this:

    reportRun.parmReportName(reportStr(MyReportName));

    Replace "MyReportName" with the actual name of your report.
    If you're using a different development environment or platform, consult the relevant documentation or resources to find the equivalent method for setting the report name.
    Once you've ensured that the report name is set correctly, try printing the report again. This should resolve the error you're encountering. If you continue to experience issues, double-check your code or configuration for any other potential errors or missing settings related to report printing.
  • Layan Jwei Profile Picture
    Super User 2025 Season 2 on at
    Report name not set, please set report name using ParmReportName method.
    Hi Saravanthi,
     
    By "any report" do u mean even standard reports that don't have customizations?
     
    Because if the report has customizations, maybe you need to check the controller class and make sure you call parmReprotName method
     
    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future

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

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans