Need and Ways to migrate Objects from NAV 2017 to BC365

What do you mean by Object Migration?

Depending on the versions of Microsoft Dynamics NAV that a database is being upgraded from, the amount of codes changes between the two versions can vary. To upgrade the application codes, you must merge codes from different versions of the application. This merge process is known as a code upgrade or application upgrade or object migration. It’s mandatory to upgrade the application before you upgrade the data.

Why do we need to migrate objects from NAV 2017 to BC365?

Microsoft continues to develop and improve their ERP software. Upgrading Microsoft Dynamics NAV is one of the best possible investments you can make in your business. In addition to the advantages provided by new features, platform, and fixes to previous versions, an upgrade allows you to take advantage of breakthrough innovations in functional and technical aspects of the software, including:

  • Deployment Options (Mobile, Web, and SharePoint clients, etc.)
  • Business Intelligence and Reporting
  • Secure Webservice Calls
  • Banking Integration
  • Office 365 Integration

Ways to migrate code from NAV 2017 to BC365

There are many ways to migrate the code from NAV 2017 to BC365:

  •  You can get the Merging Tool online like comparing it, praxis merges, etc to compare the modified objects text files of NAV2017 to demo objects text files of NAV2017.
  •  You can also merge the object through Powershell also.

Migration of Code through Powershell from NAV2017 to BC365

1.  Create four folders to organize your objects version as shown below

  •  The original folder specifies the text files of NAV 2017 Standard Objects.
  • Modified folder specifies the text files of NAV 2017 Modified Objects, such as the client’s database.
  • Target folder specifies the text files of BC365 Standard Objects.
  • The resulting folder specifies the files where the merge objects result will come.
  • Delta folder specifies where the result of the comparison between original and modified will come.

2.  Now run Dynamics NAV Development Shell of BC365 version as administrator.

  •  Run the command Compare-NAVApplicationObject
  • It will ask for Original Path and specify the Original Folder Path in it
  • It will ask for Modified Path and specify the Modified Folder Path in it.
  • It will ask for Delta Path and specify the Delta folder Path in it.

  •  Now Run the command Update-NAVApplicationObject.
  • It will ask for Target Path and specify the Target Folder Path in it.
  • It will ask for Modified Path and specify the Modified Folder Path in it.
  • It will ask for Result Path and specify the Result folder Path in it.

  •  Now Run the command Merge-NAVApplicationObject
  • It will ask for Original Path and specify the Original Folder Path in it.
  • It will ask for Modified Path and specify the Modified Folder Path in it.
  • It will ask for Target Path and specify the Target Folder Path in it.
  • It will ask for Result Path and specify the Result folder Path in it.

  • In the result folder path, there will be text files that are merged into the Business Central version.
  • To import the text files into Business central, you can upload single text Object file or save the time you can import consolidated text files by the following process:

a) Copy all the text files from the result folder path into different folder
b) Run the Command Join-NAVApplicationObjectFilein Dynamics NAV Development Shell of BC365 version.
c) It will ask for Source Path and specify the source folder where the text files are copied into different folders.
d) It will ask for destination Path and specify the destination folder with the txt file name where the consolidated text file will be created.
e) From the destination folder path, you can import the consolidated text files into Business Central.

 

 

 

 

 

 

Submit a business enquiry

    Our Custom Industry Solutions
    Connect Us!!