---
title: "Import Employee Data to MyWorkplace"
id: "import-employee-data-to-myworkplace"
project: "MWP Knowledge Base"
url: "https://help.cloud5.com.au/articles/mwp-knowledge-base/import-employee-data-to-myworkplace"
keywords:
  - "Business structure"
  - "Clocks"
  - "Costing"
  - "Employees"
  - "Import"
  - "Payroll"
  - "Rosters"
  - "Security"
  - "Users"
updated: 2026-12-02T01:10:30Z
---

# Import Employee Data to MyWorkplace

1 Importing Employee Data 1.1 Overview Several tables are used to record employee masterfile information in MyWorkplace.
 
These tables include the ‘basic’ employee masterfile data as well as things like cost centres, rates of pay, and some HR-centric data, like address, contact details, etc. This document only outlines the tables used for employee base data, and the more commonly used ‘extra’ tables which make up an employee masterfile in MWP.
 
Each of the tables discussed can be updated from external systems by setting up an ‘interface’ using the generic import tool in MyWorkplace (MWP), or by using the import functionality on some of the masterfile screens in the MWP software. The file formats are the same for manual imports, or using the generic import tool method.
 
The payroll/HR system in use in your business must be able to output the required data in the formats outlined below.
 
The interval for ‘automatically’ importing of any of the following files into MyWorkplace is controlled by a scheduled task on the designated MWP application/batch process server (the clocking import task). This can be as frequent as every 15 minutes.
 
1.2 Making the data available to MWP Where the payroll/HR system is not on the same network as the MWP server (for example, customers who have their MWP hosted by Cloud5, or customers whose 3rd party payroll/HR system is cloud based), there will be a need to transfer the data file(s) from the payroll/HR system infrastructure to the MWP server.
 
Some of 3rd party vendors have their own transfer methodology, so you should consult with them to see if there are any considerations you need to be aware of.
 
Under most circumstances, sFTP is used (several different programs can provide that functionality) to securely transfer the data files. The actual method used will vary from customer to customer and will be discussed during implementation.
 
If MWP is installed on the same network as the payroll/HR system (i.e. ‘in house’), then the transfer of files should be handled by your company’s internal processes (perhaps as simple as a shared/mapped drive where the data will be made available to the MWP system).
 
1.3 Base Employee Details The ‘base’ employee details include things like employee no, surname, given names, their card/ID details for clocking, where in the business structure the employee belongs and the roster they will be assigned to.
 
Some of this data (like clock card number and roster) is not stored in payroll/HR systems, so when importing employee data, we first put the data into a ‘staging’ table (ta\_employee\_preliminary) so that those pieces can be entered before the employee is finally saved in the MWP database.
 
The data can be imported to the MWP table from a flat (CSV/TXT) file.
 
The table below details each of the fields in the ta\_employee\_preliminary table in MWP database.
 
If all mandatory fields in this table are populated and the data is valid, the system can be configured so that there is no manual intervention (i.e. validation) required, otherwise the records will appear in the ‘Load Employees’ validation screen.
 
Relevant users would then apply all missing fields and save each record.
 
Note that some fields, although marked as ‘mandatory’, can be left blank and this will force the data into the validation screen (this would be done, for example, where the business structure in payroll/HR does not match that which is set up in MWP, or where roster codes are not stored in the payroll/HR system).
 
Notes for creating the ‘flat file’:
 
* Each field must be separated by a comma, and all fields must be present in each line of data, even if no entry is being output for the given field(s). There should be no comma after the last data field (evac\_pt\_cd). Each row of data needs to be on a new line (i.e. each row must have a CR/LF at the end of the data to go to a new line).
* There must be one blank row (CR/LF - carriage return/line feed) at the end of the data in the file.
* The file name should be ‘employee.csv’, or other agreed name, and must not change (i.e. it cannot have a date stamp in the file name). The location of the file will be agreed at implementation.

The imported file is renamed by the import process using our standard method of appending the Date & Time to the file name only after successful import.
 
