Report wont Preview!
nverma
Member Posts: 396
There is a pre-made reports that were imported from Navision 2.6 to NAV 5. They need to be compiled based on the objects available in NAV 5 right now. Most of the problems I encountered with this report was to make sure that the record variables are correct and that the fields on some of the records are correct and the automation variables may return a Subtype of “Unknown Automation Server”.
I was able to fix all these errors. Now I am even able to compile the report. However, when I run the report. Nothing shows up (The report is not being filtered, just in case someone was wondering. Please look at the link below to see what I mean) . To figure out what the problem is, I went through the C/AL code of the report and a huge chunk of the code is commented out. So when I uncomment it, I get an error saying a variable is not declared in Global variable. I am not really sure how to fix this error/what the variable is suppose to be named in NAV 5.
Any suggestions how to fix this, so I can get the report to preview?
http://screencast.com/t/WAyqU8uz
I was able to fix all these errors. Now I am even able to compile the report. However, when I run the report. Nothing shows up (The report is not being filtered, just in case someone was wondering. Please look at the link below to see what I mean) . To figure out what the problem is, I went through the C/AL code of the report and a huge chunk of the code is commented out. So when I uncomment it, I get an error saying a variable is not declared in Global variable. I am not really sure how to fix this error/what the variable is suppose to be named in NAV 5.
Any suggestions how to fix this, so I can get the report to preview?
http://screencast.com/t/WAyqU8uz
0
Comments
-
I'm not sure what you're look for here. This has nothing to do with the preview feature of reports. Your report won't print either. It has to do with upgrading. The report doesn't show anything because there isn't any data to show. Plain and simple.
There were numerous functional changes between 2.6 and 5.0. If you were just hoping to import the custom reports into the new database with new table structures and have them work then I'm afraid that's not going to happen. Part of the upgrade process, especially from a version that old, is to analyze the changes and analyze the custom objects to see how they need to be changed. That will be different for every report.0 -
nverma, how long have you been a developer in Navision? Is this your first project?David Singleton0
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
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 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


