Configure Data Hub Mappings
Mappings establish relationships between your UKG Pro Workforce Management data and the Data Hub data model, and allow Data Hub to properly extract, process, and deliver your data. From the Data Hub Configuration Portal, you manage mappings for paycodes, business structure location types, and custom labor drivers.
Paycode mapping
Paycodes help organize time or money amounts that employees earn. They also identify spans of time for payroll purposes. Paycode mappings are the assignment of paycodes to various pay categories and areas, including Regular, Overtime, Absence, and Other, and are used to predefine calculated metrics based on the paycode values. For example, the Data Hub summary metric "Regular Hours" would aggregate hours for paycodes assigned to the Regular pay category. Other paycode areas include Absence, Paid, Meal Penalty, and Holiday, among others.
Extracted UKG Pro Workforce Management datasets contain metrics based on timecard and schedule totals data that are filtered based on configurable paycode mappings. For the filtered metrics to return data, paycodes must be aligned, or mapped, since paycodes may have different names.
Paycode mapping process
When Data Hub is first deployed, paycode mappings are bulk loaded into your Data Hub project. The mappings establish the paycode relationship between UKG Pro Workforce Management and the Data Hub data model in the tenant. Data Hub admins can do this directly in the Configuration Portal. For more information, see Paycode Mapping Bulk Update.
You monitor and maintain the mappings from Paycode Mapping page in the Data Hub Configuration Portal. Edit mapping values based on your business needs. Assign values when new paycodes are added to the project.
Best practices and examples
After your paycodes are bulk loaded into Data Hub, you can update the paycode mapping values as needed and map any new paycodes added to Data Hub. Map paycodes based on how you want hours to be reported.
Best practices
The following table includes guidelines and best practices for mapping paycodes.
Mapping |
Options |
Description |
---|---|---|
Pay Category |
Regular, Overtime, Absence, Other |
Note: Not all paycodes with premium pay are overtime. For example, employees may get a premium for working on Sunday, but this would be considered regular as the premium is not avoidable.
|
Absence Category |
Planned, Unplanned, Extended Leave |
|
Productive |
Yes, No |
|
Paid |
Yes, No |
|
Core (exclude hours from paid hours metrics) |
Yes, No |
|
Training |
Yes, No | |
Holiday |
Yes, No | |
Meal Penalty |
Yes, No | |
On-Call |
Yes, No | |
Callback |
Yes, No | |
User Defined |
String |
10 user defined fields are available for each paycode. Populate one or more custom fields with any additional information (using a maximum of 50 characters) that can be used to group and filter paycodes. For example, for Healthcare Productivity, you could add the payroll paycode description, category, category descriptions, sub categories, and sub category descriptions. Then run BigQuery reports on labor metrics that reflect these category groupings. |
Excused Absenteeism |
Not used by Data Hub | |
Unexcused Absenteeism | ||
Low Census | ||
Shift Differentials | ||
Paycode Ignored |
Mapping examples
The following table shows examples of how to map paycodes.
Typical Paycode |
Description |
Pay Category |
Absence Category |
Mappings |
---|---|---|---|---|
Regular |
Regular worked hours - multiplier is 1 |
Regular |
Productive, Paid, Core | |
Overtime |
Hours > 40 in a week - multiplier is 1.5 |
Overtime |
Productive, Paid, Core | |
Sick |
Employee calls in sick - paid |
Absence |
Unplanned |
Paid, Core |
PTO |
Planned time off or vacation - paid |
Absence |
Planned |
Paid, Core |
Doubletime |
Hours for week meet criteria for doubletime - multiplier is 2 |
Overtime |
Productive, Paid, Core | |
Shift Differential |
Employee gets an hourly shift premium for hours worked on graveyard shift - multiplier is .5 |
Regular |
Productive, Paid, Non-core | |
Jury Duty |
Planned time off for civic duty |
Absence |
Planned |
Paid, Core |
Holiday |
Any planned paid holiday hours |
Absence |
Planned |
Paid, Holiday, Core |
Sunday Premium |
Premium pay for regular hours worked on Sunday - multiplier is 1.5 |
Regular |
Productive, Paid, Core | |
Unpaid Time Off |
Planned time off where employee has no PTO hours available |
Absence |
Planned |
Non-core |
Timecard Event Tracking |
Paycode edit generated by the system - not a paid event |
Other |
Non-core | |
Callback |
Employee is called back to work when not scheduled. |
Regular |
Productive, Paid, Callback, Core | |
On Call |
Employee is designated as available for work |
Regular |
Productive, Paid, On-Call, Core | |
No Call No Show |
Employee is scheduled but is absent |
Absence |
Unplanned | Non-core |
Salary Regular |
Employee is paid to schedule - 40 hours |
Regular |
Productive, Paid, Core | |
Bereavement |
Absent due to death in the family |
Absence |
Unplanned |
Paid, Core |
Map paycodes manually
- Go to the Setup > Paycode Mapping page. All available paycodes for the project display, including columns of categories, showing the current mapping values. A message at the top of the page indicates which paycodes, if any, have no Pay Category values mapped.
- Click a cell in a column to add a value or change a paycode category value for the paycode you want to edit. Note the following:
- Supported values for categories are
Yes,
No, or (
-), except for the following categories:
- For Pay Category, select Regular, Overtime, Absence, or Other
- For Absence Category, select Extended Leave, Planned, Unplanned, or ( -)
-
10 user defined fields are available for each paycode. Populate one or more custom fields with any additional information (using a maximum of 50 characters) that can be used to group and filter paycodes.
For example, for Healthcare Productivity, you could add the payroll paycode description, category, category descriptions, sub categories, and sub category descriptions. Then run BigQuery reports on labor metrics that reflect these category groupings.
- Supported values for categories are
Yes,
No, or (
-), except for the following categories:
-
Click
Save
. The next time pipelines run, the summary metrics will recalculate based on the updated mappings. - To export the paycode mappings to a CSV file, click Export Paycodes. This is useful as a template when mapping paycodes in bulk.
- To bulk update the paycode mappings, click Bulk Update. See Paycode Mapping Bulk Update.
Location type mapping
Every GCP tenant has a business structure that defines how data is organized. UKG Pro Workforce ManagementLocation Types (for example, company, department, and job) must be mapped to your data’s business structure location as a hierarchy in the businessStructure table schema in your GCP project. The mapping populates the orgBreak0-25 columns which gives you more insight into the data you want to report on.
This mapping is done in the Data Hub Configuration Portal. When mapping, you assign each Location Type a unique Mapping Assignment ID value. This ID implies organizational priority and assures that each business structure location type is represented in the database (in the orgBreak0-25 columns). You must map location types before you can run meaningful GCP reports against business structure attributes.
There is no requirement for how location types are mapped, but as a best practice it is recommended that you map them in ascending order based on the organizational hierarchy. For example, a retailer location may be mapped as follows:
- Category = 0
- Job = 1
- Department = 2
- Location = 3
- District = 4
See all location types
Company |
Business Site |
Division |
Regions |
District |
Business Location |
Area |
Department |
Subarea |
Category |
Job |
Map location types
- Go to the Setup > Location Type Mapping page. All available location types for the project display, along with a description and category of each type (if available). A message at the top of the page indicates which location types, if any, are not mapped. By default, when Data Hub is first deployed, the mappings for all Location Types will show a dash (-) indicating no mappings have been done.
- In the Location Type Mapping Assignment column, triple-click a cell for the location type you want to map to open the ID list. A cell with a dash (-) in the Mapping Assignment column means no value has been mapped for that location type.
- Select a number from 0 to 25. The number you select should not be used for another location type. If it is, you must change the ID value for the other location type before you can save your work.
- When you are finished mapping location types,
click
Save
.
Custom driver mapping
Retail customers use custom labor drivers as part of the labor forecasting process to generate and manage the schedules of an employee’s hours for labor (non-volume) related work. To report on these amounts through Data Hub, the drivers must be mapped to columns in BigQuery.
When you map a custom driver, the mapping assignment value is associated with a equivalent column in the Summary Dataview in BigQuery. The mapping manages the data that populates the column. For example, if you have the custom driver Promotional Hrs assigned a mapping assignment value of 1, then the BigQuery column CstmDriver1_Amt would return Promotional Hrs data.
Map custom drivers
- Go to the Setup > Custom Driver Mapping page. All available custom drivers for the project display, along with the custom driver currency column indicating whether the driver value is expressed in currency. A message at the top of the page indicates which custom drivers, if any, are not mapped. By default, when Data Hub is first deployed, the mappings for all custom drivers will show a dash (-) indicating no mappings have been done.
- In the Custom Driver Mapping Assignment column, triple-click a cell for the custom driver you want to map to open the ID list. A cell with a dash (-) in the Mapping Assignment column means no value has been mapped for that location type.
- Select a number from 0 to 25. The number you select should not be used for another custom driver. If it is, you must change the ID value for the other driver before you can save your work. These numbers do not imply organizational hierarchy.
- When you are finished mapping custom drivers,
click
Save
.