The Data integrity check should be performed on a regular basis. It is recommended that you perform this check at regular intervals and after performing major changes to your Set of Books. It is good practice to perform a Data integrity check on your Set of Books before you make a Backup and after you have restored from a Set of Books. 

If you are operating in a multi-user environment (i.e. in a networked environment and other users are using the same Set of Books as you are) then ALL users need to exit the Set of Books before the Data integrity check is started. 

To perform (run) a Data integrity check: 

1.Click on the Tools → Data integrity check menu. The "Data integrity check" screen is displayed: 

TurboCASH4 - Data integrity check

2.Select one of the available options:

a)Select a Set of Books by clicking on the From List down arrow (drop-down list) and select an available Set of Books. 

If the Set of Books on which you wish to perform the data integrity check is open on the system, the Data integrity check will be performed for that Set of Books. 

If no Set of Books is open on the system, the Data integrity check will be performed for the Set of Books that was open before the Data integrity check was initiated, unless another Set of Books is selected. 

The full path or directory and name of the selected Set of Books on which the Data integrity check is to be performed, if the Check button is clicked on, will be displayed directly under the Data integrity check title bar. 

b)Select the type of function, the data integrity check has to perform. It is recommended that in most cases, all of these functions should be selected (with a tick).

3.Click on the Check button and the process will be performed. The word "Finished" will be displayed next to each function when the process for that function is completed. When the whole process is completed, the Data integrity check report will be generated.

4.Click on the Close button.

5.Study the report to determine if there is any data corruption or errors.

Check for any errors on the report. If there are any errors, see if you can fix these errors. If these errors cannot be fixed, the Set of Books may have to be restored from your last backup disks. You may have to re-enter some data from the last backup to the last transaction entered before the problem/s arose. 

View Data integrity check reports 

As soon as the Data integrity check process is completed, the Data integrity check Report will be printed to either the screen, printer, file, fax or e-mail as set or selected on the "Default output" field in the Setup → System parameters → Company info (Options tab) menu. The Data integrity check report consists of the following six (6) basic sections: 

1.System Info - Memory in your System (e.g. 64 Mb, 128 Mb, 256, Mb, etc.). 

2.Files - A two digit numeric number is automatically allocated to each of the files in the Set of Books. The Files are ".DB" files, which are Database files (See Structure of TurboCASH4). The size of each file is indicated in KB (Kilobytes), etc. It also displays the number of records contained in each file. For example, the Data integrity check report reflects 40 records for the "Account.DB" file, it also indicates that there are 40 Accounts in the Set of Books. 

3.Periods - The number of Accounting periods as specified in the Setup → System parameters → Reporting dates menu will be listed. The description of the periods are also displayed as selected or specified in this menu. 

a)Period 00 indicates Opening balances

b)Periods 01 to 13 indicates Last Year Periods. 

c)Periods 14 to 26 indicates This Year Periods. 

This will list the Accounting periods and the Debit totals and Credit totals and Balances for each period for two Financial years (This year and Last year). If there are any balances (i.e. the Debit and Credit totals for an Accounting period do not balance), it indicates that the data may be corrupt for the specific accounting period in which the Balance is displayed. 

4.Count Account Number - This specifies the number of Account master files created for each Account type (General ledger, Debtors, Creditors, Bank and Tax accounts) in the Edit → Accounts menu. The number of Accounts for Debtors indicates the number of Debtor (customer / client) accounts in the Debtors ledger and the number of Accounts for Creditors indicates the number of Creditor (supplier / vendor) accounts in the Creditors ledger. 

5.Control Accounts Check - This will indicate the balances for the Full Amount, Control Account and the Outstanding Amount for the Debtors and Creditors. These three amounts must be in balance and must balance with the Debtors control account or the Creditors control account in the Balance sheet or Trial balance. 

6.Unposted Batches / Documents - This will only be displayed if there are any batches or journals which have not yet been posted to the ledger and /or documents, which have not yet been updated to the ledger. 

An example of a "Data integrity check" report is: 
TurboCASH4 - Data integrity check report

If the differences or corruption is not fixed, you may need to Restore the Set of Books from a previous backup. It is advisable not to continue entering transactions until the current Set of Books is repaired.