MWP database table - Ta\_employee\_preliminary Field Name Mandatory Comments Description Field Type Y/N employee\_no Empl/Payroll Number Int Y Up to 10 digits, no zero fill, left justified Effective\_from\_date Effective From Date date Y Date of change/addition (dd/mm/yyyy) givennames Given name Varchar(40) Y Left justified, space between each surname Surname Varchar(40) Y Left justified Start\_date Start Date date N Actual start date (dd/mm/yyyy) Depart\_date Termination Date date N Always blank Card\_id Card Id Varchar(10) Y Always blank Card\_activation\_id Card Activation Int Y Always 0 (zero) Crew\_id Y Use ’A’ if not stored in payroll/HR. If left blank can be added in validation Crew Varchar(4) screen Business\_group Business Group Varchar(4) N Blank if not used in MWP Reporting\_group Reporting Group Varchar(4) N Blank if not used in MWP Preferredname Preferred Name Varchar(20) Y Will default to first 20 char’s of givennames field Roster\_cd Y Use ‘DEFAULT’ if not stored in payroll/HR, if left blank can be added in Roster Varchar(8) validation screen Work\_area Y Must match work area codes set up in MWP. If left blank can be added in Work Area Code Varchar(4) validation screen Work\_station N Must match work station codes set up in MWP. If left blank can be added in Work Station Code Varchar(4) validation screen Pay\_group Y Must match pay group codes set up in MWP. If left blank, can be added in Pay Group Varchar(4) validation screen Classification N Must match classification codes set up in MWP. If left blank can be added in Classification Varchar(12) validation screen Class\_lvl N Must match class level set up in MWP. If left blank can be added in validation Class Level Varchar(2) screen status Y Must match status codes set up in MWP e.g. F=Full Time, P=Part Time, etc. Status Varchar(1)
 
NOTE – T is reserved in MWP for Terminated employees. Location\_cd Y Must match location codes set up in MWP. If left blank can be added in Location Code Varchar(4) validation screen Version\_ctrl\_no Version Control No. Int N Always 1 Pay\_ord\_bef\_ot\_ind Pay Ordinary Before N Always 0 (zero) Int OT flag Effective\_to\_date Effective To Date Date N Always blank Late\_start\_tol Late Start Tolerance Int N Always 0 (zero) Early\_finish\_tol Early Finish Tolerance Int N Always 0 (zero) Late\_finish\_tol Late Finish Tolerance Int N Always 0 (zero) Early\_start\_tol Early Start Tolerance Int N Always 0 (zero) Supv\_no Supervisor No. Int N Always blank Company\_id Company int Y Normally ‘1’ – check with MWP consultant if multiple in use in database Date\_of\_birth Date of Birth date N Blank if not required in MWP Standard\_hours Standard Hours float N Can be set to 0 Evac\_pt\_cd Evacuation Point N Always blank Varchar(10) Code
 
A typical file with records for new/changed employees might look like;
 
20826,03/04/2018,LUCY,ROBERTSON,03/04/2018,,,0,,,,LUCY,,9315,CAS,BBAU,326,1,C,VIC,,,,,,,,,3,0, 20827,16/04/2018,CASEY,HALLIWELL,16/04/2018,,,0,,,,CASEY,,9422,CAS,BBAU,412,1,C,QLD,,,,,,,,,3,40,1 20828,16/04/2018,LISSA,THOMSON,16/04/2018,,,0,,,,LISSA,,9422,CAS,BBAU,412,1,C,QLD,,,,,,,,,3,40, 20829,16/04/2018,ANDREA,JACOBY,16/04/2018,,,0,,,,ANDREA,,9421,CAS,BBAU,412,1,C,QLD,,,,,,,,,3,40, 80996,09/04/2018,JACK,CONNOR,09/04/2018,,,0,,,,JACK,,9808,PPT,BBNZ,NZ,1,P,NZ,,,,,,,,,4,0, 20824,23/04/2018,TAYLA,NUSS-SOEHARTO,23/04/2018,,,0,,,,TAYLA,,1920,MED,TDGF,,,S,VIC,,,,,,,,,2,,80, &lt;CR/LF&gt; here….
 
A typical file with records for terminated employees might look like;
 
4221,03/12/2017,ALYSSA JANE,MARTIN,06/05/2013,,,0,,,,ALYSSA JANE,,9219,CAS,BBAU,220,1,T,NSW,,,,,,,,,3, 4508,11/03/2018,JANE,TRUONG,21/10/2011,,,0,,,,JANE,,9207,CAS,BBAU,220,1,T,NSW,,,,,,,,,3, 5613,08/10/2017,LAURA,SAMPSON,29/06/2013,,,0,,,,LAURA,,9235,CAS,BBAU,220,1,T,NSW,,,,,,,,,3, 5679,02/07/2017,HIRA,RIZVI,15/08/2013,,,0,,,,HIRA,,9207,CAS,BBAU,220,1,T,NSW,,,,,,,,,3, &lt;CR/LF&gt; here….
 
