I have a code unit which has the prupose to Save a report in PDF format by using the funciton REPORT.SAVEASPDF. When this codeunit is called from a card menu item, the report is saved successfully. If this code unit is called from a Job Queue, the report is not been saved.
Note: NAS is installed and the Job queue is working for other functionality such as inserting data in tables, send e-mail and saving a report in HTML format by using the function SAVEASHTML.
Any ideas regarding this issue.
thanks
0
Answers
Hi
Nas is like Classic Client without an interface.
You cannot create a PDF with a NAS. You can create a PDF with a published Web Service, called by a Nas (if it can be useful).
Bye
Matteo
Regards,
Claus
I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)
Can some one provide more information on how to get the Job Queue executed in 3 tier.
I have a codeunit which creates PDF copy of the report when called from the RTC. I would like the same code to be executed using Job Queue but it doesnt work. All I know is that the comand to create the PDF copy of the report works only with RTC.
The below posting from Matteo says 'You can create a PDF with a published Web Service, called by a Nas (if it can be useful)'. I am looking for how to call the published codeunit from nas to have the PDF copy created.
Thanks in advance for any help.
Paramb