CDTOCM Instructions
The CDTOCM program is a conversion program designed to convert date records from Critical Date Version 8.1 to PracticeMaster Version 10.6 calendar records.
Note: Critical Date Event Plans will not be converted.
Before Installation
Before installing the CDTOCM conversion program, the PracticeMaster program must be installed and clients set up. 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 Version 10 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 conversion program (CDTOCM.EXE) must be transferred to the directory on your hard disk where your CDS program files reside. This is done by using the INSTALL program.
To install the CDTOCM conversion program on your hard disk:
A:
INSTALL
Creating the Employee/User Mapping File (CONVUSER.TBL)
In CDS Version 8.1, the date records contain Employee information, whereas calendar records in PracticeMaster Version 10 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 Version 10.
Importing into PracticeMaster
Transfer the CDTRANS.EXP file to the directory where the PracticeMaster files reside.
Open PracticeMaster Version 10 to import the converted CDS data.
If you would like the tcodes in CDS to be imported as calendar codes in PracticeMaster Version 10, 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 Version 10, 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:
If you have any questions, please call STI’s Technical Support at (402) 423-1440.
08142002