05.01.2013 Views

Upgrade Toolkit

Upgrade Toolkit

Upgrade Toolkit

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The following objects are imported:<br />

Type No. Name<br />

Codeunit 104015 Field Check<br />

7 Select codeunit 104015, Field Check, and compile it.<br />

8 Run codeunit 104015, Field Check.<br />

7.2 Checking the Old Database<br />

Codeunit 104015 checks that every date, text, code and decimal value in the<br />

database can be stored in a SQL Server database. It also checks that nonzero<br />

decimal values will not be rounded to zero when they are stored in the SQL Server<br />

database. A progress indicator will help you monitor this process. This involves the<br />

program reading most of the records in the database and may therefore take some<br />

time.<br />

If any values need to be changed, the program shows a list of the incorrect values<br />

and the suggested new values in the Incorrect Data Values window:<br />

You can modify these suggestions if you want. When you close the window, a<br />

message will appear asking you whether or not you want to implement the<br />

changes. If you click Yes, the program will implement the changes. The program<br />

will read and modify a small number of records in the database during this step.<br />

Codeunit 104015 also checks the code fields in your data. If your code fields<br />

contain numeric values of varying lengths, it will list them for you. If you sort by<br />

these fields the resulting sorting will be incorrect. Furthermore, any filters using<br />

these fields and containing numeric ranges will give unexpected results. One way<br />

of overcoming this sorting problem is to represent these code fields as integers.<br />

This can be done if the code fields only contain numbers and these numbers do not<br />

start with zeros.<br />

A progress indicator will help you monitor the codeunit 104015, Field Check, while it<br />

is being run. This step involves the program reading most of the records in the<br />

database and may therefore take some time. If there are any inconsistencies, they will<br />

be listed in the form 104013, Code Field Information. To open this form:<br />

· In the Object Designer, run form 104013, Code Field Information.<br />

83

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!