Searching were is one specified Codeunit (64825) used in Sys
thyvonen
Member Posts: 7
Hi,
We are having problem, because we have one specified codeunit 64825 that should not be used anymore.. How made this deleopment orginally is not possible to get contact (not living anymore) / documentation is missing. There has been changes after that so it should not be used, but we just cannot delete this object (If it is still in use something is it part off B2B interface). according to documentation what found from object.
I know that i can go object by object and check C/AL Globals / C/AL Locals, we have now checked 30 objects were we think that might be used... also we have made Debuggint but that is taking lot off time..
Does anobody know program / util that can scan all objects and find if somewhere is used this special codeunit and list them.. or is that only way one by one.
Thanks in advatange...
We are having problem, because we have one specified codeunit 64825 that should not be used anymore.. How made this deleopment orginally is not possible to get contact (not living anymore) / documentation is missing. There has been changes after that so it should not be used, but we just cannot delete this object (If it is still in use something is it part off B2B interface). according to documentation what found from object.
I know that i can go object by object and check C/AL Globals / C/AL Locals, we have now checked 30 objects were we think that might be used... also we have made Debuggint but that is taking lot off time..
Does anobody know program / util that can scan all objects and find if somewhere is used this special codeunit and list them.. or is that only way one by one.
Thanks in advatange...
0
Comments
-
Also would be possible that if there is program / util that can open all objects and list all variables / C/AL Local and C/AL Global / C/AL Code
example in Text file, where can be find or using search to find all marks for this codeunit etc...0 -
delete the object, then compile all the objects. Filter on marked only. This should catch all objects that have errors.
Some are com reference errors, which you can ignore.
Find the ones that error, that this object does not exists and fix them.0 -
You can export the objects as test files and search it there.
I always use the developer toolkit for doing where used analysis. As long as the codeunit is declared as a variable it works very well.0
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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 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

