Developer's Toolkit Question about 'Where Used'
                
                    headley27                
                
                    Member Posts: 188                
            
                        
            
                    ](*,)
When I use the 'Where Used' function on 50000 Series Tables, Forms and Codeunits, 'Where Used' information is returned to the screen.
It seems that most 50000 Series Reports never return any information although I definately know that some are run from other objects, typically from menu items on form buttons (i.e. custom Quote/Order/Invoice reports).
Instead, most 50000 series reports return the message 'No objects or data found!'
I did manage to find one 50000 series report, called directly from the Sales & Receivables Menu (Form 333), that will return 'Where Used' information.
Could I be using the tool incorrectly?
I expand the tree in the leftmost pane to show all reports, then I right-click a single report and click 'Where Used'.
I am trying to cleanup all reports that are not in use.
Many reports were used simply to modify/correct database values by our previous Microsoft Partner, but were not removed after use.
I want to get rid of these objects, while leaving any objects necessary for the proper function of our system.
Any suggestions would be greatly appreciated.
                When I use the 'Where Used' function on 50000 Series Tables, Forms and Codeunits, 'Where Used' information is returned to the screen.
It seems that most 50000 Series Reports never return any information although I definately know that some are run from other objects, typically from menu items on form buttons (i.e. custom Quote/Order/Invoice reports).
Instead, most 50000 series reports return the message 'No objects or data found!'
I did manage to find one 50000 series report, called directly from the Sales & Receivables Menu (Form 333), that will return 'Where Used' information.
Could I be using the tool incorrectly?
I expand the tree in the leftmost pane to show all reports, then I right-click a single report and click 'Where Used'.
I am trying to cleanup all reports that are not in use.
Many reports were used simply to modify/correct database values by our previous Microsoft Partner, but were not removed after use.
I want to get rid of these objects, while leaving any objects necessary for the proper function of our system.
Any suggestions would be greatly appreciated.
0                
            Comments
- 
            I think I've found the problem.
It seems that the ones that I have found so far use CodeUnit 229 'Document-Print'.
This code unit references Table 77 'Report Selections', which references approx. 30 Reports, about a dozen of which are 50000 Series Reports.
The 'Where Used' function doesn't see an reference to these reports via the Report Selections table since a variable is being passed in. So that makes sense.
I also see Table 243 'Report List' which seems to operate in a similar fashion.
Does anyone know if there are any other such tables that I need worry about?
Thanks again.0 - 
            When you use the developer's toolkit it does not search in data. Your reports are exexuted because they are called from a table that contains data that refer to reports. The toolkit will only find a report if there is a variable declared in code, or it is run directly from code.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
 - 323 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