Classic Report Issue on RTC

mgifford
Member Posts: 44
I have a situation where I am trying to print a group of invoices (which could be just a few or 100's) all at once so the user can easily export them to a single file. I have a code unit that loops through and MARK's the Sales Invoice Header records then turns on the MARKEDONLY flag and passes that record to the invoice report 10074 via a SetTableView. My expectation was that this would only print the invoices that were marked in the record. I have also tried creating a temp record and filling that with the approriate records then passing it to the report. In either case, it tries to print the entire list of invoices as though the record passed in has no effect.
This is happening from the RTC and the report is a classic report (ie no Layout is defined).
Am I going about this incorrectly?
This is happening from the RTC and the report is a classic report (ie no Layout is defined).
Am I going about this incorrectly?
0
Comments
-
BTW, the same exact code will run properly from classic client. We are trying to avoid having to recreate the invoice layouts in both classic and RTC.0
-
Hi
One of my colleagues had exactly the same problem, in the end we abandoned the RTC report writer and used the classic report writter within the RTC.0 -
The RTC and the classic report writer runs in different processes on the client machine. This means that they dont share MARK'ed records and is why your code does not work. The same is the case if you 1) declare a report variable "R", 2) call a function on the variable "R.SET(1,2,3);" to set set global variables on the report 3) run the report "R.RUN();". This works on classic - but will break if you do it to call a classice report from the RTC
The classic report fallback was put in place to enable use of legacy classic reports, since we know that conversion can be hard for some classes of reports - but it is not perfect
MichaelThis posting is provided "AS IS" with no warranties, and confers no rights.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 320 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