Note - The only difference between a new/changed employee and a terminating employee is the status field (should be set to ‘T’ for terminations). The ‘effective\_from\_date’ field would be the employee’s termination date. Do NOT populate the depart\_date field.
 
It is possible to combine termination data with new/changed data in the one file.
 
If data exists in the MWP database for an employee number in the data file, the existing employee information in the database will be updated to have an ‘effective to’ date of 1 minute prior to the ‘effective from’ date in the data file being imported.
 
The ‘effective\_to\_date’ field therefore should always be blank in the file.
 
1.4 Employee Cost Centres Employee Cost Centres are not part of the base employee data in MWP and can be imported into the ta\_emp\_costing\_levels table in the database if they are stored in the payroll/HR system.
 
Employees can have up to 6 levels of cost data assigned to them, and these may bear no relevance to the reporting/business structure they belong to (i.e. they may represent product codes, machines, quantities produced), or they may be linked to the business structure.
 
Often, cost centre information is aligned with an ERP system, rather than payroll/HR, and it may not be possible for that information to be extracted for use in MWP.
 
Notes for creating the ‘flat file’:

* Each field must be separated by a comma, and all fields must be present in each line of data, even if no entry is being output for the given field(s).
* There must be one blank row (CR/LF - carriage return/line feed) at the end of the data in the file.
* The file name should be ‘emp\_cost\_centres.csv’, or other agreed name. The location of the file will be agreed at implementation.

The imported file is renamed by the import process using our standard method of appending the Date & Time to the file name only after successful import.
 
## Ta\_emp\_costing\_levels

Field Name Mandatory Comments If Description Field Type Y/N data employee\_no Y Up to 10 digits, no zero fill, no exists Empl/Payroll Number Int in justification Cost\_level\_number Cost Level Number int Y 1 digit only MWP Cost\_code Y Left justified for Cost Code Varchar(30) Must match cost codes set up in an MWP Effective\_from\_date Y Date of change/addition Effective From Date Date (dd/mm/yyyy) Effective\_to\_date Effective To Date Date n Always blank. employee for a given cost level, the existing level information in the database will be updated to have an ‘effective to’ date of 1 minute prior to the effective from date in the data file being imported.
 
The ‘effective\_to\_date’ field therefore should always be blank in the file.
 
A typical file with cost level records for employees might look like;
 
176,1,VIC09101FIN,4/01/2000, 508,1,VIC09314CAS,4/06/2002, 576,1,VIC09316PFT,6/11/2000, 622,1,VIC09316STM,11/08/2003, 1088,1,WA009604CAS,18/02/2002, 1229,1,VIC09316STM,19/05/2005, &lt;CR/LF&gt; here….
 
1.5 Employee Rates Employee Rates are not part of the base employee data in MWP and can be imported into the ta\_employee\_rates table in the database. Not all MWP customers have the requirement to calculate $ values, so rates are optional.
 
Employees can have many different rate types (such as PAY or COST) assigned to them and these would be used in calculating costed rosters, or for budget/forecast/actual comparisons.
 
Notes for creating the ‘flat file’:

* Each field must be separated by a comma, and all fields must be present in each line of data, even if no entry is being output for the given field(s).
* There must be one blank row (CR/LF - carriage return/line feed) at the end of the data in the file.
* The file name should be ‘emp\_rates.csv’, or other agreed name. The location of the file will be agreed at implementation.

The imported file is renamed by the import process using our standard method of appending the Date & Time to the file name only after successful import.
 
Field Name Mandatory Comments Description Field Type Y/N If Ratetype Y Must match rate type codes set up Rate Type Varchar(10) in MWP Amount Y $ rate to apply, left justified, up to $ amount for rate Decimal(11,5) 5 decimals, no currency sign type required Effect\_from\_date Y Date of change/addition Effective From Date Date (dd/mm/yyyy) Currentuse Is rate Currently Y Always 1 int used? Ratefrequency Y Valid entries are Rate Frequency Varchar(10) Hour/Day/Week/Fortnight/Month employee\_no Y Up to 10 digits, no zero fill, no Empl/Payroll Number Int justification Effect\_to\_date Effective To Date Date n Always blank. data exists in MWP for an employee for a rate type, the existing rate information in the database will be updated to have an ‘effective to’ date of 1 minute prior to the ‘effective from’ date in the data file being imported, and the ‘currentuse’ flag will be set to 0.
 
