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

BC 21 and Higher - PowerShell Cmdlet (Replacement of Business Central Administration).

Hi Readers, As discussed in last article about deprecating of Business Central Administration, there are few common actions that we use in administration till Business Central 20. For our on-prem customers, we will still require doing activities. As Microsoft suggest we need to start using PowerShell cmdlet.    Let's see how to do those via PowerShell, or Administration Shell. I will be keep adding commands as you comment to this article.

Send Mail with Attachment From Navision.

Hi all, We have seen how to save a report into PDF and how to send mail to a customer. Let's link these two post in one i.e. Mailing statement to a customer into PDF Format. This article is part of the Series. Please Refer  Table of Content here . If you have the old objects set let me brief you what I will be changing - 

MSDYN365BC - Data Upgrade To Microsoft Dynamics 365 Business Central on premises.

Hi Readers, We have already talked about the number of steps for upgrading to Business Central on Premises from different NAV versions. After that article, I received multiple requests for an article which list down steps for Data Migration. In this article, we will discuss steps of data migration to MSDYN365BC (on-Prem) from NAV 2017. For this article, I am considering a Cronus Demo Database without any customization. For an actual upgrade project, we will have to complete object merge using compare and Merge process. After the Merge Process, the next step is data migration. Let's discuss those steps. Direct Upgrade to Microsoft Dynamics 365 Business Central (on-Prem) is from following versions - 1. NAV 2015. 2. NAV 2016. 3. NAV 2017. 4. NAV 2018.