Hi,
i am generating report PDF using web services in NAV classic client.
i am able to generate pdf for other reports but i am not getting PDF for report no. 116 customer statement.
when i am using RUNMODAL it's working but with web services and SAVEASPDF not generating PDF file.
Is there any problem with report no. 116?
Thanks,
Jatin Patel
Microsoft Dynamics NAV Consultant
Jatin's Blog 0
Answers
Is report 116 customised? Do you have a copy of the report without the last customisation?
RUNMODAL in the Classic client will run the Classic report, while webservices run the RDL report.
Can you connect to the database in RTC and try to run the Statement?
This will also run the RDL, and it may give an error message which could indicate what the problem is.
You could also keep a copy of the report (just in case), then design it, go to "View - Layout", make some small change, and save. Again, this might produce some useful error messages, or it might even solve the problem.
Report is Customized. I check it with base report copy but problem still alive.
In RTC report is running properly and giving proper output.
Microsoft Dynamics NAV Consultant
Jatin's Blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
When you run the report, do you see a request form, rather than a request page?
When i run it from RTC then it will give me Request Page.
In my code i use
Statement.USEREQUESTFORM := FALSE;
Microsoft Dynamics NAV Consultant
Jatin's Blog
But when i use same code in classic and calling from webservices it will not generate pdf for report no. 116 Customer Statement.
Microsoft Dynamics NAV Consultant
Jatin's Blog
I believe it is the most popular tip ever made in Mibuso, so worth your while to check it out.
http://mibuso.com/blogs/davidmachanick/
http://www.biopdf.com/
you can find sample.
I m a Consult
E-Mail: ibrahim@imaconsult.com
My BLOG