Skip to main content

Notifications

Announcements

No record found.

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/

  • Layan Jwei Profile Picture
    Layan Jwei 7,278 Super User 2024 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
  • Phill jones Profile Picture
    Phill jones 12 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.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,784 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,476 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans