Skip to main content

NAV 2013 Upgrade Part I - TextFormatUpgrade2013 Tool

Hi all,

HAPPY DIWALI TO ALL THE READERS.

Let's Talk about upgrading process to NAV 2013. 

As we all know the pre-requisite version to upgrade is NAV 2009 SP1 / R2 and we all know how to upgrade from any older version to NAV 2009 SP1 / R2.

I will break down upgrade process to NAV 2013 to multiple Post -


Let me know if anyone require other information other then above listed points, will include them too.


Let's start with NAV 2013 Upgrade Part I - Upgrading the customized objects.

Old Story -
Before NAV 2013 while doing upgrade to any version we used to pull all customized objects from old customized database and import them into our target database. 

Remember i am only talking about customized objects between 50000 - 99999

Why That cannot be done now? -
As we all know that Forms, Data ports are no longer supported in NAV 2013 but the old version (in this case NAV 2009 SP1 /R2) Navision used to support them. 

And these objects were used in properties and code. Below are some examples of same.

Examples -
In Tables we have  property LookupFormID which now changed to LookupPageID.
In Objects we may have used Form.Run, Dataport.Run which are no longer supported.

Problem -
If we will follow the same process we will get compile time errors due to these references or property. 

Resolution -
Microsoft had come up with a tool in NAV 2013, which can be found in Product DVD inside upgrade toolkit -->Object Change Tools.

How to use the tool ?-
After conversion of forms to pages and upgrading reports to RTC, follow below listed steps.

1) Export all customized objects from base database except forms and data ports as .txt file. 
    (say oldobj.txt)


2) Run Command Prompt as administrator and navigate to folder where the TextFormatUpgrade2013.exe is located in my case it is (D:\Navision Softwares\Application Setup\Dynamics.NAV70.IN.1184336.DVD\UpgradeToolKit\Object Change Tools).


3) Run the Command TextFormatUpgrade2013.exe "C:\Upgrade 1\oldobj.exe"
   where c:\Upgrade 1\ is the folder where i stored the text file from step 1.


4) The tool will update the references and will create folder inside same folder named as Converted which will contain the updated text file.


5) Now we can directly import the updated text file to the target (NAV 2013) Database.

This process only applies to customized objects.

Regards,
Saurav Dhyani
http://saurav-nav.blogspot.com/

Comments

  1. What about the Base objects?

    ReplyDelete
    Replies
    1. Hi, for base objects you will merge the changes using compare and merge process.

      Where we compare NAV 2009 SP1/R2 base with NAV 2009 SP1/R2 Customized database and merge the changes to NAV 2013 database. so there is no need to run this tool for standard object set.

      Delete
  2. Hi there,
    I am getting errors on import of converted file like "No permission....." How did u deal with such errors?

    ReplyDelete
    Replies
    1. Hi,

      For importing text file use developer licence.

      If the error is not for Lic Please send the complete error message or the screen shot of the error message on e-mail.

      Delete

Post a Comment

Popular posts from this blog

VIEW SERVER STATE permission on SQL Server?

Hi all, Sometime While trying to Login into a database we face an error message as shown below. --------------------------- Microsoft Dynamics NAV Classic --------------------------- You cannot start Microsoft Dynamics NAV Classic because you do not have the VIEW SERVER STATE permission on SQL Server. Contact your system administrator. --------------------------- OK    ---------------------------

RTC Report It is not possible to instantiate the Visual Studio bridge.

Hi all, As a Navision developers I have Multiple Versions of Navision running in single Machine. As discussed Earlier in the post how to run multiple Version of RTC in single machine. So my machine have following details for RTC Versions - NAV 2009 R2    - is installed. NAV 2009 SP1  - is copied at C:\Program Files (x86)\Microsoft Dynamics NAV\60\NAV 6.0 SP1 IN\ NAV 2009         - is copied at C:\Program Files (x86)\Microsoft Dynamics NAV\60\NAV 6.0 IN\ This approach has been working great for execution of Classic and RTC Clients. However, after installing Dynamics NAV 2009 R2, if i tried to view the Layout for an NAV 2009 SP1 Report i was getting the following error: ---------------------------  Microsoft Dynamics NAV Classic  ---------------------------  It is not possible to instantiate  the Visual Studio bridge.  ---------------------------  OK    --------------------------- After searchi...

NAV 2013 R2 - Cumulative update 12 Released.

Hi all, Please find below the details of  Cumulative Update 12 released for Microsoft Dynamics NAV 2013 R2. Title - Cumulative Update 12 for Microsoft Dynamics NAV 2013 R2 Build No. - 38053 Release Date - October, 2014 Local Version Included - AU, AT, BE, CH, DE, DK, ES, FI, FR, IS, IT, NA, NL, NO, NZ, SE, UK, RU Download Link Note: Implementing this cumulative update will require a database conversion unless you have already implemented update rollup 5.