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

Notifications

Announcements

No record found.

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 20

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
    12 on at
    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
    8,097 Super User 2025 Season 2 on at
    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

Responsible AI policies

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

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans