Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

Import-NAVData not Working

$
0
0
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!

Viewing all articles
Browse latest Browse all 10032

Trending Articles