Import-NAVData not Working

chrisdfchrisdf Member Posts: 82
I may be wrong but I believed that the Import-NAVData was a tool whereby we can copy companies from one database to another - given they are the same application of course.

I have a solution database in which I wanted to create a new company (let's say the Cronus company) so I performed the following actions all in NAV2017 CU1.

1. Created a new Cronus database.
2. Exported the objects from my Application and imported them into the new Cronus DB so they are the same object set.
3. Did all the synchronisation in both databases.
4. Checked both databases are the same version etc.
5. Used the Export-NAVData tool to export the default Cronus company from the newly restored Cronus Database.
6. Tried to use Import-NAVData powershell command to import that company into my Application.

The process failed complaining that table with ID 27 had either different fields or keys.

Not sure why it failed on that table (27), as there were several tables below that table with modifications on them.

I exported table 27 to text (both databases) and compared - they are both exactly the same.

Tried using the "Export Data" utility in the RTC to the original database where it came from and that works fine.

So, does this feature actually support copying companies from one DB to another (with the same version and object sets) or am I missing something here?

Any help appreciated - thanks!

Answers

  • Supremenerd88Supremenerd88 Member Posts: 21
    Giorgio Gandolfi
  • chrisdfchrisdf Member Posts: 82
    Thanks for the reply.

    So to confirm ... are we saying that because my application was built on Cronus 2017 CU0 this will not work because I am trying to import Cronus 2017 CU1 and the CU1 release has some extensions loaded that were not there in CU0?

    So running an upgrade from CU0 to CU1 is OK from an object point of view but we now need to consider if MS are adding extensions to the new release?

    If so, is there an "idiots guide" as to what extensions are in the different releases and when doing an upgrade, how should we consider this in the "new world" i.e. should we all now think about upgrading objects and then adding in new extensions...
Sign In or Register to comment.