Renumbering Objects in Navision

ananthanathan
Member Posts: 20
Hi, I have Imported some of the objects with IDs ranging from say 80000 and we have made use of some of those objects in our module.But the clients license file does not support that range.I tried to renumber the Reports and code units i was successful in that.But when i tried to do the same with the table i am not able to do that and the forms and codeunits using them reads 'DATA ITEM NOT FOUND'.I have sent a request to my NTR to refresh the license with the new object Ids.Is there any other way that i can do it.Thanks in Advance.
Regards,
Ananthanathan.G
Regards,
Ananthanathan.G
Regards,
Ananthanathan.G
Ananthanathan.G
0
Comments
-
That's because when you change the object ID of a table, the system does not go and update all the other objects that have a reference to the old number. You have to do that manually.
First you figure out which forms/reports/codeunits use the tables. Then after you renumber the table, you open the form/report/codeunit in design mode, hit the F11 key and it will tell you where it doesn't compile (you will see something like Table 80000 does not exist), and you can change the reference to the new table.0 -
DenSter wrote:That's because when you change the object ID of a table, the system does not go and update all the other objects that have a reference to the old number. You have to do that manually.
First you figure out which forms/reports/codeunits use the tables. Then after you renumber the table, you open the form/report/codeunit in design mode, hit the F11 key and it will tell you where it doesn't compile (you will see something like Table 80000 does not exist), and you can change the reference to the new table.
Hi!
There is also a renumbering tool. You have to export objects into text file and import them into renumbering tool. There you can renumber objects and export them into text file again.
We used it all the time and it works fine.
Bostjan0 -
Hi All,
Thanks for the timely help.
thanks and regards,
Ramya venkat0 -
Keep in mind that object numbers can appear in the data. For example, the report list table (243) has references to report numbers, the journal template tables (80, 82, etc.) have referneces to form and report numbers, and the dimension tables (352, 354, etc.) have references to table numbers. If you are renumbering objects that could occur in the data then you also need to provide a tool to renumber the data.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