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...
Answered

Printing 2 reports in a function prints only 1 report in BC15 (Saas)

(0) ShareShare
ReportReport
Posted on by

Hello community,

to keep the thing short I currently have the following problem:

a function that does:

                    begin
                        report.run(50011, false, true);
                        report.run(50012, false, true);

                    end;

prints (pdf downloads) only the second report 50012.

The problem didn't exist on Premise. I thought it has something to do with Reports being downloaded as a pdf file in browser in SaaS

Is there a functionality that does that in Base Application? If its not doable is there a good workaround? Can it be browser version dependent?

Notes:

- it doesn't matter what report it is. I tried it also with Base Application Reports.

- I tried putting the report calls in separate function in the same transaction - commits didnt help

- i tried running it with report.print()

- when i run a pagepreview in the second report then the first report prints (downloads as pdf)

- i tried chrome, edge, firefox


Thanks a lot

I have the same question (0)
  • Verified answer
    I Gusti Made Ari Profile Picture
    3,600 on at

    Yes, currently this is limitation in SaaS  , they will come out with this feature in release wave 1 2020, but no detail information yet.

    https://docs.microsoft.com/en-us/dynamics365-release-plan/2020wave1/dynamics365-business-central/enable-non-interactive-printing-advanced-printer-selection

    Same thing when you download multiple files, it will only download the last file.

    The only work around  is to print to PDF and ZIP it . then you download the ZIP file  which contain all the PDF files.

    you can  find the solution in here : https://github.com/microsoft/AL/issues/3575 

  • Community Member Profile Picture
    on at

    Thanks for the info.  The other workaround is to put some modal window between the prints. Like the confirm dialog.

    Is there a Microsoft functionality that prints 2 Report at once? Like Invoice and Shipment note? How do they do it there?

    The release plan refers to sending reports to the printer (direct printing), doesn't it? So multiple files downloading won't be supported at all?

    Thank you again

  • Rosalia Profile Picture
    5 on at

    "Is there a Microsoft functionality that prints 2 Report at once? Like Invoice and Shipment note? How do they do it there?"

    Yes, exists; in standard unit code 242 you can find it. There are two reports: one of them prints an 'Item register' and another prints a 'Warehouse register'. The codes indicates that two reports should be printed, but finally you can only print the last one of them, because the queue don't executed in the correct way.

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 2,990

#2
Jainam M. Kothari Profile Picture

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

#3
YUN ZHU Profile Picture

YUN ZHU 1,028 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans