AL icon indicating copy to clipboard operation
AL copied to clipboard

Print should replace DynamicFileHandler.axd with the report caption

Open GrumpyNAVdev opened this issue 6 years ago • 4 comments

Describe the bug Printing from Business Central to a PDF printer results in the PDF printer to suggest this filename: "DynamicFileHandler.pdf" or "DynamicFileHandler.axd.pdf". That was not the case for NAV RTC and Classic, where it suggests the report caption, i.e.: "Sales - Invoice.pdf"

We are printing to a special PDF printer, which integrates to a document management system with OCR. The documents are in some situations sent to the customers and they find it very insecure opening mails with an attached file called "DynamicFileHandler.axd.pdf"

To Reproduce Steps and to reproduce the behavior:

  1. Open BC in Chrome
  2. Go to a Posted Purchase Invoice
  3. Press Print/Send -> Print -> Print...
  4. Set "Save as PDF" as Destination
  5. Press Save

You will now see a Save As window with the suggested filename "DynamicFileHandler.axd.pdf" You will see similar behavior using BullZip and other PDF printers.

AL Code to reproduce the issue REPORT.RunModal(406, true, false, Rec);

Expected behavior I would expect the filename to be i.e. "Purchase - Invoice.pdf" based on the report caption - just like in NAV.

Screenshots N/A

5. Versions:

  • AL Language: 6.1.350698
  • Business Central: Platform 16.0.15884.17299 + Application 16.5.15897.16301

GrumpyNAVdev avatar Oct 13 '20 09:10 GrumpyNAVdev

Not development environment related. Looks a runtime or base app issue

Hi! This issue concerns a production system. This repository is only for issues related to the AL compiler and developer tools of the latest developer preview environment for Dynamics 365 Business Central and we cannot guarantee a timely resolution of your issue. We suggest that you open a support case and work with our customer support team to gather all the information necessary to fix this problem.
Please read this post on how to file an issue: https://cloudblogs.microsoft.com/dynamics365/it/2019/09/25/new-process-to-submit-support-requests-for-dynamics-365-business-central/

kalberes avatar Oct 13 '20 15:10 kalberes

@GrumpyNAVdev Having the exact same problem. Did you ever find a solution to this?

AlexanderLundq avatar Aug 22 '22 12:08 AlexanderLundq

@AlexanderLundq No, we had to get a third party vendor to modify the external application to change the file name from BC before it was sent to customers.

GrumpyNAVdev avatar Aug 23 '22 10:08 GrumpyNAVdev

Did somebody have a solution for this?

aptMattKoe avatar Oct 24 '23 12:10 aptMattKoe