If a new company is imported via PowerShell using Import-NAVData, the company ID is used that was contained in the original company when Export-NAVData was called. Therefore, it is not possible to import exported companies multiple times into a database, for example, to work with multiple copies of the company.
An additional parameter should be added to request the assignment of a new company ID, as is already done within the application when copying companies.
Background:
We maintain pre-configured settings internally for our customers for different usage scenarios. After importing these settings, customers can start working on the database very quickly. Many of our customers have multiple companies. These often do not start up in BC at the same time. New companies are often added to the database after working on other companies for a long time and having a large size of data (>100GB).