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 :
Small and medium business | Business Central, N...
Suggested Answer

Printing a Report

(0) ShareShare
ReportReport
Posted on by 50
Hello,
 
 
How can I make a code that prints the report without coming through this page?
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    95,595 Super User 2025 Season 2 on at
    You mean, you want to hide the Request Page? This can be done using the following two methods.
    Report.Run(Integer [, Boolean] [, Boolean] [, var Record]) Method
     
    Report.RunModal(Integer [, Boolean] [, Boolean] [, var Record]) Method
     
    Hope this helps.
    Thanks.
    ZHU
  • Suggested answer
    Shrey Chauhan Profile Picture
    284 on at
    Hello,

    Here's the code to run report without request window popup :
     
    action("Report")
    {
        Image = Report;
        ApplicationArea = All;          
        trigger OnAction()            
        begin
            Report.Run(70005,false,false);
        end;            
    }
     
    Hope this help's.
    May other expert's give you better solution.

    Thank You,
    Shrey Chauhan
  • Suggested answer
    Judy Profile Picture
    Microsoft Employee on at
    Hi,
     
    You can use the Report.RunModal() function in AL code to run the report without window popup. This function allows you to run a report silently without displaying the request window to the user.
    If you do not know the specific report that you want to run when you are designing your application, you can use this method Report.RunModal , or the Report.Run Method. If you do know the specific report that you want to run, then you can use the RunModal Method or the Run Method.
     
    The reference Microsoft Document:
     
    Best Regards,
    Judy

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,010

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,270 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,085 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans