Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
7.3 MIGRATING THE OLD DATABASE<br />
7.3 Migrating the Old Database<br />
Now that the old database has been checked and modified to ensure that it is<br />
compatible with SQL Server, you can migrate to the SQL Server Option for Navision<br />
4.0.<br />
1 Open the customer’s 4.0 database in Navision 4.0, and check that no other users<br />
are currently using the system.<br />
2 Make a backup of the customer’s Navision 4.0 database and name it, for example,<br />
data.fbk.<br />
3 Create a new database with the SQL Server Option for Navision 4.0.<br />
4 Restore everything from the backup saved in data.fbk.<br />
Restoring the backup into the SQL Server Option for Navision 4.0 database will<br />
take some time and will generate a very large transaction log. We recommend that<br />
you make a new SQL Server backup of the database before you start to work with<br />
it. This will truncate the transaction log and give you a new SQL Server backup as<br />
your starting point.<br />
Note<br />
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br />
To verify that the customer’s license file includes all the necessary permissions in the<br />
migrated solution, you must use the customer’s license file in the following step.<br />
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br />
5 Test the newly migrated database to ensure that you do not encounter version<br />
control conflicts.<br />
If you receive error messages informing you that a record has been modified by<br />
another user, even though you are the only user currently using the system, you have<br />
version control conflicts. These problems occur because the SQL Server Option for<br />
Navision 4.0 has stricter version control than previous versions of Navision Financials.<br />
Any attempt to modify or delete a record will fail if the timestamp on the version of the<br />
record that you have read is different from the timestamp on the actual record stored<br />
in the database.<br />
The following tables contain examples of the old incorrect code and the new correct<br />
code that must be inserted to avoid version control conflicts:<br />
Rec.GET;<br />
NewRec.GET;<br />
NewRec. := ’New’;<br />
NewRec.MODIFY;<br />
Rec.. := ’Old’;<br />
Rec.MODIFY;<br />
Rec.GET;<br />
85