Text File Import Employees
Previous Topic  Next Topic 

Employees are an optional entry used when reporting time against a job in Job Status Updating.  To access import employees, select Import | Import via Text File | Import Employees via Text File from the main Calendar menu.


The following screen will appear:



Perform the following steps to import employees:


  1. Import filename Enter the import filename.  The import file must already exist and be in the correct format.  You can click on the open folder icon at the end of the prompt to browse for the import file.
  2. Report status filename Enter a filename where the report status will be written or press enter to take the default filename of ImportEmployeeStatus.TXT.  DMS writes the status of the import to the file entered to this prompt. Import errors with the offending import line are written to this file. 
  3. Click OK to start the import, or click Cancel.


The Employee record consists of one record type (EMP).  During the import, if an employee number already exists in the table, the employee is updated with the new imported data.  Duplicate employee numbers are not allowed.



Field

Type

Comment

EMP

String 3

Record identifier.  Required filed

Employee Number

String 20

Required unique field.  Employee number of the employee record to add or update.

Employee Name

String 50

Employee name.  The name any format such as "Last Name, First name" or "First Name Last Name", etc.

Available

Boolean

True if the employee is available for use.  False if the employee is not available (i.e. left the company).

Notes

Memo

Optional text about the employee.


Other commands exist for the employee table and these are:


Clear Employee Table

This command will delete all employees who are not used by transactions (time reported against a job).  To execute this command, select File | Clear Employee Table.  The following window will appear asking you to confirm the clear:



Select OK to clear the table, or select Cancel to ignore the clear.  If OK is selected, all employees who are not used by a transactions or jobs will be deleted.


Read Format

The current file format is displayed in bold under the Import tab.  If you want to change the file format, select File | Read format and then click on the read format you want to use which is either DMS or Old Format.  The DMS format is listed above.  the Old Format is:


  1. Employee record identification (EMP)
  2. Employee Number (string 20)
  3. Last Name (Last name, first name and initial cannot exceed string 50)
  4. First Name
  5. Initial


When reading the old format, DMS formats the employee name as:


       Last Name, First Name Initial