Skip to main content

Notifications

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?
  • Suggested answer
    Judy Profile Picture
    Microsoft Employee on at
    Printing a Report
    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
  • Suggested answer
    Shrey Chauhan Profile Picture
    274 on at
    Printing a Report
    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
    YUN ZHU Profile Picture
    81,711 Super User 2025 Season 1 on at
    Printing a Report
    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

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,219 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,980 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans