CDTOCM Instructions
The CDTOCM program is a conversion program designed to convert date records from Critical Date Version 8.1 to PracticeMaster Version 11.2 calendar records.
Note: All technical support calls regarding this conversion are billable calls.
Note: Critical Date Event Plans will not be converted.
Note: Any date records assigned to "All Employees" will not be converted. To identify these date records, in CDS Version 8, run a Critical Date by Employee Report for employee number 0 for all date records including completed date records. You can either edit these date records to have a specific employee number in CDS so they are converted; or, you can enter the date records into PracticeMaster after the conversion is completed. If you want these date records transferred to PracticeMaster, it may be easiest to edit the date records in CDS to an existing employee, and then after the conversion is completed, edit each date record in PracticeMaster so it is associated with the appropriate group of employees.
Before Installation
If you are converting other Tabs3 applications, the Tabs3 applications must be converted to Version 11 before performing this conversion. Additionally, the PracticeMaster program must be installed and clients set up in PracticeMaster before installing the CDTOCM conversion program.
In PracticeMaster, the Key Type must be Numeric and the Decimal Places must match the second digit of the Key Type in CDS Customization. For example, a Key Type of 8.2 in CDS would require Decimal Places in PracticeMaster of 2. If the second digit of the CDS Key Type does not match the Decimal Places in PracticeMaster, use the Renumber Clients program in CDS to change the Key Type.
All CDS clients must already be present in PracticeMaster with the same Client ID before converting. If Tabs3 is also being converted and all CDS clients are also in Tabs3 with the same Client IDs, this will occur automatically when Tabs3 is converted to Version 11 and the data is synchronized to PracticeMaster. However, if for some reason CDS and PracticeMaster have the same client names but different Client IDs, this presents a problem. In this case, you will need to run client lists from both CDS and PracticeMaster and compare the Client IDs on the lists. All clients will need to be renumbered to match the number in the other system. You can either renumber clients in CDS to match PracticeMaster, or renumber in PracticeMaster to match CDS.
All date records imported with a Client ID that does not exist in PracticeMaster will report an error 54 (Client Record Not Found) in the PracticeMaster Data File Integrity Check.
Make a backup of your Critical Date data and run the File Reorganization specifying the desired purge date in order to prevent date records that have been marked D (delete) or P (purge) from being converted.
Date records in CDS use a Location field. The Calendar File in PracticeMaster does not contain a Location field by default. If you want to retain the Location field from CDS, you can create your own Location field in the Calendar File, if desired, by adding this field using File Maintenance (refer to the online Help provided with PracticeMaster for step-by-step instructions). As an alternative, you can map this field to the Comments field in PracticeMaster to be combined with the date record description or you can choose to not import this information.
Installation of the CDTOCM Program
The CDTOCM.EXE conversion program must be transferred to the directory on your hard disk where your CDS program files reside.
Creating the Employee/User Mapping File (CONVUSER.TBL)
In CDS Version 8.1, the date records contain Employee information, whereas calendar records in PracticeMaster contain User/Group information. In order to convert information in the "Employee" field to "User/Group" information, a simple text file named CONVUSER.TBL must be created. This is necessary because PracticeMaster has no way of knowing which employee is associated with which user/group.
Use the following steps to create the CONVUSER.TBL file:
Executing the CDTOCM Conversion Program
The following procedures are used to create a data file named CDTRANS.EXP that includes the exported CDS date records.
Have you created the CONVUSER.TBL file? (Y/N): Y
If you answer "Y" (the default), the program will look for the CONVUSER.TBL file in the directory where you are running the CDTOCM conversion. It will convert the employee information to user/group information based on the contents of this file.
If you answer "N", the program will not convert the employee numbers to users. When employee information is imported into the Calendar File, a Data File Integrity Check error 145 (User ID record not found) will result for each Calendar record.
Should records with a date prior to today be marked as completed? (Y/N): Y
If you answer "Y" (the default), the Date Completed field in PracticeMaster will default to the date of the CDS record if:
If you answer "N", the Date Completed field in PracticeMaster will only default to the date of the record if the record has a Status of "C" (complete) and will not insert a date completed if the Status was left blank.
Note: This will not affect any entries previously entered into PracticeMaster.
After answering the previous two questions, a similar screen display will be displayed as follows:
|
CDS Type |
PM Type |
|
A |
T |
|
B |
T |
|
· |
· |
|
· |
· |
|
· |
· |
|
Valid Types are 'T', or 'E' |
|
You must map the CDS Type to "T" (task) or "E" (event). You can use the arrow keys or the ENTER key to scroll between each type. If you keep the "T" default, the previously entered CDS Type (A through Z) will become "T" in PracticeMaster. If you type "E" for the PM Type, the corresponding CDS Type (A through Z) will become "E" in PracticeMaster.
After you have entered the desired PM Types, you will see the prompt:
OK? (Y/N):
If you answer "N" to the "OK? (Y/N)" prompt, the cursor will move back to the top of the screen allowing you to change your selections.
If you answer "Y" to the "OK? (Y/N)" prompt, the conversion will begin at which point the following message will be displayed:
Now performing the conversion.
A message will be displayed indicating the number of records remaining to be converted. When the conversion has finished, the following message will be displayed:
Conversion is done. The conversion file is ‘CDTRANS.EXP’.
You can then close out of the program by clicking the Close button in the top right corner of the window.
Note: If the CDS Duration field is blank, then the PracticeMaster End Time field for events will default to the Start Time field.
Technical Note: If the CDTOCM program encountered employee information that could not be converted to valid user/group information, a text file titled CDTRANS.ERR will be generated. This file can be opened using any text editor. This information will also be reported by the Import Error Log Report and by the Data File Integrity Check as error 145 (User ID record not found) after the CDTRANS.EXP is imported into PracticeMaster.
Importing into PracticeMaster
Transfer the CDTRANS.EXP file to the directory where the PracticeMaster files reside.
Open PracticeMaster to import the converted CDS data.
If you would like the tcodes in CDS to be imported as calendar codes in PracticeMaster, you can import the CDTRANS.EXP into the Calendar Code File. If they do not exist in PracticeMaster, Data File Integrity Check error 146’s (Calendar code not found) will result.
To import the CDS tcodes into PracticeMaster Calendar Codes
To import the CDS date records into the PracticeMaster Calendar File
| Import Fields | PM Fields |
| Due_Date | Due_Date |
| Complet_Dt | Complet_Date |
| Calendar_Code | Cal_Code |
| Desc(Short_Desc) | Desc* |
| Type | Type |
| Start_Time | Start_Time |
| End_Time | End_Time |
| GroupInfo | GroupInfo |
| Client_ID | Client_ID |
| (blank) | Related_Party |
| Priority** | Priority |
| User_ID | User_ID |
| Comments(Location) | Comments*** |
| Comments(Full_Desc) | Comments**** |
* The Desc field in PracticeMaster is 128 characters long. The Desc(Short_Desc) Import Field contains the first 128 characters (truncated by word) of the CDS date record description and can be imported into the Description field in Practice Master.
** The Priority Import Field contains converted Importance Levels from CDS. In CDS, 0 indicated the lowest priority and 9 indicated the highest priority. In PracticeMaster, 0 indicates the highest priority and 9 indicates the lowest priority. The CDTOCM will take this difference into account and convert Importance Levels of 0 to 9, 1 to 8, etc.
*** The Comments(Location) Import Field contains the Location field information from CDS. If you created a location field in the Calendar File, the Comments(Location) Import Field can be mapped to it. Otherwise, you can map this field to the PracticeMaster Comments field where it can be combined with the date record description if desired.
**** For purposes of retaining all information entered in CDS, the Comments(Full_Desc) Import Field will contain the entire date record Description. This field can be mapped to the PracticeMaster Comments field, which has a 45,000 character limit.
If you do not want to import the Desc(Short_Desc), Comments(Location), or Comments(Full_Desc) fields, they can be mapped to a PracticeMaster Field of "None".Note:
07092004