How To Create Previous Years' Directories?
Posted: Tue Feb 12, 2019 4:11 am
This tutorial is for CARAT software running in a local hard disk in a Windows operating system.
Most CARAT software can keep several years' worth of data for you to refer to. This is convenient but the amount of data that accumulates will eventually slow down your data retrieval process and your program will run slower. There comes a time when breaking up the data and archiving the previous years' data is necessary to boost the speed of your program usage.
You may even need to do this on a yearly basis for payroll programs because of statutory constraints like changes in contribution tables for EPF or Socso which will cause problems if old payroll data is re-processed with current rates.
The following example shows you how to create a directory to store your previous years' data. We will be using the CARAT Payroll+ directory structure as an example, but the concept applies to any CARAT software.
In CARAT Payroll+, the installation directory is by default, C:\CARAT\PAYPLUS. This is called the home directory and should always contain the current year's data files. It will also contain previous years' data files if there is no previous years' directory created.
Assuming that the current year is 2018 and at the beginning of the next year, 2019, you decide that you want to archive the previous year's data in preparation for new data for 2019.
The steps are as follows:-
Most CARAT software can keep several years' worth of data for you to refer to. This is convenient but the amount of data that accumulates will eventually slow down your data retrieval process and your program will run slower. There comes a time when breaking up the data and archiving the previous years' data is necessary to boost the speed of your program usage.
You may even need to do this on a yearly basis for payroll programs because of statutory constraints like changes in contribution tables for EPF or Socso which will cause problems if old payroll data is re-processed with current rates.
The following example shows you how to create a directory to store your previous years' data. We will be using the CARAT Payroll+ directory structure as an example, but the concept applies to any CARAT software.
In CARAT Payroll+, the installation directory is by default, C:\CARAT\PAYPLUS. This is called the home directory and should always contain the current year's data files. It will also contain previous years' data files if there is no previous years' directory created.
Assuming that the current year is 2018 and at the beginning of the next year, 2019, you decide that you want to archive the previous year's data in preparation for new data for 2019.
The steps are as follows:-
- In Windows, search for the Command Prompt, select it to drop down to the command prompt
- Type C: and press ENTER
- Type CD\CARAT\PAYPLUS and press ENTER
- Type MD PAY2018 and press ENTER
- Type CD PAY2018 and press ENTER
- Type XCOPY ..\*.DAT . and press ENTER (Several files will be copied. Wait for the command prompt to re-appear)
- Type XCOPY ..\*.IDX . and press ENTER (Several files will be copied. Wait for the command prompt to re-appear)
- Type XCOPY ..\*.BLB . and press ENTER (Several files will be copied. Wait for the command prompt to re-appear)
- Type XCOPY ..\*.RTM . and press ENTER (Several files will be copied. Wait for the command prompt to re-appear)
- Type EXIT and press ENTER to close the command prompt
- At the Windows desktop, right click on the shortcut you use to start the program and select Copy
- Right click on a blank area of the Windows desktop and select Paste Shortcut
- Right click on the new shortcut and select Properties
- In the "Start In" field, type \PAY2018 after the existing entry so that it becomes C:\CARAT\PAYPLUS\PAY2018
- Click the OK button
- Right click on the shortcut and select Rename
- Type in an appropriate name to refer it as Payroll for 2018
- Test the new shortcut by double clicking on it
- After the program has started, the directory shown at the bottom left corner should be C:\CARAT\PAYPLUS\2018
- Test the existing shortcut by double clicking on it
- After the program has started, the directory shown at the bottom left corner should be C:\CARAT\PAYPLUS
- If the directories are correct, you can now clear the payroll data for the previous year from the home directory