SAVEASPDF Issue
clayton
Member Posts: 3
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
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
-
clayton wrote: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
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
MatteoReno Sistemi Navision Developer0 -
Thanks for your reply Matteo0
-
Maybe also explore the options I outlined in this blog post:http://blogs.msdn.com/nav/archive/2009/10/08/send-email-with-pdf-attachment-in-nav-2009.aspx
Regards,
ClausClaus Lundstrøm | MVP | Senior Product Manager | Continia.com
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 :-)0 -
Hi All,
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.
Paramb0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions