Renumbering Objects in Navision

ananthanathanananthanathan Member Posts: 20
edited 2004-04-22 in Navision Attain
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

Comments

  • DenSterDenSter Member Posts: 8,307
    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.
  • bostjanlbostjanl Member Posts: 107
    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.

    Bostjan
  • ramyavenkatramyavenkat Member Posts: 94
    Hi All,
    Thanks for the timely help.
    thanks and regards,
    Ramya venkat
  • jreynoldsjreynolds Member Posts: 175
    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.
Sign In or Register to comment.