Running classic report from RTC and passing parameters
Tronholm
Member Posts: 22
You can run a classic report from RTC. No problem with that.
But what if you want to run the classic report from a page, with some filtering. For instance, printing a partiular invoice from a page, without requeiring the user to enter the filtering manually in the request form?
In other words, how to pass parameters to the classic report from RTC?
But what if you want to run the classic report from a page, with some filtering. For instance, printing a partiular invoice from a page, without requeiring the user to enter the filtering manually in the request form?
In other words, how to pass parameters to the classic report from RTC?
0
Comments
-
I haven't be able to launch the classic reports from RTC.
Main reason is that I get an error.
Cannot find Server COMPUTERNAME.DOMAINNAME.NET
I can ping COMPUTERNAME.DOMAINNAME.NET
Starting the classic client and entering the COMPUTERNAME.DOMAINNAME.NET gives me the same error.
Entering the COMPUTERNAME works fine in classic.0 -
I haven't had any problemas running Classic Reports from RTC, besides the question in my previous post.0
-
It's very simple to test.
Run a codeunit to run the report with filters. If they are passed, which I'm sure it will.
So please test it and let us know.0 -
Have your tried that? I think you are making assumptions without knowing :oops:ara3n wrote:It's very simple to test.
Run a codeunit to run the report with filters. If they are passed, which I'm sure it will.
So please test it and let us know.
This is what you get when you try that:
0 -
I can't test as I mentioned, because it doesn't work on my pc.
You mentioned passing filters. In your case you are calling a function? Can I see your code?
Here is the I was running. It was starting the classic client and filters were passing without error. So classic client is starting without any error.Item.SETFILTER(Description,'B*'); REPORT.RUNMODAL(10143,TRUE,FALSE,Item);
0 -
ara3n: you are 100% right. Filtering as is your example works fine.
what you cannot do is to invoke a funcion defined in the classic report from RTC: then you get the error. The case is that in some cases I do some parameter passing thru a function in the report.0 -
you can a dummy dataitem in your report and pass the parameters as filters?0
-
Tronholm wrote:ara3n: you are 100% right. Filtering as is your example works fine.
what you cannot do is to invoke a funcion defined in the classic report from RTC: then you get the error. The case is that in some cases I do some parameter passing thru a function in the report.
It seems that you even cannot pass parameters to the report via a SingleInstance codeunit (may be the codeunit is not quite SingleInstance, when the classic report viewer is started... - seems to become DoubleInstance...)New kits on the blog: https://massivedynamicsblog.wordpress.com0 -
But isn't that awesome because the user gets displayed the filters of the dummy dataitem, doesn't he?ara3n wrote:you can a dummy dataitem in your report and pass the parameters as filters?New kits on the blog: https://massivedynamicsblog.wordpress.com0
Categories
- All Categories
- 73 General
- 73 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 328 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

