The table below shows the data relationship between PMI data elements/fields (target) and corresponding source data elements/fields (source).

You will find the transformation/load rules meant to explain any programmatic manipulation and calculation applied in the adapter to get the desired data format and/or result in the PMI staging table where such have been applicable.

An example of the source file data, format and structure is also attached below the table.

This table will be updated whenever the source file or the adapter in question are changed throughout the interface life-cycle.

# PMI data element (target) Description Mandatory / Optional Data transformation/load rules Planday data element (source) Comment
1 Property ID ID of the property (hotel, restaurant) Mandatory Exists but not used. See Property Name below PortalId
2 Property Name Name of the property (hotel, restaurant) Mandatory Directly mapped to source equivalent PortalName
3 Department ID ID of the department within the property Mandatory Exists but not used. See Department Name below DepartmentId
4 Department Name Name of the department within the property Mandatory Directly mapped to source equivalent DepartmentName
5 Date Working date (timesheet) Mandatory Derived from date and time string Start
6 TimeCategory ID ID of the time category Mandatory Exists but not used. See TimeCategory Name below TimesheetTypeID
7 TimeCategory Name Name of the time category (e.g. Fixed Salary, Absence) Mandatory Mapped to PMI equivalent TimesheetTypeName This is needed to separate productive and non-productive hours
8 JobCategory ID ID of the job category Optional Exists but not used. See JobCategory Name below EmployeeGroupID
9 JobCategory Name Name of the job category (e.g. Servers, Managers) Optional Directly mapped to source equivalent EmployeeGroupName
10 Staff ID ID of the staff (employee) Mandatory Exists but not used EmployeeID Not presented at staff level, but at job category and date level
11 Hours Number of hours (on the timesheet) Mandatory Exists in minutes. Transformation rule: minutes divided by 60 to get number of hours in PMI Minutes
12 Approved If the hours are approved or not Mandatory Approved and to-be-approved hours exist. Loading rule: only import approved hours TimeSheetApproved All hours included in the file are approved in Planday