The ‘effective\_to\_date’ field therefore should always be blank, and ‘currentuse’ should always be 1 in the file.
 
A typical file with cost level records for employees might look like; 64753,16/04/18,16.5000,PAY,Hour, 64713,13/04/18,16.5000,PAY,Hour, 64588,19/03/18,17.0000,PAY,Hour, 64697,04/04/18,16.5000,PAY,Hour, 36277,09/04/18,16.5000,PAY,Hour, 51130,16/04/18,16.5000,PAY,Hour, &lt;CR/LF&gt; here….
 
1.6 Employee Contact Details Employee Contact Details are not part of the base employee data in MWP and can optionally be imported into the ta\_emp\_contact table in the database.
 
Typically, these details are stored in the payroll/HR system(s). MWP gives the ability for line managers, who may not normally have access to the payroll/HR system(s), to get access to details about the employees under their control without compromising that data (i.e. ‘read only’ access).
 
Employees can have many different contact types (phone numbers and email addresses) assigned to them.
 
Notes for creating the ‘flat file’:

* Each field must be separated by a comma, and all fields must be present in each line of data, even if no entry is being output for the given field(s).
* There must be one blank row (CR/LF - carriage return/line feed) at the end of the data in the file.
* The file name should be ‘emp\_contacts.csv’, or other agreed name. The location of the file will be agreed at implementation.

The imported file is renamed by the clocking import process using our standard method of appending the Date & Time to the file name only after successful import.
 
Field Name Mandatory Comments If Description Field Type Y/N employee\_no Empl/Payroll Y Up to 10 digits, no zero fill, no Int Number justification Effective\_from\_date Effective From Y Date of change/addition Date Date (dd/mm/yyyy) Effective\_to\_date Effective To N Always blank Date Date Phone\_home Home Phone N format xx xxxx xxxx Varchar(12) Number Phone\_mobile Mobile Phone N format xx xxxx xxxx Varchar(12) Number phone\_work Work Phone N format xx xxxx xxxx Varchar(12) Number phone\_work\_extension Work Phone N format xx xxxx xxxx Varchar(12) Extension Email\_address\_home Home Email N Follow standard email address Varchar(50) Addr format Email\_address\_work Work Email N Follow standard email address Varchar(50) Addr format Email\_address\_other Other Email N Follow standard email address Varchar(50) Addr format Workflow\_id Workflow ID Int N Always 0 Record\_created\_by Record Created N Always blank Varchar(12) By Record\_created\_date Record Created N Date of record creation Date Date/Time (dd/mm/yyyy hh:mm) Record\_last\_updated\_by Record last N Always blank. Varchar(12) updated by Record\_last\_updated\_date Record Updated N Date of record creation Date Date/Time (dd/mm/yyyy hh:mm) data exists in MWP for employee contacts, the existing contact information in the database will be updated to have an ‘effective to’ date of 1 minute prior to the ‘effective from’ date in the data file being imported.
 
The ‘effective\_to\_date’ field therefore should always be blank in the file.
 
Note - All data on the new record will replace existing data (i.e. if only one of the contact details is to be changed, ALL pre-existing data must also be sent with the change).
 
A typical file with contact records for employees might look like;
 
64753,16/04/18,,03 1234 5678,0419 001 002,,,joe.bloggs@home\_email.com,joe.bloggs@work\_email.com,,,,,, 64713,16/04/18,,03 9876 5432,0419 100 200,03 9999 1111,777,fred.nerk@home\_email.com,fred.nerk@work\_email.com,,,,,, &lt;CR/LF&gt; here….
 
2 Other Employee Details Other employee-centric details such as emergency contacts, address, skills, and significant dates can also be stored in the MyWorkplace system. Most commonly, these details are only stored in payroll/HR, and line managers don’t have access to the payroll/HR system.
 
Line managers can be granted access to all, some, or none of the screens which display the data using the user data security profiles in MWP.
 
The screens can also be set up as read/write or read-only. When set to read/write, changes made by line managers in MWP can be sent back to payroll/HR systems. Typically, all of the screens are set to read-only mode in MWP (meaning the payroll/HR system remains the ‘source of truth’ for those details).
 
Importing data into these ‘extra’ data tables is not discussed as part of this document. Details on how to populate this information from Fusion5 is available on request.