Renumbering object id

havhav Member Posts: 299
Hi all,
I want to renumber many of the objects with new object id
I tried to do it manually as below:

Open Object Designer
Select Object ID field of Form 75065 in the designer.
Change its object id manually to 9012912.
Open Form properties and change its SourceTable properly to Undefined.
Compile the form.
Select Object ID field of the source table for the above form.
Change its object id manually to 9012916.
Compile the table.
Now open the above form in design mode.
Set its SourceTable property to 9012916.
Compile the form.
here it throws error for Rec variable used in C/AL code written on the form triggers.
The Rec variable still refers to old table id.

Let me know how to overcome this error?
Am i doing the right steps?

Thanks,
hemant
Regards,
Hemant
MCTS (MB7-841 : NAV 2009 C/SIDE Solution Development)

Answers

  • einsTeIn.NETeinsTeIn.NET Member Posts: 1,050
    There is a renumber tool on the Tools CD. I would advise to use it when you have to renumber many objects.
    "Money is likewise the greatest chance and the greatest scourge of mankind."
  • havhav Member Posts: 299
    I am using NAV5.0W1SP1 which i had downloaded from PartnerSource long back.
    I don't see any renumber tool in the Unzip folder.
    Pls let me know how can i get this tool.


    Thanks,
    Hemant
    Regards,
    Hemant
    MCTS (MB7-841 : NAV 2009 C/SIDE Solution Development)
  • kolaboykolaboy Member Posts: 446
    You can get the renumbering tool from this forum under the download section. It is very fast and easy to use. dowload it and use it. It will save you a lot of time.
  • havhav Member Posts: 299
    Thanks for all your prompt reply.

    I will try it and let you know the outcome.

    Regards,
    Regards,
    Hemant
    MCTS (MB7-841 : NAV 2009 C/SIDE Solution Development)
  • havhav Member Posts: 299
    Hi,
    Yes using renumbering tool i was able to renumber all my new objects with object id from the assigned range of my developer licence.

    However i find the tool not so interactive w.r.t. renumbering multiple objects in one go.
    Also, i need to carry out multiple recompilation of referenced objects to resolve reference to renumbered objects.

    Thanks for all your support and guidance.

    Regards,
    Hemant
    Regards,
    Hemant
    MCTS (MB7-841 : NAV 2009 C/SIDE Solution Development)
Sign In or Register to comment.