Is there a way in NAV 2013 R2 to use the SaveAsPdf function, but have a request page (the request page that is set up in the report) come up when code runs? I can get it to work by creating a Page then adding a button that runs the SaveAsPdf function, but it seems to be a waste of a page.
0
Comments
Printer, PDF, Word, Excel.
I think what you need to do is in the request page change the method, if you check the print button it has an arrow down if you click in the arrow you can select the options.
Also when printing to PDF you can choose to save or open the document.
Think this is what you need, no?
In our case we primarily use it for scheduling reports to be executed in the background using Job Queue (https://msdn.microsoft.com/en-us/library/dn757302(v=nav.80).aspx).
Microsoft - Dynamics NAV
Or even
REPORT.RUN(Number [, ReqWindow] [, SystemPrinter] [, Record])
https://msdn.microsoft.com/en-us/library/dd301122(v=nav.71).aspx
Probably this can do the trick