Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Report name not set, p...
Finance forum
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/

Categories:
  • Layan Jwei Profile Picture
    Layan Jwei 4,220 Super User 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 16 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.

Helpful resources

Quick Links

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Blog subscriptions now enabled!

Follow your favorite blogs

TechTalk: How Dataverse and Microsoft Fabric powers ...

Explore the latest advancements in data export and integration within ...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 284,876 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,425 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,146

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans