# Deputy

Deputy is an employee scheduling, HR, workforce management and time clock software.

Deputy integration replicates data using the [Deputy API](https://www.deputy.com/api-doc/API/Getting_Started).

See the [Schema](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#Schema) section for a list of objects available for replication.

## Preparing for authentication

To access your data, you need to authenticate the connection with your account credentials.

Information noteMake sure that the account you use has read access to the tables you want to fetch.

To generate your client ID and secret:

1. Log into your Deputy installation, for example: https://your-subdomain.region.deputy.com.
2. Navigate to your OAuth client settings, for example: https://your-subdomain.region.deputy.com/exec/devapp/oauth\_client.
3. To create your OAuth client, fill in:
   * Name: Your app’s display name.
   * Description: A description of your app.
   * Logo URL (optional): An image of your logo.
4. Make sure Authorized Redirect URIs is set to https://connector.qlik.com/auth/oauth/v3.htm.
5. Click Save this OAuth Client. The client ID and secret are displayed.
6. Copy and paste your client ID and secret into a secured file.

## Creating the connection

For more information, see [Connecting to SaaS applications](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/Landing/connecting-web-applications.htm).

1. Click Authenticate when you have filled in the required connection settings.

   You may be asked to log in to the source application.

   A window is displayed with an authentication code.

2. Copy the code to the clipboard and return to the connection dialog.

3. Paste the code in Complete authentication with the code provided by the source and click Verify.

   Tip noteYou may need to scroll down to see this field.

   When status is Verified, the authentication is verified.

4. Provide a name for the connection in Connection name.

5. Select Open connection metadata to define metadata for the connection when it has been created.

Connection settings

| Setting | Description |
| --- | --- |
| Data gateway | Select a Data Movement gateway if required by your use case.<br><br>Information note<br><br>This field is not available with the Qlik Talend Cloud Starter subscription, as it does not support Data Movement gateway. If you have another subscription tier and do not want to use Data Movement gateway, select None.<br><br>For information on the benefits of Data Movement gateway and use cases that require it, see [Qlik Data Gateway - Data Movement](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Gateways/replication-gateway.htm). |
| Start Date | Enter the date, in the format `MM/DD/YYYY`, from which the data must be replicated from your source to your target. |
| Client ID | Client ID. |
| Client Secret | Client secret. |

## Schema

Information note

Schemas and naming conventions can change from version to version. It is recommended to verify your version before continuing.

Depending on your destination, table and column names may not appear as they are outlined below.

### addresses

The `addresses` table contains info about addresses.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/Address) |

addresses table foreign keys

| Join addresses with | on |
| --- | --- |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>addresses.Id = companies.Address<br>```<br><br>```<br>addresses.Creator = companies.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>addresses.Id = employee_history.MainAddress<br>```<br><br>```<br>addresses.Id = employee_history.PostalAddress<br>```<br><br>```<br>addresses.Id = employee_history.EmergencyAddress<br>```<br><br>```<br>addresses.Creator = employee_history.EmployeeId<br>```<br><br>```<br>addresses.Creator = employee_history.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>addresses.Id = operational_units.Address<br>```<br><br>```<br>addresses.Creator = operational_units.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>addresses.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>addresses.Creator = comments.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>addresses.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>addresses.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>addresses.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>addresses.Creator = custom_app_data.Employee<br>```<br><br>```<br>addresses.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>addresses.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>addresses.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>addresses.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>addresses.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>addresses.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>addresses.Creator = employee_appraisal.Creator<br>```<br><br>```<br>addresses.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>addresses.Creator = employee_availability.Employee<br>```<br><br>```<br>addresses.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>addresses.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>addresses.Creator = employee_contracts.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>addresses.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>addresses.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>addresses.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>addresses.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>addresses.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>addresses.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>addresses.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>addresses.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>addresses.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>addresses.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>addresses.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>addresses.Creator = journal.EmployeeId<br>```<br><br>```<br>addresses.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>addresses.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>addresses.Creator = leave_accruals.Employee<br>```<br><br>```<br>addresses.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>addresses.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>addresses.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>addresses.Creator = leaves.Employee<br>```<br><br>```<br>addresses.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>addresses.Creator = memos.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>addresses.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>addresses.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>addresses.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>addresses.Creator = roster_opens.Employee<br>```<br><br>```<br>addresses.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>addresses.Creator = roster_swaps.Employee<br>```<br><br>```<br>addresses.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>addresses.Creator = rosters.Employee<br>```<br><br>```<br>addresses.Creator = rosters.ConfirmBy<br>```<br><br>```<br>addresses.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>addresses.Creator = sales_data.Employee<br>```<br><br>```<br>addresses.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>addresses.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>addresses.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>addresses.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>addresses.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>addresses.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>addresses.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>addresses.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>addresses.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>addresses.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>addresses.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>addresses.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>addresses.Creator = teams.LeaderEmployee<br>```<br><br>```<br>addresses.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>addresses.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>addresses.Creator = timesheets.Employee<br>```<br><br>```<br>addresses.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>addresses.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>addresses.Creator = training_records.Employee<br>```<br><br>```<br>addresses.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>addresses.Creator = webhooks.Creator<br>``` |

addresses table schema

| **City**<br><br><br>STRING |
| --- |
| **ContactName**<br><br><br>STRING |
| **Country**<br><br><br>INTEGER |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Format**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **Notes**<br><br><br>STRING |
| **Phone**<br><br><br>STRING |
| **PoBox**<br><br><br>STRING |
| **Postcode**<br><br><br>STRING |
| **Saved**<br><br><br>BOOLEAN |
| **State**<br><br><br>STRING |
| **Street1**<br><br><br>STRING |
| **Street2**<br><br><br>STRING |
| **StreetNo**<br><br><br>STRING |
| **SuiteNo**<br><br><br>STRING |
| **UnitNo**<br><br><br>STRING |

### categories

The `categories` table contains info about categories.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/Category) |

categories table foreign keys

| Join categories with | on |
| --- | --- |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>categories.Id = employee_contracts.EmploymentCategory<br>```<br><br>```<br>categories.Creator = employee_contracts.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>categories.Id = employment_conditions.EmploymentCategory<br>```<br><br>```<br>categories.Creator = employment_conditions.Creator<br>``` |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>categories.Creator = addresses.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>categories.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>categories.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>categories.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>categories.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>categories.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>categories.Creator = custom_app_data.Employee<br>```<br><br>```<br>categories.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>categories.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>categories.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>categories.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>categories.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>categories.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>categories.Creator = employee_appraisal.Creator<br>```<br><br>```<br>categories.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>categories.Creator = employee_availability.Employee<br>```<br><br>```<br>categories.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>categories.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>categories.Creator = employee_history.EmployeeId<br>```<br><br>```<br>categories.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>categories.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>categories.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>categories.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>categories.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>categories.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>categories.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>categories.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>categories.Creator = employee_workplaces.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>categories.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>categories.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>categories.Creator = journal.EmployeeId<br>```<br><br>```<br>categories.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>categories.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>categories.Creator = leave_accruals.Employee<br>```<br><br>```<br>categories.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>categories.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>categories.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>categories.Creator = leaves.Employee<br>```<br><br>```<br>categories.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>categories.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>categories.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>categories.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>categories.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>categories.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>categories.Creator = roster_opens.Employee<br>```<br><br>```<br>categories.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>categories.Creator = roster_swaps.Employee<br>```<br><br>```<br>categories.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>categories.Creator = rosters.Employee<br>```<br><br>```<br>categories.Creator = rosters.ConfirmBy<br>```<br><br>```<br>categories.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>categories.Creator = sales_data.Employee<br>```<br><br>```<br>categories.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>categories.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>categories.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>categories.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>categories.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>categories.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>categories.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>categories.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>categories.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>categories.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>categories.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>categories.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>categories.Creator = teams.LeaderEmployee<br>```<br><br>```<br>categories.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>categories.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>categories.Creator = timesheets.Employee<br>```<br><br>```<br>categories.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>categories.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>categories.Creator = training_records.Employee<br>```<br><br>```<br>categories.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>categories.Creator = webhooks.Creator<br>``` |

categories table schema

| **Created**<br><br><br>DATE-TIME |
| --- |
| **Creator**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **SortOrder**<br><br><br>INTEGER |
| **Stafflog**<br><br><br>BOOLEAN |
| **System**<br><br><br>BOOLEAN |
| **category**<br><br><br>STRING |
| **group**<br><br><br>STRING |

### comments

The `comments` table contains info about comments.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/Comment) |

comments table foreign keys

| Join comments with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>comments.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>comments.Creator = categories.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>comments.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>comments.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>comments.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>comments.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>comments.Creator = custom_app_data.Employee<br>```<br><br>```<br>comments.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>comments.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>comments.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>comments.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>comments.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>comments.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>comments.Creator = employee_appraisal.Creator<br>```<br><br>```<br>comments.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>comments.Creator = employee_availability.Employee<br>```<br><br>```<br>comments.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>comments.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>comments.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>comments.Creator = employee_history.EmployeeId<br>```<br><br>```<br>comments.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>comments.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>comments.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>comments.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>comments.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>comments.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>comments.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>comments.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>comments.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>comments.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>comments.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>comments.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>comments.Creator = journal.EmployeeId<br>```<br><br>```<br>comments.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>comments.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>comments.Creator = leave_accruals.Employee<br>```<br><br>```<br>comments.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>comments.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>comments.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>comments.Creator = leaves.Employee<br>```<br><br>```<br>comments.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>comments.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>comments.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>comments.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>comments.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>comments.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>comments.Creator = roster_opens.Employee<br>```<br><br>```<br>comments.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>comments.Creator = roster_swaps.Employee<br>```<br><br>```<br>comments.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>comments.Creator = rosters.Employee<br>```<br><br>```<br>comments.Creator = rosters.ConfirmBy<br>```<br><br>```<br>comments.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>comments.Creator = sales_data.Employee<br>```<br><br>```<br>comments.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>comments.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>comments.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>comments.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>comments.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>comments.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>comments.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>comments.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>comments.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>comments.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>comments.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>comments.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>comments.Creator = teams.LeaderEmployee<br>```<br><br>```<br>comments.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>comments.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>comments.Creator = timesheets.Employee<br>```<br><br>```<br>comments.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>comments.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>comments.Creator = training_records.Employee<br>```<br><br>```<br>comments.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>comments.Creator = webhooks.Creator<br>``` |

comments table schema

| **Comment**<br><br><br>STRING |
| --- |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **IgnorePermission**<br><br><br>BOOLEAN |
| **InFeed**<br><br><br>BOOLEAN |
| **Modified**<br><br><br>DATE-TIME |
| **Orm**<br><br><br>STRING |
| **RecId**<br><br><br>INTEGER |

### companies

The `companies` table contains info about companies.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/Company) |

companies table foreign keys

| Join companies with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>companies.Address = addresses.Id<br>```<br><br>```<br>companies.Creator = addresses.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>companies.Address = employee_history.MainAddress<br>```<br><br>```<br>companies.Address = employee_history.PostalAddress<br>```<br><br>```<br>companies.Address = employee_history.EmergencyAddress<br>```<br><br>```<br>companies.Id = employee_history.Company<br>```<br><br>```<br>companies.ParentCompany = employee_history.Company<br>```<br><br>```<br>companies.Creator = employee_history.EmployeeId<br>```<br><br>```<br>companies.Creator = employee_history.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>companies.Address = operational_units.Address<br>```<br><br>```<br>companies.Contact = operational_units.Contact<br>```<br><br>```<br>companies.Creator = operational_units.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>companies.Id = company_periods.Company<br>```<br><br>```<br>companies.ParentCompany = company_periods.Company<br>```<br><br>```<br>companies.Creator = company_periods.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>companies.Id = employee_workplaces.Company<br>```<br><br>```<br>companies.ParentCompany = employee_workplaces.Company<br>```<br><br>```<br>companies.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>companies.Creator = employee_workplaces.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>companies.Id = kiosks.Company<br>```<br><br>```<br>companies.ParentCompany = kiosks.Company<br>```<br><br>```<br>companies.Creator = kiosks.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>companies.Id = leaves.Company<br>```<br><br>```<br>companies.ParentCompany = leaves.Company<br>```<br><br>```<br>companies.Creator = leaves.Employee<br>```<br><br>```<br>companies.Creator = leaves.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>companies.Id = system_usage_tracking.CompanyId<br>```<br><br>```<br>companies.ParentCompany = system_usage_tracking.CompanyId<br>```<br><br>```<br>companies.Creator = system_usage_tracking.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>companies.Contact = contacts.Id<br>```<br><br>```<br>companies.Creator = contacts.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>companies.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>companies.Creator = comments.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>companies.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>companies.Creator = custom_app_data.Employee<br>```<br><br>```<br>companies.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>companies.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>companies.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>companies.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>companies.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>companies.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>companies.Creator = employee_appraisal.Creator<br>```<br><br>```<br>companies.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>companies.Creator = employee_availability.Employee<br>```<br><br>```<br>companies.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>companies.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>companies.Creator = employee_contracts.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>companies.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>companies.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>companies.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>companies.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>companies.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>companies.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>companies.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>companies.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>companies.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>companies.Creator = journal.EmployeeId<br>```<br><br>```<br>companies.Creator = journal.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>companies.Creator = leave_accruals.Employee<br>```<br><br>```<br>companies.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>companies.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>companies.Creator = leave_rules.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>companies.Creator = memos.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>companies.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>companies.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>companies.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>companies.Creator = roster_opens.Employee<br>```<br><br>```<br>companies.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>companies.Creator = roster_swaps.Employee<br>```<br><br>```<br>companies.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>companies.Creator = rosters.Employee<br>```<br><br>```<br>companies.Creator = rosters.ConfirmBy<br>```<br><br>```<br>companies.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>companies.Creator = sales_data.Employee<br>```<br><br>```<br>companies.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>companies.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>companies.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>companies.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>companies.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>companies.Creator = system_usage_balances.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>companies.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>companies.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>companies.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>companies.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>companies.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>companies.Creator = teams.LeaderEmployee<br>```<br><br>```<br>companies.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>companies.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>companies.Creator = timesheets.Employee<br>```<br><br>```<br>companies.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>companies.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>companies.Creator = training_records.Employee<br>```<br><br>```<br>companies.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>companies.Creator = webhooks.Creator<br>``` |

companies table schema

| **Active**<br><br><br>BOOLEAN |
| --- |
| **Address**<br><br><br>INTEGER |
| **BusinessNumber**<br><br><br>STRING |
| **Code**<br><br><br>STRING |
| **CompanyName**<br><br><br>STRING |
| **CompanyNumber**<br><br><br>STRING |
| **Contact**<br><br><br>INTEGER |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **IsPayrollEntity**<br><br><br>BOOLEAN |
| **IsWorkplace**<br><br><br>BOOLEAN |
| **Modified**<br><br><br>DATE-TIME |
| **ParentCompany**<br><br><br>INTEGER |
| **PayrollExportCode**<br><br><br>INTEGER |
| **Portfolio**<br><br><br>INTEGER |
| **TradingName**<br><br><br>STRING |

### company\_periods

The `company_periods` table contains info about company periods.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/CompanyPeriod) |

company\_periods table foreign keys

| Join company\_periods with | on |
| --- | --- |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>company_periods.Company = companies.Id<br>```<br><br>```<br>company_periods.Company = companies.ParentCompany<br>```<br><br>```<br>company_periods.Creator = companies.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>company_periods.Company = employee_history.Company<br>```<br><br>```<br>company_periods.Creator = employee_history.EmployeeId<br>```<br><br>```<br>company_periods.Creator = employee_history.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>company_periods.Company = employee_workplaces.Company<br>```<br><br>```<br>company_periods.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>company_periods.Creator = employee_workplaces.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>company_periods.Company = kiosks.Company<br>```<br><br>```<br>company_periods.Creator = kiosks.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>company_periods.Company = leaves.Company<br>```<br><br>```<br>company_periods.Creator = leaves.Employee<br>```<br><br>```<br>company_periods.Creator = leaves.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>company_periods.Company = system_usage_tracking.CompanyId<br>```<br><br>```<br>company_periods.Creator = system_usage_tracking.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>company_periods.Id = employee_paycycles.PeriodId<br>```<br><br>```<br>company_periods.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>company_periods.Creator = employee_paycycles.Creator<br>``` |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>company_periods.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>company_periods.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>company_periods.Creator = comments.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>company_periods.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>company_periods.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>company_periods.Creator = custom_app_data.Employee<br>```<br><br>```<br>company_periods.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>company_periods.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>company_periods.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>company_periods.Creator = employee_agreement_history.Creator<br>```<br><br>```<br>company_periods.PayPeriod = employee_agreement_history.PayPeriod<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>company_periods.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>company_periods.Creator = employee_agreements.Creator<br>```<br><br>```<br>company_periods.PayPeriod = employee_agreements.PayPeriod<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>company_periods.Creator = employee_appraisal.Creator<br>```<br><br>```<br>company_periods.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>company_periods.Creator = employee_availability.Employee<br>```<br><br>```<br>company_periods.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>company_periods.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>company_periods.Creator = employee_contracts.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>company_periods.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>company_periods.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>company_periods.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>company_periods.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>company_periods.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>company_periods.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>company_periods.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>company_periods.Creator = journal.EmployeeId<br>```<br><br>```<br>company_periods.Creator = journal.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>company_periods.Creator = leave_accruals.Employee<br>```<br><br>```<br>company_periods.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>company_periods.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>company_periods.Creator = leave_rules.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>company_periods.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>company_periods.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>company_periods.Creator = pay_periods.Creator<br>```<br><br>```<br>company_periods.PayPeriod = pay_periods.Id<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>company_periods.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>company_periods.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>company_periods.Creator = roster_opens.Employee<br>```<br><br>```<br>company_periods.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>company_periods.Creator = roster_swaps.Employee<br>```<br><br>```<br>company_periods.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>company_periods.Creator = rosters.Employee<br>```<br><br>```<br>company_periods.Creator = rosters.ConfirmBy<br>```<br><br>```<br>company_periods.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>company_periods.Creator = sales_data.Employee<br>```<br><br>```<br>company_periods.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>company_periods.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>company_periods.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>company_periods.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>company_periods.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>company_periods.Creator = system_usage_balances.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>company_periods.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>company_periods.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>company_periods.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>company_periods.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>company_periods.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>company_periods.Creator = teams.LeaderEmployee<br>```<br><br>```<br>company_periods.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>company_periods.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>company_periods.Creator = timesheets.Employee<br>```<br><br>```<br>company_periods.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>company_periods.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>company_periods.Creator = training_records.Employee<br>```<br><br>```<br>company_periods.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>company_periods.Creator = webhooks.Creator<br>``` |

company\_periods table schema

| **Company**<br><br><br>INTEGER |
| --- |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **DateEnd**<br><br><br>DATE |
| **DateStart**<br><br><br>DATE |
| **End**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **PayPeriod**<br><br><br>INTEGER |
| **Start**<br><br><br>INTEGER |

### contacts

The `contacts` table contains info about contacts.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/Contact) |

contacts table foreign keys

| Join contacts with | on |
| --- | --- |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>contacts.Id = companies.Contact<br>```<br><br>```<br>contacts.Creator = companies.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>contacts.Id = operational_units.Contact<br>```<br><br>```<br>contacts.Creator = operational_units.Creator<br>``` |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>contacts.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>contacts.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>contacts.Creator = comments.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>contacts.Creator = company_periods.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>contacts.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>contacts.Creator = custom_app_data.Employee<br>```<br><br>```<br>contacts.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>contacts.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>contacts.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>contacts.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>contacts.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>contacts.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>contacts.Creator = employee_appraisal.Creator<br>```<br><br>```<br>contacts.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>contacts.Creator = employee_availability.Employee<br>```<br><br>```<br>contacts.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>contacts.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>contacts.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>contacts.Creator = employee_history.EmployeeId<br>```<br><br>```<br>contacts.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>contacts.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>contacts.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>contacts.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>contacts.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>contacts.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>contacts.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>contacts.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>contacts.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>contacts.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>contacts.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>contacts.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>contacts.Creator = journal.EmployeeId<br>```<br><br>```<br>contacts.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>contacts.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>contacts.Creator = leave_accruals.Employee<br>```<br><br>```<br>contacts.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>contacts.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>contacts.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>contacts.Creator = leaves.Employee<br>```<br><br>```<br>contacts.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>contacts.Creator = memos.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>contacts.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>contacts.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>contacts.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>contacts.Creator = roster_opens.Employee<br>```<br><br>```<br>contacts.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>contacts.Creator = roster_swaps.Employee<br>```<br><br>```<br>contacts.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>contacts.Creator = rosters.Employee<br>```<br><br>```<br>contacts.Creator = rosters.ConfirmBy<br>```<br><br>```<br>contacts.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>contacts.Creator = sales_data.Employee<br>```<br><br>```<br>contacts.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>contacts.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>contacts.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>contacts.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>contacts.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>contacts.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>contacts.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>contacts.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>contacts.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>contacts.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>contacts.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>contacts.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>contacts.Creator = teams.LeaderEmployee<br>```<br><br>```<br>contacts.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>contacts.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>contacts.Creator = timesheets.Employee<br>```<br><br>```<br>contacts.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>contacts.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>contacts.Creator = training_records.Employee<br>```<br><br>```<br>contacts.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>contacts.Creator = webhooks.Creator<br>``` |

contacts table schema

| **Created**<br><br><br>DATE-TIME |
| --- |
| **Creator**<br><br><br>INTEGER |
| **Email1**<br><br><br>STRING |
| **Email1Type**<br><br><br>STRING |
| **Email2**<br><br><br>STRING |
| **Email2Type**<br><br><br>STRING |
| **Fax**<br><br><br>STRING |
| **Id**<br><br><br>INTEGER |
| **Im1**<br><br><br>STRING |
| **Im1Type**<br><br><br>STRING |
| **Im2**<br><br><br>STRING |
| **Im2Type**<br><br><br>STRING |
| **Modified**<br><br><br>DATE-TIME |
| **Notes**<br><br><br>STRING |
| **Phone1**<br><br><br>STRING |
| **Phone1Type**<br><br><br>STRING |
| **Phone2**<br><br><br>STRING |
| **Phone2Type**<br><br><br>STRING |
| **Phone3**<br><br><br>STRING |
| **Phone3Type**<br><br><br>STRING |
| **PrimaryEmail**<br><br><br>INTEGER |
| **PrimaryPhone**<br><br><br>INTEGER |
| **Saved**<br><br><br>BOOLEAN |
| **Web**<br><br><br>STRING |

### countries

The `countries` table contains info about countries.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/Country) |

countries table foreign keys

| Join countries with | on |
| --- | --- |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>countries.Id = geo.Country<br>```<br><br>```<br>countries.Creator = geo.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>countries.Id = states.Country<br>```<br><br>```<br>countries.Creator = states.Creator<br>``` |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>countries.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>countries.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>countries.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>countries.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>countries.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>countries.Creator = contacts.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>countries.Creator = custom_app_data.Employee<br>```<br><br>```<br>countries.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>countries.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>countries.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>countries.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>countries.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>countries.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>countries.Creator = employee_appraisal.Creator<br>```<br><br>```<br>countries.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>countries.Creator = employee_availability.Employee<br>```<br><br>```<br>countries.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>countries.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>countries.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>countries.Creator = employee_history.EmployeeId<br>```<br><br>```<br>countries.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>countries.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>countries.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>countries.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>countries.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>countries.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>countries.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>countries.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>countries.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>countries.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>countries.Creator = events.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>countries.Creator = journal.EmployeeId<br>```<br><br>```<br>countries.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>countries.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>countries.Creator = leave_accruals.Employee<br>```<br><br>```<br>countries.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>countries.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>countries.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>countries.Creator = leaves.Employee<br>```<br><br>```<br>countries.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>countries.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>countries.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>countries.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>countries.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>countries.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>countries.Creator = roster_opens.Employee<br>```<br><br>```<br>countries.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>countries.Creator = roster_swaps.Employee<br>```<br><br>```<br>countries.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>countries.Creator = rosters.Employee<br>```<br><br>```<br>countries.Creator = rosters.ConfirmBy<br>```<br><br>```<br>countries.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>countries.Creator = sales_data.Employee<br>```<br><br>```<br>countries.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>countries.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>countries.Creator = sms_logs.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>countries.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>countries.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>countries.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>countries.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>countries.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>countries.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>countries.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>countries.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>countries.Creator = teams.LeaderEmployee<br>```<br><br>```<br>countries.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>countries.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>countries.Creator = timesheets.Employee<br>```<br><br>```<br>countries.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>countries.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>countries.Creator = training_records.Employee<br>```<br><br>```<br>countries.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>countries.Creator = webhooks.Creator<br>``` |

countries table schema

| **Active**<br><br><br>BOOLEAN |
| --- |
| **Code**<br><br><br>STRING |
| **CodeA3**<br><br><br>STRING |
| **Country**<br><br><br>STRING |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **PhoneDisplayPreg**<br><br><br>STRING |
| **Region**<br><br><br>STRING |
| **SortOrder**<br><br><br>INTEGER |
| **ZipVAlidatePreg**<br><br><br>STRING |

### custom\_app\_data

The `custom_app_data` table contains info about custom app data.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/CustomAppData) |

custom\_app\_data table foreign keys

| Join custom\_app\_data with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>custom_app_data.Employee = addresses.Creator<br>```<br><br>```<br>custom_app_data.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>custom_app_data.Employee = categories.Creator<br>```<br><br>```<br>custom_app_data.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>custom_app_data.Employee = comments.Creator<br>```<br><br>```<br>custom_app_data.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>custom_app_data.Employee = companies.Creator<br>```<br><br>```<br>custom_app_data.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>custom_app_data.Employee = company_periods.Creator<br>```<br><br>```<br>custom_app_data.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>custom_app_data.Employee = contacts.Creator<br>```<br><br>```<br>custom_app_data.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>custom_app_data.Employee = countries.Creator<br>```<br><br>```<br>custom_app_data.Creator = countries.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>custom_app_data.Employee = custom_field_data.Creator<br>```<br><br>```<br>custom_app_data.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>custom_app_data.Employee = custom_fields.Creator<br>```<br><br>```<br>custom_app_data.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>custom_app_data.Employee = employee_agreement_history.Creator<br>```<br><br>```<br>custom_app_data.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>custom_app_data.Employee = employee_agreements.EmployeeId<br>```<br><br>```<br>custom_app_data.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>custom_app_data.Employee = employee_agreements.Creator<br>```<br><br>```<br>custom_app_data.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>custom_app_data.Employee = employee_appraisal.Creator<br>```<br><br>```<br>custom_app_data.Creator = employee_appraisal.Creator<br>```<br><br>```<br>custom_app_data.Employee = employee_appraisal.Employee<br>```<br><br>```<br>custom_app_data.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>custom_app_data.Employee = employee_availability.Employee<br>```<br><br>```<br>custom_app_data.Creator = employee_availability.Employee<br>```<br><br>```<br>custom_app_data.Employee = employee_availability.Creator<br>```<br><br>```<br>custom_app_data.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>custom_app_data.Employee = employee_contract_leave_rules.Creator<br>```<br><br>```<br>custom_app_data.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>custom_app_data.Employee = employee_contracts.Creator<br>```<br><br>```<br>custom_app_data.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>custom_app_data.Employee = employee_history.EmployeeId<br>```<br><br>```<br>custom_app_data.Creator = employee_history.EmployeeId<br>```<br><br>```<br>custom_app_data.Employee = employee_history.Creator<br>```<br><br>```<br>custom_app_data.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>custom_app_data.Employee = employee_paycycle_returns.Creator<br>```<br><br>```<br>custom_app_data.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>custom_app_data.Employee = employee_paycycles.EmployeeId<br>```<br><br>```<br>custom_app_data.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>custom_app_data.Employee = employee_paycycles.Creator<br>```<br><br>```<br>custom_app_data.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>custom_app_data.Employee = employee_roles.Creator<br>```<br><br>```<br>custom_app_data.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>custom_app_data.Employee = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>custom_app_data.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>custom_app_data.Employee = employee_salary_opunit_costing.Creator<br>```<br><br>```<br>custom_app_data.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>custom_app_data.Employee = employee_workplaces.EmployeeId<br>```<br><br>```<br>custom_app_data.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>custom_app_data.Employee = employee_workplaces.Creator<br>```<br><br>```<br>custom_app_data.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>custom_app_data.Employee = employment_conditions.Creator<br>```<br><br>```<br>custom_app_data.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>custom_app_data.Employee = events.Creator<br>```<br><br>```<br>custom_app_data.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>custom_app_data.Employee = geo.Creator<br>```<br><br>```<br>custom_app_data.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>custom_app_data.Employee = journal.EmployeeId<br>```<br><br>```<br>custom_app_data.Creator = journal.EmployeeId<br>```<br><br>```<br>custom_app_data.Employee = journal.Creator<br>```<br><br>```<br>custom_app_data.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>custom_app_data.Employee = kiosks.Creator<br>```<br><br>```<br>custom_app_data.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>custom_app_data.Employee = leave_accruals.Employee<br>```<br><br>```<br>custom_app_data.Creator = leave_accruals.Employee<br>```<br><br>```<br>custom_app_data.Employee = leave_accruals.Creator<br>```<br><br>```<br>custom_app_data.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>custom_app_data.Employee = leave_pay_lines.Creator<br>```<br><br>```<br>custom_app_data.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>custom_app_data.Employee = leave_rules.Creator<br>```<br><br>```<br>custom_app_data.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>custom_app_data.Employee = leaves.Employee<br>```<br><br>```<br>custom_app_data.Creator = leaves.Employee<br>```<br><br>```<br>custom_app_data.Employee = leaves.Creator<br>```<br><br>```<br>custom_app_data.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>custom_app_data.Employee = memos.Creator<br>```<br><br>```<br>custom_app_data.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>custom_app_data.Employee = operational_units.Creator<br>```<br><br>```<br>custom_app_data.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>custom_app_data.Employee = pay_periods.Creator<br>```<br><br>```<br>custom_app_data.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>custom_app_data.Employee = pay_rules.Creator<br>```<br><br>```<br>custom_app_data.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>custom_app_data.Employee = public_holidays.Creator<br>```<br><br>```<br>custom_app_data.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>custom_app_data.Employee = roster_opens.Employee<br>```<br><br>```<br>custom_app_data.Creator = roster_opens.Employee<br>```<br><br>```<br>custom_app_data.Employee = roster_opens.Creator<br>```<br><br>```<br>custom_app_data.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>custom_app_data.Employee = roster_swaps.Employee<br>```<br><br>```<br>custom_app_data.Creator = roster_swaps.Employee<br>```<br><br>```<br>custom_app_data.Employee = roster_swaps.Creator<br>```<br><br>```<br>custom_app_data.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>custom_app_data.Employee = rosters.Employee<br>```<br><br>```<br>custom_app_data.Creator = rosters.Employee<br>```<br><br>```<br>custom_app_data.Employee = rosters.ConfirmBy<br>```<br><br>```<br>custom_app_data.Creator = rosters.ConfirmBy<br>```<br><br>```<br>custom_app_data.Employee = rosters.Creator<br>```<br><br>```<br>custom_app_data.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>custom_app_data.Employee = sales_data.Employee<br>```<br><br>```<br>custom_app_data.Creator = sales_data.Employee<br>```<br><br>```<br>custom_app_data.Employee = sales_data.Creator<br>```<br><br>```<br>custom_app_data.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>custom_app_data.Employee = schedules.Creator<br>```<br><br>```<br>custom_app_data.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>custom_app_data.Employee = sms_logs.Creator<br>```<br><br>```<br>custom_app_data.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>custom_app_data.Employee = states.Creator<br>```<br><br>```<br>custom_app_data.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>custom_app_data.Employee = stress_profiles.Creator<br>```<br><br>```<br>custom_app_data.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>custom_app_data.Employee = system_usage_balances.Creator<br>```<br><br>```<br>custom_app_data.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>custom_app_data.Employee = system_usage_tracking.Creator<br>```<br><br>```<br>custom_app_data.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>custom_app_data.Employee = task_group_setups.Creator<br>```<br><br>```<br>custom_app_data.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>custom_app_data.Employee = task_groups.Creator<br>```<br><br>```<br>custom_app_data.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>custom_app_data.Employee = task_opunit_configs.Creator<br>```<br><br>```<br>custom_app_data.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>custom_app_data.Employee = task_setups.Creator<br>```<br><br>```<br>custom_app_data.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>custom_app_data.Employee = tasks.Creator<br>```<br><br>```<br>custom_app_data.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>custom_app_data.Employee = teams.LeaderEmployee<br>```<br><br>```<br>custom_app_data.Creator = teams.LeaderEmployee<br>```<br><br>```<br>custom_app_data.Employee = teams.Creator<br>```<br><br>```<br>custom_app_data.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>custom_app_data.Employee = timesheet_pay_returns.Creator<br>```<br><br>```<br>custom_app_data.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>custom_app_data.Employee = timesheets.Employee<br>```<br><br>```<br>custom_app_data.Creator = timesheets.Employee<br>```<br><br>```<br>custom_app_data.Employee = timesheets.Creator<br>```<br><br>```<br>custom_app_data.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>custom_app_data.Employee = training_modules.Creator<br>```<br><br>```<br>custom_app_data.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>custom_app_data.Employee = training_records.Employee<br>```<br><br>```<br>custom_app_data.Creator = training_records.Employee<br>```<br><br>```<br>custom_app_data.Employee = training_records.Creator<br>```<br><br>```<br>custom_app_data.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>custom_app_data.Employee = webhooks.Creator<br>```<br><br>```<br>custom_app_data.Creator = webhooks.Creator<br>``` |

custom\_app\_data table schema

| **Created**<br><br><br>DATE-TIME |
| --- |
| **Creator**<br><br><br>INTEGER |
| **Data**<br><br><br>STRING |
| **Deleted**<br><br><br>BOOLEAN |
| **DocumentId**<br><br><br>STRING |
| **Employee**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **KeyInt**<br><br><br>INTEGER |
| **KeyString**<br><br><br>STRING |
| **Label**<br><br><br>STRING |
| **Modified**<br><br><br>DATE-TIME |
| **OperationalUnit**<br><br><br>INTEGER |
| **Permission**<br><br><br>STRING |

### custom\_field\_data

The `custom_field_data` table contains info about custom field data.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/CustomFieldData) |

custom\_field\_data table foreign keys

| Join custom\_field\_data with | on |
| --- | --- |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>custom_field_data.Id = timesheets.CustomFieldData<br>```<br><br>```<br>custom_field_data.Creator = timesheets.Employee<br>```<br><br>```<br>custom_field_data.Creator = timesheets.Creator<br>``` |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>custom_field_data.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>custom_field_data.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>custom_field_data.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>custom_field_data.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>custom_field_data.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>custom_field_data.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>custom_field_data.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>custom_field_data.Creator = custom_app_data.Employee<br>```<br><br>```<br>custom_field_data.Creator = custom_app_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>custom_field_data.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>custom_field_data.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>custom_field_data.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>custom_field_data.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>custom_field_data.Creator = employee_appraisal.Creator<br>```<br><br>```<br>custom_field_data.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>custom_field_data.Creator = employee_availability.Employee<br>```<br><br>```<br>custom_field_data.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>custom_field_data.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>custom_field_data.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>custom_field_data.Creator = employee_history.EmployeeId<br>```<br><br>```<br>custom_field_data.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>custom_field_data.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>custom_field_data.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>custom_field_data.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>custom_field_data.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>custom_field_data.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>custom_field_data.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>custom_field_data.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>custom_field_data.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>custom_field_data.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>custom_field_data.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>custom_field_data.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>custom_field_data.Creator = journal.EmployeeId<br>```<br><br>```<br>custom_field_data.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>custom_field_data.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>custom_field_data.Creator = leave_accruals.Employee<br>```<br><br>```<br>custom_field_data.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>custom_field_data.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>custom_field_data.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>custom_field_data.Creator = leaves.Employee<br>```<br><br>```<br>custom_field_data.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>custom_field_data.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>custom_field_data.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>custom_field_data.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>custom_field_data.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>custom_field_data.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>custom_field_data.Creator = roster_opens.Employee<br>```<br><br>```<br>custom_field_data.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>custom_field_data.Creator = roster_swaps.Employee<br>```<br><br>```<br>custom_field_data.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>custom_field_data.Creator = rosters.Employee<br>```<br><br>```<br>custom_field_data.Creator = rosters.ConfirmBy<br>```<br><br>```<br>custom_field_data.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>custom_field_data.Creator = sales_data.Employee<br>```<br><br>```<br>custom_field_data.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>custom_field_data.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>custom_field_data.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>custom_field_data.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>custom_field_data.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>custom_field_data.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>custom_field_data.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>custom_field_data.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>custom_field_data.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>custom_field_data.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>custom_field_data.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>custom_field_data.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>custom_field_data.Creator = teams.LeaderEmployee<br>```<br><br>```<br>custom_field_data.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>custom_field_data.Creator = timesheet_pay_returns.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>custom_field_data.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>custom_field_data.Creator = training_records.Employee<br>```<br><br>```<br>custom_field_data.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>custom_field_data.Creator = webhooks.Creator<br>``` |

custom\_field\_data table schema

| **Created**<br><br><br>DATE-TIME |
| --- |
| **Creator**<br><br><br>INTEGER |
| **F01**<br><br><br>STRING |
| **F02**<br><br><br>STRING |
| **F03**<br><br><br>STRING |
| **F04**<br><br><br>STRING |
| **F05**<br><br><br>STRING |
| **F06**<br><br><br>STRING |
| **F07**<br><br><br>STRING |
| **F08**<br><br><br>STRING |
| **F09**<br><br><br>STRING |
| **F10**<br><br><br>STRING |
| **F11**<br><br><br>STRING |
| **F12**<br><br><br>STRING |
| **F13**<br><br><br>STRING |
| **F14**<br><br><br>STRING |
| **F15**<br><br><br>STRING |
| **F16**<br><br><br>STRING |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **System**<br><br><br>STRING |

### custom\_fields

The `custom_fields` table contains info about

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/CustomField) |

custom\_fields table foreign keys

| Join custom\_fields with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>custom_fields.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>custom_fields.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>custom_fields.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>custom_fields.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>custom_fields.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>custom_fields.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>custom_fields.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>custom_fields.Creator = custom_app_data.Employee<br>```<br><br>```<br>custom_fields.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>custom_fields.Creator = custom_field_data.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>custom_fields.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>custom_fields.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>custom_fields.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>custom_fields.Creator = employee_appraisal.Creator<br>```<br><br>```<br>custom_fields.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>custom_fields.Creator = employee_availability.Employee<br>```<br><br>```<br>custom_fields.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>custom_fields.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>custom_fields.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>custom_fields.Creator = employee_history.EmployeeId<br>```<br><br>```<br>custom_fields.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>custom_fields.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>custom_fields.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>custom_fields.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>custom_fields.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>custom_fields.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>custom_fields.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>custom_fields.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>custom_fields.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>custom_fields.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>custom_fields.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>custom_fields.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>custom_fields.Creator = journal.EmployeeId<br>```<br><br>```<br>custom_fields.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>custom_fields.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>custom_fields.Creator = leave_accruals.Employee<br>```<br><br>```<br>custom_fields.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>custom_fields.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>custom_fields.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>custom_fields.Creator = leaves.Employee<br>```<br><br>```<br>custom_fields.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>custom_fields.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>custom_fields.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>custom_fields.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>custom_fields.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>custom_fields.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>custom_fields.Creator = roster_opens.Employee<br>```<br><br>```<br>custom_fields.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>custom_fields.Creator = roster_swaps.Employee<br>```<br><br>```<br>custom_fields.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>custom_fields.Creator = rosters.Employee<br>```<br><br>```<br>custom_fields.Creator = rosters.ConfirmBy<br>```<br><br>```<br>custom_fields.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>custom_fields.Creator = sales_data.Employee<br>```<br><br>```<br>custom_fields.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>custom_fields.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>custom_fields.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>custom_fields.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>custom_fields.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>custom_fields.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>custom_fields.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>custom_fields.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>custom_fields.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>custom_fields.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>custom_fields.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>custom_fields.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>custom_fields.Creator = teams.LeaderEmployee<br>```<br><br>```<br>custom_fields.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>custom_fields.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>custom_fields.Creator = timesheets.Employee<br>```<br><br>```<br>custom_fields.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>custom_fields.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>custom_fields.Creator = training_records.Employee<br>```<br><br>```<br>custom_fields.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>custom_fields.Creator = webhooks.Creator<br>``` |

custom\_fields table schema

| **ApiName**<br><br><br>STRING |
| --- |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Default**<br><br><br>STRING |
| **DeputyField**<br><br><br>STRING |
| **Helptext**<br><br><br>STRING |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **Name**<br><br><br>STRING |
| **SortOrder**<br><br><br>INTEGER |
| **System**<br><br><br>STRING |
| **Type**<br><br><br>INTEGER |
| **Validation**<br><br><br>STRING |
| **ValueList**<br><br><br>STRING |

### employee\_agreement\_history

The `employee_agreement_history` table contains info about

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/EmployeeAgreementHistory) |

employee\_agreement\_history table foreign keys

| Join employee\_agreement\_history with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>employee_agreement_history.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>employee_agreement_history.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>employee_agreement_history.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>employee_agreement_history.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>employee_agreement_history.Creator = company_periods.Creator<br>```<br><br>```<br>employee_agreement_history.PayPeriod = company_periods.PayPeriod<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>employee_agreement_history.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>employee_agreement_history.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>employee_agreement_history.Creator = custom_app_data.Employee<br>```<br><br>```<br>employee_agreement_history.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>employee_agreement_history.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>employee_agreement_history.Creator = custom_fields.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>employee_agreement_history.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>employee_agreement_history.Creator = employee_agreements.Creator<br>```<br><br>```<br>employee_agreement_history.Id = employee_agreements.HistoryId<br>```<br><br>```<br>employee_agreement_history.AgreementId = employee_agreements.Id<br>```<br><br>```<br>employee_agreement_history.Contract = employee_agreements.Contract<br>```<br><br>```<br>employee_agreement_history.PayPeriod = employee_agreements.PayPeriod<br>```<br><br>```<br>employee_agreement_history.SalaryPayRule = employee_agreements.SalaryPayRule<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>employee_agreement_history.Creator = employee_appraisal.Creator<br>```<br><br>```<br>employee_agreement_history.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>employee_agreement_history.Creator = employee_availability.Employee<br>```<br><br>```<br>employee_agreement_history.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>employee_agreement_history.Creator = employee_contract_leave_rules.Creator<br>```<br><br>```<br>employee_agreement_history.Contract = employee_contract_leave_rules.ContractId<br>```<br><br>```<br>employee_agreement_history.SalaryPayRule = employee_contract_leave_rules.LoadingPayRule1<br>```<br><br>```<br>employee_agreement_history.SalaryPayRule = employee_contract_leave_rules.LoadingPayRule2<br>```<br><br>```<br>employee_agreement_history.SalaryPayRule = employee_contract_leave_rules.LoadingPayRule3<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>employee_agreement_history.Creator = employee_contracts.Creator<br>```<br><br>```<br>employee_agreement_history.Contract = employee_contracts.Id<br>```<br><br>```<br>employee_agreement_history.SalaryPayRule = employee_contracts.BasePayRule<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>employee_agreement_history.Creator = employee_history.EmployeeId<br>```<br><br>```<br>employee_agreement_history.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>employee_agreement_history.Creator = employee_paycycle_returns.Creator<br>```<br><br>```<br>employee_agreement_history.SalaryPayRule = employee_paycycle_returns.PayRule<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>employee_agreement_history.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>employee_agreement_history.Creator = employee_paycycles.Creator<br>```<br><br>```<br>employee_agreement_history.Id = employee_paycycles.EmployeeAgreementHistoryId<br>```<br><br>```<br>employee_agreement_history.AgreementId = employee_paycycles.EmployeeAgreementId<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>employee_agreement_history.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>employee_agreement_history.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>employee_agreement_history.Creator = employee_salary_opunit_costing.Creator<br>```<br><br>```<br>employee_agreement_history.AgreementId = employee_salary_opunit_costing.EmployeeAgreement<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>employee_agreement_history.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>employee_agreement_history.Creator = employee_workplaces.Creator<br>```<br><br>```<br>employee_agreement_history.AgreementId = employee_workplaces.Agreement1<br>```<br><br>```<br>employee_agreement_history.AgreementId = employee_workplaces.Agreement2<br>```<br><br>```<br>employee_agreement_history.AgreementId = employee_workplaces.Agreement3<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>employee_agreement_history.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>employee_agreement_history.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>employee_agreement_history.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>employee_agreement_history.Creator = journal.EmployeeId<br>```<br><br>```<br>employee_agreement_history.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>employee_agreement_history.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>employee_agreement_history.Creator = leave_accruals.Employee<br>```<br><br>```<br>employee_agreement_history.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>employee_agreement_history.Creator = leave_pay_lines.Creator<br>```<br><br>```<br>employee_agreement_history.AgreementId = leave_pay_lines.EmployeeAgreement<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>employee_agreement_history.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>employee_agreement_history.Creator = leaves.Employee<br>```<br><br>```<br>employee_agreement_history.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>employee_agreement_history.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>employee_agreement_history.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>employee_agreement_history.Creator = pay_periods.Creator<br>```<br><br>```<br>employee_agreement_history.PayPeriod = pay_periods.Id<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>employee_agreement_history.Creator = pay_rules.Creator<br>```<br><br>```<br>employee_agreement_history.SalaryPayRule = pay_rules.Id<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>employee_agreement_history.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>employee_agreement_history.Creator = roster_opens.Employee<br>```<br><br>```<br>employee_agreement_history.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>employee_agreement_history.Creator = roster_swaps.Employee<br>```<br><br>```<br>employee_agreement_history.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>employee_agreement_history.Creator = rosters.Employee<br>```<br><br>```<br>employee_agreement_history.Creator = rosters.ConfirmBy<br>```<br><br>```<br>employee_agreement_history.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>employee_agreement_history.Creator = sales_data.Employee<br>```<br><br>```<br>employee_agreement_history.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>employee_agreement_history.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>employee_agreement_history.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>employee_agreement_history.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>employee_agreement_history.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>employee_agreement_history.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>employee_agreement_history.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>employee_agreement_history.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>employee_agreement_history.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>employee_agreement_history.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>employee_agreement_history.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>employee_agreement_history.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>employee_agreement_history.Creator = teams.LeaderEmployee<br>```<br><br>```<br>employee_agreement_history.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>employee_agreement_history.Creator = timesheet_pay_returns.Creator<br>```<br><br>```<br>employee_agreement_history.SalaryPayRule = timesheet_pay_returns.PayRule<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>employee_agreement_history.Creator = timesheets.Employee<br>```<br><br>```<br>employee_agreement_history.Creator = timesheets.Creator<br>```<br><br>```<br>employee_agreement_history.AgreementId = timesheets.EmployeeAgreement<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>employee_agreement_history.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>employee_agreement_history.Creator = training_records.Employee<br>```<br><br>```<br>employee_agreement_history.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>employee_agreement_history.Creator = webhooks.Creator<br>``` |

employee\_agreement\_history table schema

| **Active**<br><br><br>BOOLEAN |
| --- |
| **AgreementId**<br><br><br>INTEGER |
| **CompanyName**<br><br><br>STRING |
| **Contract**<br><br><br>INTEGER |
| **ContractFile**<br><br><br>INTEGER |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **EmpType**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **PayPeriod**<br><br><br>INTEGER |
| **PayPoint**<br><br><br>INTEGER |
| **PayrollId**<br><br><br>INTEGER |
| **SalaryPayRule**<br><br><br>INTEGER |
| **StartDate**<br><br><br>DATE |

### employee\_agreements

The `employee_agreements` table contains info about employee agreements.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/EmployeeAgreement) |

employee\_agreements table foreign keys

| Join employee\_agreements with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>employee_agreements.EmployeeId = addresses.Creator<br>```<br><br>```<br>employee_agreements.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>employee_agreements.EmployeeId = categories.Creator<br>```<br><br>```<br>employee_agreements.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>employee_agreements.EmployeeId = comments.Creator<br>```<br><br>```<br>employee_agreements.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>employee_agreements.EmployeeId = companies.Creator<br>```<br><br>```<br>employee_agreements.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>employee_agreements.EmployeeId = company_periods.Creator<br>```<br><br>```<br>employee_agreements.Creator = company_periods.Creator<br>```<br><br>```<br>employee_agreements.PayPeriod = company_periods.PayPeriod<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>employee_agreements.EmployeeId = contacts.Creator<br>```<br><br>```<br>employee_agreements.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>employee_agreements.EmployeeId = countries.Creator<br>```<br><br>```<br>employee_agreements.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>employee_agreements.EmployeeId = custom_app_data.Employee<br>```<br><br>```<br>employee_agreements.Creator = custom_app_data.Employee<br>```<br><br>```<br>employee_agreements.EmployeeId = custom_app_data.Creator<br>```<br><br>```<br>employee_agreements.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>employee_agreements.EmployeeId = custom_field_data.Creator<br>```<br><br>```<br>employee_agreements.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>employee_agreements.EmployeeId = custom_fields.Creator<br>```<br><br>```<br>employee_agreements.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>employee_agreements.EmployeeId = employee_agreement_history.Creator<br>```<br><br>```<br>employee_agreements.Creator = employee_agreement_history.Creator<br>```<br><br>```<br>employee_agreements.HistoryId = employee_agreement_history.Id<br>```<br><br>```<br>employee_agreements.Id = employee_agreement_history.AgreementId<br>```<br><br>```<br>employee_agreements.Contract = employee_agreement_history.Contract<br>```<br><br>```<br>employee_agreements.PayPeriod = employee_agreement_history.PayPeriod<br>```<br><br>```<br>employee_agreements.SalaryPayRule = employee_agreement_history.SalaryPayRule<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>employee_agreements.EmployeeId = employee_appraisal.Creator<br>```<br><br>```<br>employee_agreements.Creator = employee_appraisal.Creator<br>```<br><br>```<br>employee_agreements.EmployeeId = employee_appraisal.Employee<br>```<br><br>```<br>employee_agreements.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>employee_agreements.EmployeeId = employee_availability.Employee<br>```<br><br>```<br>employee_agreements.Creator = employee_availability.Employee<br>```<br><br>```<br>employee_agreements.EmployeeId = employee_availability.Creator<br>```<br><br>```<br>employee_agreements.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>employee_agreements.EmployeeId = employee_contract_leave_rules.Creator<br>```<br><br>```<br>employee_agreements.Creator = employee_contract_leave_rules.Creator<br>```<br><br>```<br>employee_agreements.Contract = employee_contract_leave_rules.ContractId<br>```<br><br>```<br>employee_agreements.SalaryPayRule = employee_contract_leave_rules.LoadingPayRule1<br>```<br><br>```<br>employee_agreements.SalaryPayRule = employee_contract_leave_rules.LoadingPayRule2<br>```<br><br>```<br>employee_agreements.SalaryPayRule = employee_contract_leave_rules.LoadingPayRule3<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>employee_agreements.EmployeeId = employee_contracts.Creator<br>```<br><br>```<br>employee_agreements.Creator = employee_contracts.Creator<br>```<br><br>```<br>employee_agreements.Contract = employee_contracts.Id<br>```<br><br>```<br>employee_agreements.SalaryPayRule = employee_contracts.BasePayRule<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>employee_agreements.EmployeeId = employee_history.EmployeeId<br>```<br><br>```<br>employee_agreements.Creator = employee_history.EmployeeId<br>```<br><br>```<br>employee_agreements.EmployeeId = employee_history.Creator<br>```<br><br>```<br>employee_agreements.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>employee_agreements.EmployeeId = employee_paycycle_returns.Creator<br>```<br><br>```<br>employee_agreements.Creator = employee_paycycle_returns.Creator<br>```<br><br>```<br>employee_agreements.SalaryPayRule = employee_paycycle_returns.PayRule<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>employee_agreements.EmployeeId = employee_paycycles.EmployeeId<br>```<br><br>```<br>employee_agreements.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>employee_agreements.EmployeeId = employee_paycycles.Creator<br>```<br><br>```<br>employee_agreements.Creator = employee_paycycles.Creator<br>```<br><br>```<br>employee_agreements.HistoryId = employee_paycycles.EmployeeAgreementHistoryId<br>```<br><br>```<br>employee_agreements.Id = employee_paycycles.EmployeeAgreementId<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>employee_agreements.EmployeeId = employee_roles.Creator<br>```<br><br>```<br>employee_agreements.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>employee_agreements.EmployeeId = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>employee_agreements.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>employee_agreements.EmployeeId = employee_salary_opunit_costing.Creator<br>```<br><br>```<br>employee_agreements.Creator = employee_salary_opunit_costing.Creator<br>```<br><br>```<br>employee_agreements.Id = employee_salary_opunit_costing.EmployeeAgreement<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>employee_agreements.EmployeeId = employee_workplaces.EmployeeId<br>```<br><br>```<br>employee_agreements.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>employee_agreements.EmployeeId = employee_workplaces.Creator<br>```<br><br>```<br>employee_agreements.Creator = employee_workplaces.Creator<br>```<br><br>```<br>employee_agreements.Id = employee_workplaces.Agreement1<br>```<br><br>```<br>employee_agreements.Id = employee_workplaces.Agreement2<br>```<br><br>```<br>employee_agreements.Id = employee_workplaces.Agreement3<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>employee_agreements.EmployeeId = employment_conditions.Creator<br>```<br><br>```<br>employee_agreements.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>employee_agreements.EmployeeId = events.Creator<br>```<br><br>```<br>employee_agreements.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>employee_agreements.EmployeeId = geo.Creator<br>```<br><br>```<br>employee_agreements.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>employee_agreements.EmployeeId = journal.EmployeeId<br>```<br><br>```<br>employee_agreements.Creator = journal.EmployeeId<br>```<br><br>```<br>employee_agreements.EmployeeId = journal.Creator<br>```<br><br>```<br>employee_agreements.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>employee_agreements.EmployeeId = kiosks.Creator<br>```<br><br>```<br>employee_agreements.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>employee_agreements.EmployeeId = leave_accruals.Employee<br>```<br><br>```<br>employee_agreements.Creator = leave_accruals.Employee<br>```<br><br>```<br>employee_agreements.EmployeeId = leave_accruals.Creator<br>```<br><br>```<br>employee_agreements.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>employee_agreements.EmployeeId = leave_pay_lines.Creator<br>```<br><br>```<br>employee_agreements.Creator = leave_pay_lines.Creator<br>```<br><br>```<br>employee_agreements.Id = leave_pay_lines.EmployeeAgreement<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>employee_agreements.EmployeeId = leave_rules.Creator<br>```<br><br>```<br>employee_agreements.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>employee_agreements.EmployeeId = leaves.Employee<br>```<br><br>```<br>employee_agreements.Creator = leaves.Employee<br>```<br><br>```<br>employee_agreements.EmployeeId = leaves.Creator<br>```<br><br>```<br>employee_agreements.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>employee_agreements.EmployeeId = memos.Creator<br>```<br><br>```<br>employee_agreements.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>employee_agreements.EmployeeId = operational_units.Creator<br>```<br><br>```<br>employee_agreements.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>employee_agreements.EmployeeId = pay_periods.Creator<br>```<br><br>```<br>employee_agreements.Creator = pay_periods.Creator<br>```<br><br>```<br>employee_agreements.PayPeriod = pay_periods.Id<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>employee_agreements.EmployeeId = pay_rules.Creator<br>```<br><br>```<br>employee_agreements.Creator = pay_rules.Creator<br>```<br><br>```<br>employee_agreements.SalaryPayRule = pay_rules.Id<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>employee_agreements.EmployeeId = public_holidays.Creator<br>```<br><br>```<br>employee_agreements.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>employee_agreements.EmployeeId = roster_opens.Employee<br>```<br><br>```<br>employee_agreements.Creator = roster_opens.Employee<br>```<br><br>```<br>employee_agreements.EmployeeId = roster_opens.Creator<br>```<br><br>```<br>employee_agreements.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>employee_agreements.EmployeeId = roster_swaps.Employee<br>```<br><br>```<br>employee_agreements.Creator = roster_swaps.Employee<br>```<br><br>```<br>employee_agreements.EmployeeId = roster_swaps.Creator<br>```<br><br>```<br>employee_agreements.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>employee_agreements.EmployeeId = rosters.Employee<br>```<br><br>```<br>employee_agreements.Creator = rosters.Employee<br>```<br><br>```<br>employee_agreements.EmployeeId = rosters.ConfirmBy<br>```<br><br>```<br>employee_agreements.Creator = rosters.ConfirmBy<br>```<br><br>```<br>employee_agreements.EmployeeId = rosters.Creator<br>```<br><br>```<br>employee_agreements.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>employee_agreements.EmployeeId = sales_data.Employee<br>```<br><br>```<br>employee_agreements.Creator = sales_data.Employee<br>```<br><br>```<br>employee_agreements.EmployeeId = sales_data.Creator<br>```<br><br>```<br>employee_agreements.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>employee_agreements.EmployeeId = schedules.Creator<br>```<br><br>```<br>employee_agreements.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>employee_agreements.EmployeeId = sms_logs.Creator<br>```<br><br>```<br>employee_agreements.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>employee_agreements.EmployeeId = states.Creator<br>```<br><br>```<br>employee_agreements.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>employee_agreements.EmployeeId = stress_profiles.Creator<br>```<br><br>```<br>employee_agreements.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>employee_agreements.EmployeeId = system_usage_balances.Creator<br>```<br><br>```<br>employee_agreements.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>employee_agreements.EmployeeId = system_usage_tracking.Creator<br>```<br><br>```<br>employee_agreements.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>employee_agreements.EmployeeId = task_group_setups.Creator<br>```<br><br>```<br>employee_agreements.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>employee_agreements.EmployeeId = task_groups.Creator<br>```<br><br>```<br>employee_agreements.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>employee_agreements.EmployeeId = task_opunit_configs.Creator<br>```<br><br>```<br>employee_agreements.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>employee_agreements.EmployeeId = task_setups.Creator<br>```<br><br>```<br>employee_agreements.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>employee_agreements.EmployeeId = tasks.Creator<br>```<br><br>```<br>employee_agreements.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>employee_agreements.EmployeeId = teams.LeaderEmployee<br>```<br><br>```<br>employee_agreements.Creator = teams.LeaderEmployee<br>```<br><br>```<br>employee_agreements.EmployeeId = teams.Creator<br>```<br><br>```<br>employee_agreements.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>employee_agreements.EmployeeId = timesheet_pay_returns.Creator<br>```<br><br>```<br>employee_agreements.Creator = timesheet_pay_returns.Creator<br>```<br><br>```<br>employee_agreements.SalaryPayRule = timesheet_pay_returns.PayRule<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>employee_agreements.EmployeeId = timesheets.Employee<br>```<br><br>```<br>employee_agreements.Creator = timesheets.Employee<br>```<br><br>```<br>employee_agreements.EmployeeId = timesheets.Creator<br>```<br><br>```<br>employee_agreements.Creator = timesheets.Creator<br>```<br><br>```<br>employee_agreements.Id = timesheets.EmployeeAgreement<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>employee_agreements.EmployeeId = training_modules.Creator<br>```<br><br>```<br>employee_agreements.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>employee_agreements.EmployeeId = training_records.Employee<br>```<br><br>```<br>employee_agreements.Creator = training_records.Employee<br>```<br><br>```<br>employee_agreements.EmployeeId = training_records.Creator<br>```<br><br>```<br>employee_agreements.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>employee_agreements.EmployeeId = webhooks.Creator<br>```<br><br>```<br>employee_agreements.Creator = webhooks.Creator<br>``` |

employee\_agreements table schema

| **Active**<br><br><br>BOOLEAN |
| --- |
| **CompanyName**<br><br><br>STRING |
| **Contract**<br><br><br>INTEGER |
| **ContractFile**<br><br><br>INTEGER |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **EmpType**<br><br><br>INTEGER |
| **EmployeeId**<br><br><br>INTEGER |
| **HistoryId**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **PayPeriod**<br><br><br>INTEGER |
| **PayPoint**<br><br><br>INTEGER |
| **PayrollId**<br><br><br>INTEGER |
| **SalaryPayRule**<br><br><br>INTEGER |
| **StartDate**<br><br><br>DATE |

### employee\_appraisal

The `employee_appraisal` table contains info about employee appraisals.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/EmployeeAppraisal) |

employee\_appraisal table foreign keys

| Join employee\_appraisal with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>employee_appraisal.Creator = addresses.Creator<br>```<br><br>```<br>employee_appraisal.Employee = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>employee_appraisal.Creator = categories.Creator<br>```<br><br>```<br>employee_appraisal.Employee = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>employee_appraisal.Creator = comments.Creator<br>```<br><br>```<br>employee_appraisal.Employee = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>employee_appraisal.Creator = companies.Creator<br>```<br><br>```<br>employee_appraisal.Employee = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>employee_appraisal.Creator = company_periods.Creator<br>```<br><br>```<br>employee_appraisal.Employee = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>employee_appraisal.Creator = contacts.Creator<br>```<br><br>```<br>employee_appraisal.Employee = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>employee_appraisal.Creator = countries.Creator<br>```<br><br>```<br>employee_appraisal.Employee = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>employee_appraisal.Creator = custom_app_data.Employee<br>```<br><br>```<br>employee_appraisal.Employee = custom_app_data.Employee<br>```<br><br>```<br>employee_appraisal.Creator = custom_app_data.Creator<br>```<br><br>```<br>employee_appraisal.Employee = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>employee_appraisal.Creator = custom_field_data.Creator<br>```<br><br>```<br>employee_appraisal.Employee = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>employee_appraisal.Creator = custom_fields.Creator<br>```<br><br>```<br>employee_appraisal.Employee = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>employee_appraisal.Creator = employee_agreement_history.Creator<br>```<br><br>```<br>employee_appraisal.Employee = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>employee_appraisal.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>employee_appraisal.Employee = employee_agreements.EmployeeId<br>```<br><br>```<br>employee_appraisal.Creator = employee_agreements.Creator<br>```<br><br>```<br>employee_appraisal.Employee = employee_agreements.Creator<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>employee_appraisal.Creator = employee_availability.Employee<br>```<br><br>```<br>employee_appraisal.Employee = employee_availability.Employee<br>```<br><br>```<br>employee_appraisal.Creator = employee_availability.Creator<br>```<br><br>```<br>employee_appraisal.Employee = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>employee_appraisal.Creator = employee_contract_leave_rules.Creator<br>```<br><br>```<br>employee_appraisal.Employee = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>employee_appraisal.Creator = employee_contracts.Creator<br>```<br><br>```<br>employee_appraisal.Employee = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>employee_appraisal.Creator = employee_history.EmployeeId<br>```<br><br>```<br>employee_appraisal.Employee = employee_history.EmployeeId<br>```<br><br>```<br>employee_appraisal.Creator = employee_history.Creator<br>```<br><br>```<br>employee_appraisal.Employee = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>employee_appraisal.Creator = employee_paycycle_returns.Creator<br>```<br><br>```<br>employee_appraisal.Employee = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>employee_appraisal.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>employee_appraisal.Employee = employee_paycycles.EmployeeId<br>```<br><br>```<br>employee_appraisal.Creator = employee_paycycles.Creator<br>```<br><br>```<br>employee_appraisal.Employee = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>employee_appraisal.Creator = employee_roles.Creator<br>```<br><br>```<br>employee_appraisal.Employee = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>employee_appraisal.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>employee_appraisal.Employee = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>employee_appraisal.Creator = employee_salary_opunit_costing.Creator<br>```<br><br>```<br>employee_appraisal.Employee = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>employee_appraisal.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>employee_appraisal.Employee = employee_workplaces.EmployeeId<br>```<br><br>```<br>employee_appraisal.Creator = employee_workplaces.Creator<br>```<br><br>```<br>employee_appraisal.Employee = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>employee_appraisal.Creator = employment_conditions.Creator<br>```<br><br>```<br>employee_appraisal.Employee = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>employee_appraisal.Creator = events.Creator<br>```<br><br>```<br>employee_appraisal.Employee = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>employee_appraisal.Creator = geo.Creator<br>```<br><br>```<br>employee_appraisal.Employee = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>employee_appraisal.Creator = journal.EmployeeId<br>```<br><br>```<br>employee_appraisal.Employee = journal.EmployeeId<br>```<br><br>```<br>employee_appraisal.Creator = journal.Creator<br>```<br><br>```<br>employee_appraisal.Employee = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>employee_appraisal.Creator = kiosks.Creator<br>```<br><br>```<br>employee_appraisal.Employee = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>employee_appraisal.Creator = leave_accruals.Employee<br>```<br><br>```<br>employee_appraisal.Employee = leave_accruals.Employee<br>```<br><br>```<br>employee_appraisal.Creator = leave_accruals.Creator<br>```<br><br>```<br>employee_appraisal.Employee = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>employee_appraisal.Creator = leave_pay_lines.Creator<br>```<br><br>```<br>employee_appraisal.Employee = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>employee_appraisal.Creator = leave_rules.Creator<br>```<br><br>```<br>employee_appraisal.Employee = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>employee_appraisal.Creator = leaves.Employee<br>```<br><br>```<br>employee_appraisal.Employee = leaves.Employee<br>```<br><br>```<br>employee_appraisal.Creator = leaves.Creator<br>```<br><br>```<br>employee_appraisal.Employee = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>employee_appraisal.Creator = memos.Creator<br>```<br><br>```<br>employee_appraisal.Employee = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>employee_appraisal.Creator = operational_units.Creator<br>```<br><br>```<br>employee_appraisal.Employee = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>employee_appraisal.Creator = pay_periods.Creator<br>```<br><br>```<br>employee_appraisal.Employee = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>employee_appraisal.Creator = pay_rules.Creator<br>```<br><br>```<br>employee_appraisal.Employee = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>employee_appraisal.Creator = public_holidays.Creator<br>```<br><br>```<br>employee_appraisal.Employee = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>employee_appraisal.Creator = roster_opens.Employee<br>```<br><br>```<br>employee_appraisal.Employee = roster_opens.Employee<br>```<br><br>```<br>employee_appraisal.Creator = roster_opens.Creator<br>```<br><br>```<br>employee_appraisal.Employee = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>employee_appraisal.Creator = roster_swaps.Employee<br>```<br><br>```<br>employee_appraisal.Employee = roster_swaps.Employee<br>```<br><br>```<br>employee_appraisal.Creator = roster_swaps.Creator<br>```<br><br>```<br>employee_appraisal.Employee = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>employee_appraisal.Creator = rosters.Employee<br>```<br><br>```<br>employee_appraisal.Employee = rosters.Employee<br>```<br><br>```<br>employee_appraisal.Creator = rosters.ConfirmBy<br>```<br><br>```<br>employee_appraisal.Employee = rosters.ConfirmBy<br>```<br><br>```<br>employee_appraisal.Creator = rosters.Creator<br>```<br><br>```<br>employee_appraisal.Employee = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>employee_appraisal.Creator = sales_data.Employee<br>```<br><br>```<br>employee_appraisal.Employee = sales_data.Employee<br>```<br><br>```<br>employee_appraisal.Creator = sales_data.Creator<br>```<br><br>```<br>employee_appraisal.Employee = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>employee_appraisal.Creator = schedules.Creator<br>```<br><br>```<br>employee_appraisal.Employee = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>employee_appraisal.Creator = sms_logs.Creator<br>```<br><br>```<br>employee_appraisal.Employee = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>employee_appraisal.Creator = states.Creator<br>```<br><br>```<br>employee_appraisal.Employee = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>employee_appraisal.Creator = stress_profiles.Creator<br>```<br><br>```<br>employee_appraisal.Employee = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>employee_appraisal.Creator = system_usage_balances.Creator<br>```<br><br>```<br>employee_appraisal.Employee = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>employee_appraisal.Creator = system_usage_tracking.Creator<br>```<br><br>```<br>employee_appraisal.Employee = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>employee_appraisal.Creator = task_group_setups.Creator<br>```<br><br>```<br>employee_appraisal.Employee = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>employee_appraisal.Creator = task_groups.Creator<br>```<br><br>```<br>employee_appraisal.Employee = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>employee_appraisal.Creator = task_opunit_configs.Creator<br>```<br><br>```<br>employee_appraisal.Employee = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>employee_appraisal.Creator = task_setups.Creator<br>```<br><br>```<br>employee_appraisal.Employee = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>employee_appraisal.Creator = tasks.Creator<br>```<br><br>```<br>employee_appraisal.Employee = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>employee_appraisal.Creator = teams.LeaderEmployee<br>```<br><br>```<br>employee_appraisal.Employee = teams.LeaderEmployee<br>```<br><br>```<br>employee_appraisal.Creator = teams.Creator<br>```<br><br>```<br>employee_appraisal.Employee = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>employee_appraisal.Creator = timesheet_pay_returns.Creator<br>```<br><br>```<br>employee_appraisal.Employee = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>employee_appraisal.Creator = timesheets.Employee<br>```<br><br>```<br>employee_appraisal.Employee = timesheets.Employee<br>```<br><br>```<br>employee_appraisal.Creator = timesheets.Creator<br>```<br><br>```<br>employee_appraisal.Employee = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>employee_appraisal.Creator = training_modules.Creator<br>```<br><br>```<br>employee_appraisal.Employee = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>employee_appraisal.Creator = training_records.Employee<br>```<br><br>```<br>employee_appraisal.Employee = training_records.Employee<br>```<br><br>```<br>employee_appraisal.Creator = training_records.Creator<br>```<br><br>```<br>employee_appraisal.Employee = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>employee_appraisal.Creator = webhooks.Creator<br>```<br><br>```<br>employee_appraisal.Employee = webhooks.Creator<br>``` |

employee\_appraisal table schema

| **Created**<br><br><br>DATE-TIME |
| --- |
| **Creator**<br><br><br>INTEGER |
| **Date**<br><br><br>DATE |
| **DayTimestamp**<br><br><br>INTEGER |
| **Employee**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **Mark01**<br><br><br>NUMBER |
| **Mark02**<br><br><br>NUMBER |
| **Mark03**<br><br><br>NUMBER |
| **Mark04**<br><br><br>NUMBER |
| **Mark05**<br><br><br>NUMBER |
| **Modified**<br><br><br>DATE-TIME |

### employee\_availability

The `employee_availability` table contains info about employee availability.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/EmployeeAvailability) |

employee\_availability table foreign keys

| Join employee\_availability with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>employee_availability.Employee = addresses.Creator<br>```<br><br>```<br>employee_availability.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>employee_availability.Employee = categories.Creator<br>```<br><br>```<br>employee_availability.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>employee_availability.Employee = comments.Creator<br>```<br><br>```<br>employee_availability.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>employee_availability.Employee = companies.Creator<br>```<br><br>```<br>employee_availability.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>employee_availability.Employee = company_periods.Creator<br>```<br><br>```<br>employee_availability.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>employee_availability.Employee = contacts.Creator<br>```<br><br>```<br>employee_availability.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>employee_availability.Employee = countries.Creator<br>```<br><br>```<br>employee_availability.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>employee_availability.Employee = custom_app_data.Employee<br>```<br><br>```<br>employee_availability.Creator = custom_app_data.Employee<br>```<br><br>```<br>employee_availability.Employee = custom_app_data.Creator<br>```<br><br>```<br>employee_availability.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>employee_availability.Employee = custom_field_data.Creator<br>```<br><br>```<br>employee_availability.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>employee_availability.Employee = custom_fields.Creator<br>```<br><br>```<br>employee_availability.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>employee_availability.Employee = employee_agreement_history.Creator<br>```<br><br>```<br>employee_availability.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>employee_availability.Employee = employee_agreements.EmployeeId<br>```<br><br>```<br>employee_availability.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>employee_availability.Employee = employee_agreements.Creator<br>```<br><br>```<br>employee_availability.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>employee_availability.Employee = employee_appraisal.Creator<br>```<br><br>```<br>employee_availability.Creator = employee_appraisal.Creator<br>```<br><br>```<br>employee_availability.Employee = employee_appraisal.Employee<br>```<br><br>```<br>employee_availability.Creator = employee_appraisal.Employee<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>employee_availability.Employee = employee_contract_leave_rules.Creator<br>```<br><br>```<br>employee_availability.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>employee_availability.Employee = employee_contracts.Creator<br>```<br><br>```<br>employee_availability.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>employee_availability.Employee = employee_history.EmployeeId<br>```<br><br>```<br>employee_availability.Creator = employee_history.EmployeeId<br>```<br><br>```<br>employee_availability.Employee = employee_history.Creator<br>```<br><br>```<br>employee_availability.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>employee_availability.Employee = employee_paycycle_returns.Creator<br>```<br><br>```<br>employee_availability.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>employee_availability.Employee = employee_paycycles.EmployeeId<br>```<br><br>```<br>employee_availability.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>employee_availability.Employee = employee_paycycles.Creator<br>```<br><br>```<br>employee_availability.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>employee_availability.Employee = employee_roles.Creator<br>```<br><br>```<br>employee_availability.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>employee_availability.Employee = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>employee_availability.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>employee_availability.Employee = employee_salary_opunit_costing.Creator<br>```<br><br>```<br>employee_availability.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>employee_availability.Employee = employee_workplaces.EmployeeId<br>```<br><br>```<br>employee_availability.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>employee_availability.Employee = employee_workplaces.Creator<br>```<br><br>```<br>employee_availability.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>employee_availability.Employee = employment_conditions.Creator<br>```<br><br>```<br>employee_availability.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>employee_availability.Employee = events.Creator<br>```<br><br>```<br>employee_availability.Creator = events.Creator<br>```<br><br>```<br>employee_availability.Schedule = events.Schedule<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>employee_availability.Employee = geo.Creator<br>```<br><br>```<br>employee_availability.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>employee_availability.Employee = journal.EmployeeId<br>```<br><br>```<br>employee_availability.Creator = journal.EmployeeId<br>```<br><br>```<br>employee_availability.Employee = journal.Creator<br>```<br><br>```<br>employee_availability.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>employee_availability.Employee = kiosks.Creator<br>```<br><br>```<br>employee_availability.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>employee_availability.Employee = leave_accruals.Employee<br>```<br><br>```<br>employee_availability.Creator = leave_accruals.Employee<br>```<br><br>```<br>employee_availability.Employee = leave_accruals.Creator<br>```<br><br>```<br>employee_availability.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>employee_availability.Employee = leave_pay_lines.Creator<br>```<br><br>```<br>employee_availability.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>employee_availability.Employee = leave_rules.Creator<br>```<br><br>```<br>employee_availability.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>employee_availability.Employee = leaves.Employee<br>```<br><br>```<br>employee_availability.Creator = leaves.Employee<br>```<br><br>```<br>employee_availability.Employee = leaves.Creator<br>```<br><br>```<br>employee_availability.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>employee_availability.Employee = memos.Creator<br>```<br><br>```<br>employee_availability.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>employee_availability.Employee = operational_units.Creator<br>```<br><br>```<br>employee_availability.Creator = operational_units.Creator<br>```<br><br>```<br>employee_availability.Schedule = operational_units.RosterActiveHoursSchedule<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>employee_availability.Employee = pay_periods.Creator<br>```<br><br>```<br>employee_availability.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>employee_availability.Employee = pay_rules.Creator<br>```<br><br>```<br>employee_availability.Creator = pay_rules.Creator<br>```<br><br>```<br>employee_availability.Schedule = pay_rules.Schedule<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>employee_availability.Employee = public_holidays.Creator<br>```<br><br>```<br>employee_availability.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>employee_availability.Employee = roster_opens.Employee<br>```<br><br>```<br>employee_availability.Creator = roster_opens.Employee<br>```<br><br>```<br>employee_availability.Employee = roster_opens.Creator<br>```<br><br>```<br>employee_availability.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>employee_availability.Employee = roster_swaps.Employee<br>```<br><br>```<br>employee_availability.Creator = roster_swaps.Employee<br>```<br><br>```<br>employee_availability.Employee = roster_swaps.Creator<br>```<br><br>```<br>employee_availability.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>employee_availability.Employee = rosters.Employee<br>```<br><br>```<br>employee_availability.Creator = rosters.Employee<br>```<br><br>```<br>employee_availability.Employee = rosters.ConfirmBy<br>```<br><br>```<br>employee_availability.Creator = rosters.ConfirmBy<br>```<br><br>```<br>employee_availability.Employee = rosters.Creator<br>```<br><br>```<br>employee_availability.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>employee_availability.Employee = sales_data.Employee<br>```<br><br>```<br>employee_availability.Creator = sales_data.Employee<br>```<br><br>```<br>employee_availability.Employee = sales_data.Creator<br>```<br><br>```<br>employee_availability.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>employee_availability.Employee = schedules.Creator<br>```<br><br>```<br>employee_availability.Creator = schedules.Creator<br>```<br><br>```<br>employee_availability.Schedule = schedules.Id<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>employee_availability.Employee = sms_logs.Creator<br>```<br><br>```<br>employee_availability.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>employee_availability.Employee = states.Creator<br>```<br><br>```<br>employee_availability.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>employee_availability.Employee = stress_profiles.Creator<br>```<br><br>```<br>employee_availability.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>employee_availability.Employee = system_usage_balances.Creator<br>```<br><br>```<br>employee_availability.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>employee_availability.Employee = system_usage_tracking.Creator<br>```<br><br>```<br>employee_availability.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>employee_availability.Employee = task_group_setups.Creator<br>```<br><br>```<br>employee_availability.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>employee_availability.Employee = task_groups.Creator<br>```<br><br>```<br>employee_availability.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>employee_availability.Employee = task_opunit_configs.Creator<br>```<br><br>```<br>employee_availability.Creator = task_opunit_configs.Creator<br>```<br><br>```<br>employee_availability.Schedule = task_opunit_configs.Schedule<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>employee_availability.Employee = task_setups.Creator<br>```<br><br>```<br>employee_availability.Creator = task_setups.Creator<br>```<br><br>```<br>employee_availability.Schedule = task_setups.Schedule<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>employee_availability.Employee = tasks.Creator<br>```<br><br>```<br>employee_availability.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>employee_availability.Employee = teams.LeaderEmployee<br>```<br><br>```<br>employee_availability.Creator = teams.LeaderEmployee<br>```<br><br>```<br>employee_availability.Employee = teams.Creator<br>```<br><br>```<br>employee_availability.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>employee_availability.Employee = timesheet_pay_returns.Creator<br>```<br><br>```<br>employee_availability.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>employee_availability.Employee = timesheets.Employee<br>```<br><br>```<br>employee_availability.Creator = timesheets.Employee<br>```<br><br>```<br>employee_availability.Employee = timesheets.Creator<br>```<br><br>```<br>employee_availability.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>employee_availability.Employee = training_modules.Creator<br>```<br><br>```<br>employee_availability.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>employee_availability.Employee = training_records.Employee<br>```<br><br>```<br>employee_availability.Creator = training_records.Employee<br>```<br><br>```<br>employee_availability.Employee = training_records.Creator<br>```<br><br>```<br>employee_availability.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>employee_availability.Employee = webhooks.Creator<br>```<br><br>```<br>employee_availability.Creator = webhooks.Creator<br>``` |

employee\_availability table schema

| **Comment**<br><br><br>INTEGER |
| --- |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Date**<br><br><br>DATE |
| **Employee**<br><br><br>INTEGER |
| **EndTime**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **MaxDateRecurringGenerated**<br><br><br>DATE |
| **Modified**<br><br><br>DATE-TIME |
| **Schedule**<br><br><br>INTEGER |
| **StartTime**<br><br><br>INTEGER |
| **Type**<br><br><br>INTEGER |

### employee\_contract\_leave\_rules

The `employee_contract_leave_rules` table contains info about employment contract leave rules.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/EmploymentContractLeaveRules) |

employee\_contract\_leave\_rules table foreign keys

| Join employee\_contract\_leave\_rules with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>employee_contract_leave_rules.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>employee_contract_leave_rules.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>employee_contract_leave_rules.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>employee_contract_leave_rules.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>employee_contract_leave_rules.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>employee_contract_leave_rules.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>employee_contract_leave_rules.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>employee_contract_leave_rules.Creator = custom_app_data.Employee<br>```<br><br>```<br>employee_contract_leave_rules.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>employee_contract_leave_rules.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>employee_contract_leave_rules.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>employee_contract_leave_rules.Creator = employee_agreement_history.Creator<br>```<br><br>```<br>employee_contract_leave_rules.ContractId = employee_agreement_history.Contract<br>```<br><br>```<br>employee_contract_leave_rules.LoadingPayRule1 = employee_agreement_history.SalaryPayRule<br>```<br><br>```<br>employee_contract_leave_rules.LoadingPayRule2 = employee_agreement_history.SalaryPayRule<br>```<br><br>```<br>employee_contract_leave_rules.LoadingPayRule3 = employee_agreement_history.SalaryPayRule<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>employee_contract_leave_rules.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>employee_contract_leave_rules.Creator = employee_agreements.Creator<br>```<br><br>```<br>employee_contract_leave_rules.ContractId = employee_agreements.Contract<br>```<br><br>```<br>employee_contract_leave_rules.LoadingPayRule1 = employee_agreements.SalaryPayRule<br>```<br><br>```<br>employee_contract_leave_rules.LoadingPayRule2 = employee_agreements.SalaryPayRule<br>```<br><br>```<br>employee_contract_leave_rules.LoadingPayRule3 = employee_agreements.SalaryPayRule<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>employee_contract_leave_rules.Creator = employee_appraisal.Creator<br>```<br><br>```<br>employee_contract_leave_rules.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>employee_contract_leave_rules.Creator = employee_availability.Employee<br>```<br><br>```<br>employee_contract_leave_rules.Creator = employee_availability.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>employee_contract_leave_rules.Creator = employee_contracts.Creator<br>```<br><br>```<br>employee_contract_leave_rules.ContractId = employee_contracts.Id<br>```<br><br>```<br>employee_contract_leave_rules.LoadingPayRule1 = employee_contracts.BasePayRule<br>```<br><br>```<br>employee_contract_leave_rules.LoadingPayRule2 = employee_contracts.BasePayRule<br>```<br><br>```<br>employee_contract_leave_rules.LoadingPayRule3 = employee_contracts.BasePayRule<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>employee_contract_leave_rules.Creator = employee_history.EmployeeId<br>```<br><br>```<br>employee_contract_leave_rules.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>employee_contract_leave_rules.Creator = employee_paycycle_returns.Creator<br>```<br><br>```<br>employee_contract_leave_rules.LoadingPayRule1 = employee_paycycle_returns.PayRule<br>```<br><br>```<br>employee_contract_leave_rules.LoadingPayRule2 = employee_paycycle_returns.PayRule<br>```<br><br>```<br>employee_contract_leave_rules.LoadingPayRule3 = employee_paycycle_returns.PayRule<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>employee_contract_leave_rules.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>employee_contract_leave_rules.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>employee_contract_leave_rules.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>employee_contract_leave_rules.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>employee_contract_leave_rules.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>employee_contract_leave_rules.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>employee_contract_leave_rules.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>employee_contract_leave_rules.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>employee_contract_leave_rules.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>employee_contract_leave_rules.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>employee_contract_leave_rules.Creator = journal.EmployeeId<br>```<br><br>```<br>employee_contract_leave_rules.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>employee_contract_leave_rules.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>employee_contract_leave_rules.Creator = leave_accruals.Employee<br>```<br><br>```<br>employee_contract_leave_rules.Creator = leave_accruals.Creator<br>```<br><br>```<br>employee_contract_leave_rules.LeaveRuleId = leave_accruals.LeaveRule<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>employee_contract_leave_rules.Creator = leave_pay_lines.Creator<br>```<br><br>```<br>employee_contract_leave_rules.LeaveRuleId = leave_pay_lines.LeaveRule<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>employee_contract_leave_rules.Creator = leave_rules.Creator<br>```<br><br>```<br>employee_contract_leave_rules.LeaveRuleId = leave_rules.Id<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>employee_contract_leave_rules.Creator = leaves.Employee<br>```<br><br>```<br>employee_contract_leave_rules.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>employee_contract_leave_rules.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>employee_contract_leave_rules.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>employee_contract_leave_rules.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>employee_contract_leave_rules.Creator = pay_rules.Creator<br>```<br><br>```<br>employee_contract_leave_rules.LoadingPayRule1 = pay_rules.Id<br>```<br><br>```<br>employee_contract_leave_rules.LoadingPayRule2 = pay_rules.Id<br>```<br><br>```<br>employee_contract_leave_rules.LoadingPayRule3 = pay_rules.Id<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>employee_contract_leave_rules.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>employee_contract_leave_rules.Creator = roster_opens.Employee<br>```<br><br>```<br>employee_contract_leave_rules.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>employee_contract_leave_rules.Creator = roster_swaps.Employee<br>```<br><br>```<br>employee_contract_leave_rules.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>employee_contract_leave_rules.Creator = rosters.Employee<br>```<br><br>```<br>employee_contract_leave_rules.Creator = rosters.ConfirmBy<br>```<br><br>```<br>employee_contract_leave_rules.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>employee_contract_leave_rules.Creator = sales_data.Employee<br>```<br><br>```<br>employee_contract_leave_rules.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>employee_contract_leave_rules.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>employee_contract_leave_rules.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>employee_contract_leave_rules.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>employee_contract_leave_rules.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>employee_contract_leave_rules.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>employee_contract_leave_rules.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>employee_contract_leave_rules.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>employee_contract_leave_rules.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>employee_contract_leave_rules.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>employee_contract_leave_rules.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>employee_contract_leave_rules.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>employee_contract_leave_rules.Creator = teams.LeaderEmployee<br>```<br><br>```<br>employee_contract_leave_rules.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>employee_contract_leave_rules.Creator = timesheet_pay_returns.Creator<br>```<br><br>```<br>employee_contract_leave_rules.LoadingPayRule1 = timesheet_pay_returns.PayRule<br>```<br><br>```<br>employee_contract_leave_rules.LoadingPayRule2 = timesheet_pay_returns.PayRule<br>```<br><br>```<br>employee_contract_leave_rules.LoadingPayRule3 = timesheet_pay_returns.PayRule<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>employee_contract_leave_rules.Creator = timesheets.Employee<br>```<br><br>```<br>employee_contract_leave_rules.Creator = timesheets.Creator<br>```<br><br>```<br>employee_contract_leave_rules.LeaveRuleId = timesheets.LeaveRule<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>employee_contract_leave_rules.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>employee_contract_leave_rules.Creator = training_records.Employee<br>```<br><br>```<br>employee_contract_leave_rules.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>employee_contract_leave_rules.Creator = webhooks.Creator<br>``` |

employee\_contract\_leave\_rules table schema

| **ContractId**<br><br><br>INTEGER |
| --- |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **LeaveRuleId**<br><br><br>INTEGER |
| **LoadingPayRule1**<br><br><br>INTEGER |
| **LoadingPayRule2**<br><br><br>INTEGER |
| **LoadingPayRule3**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |

### employee\_contracts

The `employee_contracts` table contains info about employee contracts.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |

employee\_contracts table foreign keys

| Join employee\_contracts with | on |
| --- | --- |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>employee_contracts.EmploymentCategory = categories.Id<br>```<br><br>```<br>employee_contracts.Creator = categories.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>employee_contracts.EmploymentCategory = employment_conditions.EmploymentCategory<br>```<br><br>```<br>employee_contracts.Creator = employment_conditions.Creator<br>```<br><br>```<br>employee_contracts.EmploymentCondition = employment_conditions.Id<br>``` |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>employee_contracts.Creator = addresses.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>employee_contracts.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>employee_contracts.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>employee_contracts.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>employee_contracts.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>employee_contracts.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>employee_contracts.Creator = custom_app_data.Employee<br>```<br><br>```<br>employee_contracts.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>employee_contracts.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>employee_contracts.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>employee_contracts.Creator = employee_agreement_history.Creator<br>```<br><br>```<br>employee_contracts.Id = employee_agreement_history.Contract<br>```<br><br>```<br>employee_contracts.BasePayRule = employee_agreement_history.SalaryPayRule<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>employee_contracts.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>employee_contracts.Creator = employee_agreements.Creator<br>```<br><br>```<br>employee_contracts.Id = employee_agreements.Contract<br>```<br><br>```<br>employee_contracts.BasePayRule = employee_agreements.SalaryPayRule<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>employee_contracts.Creator = employee_appraisal.Creator<br>```<br><br>```<br>employee_contracts.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>employee_contracts.Creator = employee_availability.Employee<br>```<br><br>```<br>employee_contracts.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>employee_contracts.Creator = employee_contract_leave_rules.Creator<br>```<br><br>```<br>employee_contracts.Id = employee_contract_leave_rules.ContractId<br>```<br><br>```<br>employee_contracts.BasePayRule = employee_contract_leave_rules.LoadingPayRule1<br>```<br><br>```<br>employee_contracts.BasePayRule = employee_contract_leave_rules.LoadingPayRule2<br>```<br><br>```<br>employee_contracts.BasePayRule = employee_contract_leave_rules.LoadingPayRule3<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>employee_contracts.Creator = employee_history.EmployeeId<br>```<br><br>```<br>employee_contracts.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>employee_contracts.Creator = employee_paycycle_returns.Creator<br>```<br><br>```<br>employee_contracts.BasePayRule = employee_paycycle_returns.PayRule<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>employee_contracts.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>employee_contracts.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>employee_contracts.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>employee_contracts.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>employee_contracts.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>employee_contracts.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>employee_contracts.Creator = employee_workplaces.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>employee_contracts.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>employee_contracts.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>employee_contracts.Creator = journal.EmployeeId<br>```<br><br>```<br>employee_contracts.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>employee_contracts.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>employee_contracts.Creator = leave_accruals.Employee<br>```<br><br>```<br>employee_contracts.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>employee_contracts.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>employee_contracts.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>employee_contracts.Creator = leaves.Employee<br>```<br><br>```<br>employee_contracts.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>employee_contracts.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>employee_contracts.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>employee_contracts.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>employee_contracts.Creator = pay_rules.Creator<br>```<br><br>```<br>employee_contracts.BasePayRule = pay_rules.Id<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>employee_contracts.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>employee_contracts.Creator = roster_opens.Employee<br>```<br><br>```<br>employee_contracts.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>employee_contracts.Creator = roster_swaps.Employee<br>```<br><br>```<br>employee_contracts.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>employee_contracts.Creator = rosters.Employee<br>```<br><br>```<br>employee_contracts.Creator = rosters.ConfirmBy<br>```<br><br>```<br>employee_contracts.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>employee_contracts.Creator = sales_data.Employee<br>```<br><br>```<br>employee_contracts.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>employee_contracts.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>employee_contracts.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>employee_contracts.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>employee_contracts.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>employee_contracts.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>employee_contracts.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>employee_contracts.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>employee_contracts.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>employee_contracts.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>employee_contracts.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>employee_contracts.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>employee_contracts.Creator = teams.LeaderEmployee<br>```<br><br>```<br>employee_contracts.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>employee_contracts.Creator = timesheet_pay_returns.Creator<br>```<br><br>```<br>employee_contracts.BasePayRule = timesheet_pay_returns.PayRule<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>employee_contracts.Creator = timesheets.Employee<br>```<br><br>```<br>employee_contracts.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>employee_contracts.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>employee_contracts.Creator = training_records.Employee<br>```<br><br>```<br>employee_contracts.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>employee_contracts.Creator = webhooks.Creator<br>``` |

employee\_contracts table schema

| **BasePayRule**<br><br><br>INTEGER |
| --- |
| **Code**<br><br><br>STRING |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Description**<br><br><br>STRING |
| **EmploymentBasis**<br><br><br>INTEGER |
| **EmploymentCategory**<br><br><br>INTEGER |
| **EmploymentCondition**<br><br><br>INTEGER |
| **EmploymentStatus**<br><br><br>INTEGER |
| **EndDate**<br><br><br>DATE |
| **File**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **Name**<br><br><br>STRING |
| **PeriodType**<br><br><br>INTEGER |
| **StartDate**<br><br><br>DATE |

### employee\_history

The `employee_history` table contains info about employee histories.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/EmployeeHistory) |

employee\_history table foreign keys

| Join employee\_history with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>employee_history.MainAddress = addresses.Id<br>```<br><br>```<br>employee_history.PostalAddress = addresses.Id<br>```<br><br>```<br>employee_history.EmergencyAddress = addresses.Id<br>```<br><br>```<br>employee_history.EmployeeId = addresses.Creator<br>```<br><br>```<br>employee_history.Creator = addresses.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>employee_history.MainAddress = companies.Address<br>```<br><br>```<br>employee_history.PostalAddress = companies.Address<br>```<br><br>```<br>employee_history.EmergencyAddress = companies.Address<br>```<br><br>```<br>employee_history.Company = companies.Id<br>```<br><br>```<br>employee_history.Company = companies.ParentCompany<br>```<br><br>```<br>employee_history.EmployeeId = companies.Creator<br>```<br><br>```<br>employee_history.Creator = companies.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>employee_history.MainAddress = operational_units.Address<br>```<br><br>```<br>employee_history.PostalAddress = operational_units.Address<br>```<br><br>```<br>employee_history.EmergencyAddress = operational_units.Address<br>```<br><br>```<br>employee_history.EmployeeId = operational_units.Creator<br>```<br><br>```<br>employee_history.Creator = operational_units.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>employee_history.Company = company_periods.Company<br>```<br><br>```<br>employee_history.EmployeeId = company_periods.Creator<br>```<br><br>```<br>employee_history.Creator = company_periods.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>employee_history.Company = employee_workplaces.Company<br>```<br><br>```<br>employee_history.EmployeeId = employee_workplaces.EmployeeId<br>```<br><br>```<br>employee_history.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>employee_history.EmployeeId = employee_workplaces.Creator<br>```<br><br>```<br>employee_history.Creator = employee_workplaces.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>employee_history.Company = kiosks.Company<br>```<br><br>```<br>employee_history.EmployeeId = kiosks.Creator<br>```<br><br>```<br>employee_history.Creator = kiosks.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>employee_history.Company = leaves.Company<br>```<br><br>```<br>employee_history.EmployeeId = leaves.Employee<br>```<br><br>```<br>employee_history.Creator = leaves.Employee<br>```<br><br>```<br>employee_history.EmployeeId = leaves.Creator<br>```<br><br>```<br>employee_history.Creator = leaves.Creator<br>```<br><br>```<br>employee_history.Id = leaves.EmployeeHistory<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>employee_history.Company = system_usage_tracking.CompanyId<br>```<br><br>```<br>employee_history.EmployeeId = system_usage_tracking.Creator<br>```<br><br>```<br>employee_history.Creator = system_usage_tracking.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>employee_history.EmployeeId = categories.Creator<br>```<br><br>```<br>employee_history.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>employee_history.EmployeeId = comments.Creator<br>```<br><br>```<br>employee_history.Creator = comments.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>employee_history.EmployeeId = contacts.Creator<br>```<br><br>```<br>employee_history.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>employee_history.EmployeeId = countries.Creator<br>```<br><br>```<br>employee_history.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>employee_history.EmployeeId = custom_app_data.Employee<br>```<br><br>```<br>employee_history.Creator = custom_app_data.Employee<br>```<br><br>```<br>employee_history.EmployeeId = custom_app_data.Creator<br>```<br><br>```<br>employee_history.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>employee_history.EmployeeId = custom_field_data.Creator<br>```<br><br>```<br>employee_history.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>employee_history.EmployeeId = custom_fields.Creator<br>```<br><br>```<br>employee_history.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>employee_history.EmployeeId = employee_agreement_history.Creator<br>```<br><br>```<br>employee_history.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>employee_history.EmployeeId = employee_agreements.EmployeeId<br>```<br><br>```<br>employee_history.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>employee_history.EmployeeId = employee_agreements.Creator<br>```<br><br>```<br>employee_history.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>employee_history.EmployeeId = employee_appraisal.Creator<br>```<br><br>```<br>employee_history.Creator = employee_appraisal.Creator<br>```<br><br>```<br>employee_history.EmployeeId = employee_appraisal.Employee<br>```<br><br>```<br>employee_history.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>employee_history.EmployeeId = employee_availability.Employee<br>```<br><br>```<br>employee_history.Creator = employee_availability.Employee<br>```<br><br>```<br>employee_history.EmployeeId = employee_availability.Creator<br>```<br><br>```<br>employee_history.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>employee_history.EmployeeId = employee_contract_leave_rules.Creator<br>```<br><br>```<br>employee_history.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>employee_history.EmployeeId = employee_contracts.Creator<br>```<br><br>```<br>employee_history.Creator = employee_contracts.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>employee_history.EmployeeId = employee_paycycle_returns.Creator<br>```<br><br>```<br>employee_history.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>employee_history.EmployeeId = employee_paycycles.EmployeeId<br>```<br><br>```<br>employee_history.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>employee_history.EmployeeId = employee_paycycles.Creator<br>```<br><br>```<br>employee_history.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>employee_history.EmployeeId = employee_roles.Creator<br>```<br><br>```<br>employee_history.Creator = employee_roles.Creator<br>```<br><br>```<br>employee_history.Role = employee_roles.Id<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>employee_history.EmployeeId = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>employee_history.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>employee_history.EmployeeId = employee_salary_opunit_costing.Creator<br>```<br><br>```<br>employee_history.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>employee_history.EmployeeId = employment_conditions.Creator<br>```<br><br>```<br>employee_history.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>employee_history.EmployeeId = events.Creator<br>```<br><br>```<br>employee_history.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>employee_history.EmployeeId = geo.Creator<br>```<br><br>```<br>employee_history.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>employee_history.EmployeeId = journal.EmployeeId<br>```<br><br>```<br>employee_history.Creator = journal.EmployeeId<br>```<br><br>```<br>employee_history.EmployeeId = journal.Creator<br>```<br><br>```<br>employee_history.Creator = journal.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>employee_history.EmployeeId = leave_accruals.Employee<br>```<br><br>```<br>employee_history.Creator = leave_accruals.Employee<br>```<br><br>```<br>employee_history.EmployeeId = leave_accruals.Creator<br>```<br><br>```<br>employee_history.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>employee_history.EmployeeId = leave_pay_lines.Creator<br>```<br><br>```<br>employee_history.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>employee_history.EmployeeId = leave_rules.Creator<br>```<br><br>```<br>employee_history.Creator = leave_rules.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>employee_history.EmployeeId = memos.Creator<br>```<br><br>```<br>employee_history.Creator = memos.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>employee_history.EmployeeId = pay_periods.Creator<br>```<br><br>```<br>employee_history.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>employee_history.EmployeeId = pay_rules.Creator<br>```<br><br>```<br>employee_history.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>employee_history.EmployeeId = public_holidays.Creator<br>```<br><br>```<br>employee_history.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>employee_history.EmployeeId = roster_opens.Employee<br>```<br><br>```<br>employee_history.Creator = roster_opens.Employee<br>```<br><br>```<br>employee_history.EmployeeId = roster_opens.Creator<br>```<br><br>```<br>employee_history.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>employee_history.EmployeeId = roster_swaps.Employee<br>```<br><br>```<br>employee_history.Creator = roster_swaps.Employee<br>```<br><br>```<br>employee_history.EmployeeId = roster_swaps.Creator<br>```<br><br>```<br>employee_history.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>employee_history.EmployeeId = rosters.Employee<br>```<br><br>```<br>employee_history.Creator = rosters.Employee<br>```<br><br>```<br>employee_history.EmployeeId = rosters.ConfirmBy<br>```<br><br>```<br>employee_history.Creator = rosters.ConfirmBy<br>```<br><br>```<br>employee_history.EmployeeId = rosters.Creator<br>```<br><br>```<br>employee_history.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>employee_history.EmployeeId = sales_data.Employee<br>```<br><br>```<br>employee_history.Creator = sales_data.Employee<br>```<br><br>```<br>employee_history.EmployeeId = sales_data.Creator<br>```<br><br>```<br>employee_history.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>employee_history.EmployeeId = schedules.Creator<br>```<br><br>```<br>employee_history.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>employee_history.EmployeeId = sms_logs.Creator<br>```<br><br>```<br>employee_history.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>employee_history.EmployeeId = states.Creator<br>```<br><br>```<br>employee_history.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>employee_history.EmployeeId = stress_profiles.Creator<br>```<br><br>```<br>employee_history.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>employee_history.EmployeeId = system_usage_balances.Creator<br>```<br><br>```<br>employee_history.Creator = system_usage_balances.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>employee_history.EmployeeId = task_group_setups.Creator<br>```<br><br>```<br>employee_history.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>employee_history.EmployeeId = task_groups.Creator<br>```<br><br>```<br>employee_history.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>employee_history.EmployeeId = task_opunit_configs.Creator<br>```<br><br>```<br>employee_history.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>employee_history.EmployeeId = task_setups.Creator<br>```<br><br>```<br>employee_history.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>employee_history.EmployeeId = tasks.Creator<br>```<br><br>```<br>employee_history.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>employee_history.EmployeeId = teams.LeaderEmployee<br>```<br><br>```<br>employee_history.Creator = teams.LeaderEmployee<br>```<br><br>```<br>employee_history.EmployeeId = teams.Creator<br>```<br><br>```<br>employee_history.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>employee_history.EmployeeId = timesheet_pay_returns.Creator<br>```<br><br>```<br>employee_history.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>employee_history.EmployeeId = timesheets.Employee<br>```<br><br>```<br>employee_history.Creator = timesheets.Employee<br>```<br><br>```<br>employee_history.EmployeeId = timesheets.Creator<br>```<br><br>```<br>employee_history.Creator = timesheets.Creator<br>```<br><br>```<br>employee_history.Id = timesheets.EmployeeHistory<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>employee_history.EmployeeId = training_modules.Creator<br>```<br><br>```<br>employee_history.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>employee_history.EmployeeId = training_records.Employee<br>```<br><br>```<br>employee_history.Creator = training_records.Employee<br>```<br><br>```<br>employee_history.EmployeeId = training_records.Creator<br>```<br><br>```<br>employee_history.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>employee_history.EmployeeId = webhooks.Creator<br>```<br><br>```<br>employee_history.Creator = webhooks.Creator<br>``` |

employee\_history table schema

| **Active**<br><br><br>BOOLEAN |
| --- |
| **Company**<br><br><br>INTEGER |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **DateOfBirth**<br><br><br>DATE |
| **DisplayName**<br><br><br>STRING |
| **EmergencyAddress**<br><br><br>STRING |
| **EmployeeId**<br><br><br>INTEGER |
| **FirstName**<br><br><br>STRING |
| **Gender**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **JobAppId**<br><br><br>INTEGER |
| **LastName**<br><br><br>STRING |
| **MainAddress**<br><br><br>STRING |
| **Modified**<br><br><br>DATE-TIME |
| **OtherName**<br><br><br>STRING |
| **Photo**<br><br><br>INTEGER |
| **Position**<br><br><br>STRING |
| **PostalAddress**<br><br><br>STRING |
| **Role**<br><br><br>INTEGER |
| **Salutation**<br><br><br>STRING |
| **StartDate**<br><br><br>DATE |
| **TerminationDate**<br><br><br>DATE |

### employee\_paycycle\_returns

The `employee_paycycle_returns` table contains info about employee paycycle returns.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/EmployeePaycycleReturn) |

employee\_paycycle\_returns table foreign keys

| Join employee\_paycycle\_returns with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>employee_paycycle_returns.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>employee_paycycle_returns.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>employee_paycycle_returns.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>employee_paycycle_returns.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>employee_paycycle_returns.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>employee_paycycle_returns.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>employee_paycycle_returns.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>employee_paycycle_returns.Creator = custom_app_data.Employee<br>```<br><br>```<br>employee_paycycle_returns.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>employee_paycycle_returns.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>employee_paycycle_returns.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>employee_paycycle_returns.Creator = employee_agreement_history.Creator<br>```<br><br>```<br>employee_paycycle_returns.PayRule = employee_agreement_history.SalaryPayRule<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>employee_paycycle_returns.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>employee_paycycle_returns.Creator = employee_agreements.Creator<br>```<br><br>```<br>employee_paycycle_returns.PayRule = employee_agreements.SalaryPayRule<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>employee_paycycle_returns.Creator = employee_appraisal.Creator<br>```<br><br>```<br>employee_paycycle_returns.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>employee_paycycle_returns.Creator = employee_availability.Employee<br>```<br><br>```<br>employee_paycycle_returns.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>employee_paycycle_returns.Creator = employee_contract_leave_rules.Creator<br>```<br><br>```<br>employee_paycycle_returns.PayRule = employee_contract_leave_rules.LoadingPayRule1<br>```<br><br>```<br>employee_paycycle_returns.PayRule = employee_contract_leave_rules.LoadingPayRule2<br>```<br><br>```<br>employee_paycycle_returns.PayRule = employee_contract_leave_rules.LoadingPayRule3<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>employee_paycycle_returns.Creator = employee_contracts.Creator<br>```<br><br>```<br>employee_paycycle_returns.PayRule = employee_contracts.BasePayRule<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>employee_paycycle_returns.Creator = employee_history.EmployeeId<br>```<br><br>```<br>employee_paycycle_returns.Creator = employee_history.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>employee_paycycle_returns.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>employee_paycycle_returns.Creator = employee_paycycles.Creator<br>```<br><br>```<br>employee_paycycle_returns.PaycycleId = employee_paycycles.Id<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>employee_paycycle_returns.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>employee_paycycle_returns.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>employee_paycycle_returns.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>employee_paycycle_returns.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>employee_paycycle_returns.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>employee_paycycle_returns.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>employee_paycycle_returns.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>employee_paycycle_returns.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>employee_paycycle_returns.Creator = journal.EmployeeId<br>```<br><br>```<br>employee_paycycle_returns.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>employee_paycycle_returns.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>employee_paycycle_returns.Creator = leave_accruals.Employee<br>```<br><br>```<br>employee_paycycle_returns.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>employee_paycycle_returns.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>employee_paycycle_returns.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>employee_paycycle_returns.Creator = leaves.Employee<br>```<br><br>```<br>employee_paycycle_returns.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>employee_paycycle_returns.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>employee_paycycle_returns.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>employee_paycycle_returns.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>employee_paycycle_returns.Creator = pay_rules.Creator<br>```<br><br>```<br>employee_paycycle_returns.PayRule = pay_rules.Id<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>employee_paycycle_returns.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>employee_paycycle_returns.Creator = roster_opens.Employee<br>```<br><br>```<br>employee_paycycle_returns.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>employee_paycycle_returns.Creator = roster_swaps.Employee<br>```<br><br>```<br>employee_paycycle_returns.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>employee_paycycle_returns.Creator = rosters.Employee<br>```<br><br>```<br>employee_paycycle_returns.Creator = rosters.ConfirmBy<br>```<br><br>```<br>employee_paycycle_returns.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>employee_paycycle_returns.Creator = sales_data.Employee<br>```<br><br>```<br>employee_paycycle_returns.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>employee_paycycle_returns.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>employee_paycycle_returns.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>employee_paycycle_returns.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>employee_paycycle_returns.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>employee_paycycle_returns.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>employee_paycycle_returns.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>employee_paycycle_returns.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>employee_paycycle_returns.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>employee_paycycle_returns.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>employee_paycycle_returns.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>employee_paycycle_returns.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>employee_paycycle_returns.Creator = teams.LeaderEmployee<br>```<br><br>```<br>employee_paycycle_returns.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>employee_paycycle_returns.Creator = timesheet_pay_returns.Creator<br>```<br><br>```<br>employee_paycycle_returns.PayRule = timesheet_pay_returns.PayRule<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>employee_paycycle_returns.Creator = timesheets.Employee<br>```<br><br>```<br>employee_paycycle_returns.Creator = timesheets.Creator<br>```<br><br>```<br>employee_paycycle_returns.Id = timesheets.PaycycleId<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>employee_paycycle_returns.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>employee_paycycle_returns.Creator = training_records.Employee<br>```<br><br>```<br>employee_paycycle_returns.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>employee_paycycle_returns.Creator = webhooks.Creator<br>``` |

employee\_paycycle\_returns table schema

| **Approved**<br><br><br>BOOLEAN |
| --- |
| **Cost**<br><br><br>NUMBER |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **Overridden**<br><br><br>BOOLEAN |
| **OverrideComment**<br><br><br>STRING |
| **PayRule**<br><br><br>INTEGER |
| **PaycycleId**<br><br><br>INTEGER |
| **Value**<br><br><br>NUMBER |

### employee\_paycycles

The `employee_paycycles` table contains info about employee paycycles.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/EmployeePaycycle) |

employee\_paycycles table foreign keys

| Join employee\_paycycles with | on |
| --- | --- |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>employee_paycycles.PeriodId = company_periods.Id<br>```<br><br>```<br>employee_paycycles.EmployeeId = company_periods.Creator<br>```<br><br>```<br>employee_paycycles.Creator = company_periods.Creator<br>``` |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>employee_paycycles.EmployeeId = addresses.Creator<br>```<br><br>```<br>employee_paycycles.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>employee_paycycles.EmployeeId = categories.Creator<br>```<br><br>```<br>employee_paycycles.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>employee_paycycles.EmployeeId = comments.Creator<br>```<br><br>```<br>employee_paycycles.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>employee_paycycles.EmployeeId = companies.Creator<br>```<br><br>```<br>employee_paycycles.Creator = companies.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>employee_paycycles.EmployeeId = contacts.Creator<br>```<br><br>```<br>employee_paycycles.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>employee_paycycles.EmployeeId = countries.Creator<br>```<br><br>```<br>employee_paycycles.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>employee_paycycles.EmployeeId = custom_app_data.Employee<br>```<br><br>```<br>employee_paycycles.Creator = custom_app_data.Employee<br>```<br><br>```<br>employee_paycycles.EmployeeId = custom_app_data.Creator<br>```<br><br>```<br>employee_paycycles.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>employee_paycycles.EmployeeId = custom_field_data.Creator<br>```<br><br>```<br>employee_paycycles.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>employee_paycycles.EmployeeId = custom_fields.Creator<br>```<br><br>```<br>employee_paycycles.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>employee_paycycles.EmployeeId = employee_agreement_history.Creator<br>```<br><br>```<br>employee_paycycles.Creator = employee_agreement_history.Creator<br>```<br><br>```<br>employee_paycycles.EmployeeAgreementHistoryId = employee_agreement_history.Id<br>```<br><br>```<br>employee_paycycles.EmployeeAgreementId = employee_agreement_history.AgreementId<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>employee_paycycles.EmployeeId = employee_agreements.EmployeeId<br>```<br><br>```<br>employee_paycycles.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>employee_paycycles.EmployeeId = employee_agreements.Creator<br>```<br><br>```<br>employee_paycycles.Creator = employee_agreements.Creator<br>```<br><br>```<br>employee_paycycles.EmployeeAgreementHistoryId = employee_agreements.HistoryId<br>```<br><br>```<br>employee_paycycles.EmployeeAgreementId = employee_agreements.Id<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>employee_paycycles.EmployeeId = employee_appraisal.Creator<br>```<br><br>```<br>employee_paycycles.Creator = employee_appraisal.Creator<br>```<br><br>```<br>employee_paycycles.EmployeeId = employee_appraisal.Employee<br>```<br><br>```<br>employee_paycycles.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>employee_paycycles.EmployeeId = employee_availability.Employee<br>```<br><br>```<br>employee_paycycles.Creator = employee_availability.Employee<br>```<br><br>```<br>employee_paycycles.EmployeeId = employee_availability.Creator<br>```<br><br>```<br>employee_paycycles.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>employee_paycycles.EmployeeId = employee_contract_leave_rules.Creator<br>```<br><br>```<br>employee_paycycles.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>employee_paycycles.EmployeeId = employee_contracts.Creator<br>```<br><br>```<br>employee_paycycles.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>employee_paycycles.EmployeeId = employee_history.EmployeeId<br>```<br><br>```<br>employee_paycycles.Creator = employee_history.EmployeeId<br>```<br><br>```<br>employee_paycycles.EmployeeId = employee_history.Creator<br>```<br><br>```<br>employee_paycycles.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>employee_paycycles.EmployeeId = employee_paycycle_returns.Creator<br>```<br><br>```<br>employee_paycycles.Creator = employee_paycycle_returns.Creator<br>```<br><br>```<br>employee_paycycles.Id = employee_paycycle_returns.PaycycleId<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>employee_paycycles.EmployeeId = employee_roles.Creator<br>```<br><br>```<br>employee_paycycles.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>employee_paycycles.EmployeeId = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>employee_paycycles.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>employee_paycycles.EmployeeId = employee_salary_opunit_costing.Creator<br>```<br><br>```<br>employee_paycycles.Creator = employee_salary_opunit_costing.Creator<br>```<br><br>```<br>employee_paycycles.EmployeeAgreementId = employee_salary_opunit_costing.EmployeeAgreement<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>employee_paycycles.EmployeeId = employee_workplaces.EmployeeId<br>```<br><br>```<br>employee_paycycles.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>employee_paycycles.EmployeeId = employee_workplaces.Creator<br>```<br><br>```<br>employee_paycycles.Creator = employee_workplaces.Creator<br>```<br><br>```<br>employee_paycycles.EmployeeAgreementId = employee_workplaces.Agreement1<br>```<br><br>```<br>employee_paycycles.EmployeeAgreementId = employee_workplaces.Agreement2<br>```<br><br>```<br>employee_paycycles.EmployeeAgreementId = employee_workplaces.Agreement3<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>employee_paycycles.EmployeeId = employment_conditions.Creator<br>```<br><br>```<br>employee_paycycles.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>employee_paycycles.EmployeeId = events.Creator<br>```<br><br>```<br>employee_paycycles.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>employee_paycycles.EmployeeId = geo.Creator<br>```<br><br>```<br>employee_paycycles.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>employee_paycycles.EmployeeId = journal.EmployeeId<br>```<br><br>```<br>employee_paycycles.Creator = journal.EmployeeId<br>```<br><br>```<br>employee_paycycles.EmployeeId = journal.Creator<br>```<br><br>```<br>employee_paycycles.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>employee_paycycles.EmployeeId = kiosks.Creator<br>```<br><br>```<br>employee_paycycles.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>employee_paycycles.EmployeeId = leave_accruals.Employee<br>```<br><br>```<br>employee_paycycles.Creator = leave_accruals.Employee<br>```<br><br>```<br>employee_paycycles.EmployeeId = leave_accruals.Creator<br>```<br><br>```<br>employee_paycycles.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>employee_paycycles.EmployeeId = leave_pay_lines.Creator<br>```<br><br>```<br>employee_paycycles.Creator = leave_pay_lines.Creator<br>```<br><br>```<br>employee_paycycles.EmployeeAgreementId = leave_pay_lines.EmployeeAgreement<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>employee_paycycles.EmployeeId = leave_rules.Creator<br>```<br><br>```<br>employee_paycycles.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>employee_paycycles.EmployeeId = leaves.Employee<br>```<br><br>```<br>employee_paycycles.Creator = leaves.Employee<br>```<br><br>```<br>employee_paycycles.EmployeeId = leaves.Creator<br>```<br><br>```<br>employee_paycycles.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>employee_paycycles.EmployeeId = memos.Creator<br>```<br><br>```<br>employee_paycycles.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>employee_paycycles.EmployeeId = operational_units.Creator<br>```<br><br>```<br>employee_paycycles.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>employee_paycycles.EmployeeId = pay_periods.Creator<br>```<br><br>```<br>employee_paycycles.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>employee_paycycles.EmployeeId = pay_rules.Creator<br>```<br><br>```<br>employee_paycycles.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>employee_paycycles.EmployeeId = public_holidays.Creator<br>```<br><br>```<br>employee_paycycles.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>employee_paycycles.EmployeeId = roster_opens.Employee<br>```<br><br>```<br>employee_paycycles.Creator = roster_opens.Employee<br>```<br><br>```<br>employee_paycycles.EmployeeId = roster_opens.Creator<br>```<br><br>```<br>employee_paycycles.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>employee_paycycles.EmployeeId = roster_swaps.Employee<br>```<br><br>```<br>employee_paycycles.Creator = roster_swaps.Employee<br>```<br><br>```<br>employee_paycycles.EmployeeId = roster_swaps.Creator<br>```<br><br>```<br>employee_paycycles.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>employee_paycycles.EmployeeId = rosters.Employee<br>```<br><br>```<br>employee_paycycles.Creator = rosters.Employee<br>```<br><br>```<br>employee_paycycles.EmployeeId = rosters.ConfirmBy<br>```<br><br>```<br>employee_paycycles.Creator = rosters.ConfirmBy<br>```<br><br>```<br>employee_paycycles.EmployeeId = rosters.Creator<br>```<br><br>```<br>employee_paycycles.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>employee_paycycles.EmployeeId = sales_data.Employee<br>```<br><br>```<br>employee_paycycles.Creator = sales_data.Employee<br>```<br><br>```<br>employee_paycycles.EmployeeId = sales_data.Creator<br>```<br><br>```<br>employee_paycycles.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>employee_paycycles.EmployeeId = schedules.Creator<br>```<br><br>```<br>employee_paycycles.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>employee_paycycles.EmployeeId = sms_logs.Creator<br>```<br><br>```<br>employee_paycycles.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>employee_paycycles.EmployeeId = states.Creator<br>```<br><br>```<br>employee_paycycles.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>employee_paycycles.EmployeeId = stress_profiles.Creator<br>```<br><br>```<br>employee_paycycles.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>employee_paycycles.EmployeeId = system_usage_balances.Creator<br>```<br><br>```<br>employee_paycycles.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>employee_paycycles.EmployeeId = system_usage_tracking.Creator<br>```<br><br>```<br>employee_paycycles.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>employee_paycycles.EmployeeId = task_group_setups.Creator<br>```<br><br>```<br>employee_paycycles.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>employee_paycycles.EmployeeId = task_groups.Creator<br>```<br><br>```<br>employee_paycycles.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>employee_paycycles.EmployeeId = task_opunit_configs.Creator<br>```<br><br>```<br>employee_paycycles.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>employee_paycycles.EmployeeId = task_setups.Creator<br>```<br><br>```<br>employee_paycycles.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>employee_paycycles.EmployeeId = tasks.Creator<br>```<br><br>```<br>employee_paycycles.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>employee_paycycles.EmployeeId = teams.LeaderEmployee<br>```<br><br>```<br>employee_paycycles.Creator = teams.LeaderEmployee<br>```<br><br>```<br>employee_paycycles.EmployeeId = teams.Creator<br>```<br><br>```<br>employee_paycycles.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>employee_paycycles.EmployeeId = timesheet_pay_returns.Creator<br>```<br><br>```<br>employee_paycycles.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>employee_paycycles.EmployeeId = timesheets.Employee<br>```<br><br>```<br>employee_paycycles.Creator = timesheets.Employee<br>```<br><br>```<br>employee_paycycles.EmployeeId = timesheets.Creator<br>```<br><br>```<br>employee_paycycles.Creator = timesheets.Creator<br>```<br><br>```<br>employee_paycycles.EmployeeAgreementId = timesheets.EmployeeAgreement<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>employee_paycycles.EmployeeId = training_modules.Creator<br>```<br><br>```<br>employee_paycycles.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>employee_paycycles.EmployeeId = training_records.Employee<br>```<br><br>```<br>employee_paycycles.Creator = training_records.Employee<br>```<br><br>```<br>employee_paycycles.EmployeeId = training_records.Creator<br>```<br><br>```<br>employee_paycycles.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>employee_paycycles.EmployeeId = webhooks.Creator<br>```<br><br>```<br>employee_paycycles.Creator = webhooks.Creator<br>``` |

employee\_paycycles table schema

| **CostTotal**<br><br><br>NUMBER |
| --- |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **EmployeeAgreementHistoryId**<br><br><br>INTEGER |
| **EmployeeAgreementId**<br><br><br>INTEGER |
| **EmployeeId**<br><br><br>INTEGER |
| **ExportId**<br><br><br>INTEGER |
| **Exported**<br><br><br>BOOLEAN |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **Paid**<br><br><br>BOOLEAN |
| **PaycycleRules**<br><br><br>INTEGER |
| **PaycycleRulesApproved**<br><br><br>INTEGER |
| **PeriodId**<br><br><br>INTEGER |
| **RecommendedLoadings**<br><br><br>BOOLEAN |
| **TimeTotal**<br><br><br>NUMBER |
| **Timesheets**<br><br><br>INTEGER |
| **TimesheetsPayApproved**<br><br><br>STRING |
| **TimesheetsTimeApproved**<br><br><br>INTEGER |

### employee\_roles

The `employee_roles` table contains info about employee roles.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/EmployeeRole) |

employee\_roles table foreign keys

| Join employee\_roles with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>employee_roles.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>employee_roles.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>employee_roles.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>employee_roles.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>employee_roles.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>employee_roles.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>employee_roles.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>employee_roles.Creator = custom_app_data.Employee<br>```<br><br>```<br>employee_roles.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>employee_roles.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>employee_roles.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>employee_roles.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>employee_roles.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>employee_roles.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>employee_roles.Creator = employee_appraisal.Creator<br>```<br><br>```<br>employee_roles.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>employee_roles.Creator = employee_availability.Employee<br>```<br><br>```<br>employee_roles.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>employee_roles.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>employee_roles.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>employee_roles.Creator = employee_history.EmployeeId<br>```<br><br>```<br>employee_roles.Creator = employee_history.Creator<br>```<br><br>```<br>employee_roles.Id = employee_history.Role<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>employee_roles.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>employee_roles.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>employee_roles.Creator = employee_paycycles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>employee_roles.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>employee_roles.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>employee_roles.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>employee_roles.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>employee_roles.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>employee_roles.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>employee_roles.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>employee_roles.Creator = journal.EmployeeId<br>```<br><br>```<br>employee_roles.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>employee_roles.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>employee_roles.Creator = leave_accruals.Employee<br>```<br><br>```<br>employee_roles.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>employee_roles.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>employee_roles.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>employee_roles.Creator = leaves.Employee<br>```<br><br>```<br>employee_roles.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>employee_roles.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>employee_roles.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>employee_roles.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>employee_roles.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>employee_roles.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>employee_roles.Creator = roster_opens.Employee<br>```<br><br>```<br>employee_roles.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>employee_roles.Creator = roster_swaps.Employee<br>```<br><br>```<br>employee_roles.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>employee_roles.Creator = rosters.Employee<br>```<br><br>```<br>employee_roles.Creator = rosters.ConfirmBy<br>```<br><br>```<br>employee_roles.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>employee_roles.Creator = sales_data.Employee<br>```<br><br>```<br>employee_roles.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>employee_roles.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>employee_roles.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>employee_roles.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>employee_roles.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>employee_roles.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>employee_roles.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>employee_roles.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>employee_roles.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>employee_roles.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>employee_roles.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>employee_roles.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>employee_roles.Creator = teams.LeaderEmployee<br>```<br><br>```<br>employee_roles.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>employee_roles.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>employee_roles.Creator = timesheets.Employee<br>```<br><br>```<br>employee_roles.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>employee_roles.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>employee_roles.Creator = training_records.Employee<br>```<br><br>```<br>employee_roles.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>employee_roles.Creator = webhooks.Creator<br>``` |

employee\_roles table schema

| **Created**<br><br><br>DATE-TIME |
| --- |
| **Creator**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **Permissions**<br><br><br>STRING |
| **Ranking**<br><br><br>INTEGER |
| **ReportTo**<br><br><br>INTEGER |
| **Require2fa**<br><br><br>BOOLEAN |
| **Role**<br><br><br>STRING |

### employee\_salary\_opunit\_costing

The `employee_salary_opunit_costing` table contains info about employee salary operational unit costs.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/EmployeeSalaryOpunitCosting) |

employee\_salary\_opunit\_costing table foreign keys

| Join employee\_salary\_opunit\_costing with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>employee_salary_opunit_costing.Employee = addresses.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>employee_salary_opunit_costing.Employee = categories.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>employee_salary_opunit_costing.Employee = comments.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>employee_salary_opunit_costing.Employee = companies.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>employee_salary_opunit_costing.Employee = company_periods.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>employee_salary_opunit_costing.Employee = contacts.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>employee_salary_opunit_costing.Employee = countries.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>employee_salary_opunit_costing.Employee = custom_app_data.Employee<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = custom_app_data.Employee<br>```<br><br>```<br>employee_salary_opunit_costing.Employee = custom_app_data.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>employee_salary_opunit_costing.Employee = custom_field_data.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>employee_salary_opunit_costing.Employee = custom_fields.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>employee_salary_opunit_costing.Employee = employee_agreement_history.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = employee_agreement_history.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.EmployeeAgreement = employee_agreement_history.AgreementId<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>employee_salary_opunit_costing.Employee = employee_agreements.EmployeeId<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>employee_salary_opunit_costing.Employee = employee_agreements.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = employee_agreements.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.EmployeeAgreement = employee_agreements.Id<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>employee_salary_opunit_costing.Employee = employee_appraisal.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = employee_appraisal.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Employee = employee_appraisal.Employee<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>employee_salary_opunit_costing.Employee = employee_availability.Employee<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = employee_availability.Employee<br>```<br><br>```<br>employee_salary_opunit_costing.Employee = employee_availability.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>employee_salary_opunit_costing.Employee = employee_contract_leave_rules.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>employee_salary_opunit_costing.Employee = employee_contracts.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>employee_salary_opunit_costing.Employee = employee_history.EmployeeId<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = employee_history.EmployeeId<br>```<br><br>```<br>employee_salary_opunit_costing.Employee = employee_history.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>employee_salary_opunit_costing.Employee = employee_paycycle_returns.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>employee_salary_opunit_costing.Employee = employee_paycycles.EmployeeId<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>employee_salary_opunit_costing.Employee = employee_paycycles.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = employee_paycycles.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.EmployeeAgreement = employee_paycycles.EmployeeAgreementId<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>employee_salary_opunit_costing.Employee = employee_roles.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = employee_roles.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>employee_salary_opunit_costing.Employee = employee_workplaces.EmployeeId<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>employee_salary_opunit_costing.Employee = employee_workplaces.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = employee_workplaces.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.EmployeeAgreement = employee_workplaces.Agreement1<br>```<br><br>```<br>employee_salary_opunit_costing.EmployeeAgreement = employee_workplaces.Agreement2<br>```<br><br>```<br>employee_salary_opunit_costing.EmployeeAgreement = employee_workplaces.Agreement3<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>employee_salary_opunit_costing.Employee = employment_conditions.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>employee_salary_opunit_costing.Employee = events.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>employee_salary_opunit_costing.Employee = geo.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>employee_salary_opunit_costing.Employee = journal.EmployeeId<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = journal.EmployeeId<br>```<br><br>```<br>employee_salary_opunit_costing.Employee = journal.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>employee_salary_opunit_costing.Employee = kiosks.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>employee_salary_opunit_costing.Employee = leave_accruals.Employee<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = leave_accruals.Employee<br>```<br><br>```<br>employee_salary_opunit_costing.Employee = leave_accruals.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>employee_salary_opunit_costing.Employee = leave_pay_lines.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = leave_pay_lines.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.EmployeeAgreement = leave_pay_lines.EmployeeAgreement<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>employee_salary_opunit_costing.Employee = leave_rules.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>employee_salary_opunit_costing.Employee = leaves.Employee<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = leaves.Employee<br>```<br><br>```<br>employee_salary_opunit_costing.Employee = leaves.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>employee_salary_opunit_costing.Employee = memos.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>employee_salary_opunit_costing.Employee = operational_units.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = operational_units.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.OpUnit = operational_units.Id<br>```<br><br>```<br>employee_salary_opunit_costing.OpUnit = operational_units.ParentOperationalUnit<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>employee_salary_opunit_costing.Employee = pay_periods.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>employee_salary_opunit_costing.Employee = pay_rules.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>employee_salary_opunit_costing.Employee = public_holidays.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>employee_salary_opunit_costing.Employee = roster_opens.Employee<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = roster_opens.Employee<br>```<br><br>```<br>employee_salary_opunit_costing.Employee = roster_opens.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>employee_salary_opunit_costing.Employee = roster_swaps.Employee<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = roster_swaps.Employee<br>```<br><br>```<br>employee_salary_opunit_costing.Employee = roster_swaps.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>employee_salary_opunit_costing.Employee = rosters.Employee<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = rosters.Employee<br>```<br><br>```<br>employee_salary_opunit_costing.Employee = rosters.ConfirmBy<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = rosters.ConfirmBy<br>```<br><br>```<br>employee_salary_opunit_costing.Employee = rosters.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = rosters.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.OpUnit = rosters.OperationalUnit<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>employee_salary_opunit_costing.Employee = sales_data.Employee<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = sales_data.Employee<br>```<br><br>```<br>employee_salary_opunit_costing.Employee = sales_data.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = sales_data.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.OpUnit = sales_data.OperationalUnit<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>employee_salary_opunit_costing.Employee = schedules.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>employee_salary_opunit_costing.Employee = sms_logs.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>employee_salary_opunit_costing.Employee = states.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>employee_salary_opunit_costing.Employee = stress_profiles.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>employee_salary_opunit_costing.Employee = system_usage_balances.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>employee_salary_opunit_costing.Employee = system_usage_tracking.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>employee_salary_opunit_costing.Employee = task_group_setups.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>employee_salary_opunit_costing.Employee = task_groups.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = task_groups.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.OpUnit = task_groups.OpUnitId<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>employee_salary_opunit_costing.Employee = task_opunit_configs.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = task_opunit_configs.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.OpUnit = task_opunit_configs.OpUnitId<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>employee_salary_opunit_costing.Employee = task_setups.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>employee_salary_opunit_costing.Employee = tasks.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = tasks.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.OpUnit = tasks.OpUnitId<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>employee_salary_opunit_costing.Employee = teams.LeaderEmployee<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = teams.LeaderEmployee<br>```<br><br>```<br>employee_salary_opunit_costing.Employee = teams.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>employee_salary_opunit_costing.Employee = timesheet_pay_returns.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>employee_salary_opunit_costing.Employee = timesheets.Employee<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = timesheets.Employee<br>```<br><br>```<br>employee_salary_opunit_costing.Employee = timesheets.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = timesheets.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.EmployeeAgreement = timesheets.EmployeeAgreement<br>```<br><br>```<br>employee_salary_opunit_costing.OpUnit = timesheets.OperationalUnit<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>employee_salary_opunit_costing.Employee = training_modules.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>employee_salary_opunit_costing.Employee = training_records.Employee<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = training_records.Employee<br>```<br><br>```<br>employee_salary_opunit_costing.Employee = training_records.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>employee_salary_opunit_costing.Employee = webhooks.Creator<br>```<br><br>```<br>employee_salary_opunit_costing.Creator = webhooks.Creator<br>``` |

employee\_salary\_opunit\_costing table schema

| **AgreementHistory**<br><br><br>INTEGER |
| --- |
| **Cost**<br><br><br>NUMBER |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Date**<br><br><br>DATE |
| **DayTimestamp**<br><br><br>STRING |
| **Employee**<br><br><br>INTEGER |
| **EmployeeAgreement**<br><br><br>INTEGER |
| **Final**<br><br><br>BOOLEAN |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **OpUnit**<br><br><br>INTEGER |

### employee\_workplaces

The `employee_workplaces` table contains info about employee workplaces.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/EmployeeWorkplace) |

employee\_workplaces table foreign keys

| Join employee\_workplaces with | on |
| --- | --- |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>employee_workplaces.Company = companies.Id<br>```<br><br>```<br>employee_workplaces.Company = companies.ParentCompany<br>```<br><br>```<br>employee_workplaces.EmployeeId = companies.Creator<br>```<br><br>```<br>employee_workplaces.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>employee_workplaces.Company = company_periods.Company<br>```<br><br>```<br>employee_workplaces.EmployeeId = company_periods.Creator<br>```<br><br>```<br>employee_workplaces.Creator = company_periods.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>employee_workplaces.Company = employee_history.Company<br>```<br><br>```<br>employee_workplaces.EmployeeId = employee_history.EmployeeId<br>```<br><br>```<br>employee_workplaces.Creator = employee_history.EmployeeId<br>```<br><br>```<br>employee_workplaces.EmployeeId = employee_history.Creator<br>```<br><br>```<br>employee_workplaces.Creator = employee_history.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>employee_workplaces.Company = kiosks.Company<br>```<br><br>```<br>employee_workplaces.EmployeeId = kiosks.Creator<br>```<br><br>```<br>employee_workplaces.Creator = kiosks.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>employee_workplaces.Company = leaves.Company<br>```<br><br>```<br>employee_workplaces.EmployeeId = leaves.Employee<br>```<br><br>```<br>employee_workplaces.Creator = leaves.Employee<br>```<br><br>```<br>employee_workplaces.EmployeeId = leaves.Creator<br>```<br><br>```<br>employee_workplaces.Creator = leaves.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>employee_workplaces.Company = system_usage_tracking.CompanyId<br>```<br><br>```<br>employee_workplaces.EmployeeId = system_usage_tracking.Creator<br>```<br><br>```<br>employee_workplaces.Creator = system_usage_tracking.Creator<br>``` |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>employee_workplaces.EmployeeId = addresses.Creator<br>```<br><br>```<br>employee_workplaces.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>employee_workplaces.EmployeeId = categories.Creator<br>```<br><br>```<br>employee_workplaces.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>employee_workplaces.EmployeeId = comments.Creator<br>```<br><br>```<br>employee_workplaces.Creator = comments.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>employee_workplaces.EmployeeId = contacts.Creator<br>```<br><br>```<br>employee_workplaces.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>employee_workplaces.EmployeeId = countries.Creator<br>```<br><br>```<br>employee_workplaces.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>employee_workplaces.EmployeeId = custom_app_data.Employee<br>```<br><br>```<br>employee_workplaces.Creator = custom_app_data.Employee<br>```<br><br>```<br>employee_workplaces.EmployeeId = custom_app_data.Creator<br>```<br><br>```<br>employee_workplaces.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>employee_workplaces.EmployeeId = custom_field_data.Creator<br>```<br><br>```<br>employee_workplaces.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>employee_workplaces.EmployeeId = custom_fields.Creator<br>```<br><br>```<br>employee_workplaces.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>employee_workplaces.EmployeeId = employee_agreement_history.Creator<br>```<br><br>```<br>employee_workplaces.Creator = employee_agreement_history.Creator<br>```<br><br>```<br>employee_workplaces.Agreement1 = employee_agreement_history.AgreementId<br>```<br><br>```<br>employee_workplaces.Agreement2 = employee_agreement_history.AgreementId<br>```<br><br>```<br>employee_workplaces.Agreement3 = employee_agreement_history.AgreementId<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>employee_workplaces.EmployeeId = employee_agreements.EmployeeId<br>```<br><br>```<br>employee_workplaces.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>employee_workplaces.EmployeeId = employee_agreements.Creator<br>```<br><br>```<br>employee_workplaces.Creator = employee_agreements.Creator<br>```<br><br>```<br>employee_workplaces.Agreement1 = employee_agreements.Id<br>```<br><br>```<br>employee_workplaces.Agreement2 = employee_agreements.Id<br>```<br><br>```<br>employee_workplaces.Agreement3 = employee_agreements.Id<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>employee_workplaces.EmployeeId = employee_appraisal.Creator<br>```<br><br>```<br>employee_workplaces.Creator = employee_appraisal.Creator<br>```<br><br>```<br>employee_workplaces.EmployeeId = employee_appraisal.Employee<br>```<br><br>```<br>employee_workplaces.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>employee_workplaces.EmployeeId = employee_availability.Employee<br>```<br><br>```<br>employee_workplaces.Creator = employee_availability.Employee<br>```<br><br>```<br>employee_workplaces.EmployeeId = employee_availability.Creator<br>```<br><br>```<br>employee_workplaces.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>employee_workplaces.EmployeeId = employee_contract_leave_rules.Creator<br>```<br><br>```<br>employee_workplaces.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>employee_workplaces.EmployeeId = employee_contracts.Creator<br>```<br><br>```<br>employee_workplaces.Creator = employee_contracts.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>employee_workplaces.EmployeeId = employee_paycycle_returns.Creator<br>```<br><br>```<br>employee_workplaces.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>employee_workplaces.EmployeeId = employee_paycycles.EmployeeId<br>```<br><br>```<br>employee_workplaces.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>employee_workplaces.EmployeeId = employee_paycycles.Creator<br>```<br><br>```<br>employee_workplaces.Creator = employee_paycycles.Creator<br>```<br><br>```<br>employee_workplaces.Agreement1 = employee_paycycles.EmployeeAgreementId<br>```<br><br>```<br>employee_workplaces.Agreement2 = employee_paycycles.EmployeeAgreementId<br>```<br><br>```<br>employee_workplaces.Agreement3 = employee_paycycles.EmployeeAgreementId<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>employee_workplaces.EmployeeId = employee_roles.Creator<br>```<br><br>```<br>employee_workplaces.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>employee_workplaces.EmployeeId = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>employee_workplaces.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>employee_workplaces.EmployeeId = employee_salary_opunit_costing.Creator<br>```<br><br>```<br>employee_workplaces.Creator = employee_salary_opunit_costing.Creator<br>```<br><br>```<br>employee_workplaces.Agreement1 = employee_salary_opunit_costing.EmployeeAgreement<br>```<br><br>```<br>employee_workplaces.Agreement2 = employee_salary_opunit_costing.EmployeeAgreement<br>```<br><br>```<br>employee_workplaces.Agreement3 = employee_salary_opunit_costing.EmployeeAgreement<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>employee_workplaces.EmployeeId = employment_conditions.Creator<br>```<br><br>```<br>employee_workplaces.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>employee_workplaces.EmployeeId = events.Creator<br>```<br><br>```<br>employee_workplaces.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>employee_workplaces.EmployeeId = geo.Creator<br>```<br><br>```<br>employee_workplaces.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>employee_workplaces.EmployeeId = journal.EmployeeId<br>```<br><br>```<br>employee_workplaces.Creator = journal.EmployeeId<br>```<br><br>```<br>employee_workplaces.EmployeeId = journal.Creator<br>```<br><br>```<br>employee_workplaces.Creator = journal.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>employee_workplaces.EmployeeId = leave_accruals.Employee<br>```<br><br>```<br>employee_workplaces.Creator = leave_accruals.Employee<br>```<br><br>```<br>employee_workplaces.EmployeeId = leave_accruals.Creator<br>```<br><br>```<br>employee_workplaces.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>employee_workplaces.EmployeeId = leave_pay_lines.Creator<br>```<br><br>```<br>employee_workplaces.Creator = leave_pay_lines.Creator<br>```<br><br>```<br>employee_workplaces.Agreement1 = leave_pay_lines.EmployeeAgreement<br>```<br><br>```<br>employee_workplaces.Agreement2 = leave_pay_lines.EmployeeAgreement<br>```<br><br>```<br>employee_workplaces.Agreement3 = leave_pay_lines.EmployeeAgreement<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>employee_workplaces.EmployeeId = leave_rules.Creator<br>```<br><br>```<br>employee_workplaces.Creator = leave_rules.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>employee_workplaces.EmployeeId = memos.Creator<br>```<br><br>```<br>employee_workplaces.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>employee_workplaces.EmployeeId = operational_units.Creator<br>```<br><br>```<br>employee_workplaces.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>employee_workplaces.EmployeeId = pay_periods.Creator<br>```<br><br>```<br>employee_workplaces.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>employee_workplaces.EmployeeId = pay_rules.Creator<br>```<br><br>```<br>employee_workplaces.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>employee_workplaces.EmployeeId = public_holidays.Creator<br>```<br><br>```<br>employee_workplaces.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>employee_workplaces.EmployeeId = roster_opens.Employee<br>```<br><br>```<br>employee_workplaces.Creator = roster_opens.Employee<br>```<br><br>```<br>employee_workplaces.EmployeeId = roster_opens.Creator<br>```<br><br>```<br>employee_workplaces.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>employee_workplaces.EmployeeId = roster_swaps.Employee<br>```<br><br>```<br>employee_workplaces.Creator = roster_swaps.Employee<br>```<br><br>```<br>employee_workplaces.EmployeeId = roster_swaps.Creator<br>```<br><br>```<br>employee_workplaces.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>employee_workplaces.EmployeeId = rosters.Employee<br>```<br><br>```<br>employee_workplaces.Creator = rosters.Employee<br>```<br><br>```<br>employee_workplaces.EmployeeId = rosters.ConfirmBy<br>```<br><br>```<br>employee_workplaces.Creator = rosters.ConfirmBy<br>```<br><br>```<br>employee_workplaces.EmployeeId = rosters.Creator<br>```<br><br>```<br>employee_workplaces.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>employee_workplaces.EmployeeId = sales_data.Employee<br>```<br><br>```<br>employee_workplaces.Creator = sales_data.Employee<br>```<br><br>```<br>employee_workplaces.EmployeeId = sales_data.Creator<br>```<br><br>```<br>employee_workplaces.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>employee_workplaces.EmployeeId = schedules.Creator<br>```<br><br>```<br>employee_workplaces.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>employee_workplaces.EmployeeId = sms_logs.Creator<br>```<br><br>```<br>employee_workplaces.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>employee_workplaces.EmployeeId = states.Creator<br>```<br><br>```<br>employee_workplaces.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>employee_workplaces.EmployeeId = stress_profiles.Creator<br>```<br><br>```<br>employee_workplaces.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>employee_workplaces.EmployeeId = system_usage_balances.Creator<br>```<br><br>```<br>employee_workplaces.Creator = system_usage_balances.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>employee_workplaces.EmployeeId = task_group_setups.Creator<br>```<br><br>```<br>employee_workplaces.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>employee_workplaces.EmployeeId = task_groups.Creator<br>```<br><br>```<br>employee_workplaces.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>employee_workplaces.EmployeeId = task_opunit_configs.Creator<br>```<br><br>```<br>employee_workplaces.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>employee_workplaces.EmployeeId = task_setups.Creator<br>```<br><br>```<br>employee_workplaces.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>employee_workplaces.EmployeeId = tasks.Creator<br>```<br><br>```<br>employee_workplaces.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>employee_workplaces.EmployeeId = teams.LeaderEmployee<br>```<br><br>```<br>employee_workplaces.Creator = teams.LeaderEmployee<br>```<br><br>```<br>employee_workplaces.EmployeeId = teams.Creator<br>```<br><br>```<br>employee_workplaces.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>employee_workplaces.EmployeeId = timesheet_pay_returns.Creator<br>```<br><br>```<br>employee_workplaces.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>employee_workplaces.EmployeeId = timesheets.Employee<br>```<br><br>```<br>employee_workplaces.Creator = timesheets.Employee<br>```<br><br>```<br>employee_workplaces.EmployeeId = timesheets.Creator<br>```<br><br>```<br>employee_workplaces.Creator = timesheets.Creator<br>```<br><br>```<br>employee_workplaces.Agreement1 = timesheets.EmployeeAgreement<br>```<br><br>```<br>employee_workplaces.Agreement2 = timesheets.EmployeeAgreement<br>```<br><br>```<br>employee_workplaces.Agreement3 = timesheets.EmployeeAgreement<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>employee_workplaces.EmployeeId = training_modules.Creator<br>```<br><br>```<br>employee_workplaces.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>employee_workplaces.EmployeeId = training_records.Employee<br>```<br><br>```<br>employee_workplaces.Creator = training_records.Employee<br>```<br><br>```<br>employee_workplaces.EmployeeId = training_records.Creator<br>```<br><br>```<br>employee_workplaces.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>employee_workplaces.EmployeeId = webhooks.Creator<br>```<br><br>```<br>employee_workplaces.Creator = webhooks.Creator<br>``` |

employee\_workplaces table schema

| **Agreement1**<br><br><br>INTEGER |
| --- |
| **Agreement2**<br><br><br>INTEGER |
| **Agreement3**<br><br><br>INTEGER |
| **Company**<br><br><br>INTEGER |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **EmployeeId**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **SortOrder**<br><br><br>INTEGER |

### employment\_conditions

The `employment_conditions` table contains info about employment conditions.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/EmploymentCondition) |

employment\_conditions table foreign keys

| Join employment\_conditions with | on |
| --- | --- |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>employment_conditions.EmploymentCategory = categories.Id<br>```<br><br>```<br>employment_conditions.Creator = categories.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>employment_conditions.EmploymentCategory = employee_contracts.EmploymentCategory<br>```<br><br>```<br>employment_conditions.Creator = employee_contracts.Creator<br>```<br><br>```<br>employment_conditions.Id = employee_contracts.EmploymentCondition<br>``` |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>employment_conditions.Creator = addresses.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>employment_conditions.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>employment_conditions.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>employment_conditions.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>employment_conditions.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>employment_conditions.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>employment_conditions.Creator = custom_app_data.Employee<br>```<br><br>```<br>employment_conditions.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>employment_conditions.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>employment_conditions.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>employment_conditions.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>employment_conditions.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>employment_conditions.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>employment_conditions.Creator = employee_appraisal.Creator<br>```<br><br>```<br>employment_conditions.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>employment_conditions.Creator = employee_availability.Employee<br>```<br><br>```<br>employment_conditions.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>employment_conditions.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>employment_conditions.Creator = employee_history.EmployeeId<br>```<br><br>```<br>employment_conditions.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>employment_conditions.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>employment_conditions.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>employment_conditions.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>employment_conditions.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>employment_conditions.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>employment_conditions.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>employment_conditions.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>employment_conditions.Creator = employee_workplaces.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>employment_conditions.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>employment_conditions.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>employment_conditions.Creator = journal.EmployeeId<br>```<br><br>```<br>employment_conditions.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>employment_conditions.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>employment_conditions.Creator = leave_accruals.Employee<br>```<br><br>```<br>employment_conditions.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>employment_conditions.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>employment_conditions.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>employment_conditions.Creator = leaves.Employee<br>```<br><br>```<br>employment_conditions.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>employment_conditions.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>employment_conditions.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>employment_conditions.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>employment_conditions.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>employment_conditions.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>employment_conditions.Creator = roster_opens.Employee<br>```<br><br>```<br>employment_conditions.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>employment_conditions.Creator = roster_swaps.Employee<br>```<br><br>```<br>employment_conditions.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>employment_conditions.Creator = rosters.Employee<br>```<br><br>```<br>employment_conditions.Creator = rosters.ConfirmBy<br>```<br><br>```<br>employment_conditions.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>employment_conditions.Creator = sales_data.Employee<br>```<br><br>```<br>employment_conditions.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>employment_conditions.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>employment_conditions.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>employment_conditions.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>employment_conditions.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>employment_conditions.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>employment_conditions.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>employment_conditions.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>employment_conditions.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>employment_conditions.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>employment_conditions.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>employment_conditions.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>employment_conditions.Creator = teams.LeaderEmployee<br>```<br><br>```<br>employment_conditions.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>employment_conditions.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>employment_conditions.Creator = timesheets.Employee<br>```<br><br>```<br>employment_conditions.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>employment_conditions.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>employment_conditions.Creator = training_records.Employee<br>```<br><br>```<br>employment_conditions.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>employment_conditions.Creator = webhooks.Creator<br>``` |

employment\_conditions table schema

| **AvgHoursPerDay**<br><br><br>NUMBER |
| --- |
| **AwardLevel**<br><br><br>STRING |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Description**<br><br><br>STRING |
| **EmploymentBasis**<br><br><br>INTEGER |
| **EmploymentCategory**<br><br><br>INTEGER |
| **EmploymentPeriod**<br><br><br>INTEGER |
| **EmploymentStatus**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **MinHoursForLeave**<br><br><br>NUMBER |
| **MinHoursPerDay**<br><br><br>NUMBER |
| **Modified**<br><br><br>DATE-TIME |
| **Name**<br><br><br>STRING |
| **ProbationaryPeriod**<br><br><br>INTEGER |
| **UsualFinishTime**<br><br><br>STRING |
| **UsualMealbreak**<br><br><br>STRING |
| **UsualStartTime**<br><br><br>STRING |
| **WorkingDaysPerPeriod**<br><br><br>NUMBER |

### events

The `events` table contains info about events.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/Event) |

events table foreign keys

| Join events with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>events.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>events.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>events.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>events.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>events.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>events.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>events.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>events.Creator = custom_app_data.Employee<br>```<br><br>```<br>events.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>events.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>events.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>events.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>events.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>events.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>events.Creator = employee_appraisal.Creator<br>```<br><br>```<br>events.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>events.Creator = employee_availability.Employee<br>```<br><br>```<br>events.Creator = employee_availability.Creator<br>```<br><br>```<br>events.Schedule = employee_availability.Schedule<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>events.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>events.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>events.Creator = employee_history.EmployeeId<br>```<br><br>```<br>events.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>events.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>events.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>events.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>events.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>events.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>events.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>events.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>events.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>events.Creator = employment_conditions.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>events.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>events.Creator = journal.EmployeeId<br>```<br><br>```<br>events.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>events.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>events.Creator = leave_accruals.Employee<br>```<br><br>```<br>events.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>events.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>events.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>events.Creator = leaves.Employee<br>```<br><br>```<br>events.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>events.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>events.Creator = operational_units.Creator<br>```<br><br>```<br>events.Schedule = operational_units.RosterActiveHoursSchedule<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>events.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>events.Creator = pay_rules.Creator<br>```<br><br>```<br>events.Schedule = pay_rules.Schedule<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>events.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>events.Creator = roster_opens.Employee<br>```<br><br>```<br>events.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>events.Creator = roster_swaps.Employee<br>```<br><br>```<br>events.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>events.Creator = rosters.Employee<br>```<br><br>```<br>events.Creator = rosters.ConfirmBy<br>```<br><br>```<br>events.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>events.Creator = sales_data.Employee<br>```<br><br>```<br>events.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>events.Creator = schedules.Creator<br>```<br><br>```<br>events.Schedule = schedules.Id<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>events.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>events.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>events.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>events.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>events.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>events.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>events.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>events.Creator = task_opunit_configs.Creator<br>```<br><br>```<br>events.Schedule = task_opunit_configs.Schedule<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>events.Creator = task_setups.Creator<br>```<br><br>```<br>events.Schedule = task_setups.Schedule<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>events.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>events.Creator = teams.LeaderEmployee<br>```<br><br>```<br>events.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>events.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>events.Creator = timesheets.Employee<br>```<br><br>```<br>events.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>events.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>events.Creator = training_records.Employee<br>```<br><br>```<br>events.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>events.Creator = webhooks.Creator<br>``` |

events table schema

| **AddToBudget**<br><br><br>NUMBER |
| --- |
| **BlockTimeOff**<br><br><br>BOOLEAN |
| **Colour**<br><br><br>STRING |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **Schedule**<br><br><br>INTEGER |
| **ShowOnRoster**<br><br><br>BOOLEAN |
| **Title**<br><br><br>STRING |

### geo

The `geo` table contains info about geographic locations.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/Geo) |

geo table foreign keys

| Join geo with | on |
| --- | --- |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>geo.Country = countries.Id<br>```<br><br>```<br>geo.Creator = countries.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>geo.Country = states.Country<br>```<br><br>```<br>geo.Creator = states.Creator<br>``` |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>geo.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>geo.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>geo.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>geo.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>geo.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>geo.Creator = contacts.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>geo.Creator = custom_app_data.Employee<br>```<br><br>```<br>geo.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>geo.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>geo.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>geo.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>geo.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>geo.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>geo.Creator = employee_appraisal.Creator<br>```<br><br>```<br>geo.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>geo.Creator = employee_availability.Employee<br>```<br><br>```<br>geo.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>geo.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>geo.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>geo.Creator = employee_history.EmployeeId<br>```<br><br>```<br>geo.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>geo.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>geo.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>geo.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>geo.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>geo.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>geo.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>geo.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>geo.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>geo.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>geo.Creator = events.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>geo.Creator = journal.EmployeeId<br>```<br><br>```<br>geo.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>geo.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>geo.Creator = leave_accruals.Employee<br>```<br><br>```<br>geo.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>geo.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>geo.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>geo.Creator = leaves.Employee<br>```<br><br>```<br>geo.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>geo.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>geo.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>geo.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>geo.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>geo.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>geo.Creator = roster_opens.Employee<br>```<br><br>```<br>geo.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>geo.Creator = roster_swaps.Employee<br>```<br><br>```<br>geo.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>geo.Creator = rosters.Employee<br>```<br><br>```<br>geo.Creator = rosters.ConfirmBy<br>```<br><br>```<br>geo.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>geo.Creator = sales_data.Employee<br>```<br><br>```<br>geo.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>geo.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>geo.Creator = sms_logs.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>geo.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>geo.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>geo.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>geo.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>geo.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>geo.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>geo.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>geo.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>geo.Creator = teams.LeaderEmployee<br>```<br><br>```<br>geo.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>geo.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>geo.Creator = timesheets.Employee<br>```<br><br>```<br>geo.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>geo.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>geo.Creator = training_records.Employee<br>```<br><br>```<br>geo.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>geo.Creator = webhooks.Creator<br>``` |

geo table schema

| **Country**<br><br><br>INTEGER |
| --- |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **Latitude**<br><br><br>STRING |
| **Longitude**<br><br><br>STRING |
| **Modified**<br><br><br>DATE-TIME |
| **No**<br><br><br>STRING |
| **Orm**<br><br><br>STRING |
| **Postcode**<br><br><br>STRING |
| **RecId**<br><br><br>INTEGER |
| **State**<br><br><br>STRING |
| **Street**<br><br><br>STRING |
| **Suburb**<br><br><br>STRING |

### journal

The `journal` table contains info about journals.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/Journal) |

journal table foreign keys

| Join journal with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>journal.EmployeeId = addresses.Creator<br>```<br><br>```<br>journal.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>journal.EmployeeId = categories.Creator<br>```<br><br>```<br>journal.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>journal.EmployeeId = comments.Creator<br>```<br><br>```<br>journal.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>journal.EmployeeId = companies.Creator<br>```<br><br>```<br>journal.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>journal.EmployeeId = company_periods.Creator<br>```<br><br>```<br>journal.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>journal.EmployeeId = contacts.Creator<br>```<br><br>```<br>journal.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>journal.EmployeeId = countries.Creator<br>```<br><br>```<br>journal.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>journal.EmployeeId = custom_app_data.Employee<br>```<br><br>```<br>journal.Creator = custom_app_data.Employee<br>```<br><br>```<br>journal.EmployeeId = custom_app_data.Creator<br>```<br><br>```<br>journal.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>journal.EmployeeId = custom_field_data.Creator<br>```<br><br>```<br>journal.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>journal.EmployeeId = custom_fields.Creator<br>```<br><br>```<br>journal.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>journal.EmployeeId = employee_agreement_history.Creator<br>```<br><br>```<br>journal.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>journal.EmployeeId = employee_agreements.EmployeeId<br>```<br><br>```<br>journal.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>journal.EmployeeId = employee_agreements.Creator<br>```<br><br>```<br>journal.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>journal.EmployeeId = employee_appraisal.Creator<br>```<br><br>```<br>journal.Creator = employee_appraisal.Creator<br>```<br><br>```<br>journal.EmployeeId = employee_appraisal.Employee<br>```<br><br>```<br>journal.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>journal.EmployeeId = employee_availability.Employee<br>```<br><br>```<br>journal.Creator = employee_availability.Employee<br>```<br><br>```<br>journal.EmployeeId = employee_availability.Creator<br>```<br><br>```<br>journal.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>journal.EmployeeId = employee_contract_leave_rules.Creator<br>```<br><br>```<br>journal.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>journal.EmployeeId = employee_contracts.Creator<br>```<br><br>```<br>journal.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>journal.EmployeeId = employee_history.EmployeeId<br>```<br><br>```<br>journal.Creator = employee_history.EmployeeId<br>```<br><br>```<br>journal.EmployeeId = employee_history.Creator<br>```<br><br>```<br>journal.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>journal.EmployeeId = employee_paycycle_returns.Creator<br>```<br><br>```<br>journal.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>journal.EmployeeId = employee_paycycles.EmployeeId<br>```<br><br>```<br>journal.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>journal.EmployeeId = employee_paycycles.Creator<br>```<br><br>```<br>journal.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>journal.EmployeeId = employee_roles.Creator<br>```<br><br>```<br>journal.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>journal.EmployeeId = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>journal.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>journal.EmployeeId = employee_salary_opunit_costing.Creator<br>```<br><br>```<br>journal.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>journal.EmployeeId = employee_workplaces.EmployeeId<br>```<br><br>```<br>journal.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>journal.EmployeeId = employee_workplaces.Creator<br>```<br><br>```<br>journal.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>journal.EmployeeId = employment_conditions.Creator<br>```<br><br>```<br>journal.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>journal.EmployeeId = events.Creator<br>```<br><br>```<br>journal.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>journal.EmployeeId = geo.Creator<br>```<br><br>```<br>journal.Creator = geo.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>journal.EmployeeId = kiosks.Creator<br>```<br><br>```<br>journal.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>journal.EmployeeId = leave_accruals.Employee<br>```<br><br>```<br>journal.Creator = leave_accruals.Employee<br>```<br><br>```<br>journal.EmployeeId = leave_accruals.Creator<br>```<br><br>```<br>journal.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>journal.EmployeeId = leave_pay_lines.Creator<br>```<br><br>```<br>journal.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>journal.EmployeeId = leave_rules.Creator<br>```<br><br>```<br>journal.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>journal.EmployeeId = leaves.Employee<br>```<br><br>```<br>journal.Creator = leaves.Employee<br>```<br><br>```<br>journal.EmployeeId = leaves.Creator<br>```<br><br>```<br>journal.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>journal.EmployeeId = memos.Creator<br>```<br><br>```<br>journal.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>journal.EmployeeId = operational_units.Creator<br>```<br><br>```<br>journal.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>journal.EmployeeId = pay_periods.Creator<br>```<br><br>```<br>journal.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>journal.EmployeeId = pay_rules.Creator<br>```<br><br>```<br>journal.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>journal.EmployeeId = public_holidays.Creator<br>```<br><br>```<br>journal.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>journal.EmployeeId = roster_opens.Employee<br>```<br><br>```<br>journal.Creator = roster_opens.Employee<br>```<br><br>```<br>journal.EmployeeId = roster_opens.Creator<br>```<br><br>```<br>journal.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>journal.EmployeeId = roster_swaps.Employee<br>```<br><br>```<br>journal.Creator = roster_swaps.Employee<br>```<br><br>```<br>journal.EmployeeId = roster_swaps.Creator<br>```<br><br>```<br>journal.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>journal.EmployeeId = rosters.Employee<br>```<br><br>```<br>journal.Creator = rosters.Employee<br>```<br><br>```<br>journal.EmployeeId = rosters.ConfirmBy<br>```<br><br>```<br>journal.Creator = rosters.ConfirmBy<br>```<br><br>```<br>journal.EmployeeId = rosters.Creator<br>```<br><br>```<br>journal.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>journal.EmployeeId = sales_data.Employee<br>```<br><br>```<br>journal.Creator = sales_data.Employee<br>```<br><br>```<br>journal.EmployeeId = sales_data.Creator<br>```<br><br>```<br>journal.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>journal.EmployeeId = schedules.Creator<br>```<br><br>```<br>journal.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>journal.EmployeeId = sms_logs.Creator<br>```<br><br>```<br>journal.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>journal.EmployeeId = states.Creator<br>```<br><br>```<br>journal.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>journal.EmployeeId = stress_profiles.Creator<br>```<br><br>```<br>journal.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>journal.EmployeeId = system_usage_balances.Creator<br>```<br><br>```<br>journal.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>journal.EmployeeId = system_usage_tracking.Creator<br>```<br><br>```<br>journal.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>journal.EmployeeId = task_group_setups.Creator<br>```<br><br>```<br>journal.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>journal.EmployeeId = task_groups.Creator<br>```<br><br>```<br>journal.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>journal.EmployeeId = task_opunit_configs.Creator<br>```<br><br>```<br>journal.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>journal.EmployeeId = task_setups.Creator<br>```<br><br>```<br>journal.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>journal.EmployeeId = tasks.Creator<br>```<br><br>```<br>journal.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>journal.EmployeeId = teams.LeaderEmployee<br>```<br><br>```<br>journal.Creator = teams.LeaderEmployee<br>```<br><br>```<br>journal.EmployeeId = teams.Creator<br>```<br><br>```<br>journal.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>journal.EmployeeId = timesheet_pay_returns.Creator<br>```<br><br>```<br>journal.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>journal.EmployeeId = timesheets.Employee<br>```<br><br>```<br>journal.Creator = timesheets.Employee<br>```<br><br>```<br>journal.EmployeeId = timesheets.Creator<br>```<br><br>```<br>journal.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>journal.EmployeeId = training_modules.Creator<br>```<br><br>```<br>journal.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>journal.EmployeeId = training_records.Employee<br>```<br><br>```<br>journal.Creator = training_records.Employee<br>```<br><br>```<br>journal.EmployeeId = training_records.Creator<br>```<br><br>```<br>journal.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>journal.EmployeeId = webhooks.Creator<br>```<br><br>```<br>journal.Creator = webhooks.Creator<br>``` |

journal table schema

| **Comment**<br><br><br>STRING |
| --- |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Date**<br><br><br>DATE |
| **EmployeeId**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |

### kiosks

The `kiosks` table contains info about kiosks.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/Kiosk) |

kiosks table foreign keys

| Join kiosks with | on |
| --- | --- |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>kiosks.Company = companies.Id<br>```<br><br>```<br>kiosks.Company = companies.ParentCompany<br>```<br><br>```<br>kiosks.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>kiosks.Company = company_periods.Company<br>```<br><br>```<br>kiosks.Creator = company_periods.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>kiosks.Company = employee_history.Company<br>```<br><br>```<br>kiosks.Creator = employee_history.EmployeeId<br>```<br><br>```<br>kiosks.Creator = employee_history.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>kiosks.Company = employee_workplaces.Company<br>```<br><br>```<br>kiosks.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>kiosks.Creator = employee_workplaces.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>kiosks.Company = leaves.Company<br>```<br><br>```<br>kiosks.Creator = leaves.Employee<br>```<br><br>```<br>kiosks.Creator = leaves.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>kiosks.Company = system_usage_tracking.CompanyId<br>```<br><br>```<br>kiosks.Creator = system_usage_tracking.Creator<br>``` |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>kiosks.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>kiosks.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>kiosks.Creator = comments.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>kiosks.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>kiosks.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>kiosks.Creator = custom_app_data.Employee<br>```<br><br>```<br>kiosks.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>kiosks.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>kiosks.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>kiosks.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>kiosks.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>kiosks.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>kiosks.Creator = employee_appraisal.Creator<br>```<br><br>```<br>kiosks.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>kiosks.Creator = employee_availability.Employee<br>```<br><br>```<br>kiosks.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>kiosks.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>kiosks.Creator = employee_contracts.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>kiosks.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>kiosks.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>kiosks.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>kiosks.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>kiosks.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>kiosks.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>kiosks.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>kiosks.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>kiosks.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>kiosks.Creator = journal.EmployeeId<br>```<br><br>```<br>kiosks.Creator = journal.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>kiosks.Creator = leave_accruals.Employee<br>```<br><br>```<br>kiosks.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>kiosks.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>kiosks.Creator = leave_rules.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>kiosks.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>kiosks.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>kiosks.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>kiosks.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>kiosks.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>kiosks.Creator = roster_opens.Employee<br>```<br><br>```<br>kiosks.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>kiosks.Creator = roster_swaps.Employee<br>```<br><br>```<br>kiosks.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>kiosks.Creator = rosters.Employee<br>```<br><br>```<br>kiosks.Creator = rosters.ConfirmBy<br>```<br><br>```<br>kiosks.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>kiosks.Creator = sales_data.Employee<br>```<br><br>```<br>kiosks.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>kiosks.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>kiosks.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>kiosks.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>kiosks.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>kiosks.Creator = system_usage_balances.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>kiosks.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>kiosks.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>kiosks.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>kiosks.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>kiosks.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>kiosks.Creator = teams.LeaderEmployee<br>```<br><br>```<br>kiosks.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>kiosks.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>kiosks.Creator = timesheets.Employee<br>```<br><br>```<br>kiosks.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>kiosks.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>kiosks.Creator = training_records.Employee<br>```<br><br>```<br>kiosks.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>kiosks.Creator = webhooks.Creator<br>``` |

kiosks table schema

| **AuthenticationMode**<br><br><br>INTEGER |
| --- |
| **Company**<br><br><br>INTEGER |
| **ConnectionMode**<br><br><br>INTEGER |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **InstallationId**<br><br><br>STRING |
| **IpAddress**<br><br><br>STRING |
| **LastActivity**<br><br><br>STRING |
| **Modified**<br><br><br>DATE-TIME |
| **Name**<br><br><br>STRING |
| **SubnetRestriction**<br><br><br>STRING |
| **UseBiometric**<br><br><br>BOOLEAN |

### leave\_accruals

The `leave_accruals` table contains info about employee leave balances.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/LeaveAccrual) |

leave\_accruals table foreign keys

| Join leave\_accruals with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>leave_accruals.Employee = addresses.Creator<br>```<br><br>```<br>leave_accruals.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>leave_accruals.Employee = categories.Creator<br>```<br><br>```<br>leave_accruals.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>leave_accruals.Employee = comments.Creator<br>```<br><br>```<br>leave_accruals.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>leave_accruals.Employee = companies.Creator<br>```<br><br>```<br>leave_accruals.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>leave_accruals.Employee = company_periods.Creator<br>```<br><br>```<br>leave_accruals.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>leave_accruals.Employee = contacts.Creator<br>```<br><br>```<br>leave_accruals.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>leave_accruals.Employee = countries.Creator<br>```<br><br>```<br>leave_accruals.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>leave_accruals.Employee = custom_app_data.Employee<br>```<br><br>```<br>leave_accruals.Creator = custom_app_data.Employee<br>```<br><br>```<br>leave_accruals.Employee = custom_app_data.Creator<br>```<br><br>```<br>leave_accruals.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>leave_accruals.Employee = custom_field_data.Creator<br>```<br><br>```<br>leave_accruals.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>leave_accruals.Employee = custom_fields.Creator<br>```<br><br>```<br>leave_accruals.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>leave_accruals.Employee = employee_agreement_history.Creator<br>```<br><br>```<br>leave_accruals.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>leave_accruals.Employee = employee_agreements.EmployeeId<br>```<br><br>```<br>leave_accruals.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>leave_accruals.Employee = employee_agreements.Creator<br>```<br><br>```<br>leave_accruals.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>leave_accruals.Employee = employee_appraisal.Creator<br>```<br><br>```<br>leave_accruals.Creator = employee_appraisal.Creator<br>```<br><br>```<br>leave_accruals.Employee = employee_appraisal.Employee<br>```<br><br>```<br>leave_accruals.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>leave_accruals.Employee = employee_availability.Employee<br>```<br><br>```<br>leave_accruals.Creator = employee_availability.Employee<br>```<br><br>```<br>leave_accruals.Employee = employee_availability.Creator<br>```<br><br>```<br>leave_accruals.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>leave_accruals.Employee = employee_contract_leave_rules.Creator<br>```<br><br>```<br>leave_accruals.Creator = employee_contract_leave_rules.Creator<br>```<br><br>```<br>leave_accruals.LeaveRule = employee_contract_leave_rules.LeaveRuleId<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>leave_accruals.Employee = employee_contracts.Creator<br>```<br><br>```<br>leave_accruals.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>leave_accruals.Employee = employee_history.EmployeeId<br>```<br><br>```<br>leave_accruals.Creator = employee_history.EmployeeId<br>```<br><br>```<br>leave_accruals.Employee = employee_history.Creator<br>```<br><br>```<br>leave_accruals.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>leave_accruals.Employee = employee_paycycle_returns.Creator<br>```<br><br>```<br>leave_accruals.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>leave_accruals.Employee = employee_paycycles.EmployeeId<br>```<br><br>```<br>leave_accruals.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>leave_accruals.Employee = employee_paycycles.Creator<br>```<br><br>```<br>leave_accruals.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>leave_accruals.Employee = employee_roles.Creator<br>```<br><br>```<br>leave_accruals.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>leave_accruals.Employee = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>leave_accruals.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>leave_accruals.Employee = employee_salary_opunit_costing.Creator<br>```<br><br>```<br>leave_accruals.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>leave_accruals.Employee = employee_workplaces.EmployeeId<br>```<br><br>```<br>leave_accruals.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>leave_accruals.Employee = employee_workplaces.Creator<br>```<br><br>```<br>leave_accruals.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>leave_accruals.Employee = employment_conditions.Creator<br>```<br><br>```<br>leave_accruals.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>leave_accruals.Employee = events.Creator<br>```<br><br>```<br>leave_accruals.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>leave_accruals.Employee = geo.Creator<br>```<br><br>```<br>leave_accruals.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>leave_accruals.Employee = journal.EmployeeId<br>```<br><br>```<br>leave_accruals.Creator = journal.EmployeeId<br>```<br><br>```<br>leave_accruals.Employee = journal.Creator<br>```<br><br>```<br>leave_accruals.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>leave_accruals.Employee = kiosks.Creator<br>```<br><br>```<br>leave_accruals.Creator = kiosks.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>leave_accruals.Employee = leave_pay_lines.Creator<br>```<br><br>```<br>leave_accruals.Creator = leave_pay_lines.Creator<br>```<br><br>```<br>leave_accruals.LeaveRule = leave_pay_lines.LeaveRule<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>leave_accruals.Employee = leave_rules.Creator<br>```<br><br>```<br>leave_accruals.Creator = leave_rules.Creator<br>```<br><br>```<br>leave_accruals.LeaveRule = leave_rules.Id<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>leave_accruals.Employee = leaves.Employee<br>```<br><br>```<br>leave_accruals.Creator = leaves.Employee<br>```<br><br>```<br>leave_accruals.Employee = leaves.Creator<br>```<br><br>```<br>leave_accruals.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>leave_accruals.Employee = memos.Creator<br>```<br><br>```<br>leave_accruals.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>leave_accruals.Employee = operational_units.Creator<br>```<br><br>```<br>leave_accruals.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>leave_accruals.Employee = pay_periods.Creator<br>```<br><br>```<br>leave_accruals.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>leave_accruals.Employee = pay_rules.Creator<br>```<br><br>```<br>leave_accruals.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>leave_accruals.Employee = public_holidays.Creator<br>```<br><br>```<br>leave_accruals.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>leave_accruals.Employee = roster_opens.Employee<br>```<br><br>```<br>leave_accruals.Creator = roster_opens.Employee<br>```<br><br>```<br>leave_accruals.Employee = roster_opens.Creator<br>```<br><br>```<br>leave_accruals.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>leave_accruals.Employee = roster_swaps.Employee<br>```<br><br>```<br>leave_accruals.Creator = roster_swaps.Employee<br>```<br><br>```<br>leave_accruals.Employee = roster_swaps.Creator<br>```<br><br>```<br>leave_accruals.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>leave_accruals.Employee = rosters.Employee<br>```<br><br>```<br>leave_accruals.Creator = rosters.Employee<br>```<br><br>```<br>leave_accruals.Employee = rosters.ConfirmBy<br>```<br><br>```<br>leave_accruals.Creator = rosters.ConfirmBy<br>```<br><br>```<br>leave_accruals.Employee = rosters.Creator<br>```<br><br>```<br>leave_accruals.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>leave_accruals.Employee = sales_data.Employee<br>```<br><br>```<br>leave_accruals.Creator = sales_data.Employee<br>```<br><br>```<br>leave_accruals.Employee = sales_data.Creator<br>```<br><br>```<br>leave_accruals.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>leave_accruals.Employee = schedules.Creator<br>```<br><br>```<br>leave_accruals.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>leave_accruals.Employee = sms_logs.Creator<br>```<br><br>```<br>leave_accruals.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>leave_accruals.Employee = states.Creator<br>```<br><br>```<br>leave_accruals.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>leave_accruals.Employee = stress_profiles.Creator<br>```<br><br>```<br>leave_accruals.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>leave_accruals.Employee = system_usage_balances.Creator<br>```<br><br>```<br>leave_accruals.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>leave_accruals.Employee = system_usage_tracking.Creator<br>```<br><br>```<br>leave_accruals.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>leave_accruals.Employee = task_group_setups.Creator<br>```<br><br>```<br>leave_accruals.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>leave_accruals.Employee = task_groups.Creator<br>```<br><br>```<br>leave_accruals.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>leave_accruals.Employee = task_opunit_configs.Creator<br>```<br><br>```<br>leave_accruals.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>leave_accruals.Employee = task_setups.Creator<br>```<br><br>```<br>leave_accruals.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>leave_accruals.Employee = tasks.Creator<br>```<br><br>```<br>leave_accruals.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>leave_accruals.Employee = teams.LeaderEmployee<br>```<br><br>```<br>leave_accruals.Creator = teams.LeaderEmployee<br>```<br><br>```<br>leave_accruals.Employee = teams.Creator<br>```<br><br>```<br>leave_accruals.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>leave_accruals.Employee = timesheet_pay_returns.Creator<br>```<br><br>```<br>leave_accruals.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>leave_accruals.Employee = timesheets.Employee<br>```<br><br>```<br>leave_accruals.Creator = timesheets.Employee<br>```<br><br>```<br>leave_accruals.Employee = timesheets.Creator<br>```<br><br>```<br>leave_accruals.Creator = timesheets.Creator<br>```<br><br>```<br>leave_accruals.LeaveRule = timesheets.LeaveRule<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>leave_accruals.Employee = training_modules.Creator<br>```<br><br>```<br>leave_accruals.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>leave_accruals.Employee = training_records.Employee<br>```<br><br>```<br>leave_accruals.Creator = training_records.Employee<br>```<br><br>```<br>leave_accruals.Employee = training_records.Creator<br>```<br><br>```<br>leave_accruals.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>leave_accruals.Employee = webhooks.Creator<br>```<br><br>```<br>leave_accruals.Creator = webhooks.Creator<br>``` |

leave\_accruals table schema

| **Comment**<br><br><br>STRING |
| --- |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Days**<br><br><br>NUMBER |
| **Employee**<br><br><br>INTEGER |
| **EmployeeHistory**<br><br><br>INTEGER |
| **FkId**<br><br><br>INTEGER |
| **Hours**<br><br><br>NUMBER |
| **Id**<br><br><br>INTEGER |
| **LeaveRule**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **TransactionDate**<br><br><br>DATE |
| **Type**<br><br><br>INTEGER |

### leave\_pay\_lines

The `leave_pay_lines` table contains info about employee leave pay lines.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/LeavePayLine) |

leave\_pay\_lines table foreign keys

| Join leave\_pay\_lines with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>leave_pay_lines.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>leave_pay_lines.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>leave_pay_lines.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>leave_pay_lines.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>leave_pay_lines.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>leave_pay_lines.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>leave_pay_lines.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>leave_pay_lines.Creator = custom_app_data.Employee<br>```<br><br>```<br>leave_pay_lines.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>leave_pay_lines.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>leave_pay_lines.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>leave_pay_lines.Creator = employee_agreement_history.Creator<br>```<br><br>```<br>leave_pay_lines.EmployeeAgreement = employee_agreement_history.AgreementId<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>leave_pay_lines.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>leave_pay_lines.Creator = employee_agreements.Creator<br>```<br><br>```<br>leave_pay_lines.EmployeeAgreement = employee_agreements.Id<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>leave_pay_lines.Creator = employee_appraisal.Creator<br>```<br><br>```<br>leave_pay_lines.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>leave_pay_lines.Creator = employee_availability.Employee<br>```<br><br>```<br>leave_pay_lines.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>leave_pay_lines.Creator = employee_contract_leave_rules.Creator<br>```<br><br>```<br>leave_pay_lines.LeaveRule = employee_contract_leave_rules.LeaveRuleId<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>leave_pay_lines.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>leave_pay_lines.Creator = employee_history.EmployeeId<br>```<br><br>```<br>leave_pay_lines.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>leave_pay_lines.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>leave_pay_lines.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>leave_pay_lines.Creator = employee_paycycles.Creator<br>```<br><br>```<br>leave_pay_lines.EmployeeAgreement = employee_paycycles.EmployeeAgreementId<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>leave_pay_lines.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>leave_pay_lines.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>leave_pay_lines.Creator = employee_salary_opunit_costing.Creator<br>```<br><br>```<br>leave_pay_lines.EmployeeAgreement = employee_salary_opunit_costing.EmployeeAgreement<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>leave_pay_lines.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>leave_pay_lines.Creator = employee_workplaces.Creator<br>```<br><br>```<br>leave_pay_lines.EmployeeAgreement = employee_workplaces.Agreement1<br>```<br><br>```<br>leave_pay_lines.EmployeeAgreement = employee_workplaces.Agreement2<br>```<br><br>```<br>leave_pay_lines.EmployeeAgreement = employee_workplaces.Agreement3<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>leave_pay_lines.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>leave_pay_lines.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>leave_pay_lines.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>leave_pay_lines.Creator = journal.EmployeeId<br>```<br><br>```<br>leave_pay_lines.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>leave_pay_lines.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>leave_pay_lines.Creator = leave_accruals.Employee<br>```<br><br>```<br>leave_pay_lines.Creator = leave_accruals.Creator<br>```<br><br>```<br>leave_pay_lines.LeaveRule = leave_accruals.LeaveRule<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>leave_pay_lines.Creator = leave_rules.Creator<br>```<br><br>```<br>leave_pay_lines.LeaveRule = leave_rules.Id<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>leave_pay_lines.Creator = leaves.Employee<br>```<br><br>```<br>leave_pay_lines.Creator = leaves.Creator<br>```<br><br>```<br>leave_pay_lines.LeaveId = leaves.Id<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>leave_pay_lines.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>leave_pay_lines.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>leave_pay_lines.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>leave_pay_lines.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>leave_pay_lines.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>leave_pay_lines.Creator = roster_opens.Employee<br>```<br><br>```<br>leave_pay_lines.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>leave_pay_lines.Creator = roster_swaps.Employee<br>```<br><br>```<br>leave_pay_lines.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>leave_pay_lines.Creator = rosters.Employee<br>```<br><br>```<br>leave_pay_lines.Creator = rosters.ConfirmBy<br>```<br><br>```<br>leave_pay_lines.Creator = rosters.Creator<br>```<br><br>```<br>leave_pay_lines.TimesheetId = rosters.MatchedByTimesheet<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>leave_pay_lines.Creator = sales_data.Employee<br>```<br><br>```<br>leave_pay_lines.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>leave_pay_lines.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>leave_pay_lines.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>leave_pay_lines.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>leave_pay_lines.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>leave_pay_lines.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>leave_pay_lines.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>leave_pay_lines.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>leave_pay_lines.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>leave_pay_lines.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>leave_pay_lines.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>leave_pay_lines.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>leave_pay_lines.Creator = teams.LeaderEmployee<br>```<br><br>```<br>leave_pay_lines.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>leave_pay_lines.Creator = timesheet_pay_returns.Creator<br>```<br><br>```<br>leave_pay_lines.TimesheetId = timesheet_pay_returns.Timesheet<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>leave_pay_lines.Creator = timesheets.Employee<br>```<br><br>```<br>leave_pay_lines.Creator = timesheets.Creator<br>```<br><br>```<br>leave_pay_lines.EmployeeAgreement = timesheets.EmployeeAgreement<br>```<br><br>```<br>leave_pay_lines.LeaveId = timesheets.LeaveId<br>```<br><br>```<br>leave_pay_lines.LeaveRule = timesheets.LeaveRule<br>```<br><br>```<br>leave_pay_lines.TimesheetId = timesheets.Id<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>leave_pay_lines.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>leave_pay_lines.Creator = training_records.Employee<br>```<br><br>```<br>leave_pay_lines.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>leave_pay_lines.Creator = webhooks.Creator<br>``` |

leave\_pay\_lines table schema

| **Comment**<br><br><br>STRING |
| --- |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Date**<br><br><br>DATE |
| **EmployeeAgreement**<br><br><br>INTEGER |
| **EndTime**<br><br><br>STRING |
| **Hours**<br><br><br>STRING |
| **Id**<br><br><br>INTEGER |
| **LeaveId**<br><br><br>INTEGER |
| **LeaveRule**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **StartTime**<br><br><br>STRING |
| **TimesheetId**<br><br><br>INTEGER |

### leave\_rules

The `leave_rules` table contains info about employee leave rules.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/LeaveRules) |

leave\_rules table foreign keys

| Join leave\_rules with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>leave_rules.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>leave_rules.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>leave_rules.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>leave_rules.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>leave_rules.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>leave_rules.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>leave_rules.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>leave_rules.Creator = custom_app_data.Employee<br>```<br><br>```<br>leave_rules.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>leave_rules.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>leave_rules.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>leave_rules.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>leave_rules.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>leave_rules.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>leave_rules.Creator = employee_appraisal.Creator<br>```<br><br>```<br>leave_rules.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>leave_rules.Creator = employee_availability.Employee<br>```<br><br>```<br>leave_rules.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>leave_rules.Creator = employee_contract_leave_rules.Creator<br>```<br><br>```<br>leave_rules.Id = employee_contract_leave_rules.LeaveRuleId<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>leave_rules.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>leave_rules.Creator = employee_history.EmployeeId<br>```<br><br>```<br>leave_rules.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>leave_rules.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>leave_rules.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>leave_rules.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>leave_rules.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>leave_rules.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>leave_rules.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>leave_rules.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>leave_rules.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>leave_rules.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>leave_rules.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>leave_rules.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>leave_rules.Creator = journal.EmployeeId<br>```<br><br>```<br>leave_rules.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>leave_rules.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>leave_rules.Creator = leave_accruals.Employee<br>```<br><br>```<br>leave_rules.Creator = leave_accruals.Creator<br>```<br><br>```<br>leave_rules.Id = leave_accruals.LeaveRule<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>leave_rules.Creator = leave_pay_lines.Creator<br>```<br><br>```<br>leave_rules.Id = leave_pay_lines.LeaveRule<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>leave_rules.Creator = leaves.Employee<br>```<br><br>```<br>leave_rules.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>leave_rules.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>leave_rules.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>leave_rules.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>leave_rules.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>leave_rules.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>leave_rules.Creator = roster_opens.Employee<br>```<br><br>```<br>leave_rules.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>leave_rules.Creator = roster_swaps.Employee<br>```<br><br>```<br>leave_rules.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>leave_rules.Creator = rosters.Employee<br>```<br><br>```<br>leave_rules.Creator = rosters.ConfirmBy<br>```<br><br>```<br>leave_rules.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>leave_rules.Creator = sales_data.Employee<br>```<br><br>```<br>leave_rules.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>leave_rules.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>leave_rules.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>leave_rules.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>leave_rules.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>leave_rules.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>leave_rules.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>leave_rules.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>leave_rules.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>leave_rules.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>leave_rules.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>leave_rules.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>leave_rules.Creator = teams.LeaderEmployee<br>```<br><br>```<br>leave_rules.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>leave_rules.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>leave_rules.Creator = timesheets.Employee<br>```<br><br>```<br>leave_rules.Creator = timesheets.Creator<br>```<br><br>```<br>leave_rules.Id = timesheets.LeaveRule<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>leave_rules.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>leave_rules.Creator = training_records.Employee<br>```<br><br>```<br>leave_rules.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>leave_rules.Creator = webhooks.Creator<br>``` |

leave\_rules table schema

| **AnnualRollOver**<br><br><br>BOOLEAN |
| --- |
| **Calc**<br><br><br>STRING |
| **CalcType**<br><br><br>INTEGER |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Description**<br><br><br>STRING |
| **EntitlementAfterMonth**<br><br><br>INTEGER |
| **ExportType**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **MaxAllowedAnnually**<br><br><br>NUMBER |
| **Modified**<br><br><br>DATE-TIME |
| **Name**<br><br><br>STRING |
| **PaidLeave**<br><br><br>BOOLEAN |
| **PayoutOnTermination**<br><br><br>BOOLEAN |
| **PayrollCategory**<br><br><br>STRING |
| **ResetType**<br><br><br>INTEGER |
| **Type**<br><br><br>STRING |
| **UnitType**<br><br><br>INTEGER |
| **Visible**<br><br><br>BOOLEAN |

### leaves

The `leaves` table contains info about employee leave.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/Leave) |

leaves table foreign keys

| Join leaves with | on |
| --- | --- |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>leaves.Company = companies.Id<br>```<br><br>```<br>leaves.Company = companies.ParentCompany<br>```<br><br>```<br>leaves.Employee = companies.Creator<br>```<br><br>```<br>leaves.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>leaves.Company = company_periods.Company<br>```<br><br>```<br>leaves.Employee = company_periods.Creator<br>```<br><br>```<br>leaves.Creator = company_periods.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>leaves.Company = employee_history.Company<br>```<br><br>```<br>leaves.Employee = employee_history.EmployeeId<br>```<br><br>```<br>leaves.Creator = employee_history.EmployeeId<br>```<br><br>```<br>leaves.Employee = employee_history.Creator<br>```<br><br>```<br>leaves.Creator = employee_history.Creator<br>```<br><br>```<br>leaves.EmployeeHistory = employee_history.Id<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>leaves.Company = employee_workplaces.Company<br>```<br><br>```<br>leaves.Employee = employee_workplaces.EmployeeId<br>```<br><br>```<br>leaves.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>leaves.Employee = employee_workplaces.Creator<br>```<br><br>```<br>leaves.Creator = employee_workplaces.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>leaves.Company = kiosks.Company<br>```<br><br>```<br>leaves.Employee = kiosks.Creator<br>```<br><br>```<br>leaves.Creator = kiosks.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>leaves.Company = system_usage_tracking.CompanyId<br>```<br><br>```<br>leaves.Employee = system_usage_tracking.Creator<br>```<br><br>```<br>leaves.Creator = system_usage_tracking.Creator<br>``` |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>leaves.Employee = addresses.Creator<br>```<br><br>```<br>leaves.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>leaves.Employee = categories.Creator<br>```<br><br>```<br>leaves.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>leaves.Employee = comments.Creator<br>```<br><br>```<br>leaves.Creator = comments.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>leaves.Employee = contacts.Creator<br>```<br><br>```<br>leaves.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>leaves.Employee = countries.Creator<br>```<br><br>```<br>leaves.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>leaves.Employee = custom_app_data.Employee<br>```<br><br>```<br>leaves.Creator = custom_app_data.Employee<br>```<br><br>```<br>leaves.Employee = custom_app_data.Creator<br>```<br><br>```<br>leaves.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>leaves.Employee = custom_field_data.Creator<br>```<br><br>```<br>leaves.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>leaves.Employee = custom_fields.Creator<br>```<br><br>```<br>leaves.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>leaves.Employee = employee_agreement_history.Creator<br>```<br><br>```<br>leaves.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>leaves.Employee = employee_agreements.EmployeeId<br>```<br><br>```<br>leaves.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>leaves.Employee = employee_agreements.Creator<br>```<br><br>```<br>leaves.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>leaves.Employee = employee_appraisal.Creator<br>```<br><br>```<br>leaves.Creator = employee_appraisal.Creator<br>```<br><br>```<br>leaves.Employee = employee_appraisal.Employee<br>```<br><br>```<br>leaves.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>leaves.Employee = employee_availability.Employee<br>```<br><br>```<br>leaves.Creator = employee_availability.Employee<br>```<br><br>```<br>leaves.Employee = employee_availability.Creator<br>```<br><br>```<br>leaves.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>leaves.Employee = employee_contract_leave_rules.Creator<br>```<br><br>```<br>leaves.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>leaves.Employee = employee_contracts.Creator<br>```<br><br>```<br>leaves.Creator = employee_contracts.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>leaves.Employee = employee_paycycle_returns.Creator<br>```<br><br>```<br>leaves.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>leaves.Employee = employee_paycycles.EmployeeId<br>```<br><br>```<br>leaves.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>leaves.Employee = employee_paycycles.Creator<br>```<br><br>```<br>leaves.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>leaves.Employee = employee_roles.Creator<br>```<br><br>```<br>leaves.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>leaves.Employee = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>leaves.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>leaves.Employee = employee_salary_opunit_costing.Creator<br>```<br><br>```<br>leaves.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>leaves.Employee = employment_conditions.Creator<br>```<br><br>```<br>leaves.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>leaves.Employee = events.Creator<br>```<br><br>```<br>leaves.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>leaves.Employee = geo.Creator<br>```<br><br>```<br>leaves.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>leaves.Employee = journal.EmployeeId<br>```<br><br>```<br>leaves.Creator = journal.EmployeeId<br>```<br><br>```<br>leaves.Employee = journal.Creator<br>```<br><br>```<br>leaves.Creator = journal.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>leaves.Employee = leave_accruals.Employee<br>```<br><br>```<br>leaves.Creator = leave_accruals.Employee<br>```<br><br>```<br>leaves.Employee = leave_accruals.Creator<br>```<br><br>```<br>leaves.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>leaves.Employee = leave_pay_lines.Creator<br>```<br><br>```<br>leaves.Creator = leave_pay_lines.Creator<br>```<br><br>```<br>leaves.Id = leave_pay_lines.LeaveId<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>leaves.Employee = leave_rules.Creator<br>```<br><br>```<br>leaves.Creator = leave_rules.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>leaves.Employee = memos.Creator<br>```<br><br>```<br>leaves.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>leaves.Employee = operational_units.Creator<br>```<br><br>```<br>leaves.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>leaves.Employee = pay_periods.Creator<br>```<br><br>```<br>leaves.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>leaves.Employee = pay_rules.Creator<br>```<br><br>```<br>leaves.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>leaves.Employee = public_holidays.Creator<br>```<br><br>```<br>leaves.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>leaves.Employee = roster_opens.Employee<br>```<br><br>```<br>leaves.Creator = roster_opens.Employee<br>```<br><br>```<br>leaves.Employee = roster_opens.Creator<br>```<br><br>```<br>leaves.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>leaves.Employee = roster_swaps.Employee<br>```<br><br>```<br>leaves.Creator = roster_swaps.Employee<br>```<br><br>```<br>leaves.Employee = roster_swaps.Creator<br>```<br><br>```<br>leaves.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>leaves.Employee = rosters.Employee<br>```<br><br>```<br>leaves.Creator = rosters.Employee<br>```<br><br>```<br>leaves.Employee = rosters.ConfirmBy<br>```<br><br>```<br>leaves.Creator = rosters.ConfirmBy<br>```<br><br>```<br>leaves.Employee = rosters.Creator<br>```<br><br>```<br>leaves.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>leaves.Employee = sales_data.Employee<br>```<br><br>```<br>leaves.Creator = sales_data.Employee<br>```<br><br>```<br>leaves.Employee = sales_data.Creator<br>```<br><br>```<br>leaves.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>leaves.Employee = schedules.Creator<br>```<br><br>```<br>leaves.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>leaves.Employee = sms_logs.Creator<br>```<br><br>```<br>leaves.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>leaves.Employee = states.Creator<br>```<br><br>```<br>leaves.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>leaves.Employee = stress_profiles.Creator<br>```<br><br>```<br>leaves.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>leaves.Employee = system_usage_balances.Creator<br>```<br><br>```<br>leaves.Creator = system_usage_balances.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>leaves.Employee = task_group_setups.Creator<br>```<br><br>```<br>leaves.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>leaves.Employee = task_groups.Creator<br>```<br><br>```<br>leaves.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>leaves.Employee = task_opunit_configs.Creator<br>```<br><br>```<br>leaves.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>leaves.Employee = task_setups.Creator<br>```<br><br>```<br>leaves.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>leaves.Employee = tasks.Creator<br>```<br><br>```<br>leaves.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>leaves.Employee = teams.LeaderEmployee<br>```<br><br>```<br>leaves.Creator = teams.LeaderEmployee<br>```<br><br>```<br>leaves.Employee = teams.Creator<br>```<br><br>```<br>leaves.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>leaves.Employee = timesheet_pay_returns.Creator<br>```<br><br>```<br>leaves.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>leaves.Employee = timesheets.Employee<br>```<br><br>```<br>leaves.Creator = timesheets.Employee<br>```<br><br>```<br>leaves.Employee = timesheets.Creator<br>```<br><br>```<br>leaves.Creator = timesheets.Creator<br>```<br><br>```<br>leaves.EmployeeHistory = timesheets.EmployeeHistory<br>```<br><br>```<br>leaves.Id = timesheets.LeaveId<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>leaves.Employee = training_modules.Creator<br>```<br><br>```<br>leaves.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>leaves.Employee = training_records.Employee<br>```<br><br>```<br>leaves.Creator = training_records.Employee<br>```<br><br>```<br>leaves.Employee = training_records.Creator<br>```<br><br>```<br>leaves.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>leaves.Employee = webhooks.Creator<br>```<br><br>```<br>leaves.Creator = webhooks.Creator<br>``` |

leaves table schema

| **ApprovalComment**<br><br><br>STRING |
| --- |
| **ApproverPay**<br><br><br>INTEGER |
| **ApproverTime**<br><br><br>INTEGER |
| **Comment**<br><br><br>STRING |
| **Company**<br><br><br>INTEGER |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **DateEnd**<br><br><br>DATE |
| **Days**<br><br><br>NUMBER |
| **Employee**<br><br><br>INTEGER |
| **EmployeeHistory**<br><br><br>INTEGER |
| **End**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **Start**<br><br><br>INTEGER |
| **Status**<br><br><br>INTEGER |
| **TotalHours**<br><br><br>NUMBER |

### memos

The `memos` table contains info about memos.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/Memo) |

memos table foreign keys

| Join memos with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>memos.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>memos.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>memos.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>memos.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>memos.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>memos.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>memos.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>memos.Creator = custom_app_data.Employee<br>```<br><br>```<br>memos.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>memos.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>memos.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>memos.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>memos.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>memos.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>memos.Creator = employee_appraisal.Creator<br>```<br><br>```<br>memos.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>memos.Creator = employee_availability.Employee<br>```<br><br>```<br>memos.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>memos.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>memos.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>memos.Creator = employee_history.EmployeeId<br>```<br><br>```<br>memos.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>memos.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>memos.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>memos.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>memos.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>memos.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>memos.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>memos.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>memos.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>memos.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>memos.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>memos.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>memos.Creator = journal.EmployeeId<br>```<br><br>```<br>memos.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>memos.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>memos.Creator = leave_accruals.Employee<br>```<br><br>```<br>memos.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>memos.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>memos.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>memos.Creator = leaves.Employee<br>```<br><br>```<br>memos.Creator = leaves.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>memos.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>memos.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>memos.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>memos.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>memos.Creator = roster_opens.Employee<br>```<br><br>```<br>memos.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>memos.Creator = roster_swaps.Employee<br>```<br><br>```<br>memos.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>memos.Creator = rosters.Employee<br>```<br><br>```<br>memos.Creator = rosters.ConfirmBy<br>```<br><br>```<br>memos.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>memos.Creator = sales_data.Employee<br>```<br><br>```<br>memos.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>memos.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>memos.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>memos.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>memos.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>memos.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>memos.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>memos.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>memos.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>memos.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>memos.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>memos.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>memos.Creator = teams.LeaderEmployee<br>```<br><br>```<br>memos.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>memos.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>memos.Creator = timesheets.Employee<br>```<br><br>```<br>memos.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>memos.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>memos.Creator = training_records.Employee<br>```<br><br>```<br>memos.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>memos.Creator = webhooks.Creator<br>``` |

memos table schema

| **Active**<br><br><br>BOOLEAN |
| --- |
| **ConfirmText**<br><br><br>STRING |
| **Content**<br><br><br>STRING |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **File**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **Keyword**<br><br><br>STRING |
| **Modified**<br><br><br>DATE-TIME |
| **ShowFrom**<br><br><br>DATE |
| **ShowTill**<br><br><br>DATE |
| **Title**<br><br><br>STRING |
| **Type**<br><br><br>INTEGER |
| **Url**<br><br><br>STRING |

### operational\_units

The `operational_units` table contains info about operational units.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/OperationalUnit) |

operational\_units table foreign keys

| Join operational\_units with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>operational_units.Address = addresses.Id<br>```<br><br>```<br>operational_units.Creator = addresses.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>operational_units.Address = companies.Address<br>```<br><br>```<br>operational_units.Contact = companies.Contact<br>```<br><br>```<br>operational_units.Creator = companies.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>operational_units.Address = employee_history.MainAddress<br>```<br><br>```<br>operational_units.Address = employee_history.PostalAddress<br>```<br><br>```<br>operational_units.Address = employee_history.EmergencyAddress<br>```<br><br>```<br>operational_units.Creator = employee_history.EmployeeId<br>```<br><br>```<br>operational_units.Creator = employee_history.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>operational_units.Contact = contacts.Id<br>```<br><br>```<br>operational_units.Creator = contacts.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>operational_units.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>operational_units.Creator = comments.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>operational_units.Creator = company_periods.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>operational_units.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>operational_units.Creator = custom_app_data.Employee<br>```<br><br>```<br>operational_units.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>operational_units.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>operational_units.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>operational_units.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>operational_units.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>operational_units.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>operational_units.Creator = employee_appraisal.Creator<br>```<br><br>```<br>operational_units.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>operational_units.Creator = employee_availability.Employee<br>```<br><br>```<br>operational_units.Creator = employee_availability.Creator<br>```<br><br>```<br>operational_units.RosterActiveHoursSchedule = employee_availability.Schedule<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>operational_units.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>operational_units.Creator = employee_contracts.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>operational_units.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>operational_units.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>operational_units.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>operational_units.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>operational_units.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>operational_units.Creator = employee_salary_opunit_costing.Creator<br>```<br><br>```<br>operational_units.Id = employee_salary_opunit_costing.OpUnit<br>```<br><br>```<br>operational_units.ParentOperationalUnit = employee_salary_opunit_costing.OpUnit<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>operational_units.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>operational_units.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>operational_units.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>operational_units.Creator = events.Creator<br>```<br><br>```<br>operational_units.RosterActiveHoursSchedule = events.Schedule<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>operational_units.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>operational_units.Creator = journal.EmployeeId<br>```<br><br>```<br>operational_units.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>operational_units.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>operational_units.Creator = leave_accruals.Employee<br>```<br><br>```<br>operational_units.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>operational_units.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>operational_units.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>operational_units.Creator = leaves.Employee<br>```<br><br>```<br>operational_units.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>operational_units.Creator = memos.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>operational_units.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>operational_units.Creator = pay_rules.Creator<br>```<br><br>```<br>operational_units.RosterActiveHoursSchedule = pay_rules.Schedule<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>operational_units.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>operational_units.Creator = roster_opens.Employee<br>```<br><br>```<br>operational_units.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>operational_units.Creator = roster_swaps.Employee<br>```<br><br>```<br>operational_units.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>operational_units.Creator = rosters.Employee<br>```<br><br>```<br>operational_units.Creator = rosters.ConfirmBy<br>```<br><br>```<br>operational_units.Creator = rosters.Creator<br>```<br><br>```<br>operational_units.Id = rosters.OperationalUnit<br>```<br><br>```<br>operational_units.ParentOperationalUnit = rosters.OperationalUnit<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>operational_units.Creator = sales_data.Employee<br>```<br><br>```<br>operational_units.Creator = sales_data.Creator<br>```<br><br>```<br>operational_units.Id = sales_data.OperationalUnit<br>```<br><br>```<br>operational_units.ParentOperationalUnit = sales_data.OperationalUnit<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>operational_units.Creator = schedules.Creator<br>```<br><br>```<br>operational_units.RosterActiveHoursSchedule = schedules.Id<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>operational_units.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>operational_units.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>operational_units.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>operational_units.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>operational_units.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>operational_units.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>operational_units.Creator = task_groups.Creator<br>```<br><br>```<br>operational_units.Id = task_groups.OpUnitId<br>```<br><br>```<br>operational_units.ParentOperationalUnit = task_groups.OpUnitId<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>operational_units.Creator = task_opunit_configs.Creator<br>```<br><br>```<br>operational_units.Id = task_opunit_configs.OpUnitId<br>```<br><br>```<br>operational_units.ParentOperationalUnit = task_opunit_configs.OpUnitId<br>```<br><br>```<br>operational_units.RosterActiveHoursSchedule = task_opunit_configs.Schedule<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>operational_units.Creator = task_setups.Creator<br>```<br><br>```<br>operational_units.RosterActiveHoursSchedule = task_setups.Schedule<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>operational_units.Creator = tasks.Creator<br>```<br><br>```<br>operational_units.Id = tasks.OpUnitId<br>```<br><br>```<br>operational_units.ParentOperationalUnit = tasks.OpUnitId<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>operational_units.Creator = teams.LeaderEmployee<br>```<br><br>```<br>operational_units.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>operational_units.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>operational_units.Creator = timesheets.Employee<br>```<br><br>```<br>operational_units.Creator = timesheets.Creator<br>```<br><br>```<br>operational_units.Id = timesheets.OperationalUnit<br>```<br><br>```<br>operational_units.ParentOperationalUnit = timesheets.OperationalUnit<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>operational_units.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>operational_units.Creator = training_records.Employee<br>```<br><br>```<br>operational_units.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>operational_units.Creator = webhooks.Creator<br>``` |

operational\_units table schema

| **Active**<br><br><br>BOOLEAN |
| --- |
| **Address**<br><br><br>INTEGER |
| **Company**<br><br><br>INTEGER |
| **Contact**<br><br><br>INTEGER |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **DailyRosterBudget**<br><br><br>NUMBER |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **OperationalUnitName**<br><br><br>STRING |
| **ParentOperationalUnit**<br><br><br>INTEGER |
| **PayrollExportName**<br><br><br>STRING |
| **RosterActiveHoursSchedule**<br><br><br>INTEGER |
| **RosterSortOrder**<br><br><br>INTEGER |
| **ShowOnRoster**<br><br><br>BOOLEAN |

### pay\_periods

The `pay_periods` table contains info about pay periods.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/PayPeriod) |

pay\_periods table foreign keys

| Join pay\_periods with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>pay_periods.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>pay_periods.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>pay_periods.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>pay_periods.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>pay_periods.Creator = company_periods.Creator<br>```<br><br>```<br>pay_periods.Id = company_periods.PayPeriod<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>pay_periods.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>pay_periods.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>pay_periods.Creator = custom_app_data.Employee<br>```<br><br>```<br>pay_periods.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>pay_periods.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>pay_periods.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>pay_periods.Creator = employee_agreement_history.Creator<br>```<br><br>```<br>pay_periods.Id = employee_agreement_history.PayPeriod<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>pay_periods.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>pay_periods.Creator = employee_agreements.Creator<br>```<br><br>```<br>pay_periods.Id = employee_agreements.PayPeriod<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>pay_periods.Creator = employee_appraisal.Creator<br>```<br><br>```<br>pay_periods.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>pay_periods.Creator = employee_availability.Employee<br>```<br><br>```<br>pay_periods.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>pay_periods.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>pay_periods.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>pay_periods.Creator = employee_history.EmployeeId<br>```<br><br>```<br>pay_periods.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>pay_periods.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>pay_periods.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>pay_periods.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>pay_periods.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>pay_periods.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>pay_periods.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>pay_periods.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>pay_periods.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>pay_periods.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>pay_periods.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>pay_periods.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>pay_periods.Creator = journal.EmployeeId<br>```<br><br>```<br>pay_periods.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>pay_periods.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>pay_periods.Creator = leave_accruals.Employee<br>```<br><br>```<br>pay_periods.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>pay_periods.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>pay_periods.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>pay_periods.Creator = leaves.Employee<br>```<br><br>```<br>pay_periods.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>pay_periods.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>pay_periods.Creator = operational_units.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>pay_periods.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>pay_periods.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>pay_periods.Creator = roster_opens.Employee<br>```<br><br>```<br>pay_periods.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>pay_periods.Creator = roster_swaps.Employee<br>```<br><br>```<br>pay_periods.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>pay_periods.Creator = rosters.Employee<br>```<br><br>```<br>pay_periods.Creator = rosters.ConfirmBy<br>```<br><br>```<br>pay_periods.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>pay_periods.Creator = sales_data.Employee<br>```<br><br>```<br>pay_periods.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>pay_periods.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>pay_periods.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>pay_periods.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>pay_periods.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>pay_periods.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>pay_periods.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>pay_periods.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>pay_periods.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>pay_periods.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>pay_periods.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>pay_periods.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>pay_periods.Creator = teams.LeaderEmployee<br>```<br><br>```<br>pay_periods.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>pay_periods.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>pay_periods.Creator = timesheets.Employee<br>```<br><br>```<br>pay_periods.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>pay_periods.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>pay_periods.Creator = training_records.Employee<br>```<br><br>```<br>pay_periods.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>pay_periods.Creator = webhooks.Creator<br>``` |

pay\_periods table schema

| **Active**<br><br><br>BOOLEAN |
| --- |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Cycle**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **Name**<br><br><br>STRING |
| **StartDate**<br><br><br>DATE |

### pay\_rules

The `pay_rules` table contains info about pay rules.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/PayRules) |

pay\_rules table foreign keys

| Join pay\_rules with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>pay_rules.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>pay_rules.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>pay_rules.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>pay_rules.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>pay_rules.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>pay_rules.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>pay_rules.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>pay_rules.Creator = custom_app_data.Employee<br>```<br><br>```<br>pay_rules.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>pay_rules.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>pay_rules.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>pay_rules.Creator = employee_agreement_history.Creator<br>```<br><br>```<br>pay_rules.Id = employee_agreement_history.SalaryPayRule<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>pay_rules.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>pay_rules.Creator = employee_agreements.Creator<br>```<br><br>```<br>pay_rules.Id = employee_agreements.SalaryPayRule<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>pay_rules.Creator = employee_appraisal.Creator<br>```<br><br>```<br>pay_rules.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>pay_rules.Creator = employee_availability.Employee<br>```<br><br>```<br>pay_rules.Creator = employee_availability.Creator<br>```<br><br>```<br>pay_rules.Schedule = employee_availability.Schedule<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>pay_rules.Creator = employee_contract_leave_rules.Creator<br>```<br><br>```<br>pay_rules.Id = employee_contract_leave_rules.LoadingPayRule1<br>```<br><br>```<br>pay_rules.Id = employee_contract_leave_rules.LoadingPayRule2<br>```<br><br>```<br>pay_rules.Id = employee_contract_leave_rules.LoadingPayRule3<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>pay_rules.Creator = employee_contracts.Creator<br>```<br><br>```<br>pay_rules.Id = employee_contracts.BasePayRule<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>pay_rules.Creator = employee_history.EmployeeId<br>```<br><br>```<br>pay_rules.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>pay_rules.Creator = employee_paycycle_returns.Creator<br>```<br><br>```<br>pay_rules.Id = employee_paycycle_returns.PayRule<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>pay_rules.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>pay_rules.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>pay_rules.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>pay_rules.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>pay_rules.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>pay_rules.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>pay_rules.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>pay_rules.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>pay_rules.Creator = events.Creator<br>```<br><br>```<br>pay_rules.Schedule = events.Schedule<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>pay_rules.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>pay_rules.Creator = journal.EmployeeId<br>```<br><br>```<br>pay_rules.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>pay_rules.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>pay_rules.Creator = leave_accruals.Employee<br>```<br><br>```<br>pay_rules.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>pay_rules.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>pay_rules.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>pay_rules.Creator = leaves.Employee<br>```<br><br>```<br>pay_rules.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>pay_rules.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>pay_rules.Creator = operational_units.Creator<br>```<br><br>```<br>pay_rules.Schedule = operational_units.RosterActiveHoursSchedule<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>pay_rules.Creator = pay_periods.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>pay_rules.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>pay_rules.Creator = roster_opens.Employee<br>```<br><br>```<br>pay_rules.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>pay_rules.Creator = roster_swaps.Employee<br>```<br><br>```<br>pay_rules.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>pay_rules.Creator = rosters.Employee<br>```<br><br>```<br>pay_rules.Creator = rosters.ConfirmBy<br>```<br><br>```<br>pay_rules.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>pay_rules.Creator = sales_data.Employee<br>```<br><br>```<br>pay_rules.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>pay_rules.Creator = schedules.Creator<br>```<br><br>```<br>pay_rules.Schedule = schedules.Id<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>pay_rules.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>pay_rules.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>pay_rules.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>pay_rules.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>pay_rules.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>pay_rules.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>pay_rules.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>pay_rules.Creator = task_opunit_configs.Creator<br>```<br><br>```<br>pay_rules.Schedule = task_opunit_configs.Schedule<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>pay_rules.Creator = task_setups.Creator<br>```<br><br>```<br>pay_rules.Schedule = task_setups.Schedule<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>pay_rules.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>pay_rules.Creator = teams.LeaderEmployee<br>```<br><br>```<br>pay_rules.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>pay_rules.Creator = timesheet_pay_returns.Creator<br>```<br><br>```<br>pay_rules.Id = timesheet_pay_returns.PayRule<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>pay_rules.Creator = timesheets.Employee<br>```<br><br>```<br>pay_rules.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>pay_rules.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>pay_rules.Creator = training_records.Employee<br>```<br><br>```<br>pay_rules.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>pay_rules.Creator = webhooks.Creator<br>``` |

pay\_rules table schema

| **AdvancedCalculation**<br><br><br>STRING |
| --- |
| **AnnualSalary**<br><br><br>NUMBER |
| **Comment**<br><br><br>STRING |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **DexmlScript**<br><br><br>INTEGER |
| **DexmlScriptParam**<br><br><br>STRING |
| **HourlyRate**<br><br><br>NUMBER |
| **Id**<br><br><br>INTEGER |
| **IsExported**<br><br><br>BOOLEAN |
| **IsMultiplier**<br><br><br>BOOLEAN |
| **MaximumShiftLength**<br><br><br>STRING |
| **MaximumType**<br><br><br>INTEGER |
| **MaximumValue**<br><br><br>INTEGER |
| **MinimumShiftLength**<br><br><br>STRING |
| **MinimumType**<br><br><br>INTEGER |
| **MinimumValue**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **MultiplierBaseRate**<br><br><br>INTEGER |
| **MultiplierValue**<br><br><br>NUMBER |
| **PayPortionRule**<br><br><br>INTEGER |
| **PayTitle**<br><br><br>STRING |
| **PayrollCategory**<br><br><br>STRING |
| **PeriodType**<br><br><br>INTEGER |
| **RecommendWith**<br><br><br>INTEGER |
| **RenumerationBy**<br><br><br>INTEGER |
| **RenumerationType**<br><br><br>INTEGER |
| **Schedule**<br><br><br>INTEGER |
| **UnitValue**<br><br><br>NUMBER |

### public\_holidays

The `public_holidays` table contains info about public holidays.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/PublicHoliday) |

public\_holidays table foreign keys

| Join public\_holidays with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>public_holidays.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>public_holidays.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>public_holidays.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>public_holidays.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>public_holidays.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>public_holidays.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>public_holidays.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>public_holidays.Creator = custom_app_data.Employee<br>```<br><br>```<br>public_holidays.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>public_holidays.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>public_holidays.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>public_holidays.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>public_holidays.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>public_holidays.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>public_holidays.Creator = employee_appraisal.Creator<br>```<br><br>```<br>public_holidays.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>public_holidays.Creator = employee_availability.Employee<br>```<br><br>```<br>public_holidays.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>public_holidays.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>public_holidays.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>public_holidays.Creator = employee_history.EmployeeId<br>```<br><br>```<br>public_holidays.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>public_holidays.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>public_holidays.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>public_holidays.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>public_holidays.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>public_holidays.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>public_holidays.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>public_holidays.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>public_holidays.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>public_holidays.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>public_holidays.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>public_holidays.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>public_holidays.Creator = journal.EmployeeId<br>```<br><br>```<br>public_holidays.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>public_holidays.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>public_holidays.Creator = leave_accruals.Employee<br>```<br><br>```<br>public_holidays.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>public_holidays.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>public_holidays.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>public_holidays.Creator = leaves.Employee<br>```<br><br>```<br>public_holidays.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>public_holidays.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>public_holidays.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>public_holidays.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>public_holidays.Creator = pay_rules.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>public_holidays.Creator = roster_opens.Employee<br>```<br><br>```<br>public_holidays.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>public_holidays.Creator = roster_swaps.Employee<br>```<br><br>```<br>public_holidays.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>public_holidays.Creator = rosters.Employee<br>```<br><br>```<br>public_holidays.Creator = rosters.ConfirmBy<br>```<br><br>```<br>public_holidays.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>public_holidays.Creator = sales_data.Employee<br>```<br><br>```<br>public_holidays.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>public_holidays.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>public_holidays.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>public_holidays.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>public_holidays.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>public_holidays.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>public_holidays.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>public_holidays.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>public_holidays.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>public_holidays.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>public_holidays.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>public_holidays.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>public_holidays.Creator = teams.LeaderEmployee<br>```<br><br>```<br>public_holidays.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>public_holidays.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>public_holidays.Creator = timesheets.Employee<br>```<br><br>```<br>public_holidays.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>public_holidays.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>public_holidays.Creator = training_records.Employee<br>```<br><br>```<br>public_holidays.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>public_holidays.Creator = webhooks.Creator<br>``` |

public\_holidays table schema

| **Created**<br><br><br>DATE-TIME |
| --- |
| **Creator**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **Schedule**<br><br><br>INTEGER |
| **Title**<br><br><br>STRING |

### roster\_opens

The `roster_opens` table contains info about roster opens.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/RosterOpen) |

roster\_opens table foreign keys

| Join roster\_opens with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>roster_opens.Employee = addresses.Creator<br>```<br><br>```<br>roster_opens.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>roster_opens.Employee = categories.Creator<br>```<br><br>```<br>roster_opens.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>roster_opens.Employee = comments.Creator<br>```<br><br>```<br>roster_opens.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>roster_opens.Employee = companies.Creator<br>```<br><br>```<br>roster_opens.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>roster_opens.Employee = company_periods.Creator<br>```<br><br>```<br>roster_opens.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>roster_opens.Employee = contacts.Creator<br>```<br><br>```<br>roster_opens.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>roster_opens.Employee = countries.Creator<br>```<br><br>```<br>roster_opens.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>roster_opens.Employee = custom_app_data.Employee<br>```<br><br>```<br>roster_opens.Creator = custom_app_data.Employee<br>```<br><br>```<br>roster_opens.Employee = custom_app_data.Creator<br>```<br><br>```<br>roster_opens.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>roster_opens.Employee = custom_field_data.Creator<br>```<br><br>```<br>roster_opens.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>roster_opens.Employee = custom_fields.Creator<br>```<br><br>```<br>roster_opens.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>roster_opens.Employee = employee_agreement_history.Creator<br>```<br><br>```<br>roster_opens.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>roster_opens.Employee = employee_agreements.EmployeeId<br>```<br><br>```<br>roster_opens.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>roster_opens.Employee = employee_agreements.Creator<br>```<br><br>```<br>roster_opens.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>roster_opens.Employee = employee_appraisal.Creator<br>```<br><br>```<br>roster_opens.Creator = employee_appraisal.Creator<br>```<br><br>```<br>roster_opens.Employee = employee_appraisal.Employee<br>```<br><br>```<br>roster_opens.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>roster_opens.Employee = employee_availability.Employee<br>```<br><br>```<br>roster_opens.Creator = employee_availability.Employee<br>```<br><br>```<br>roster_opens.Employee = employee_availability.Creator<br>```<br><br>```<br>roster_opens.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>roster_opens.Employee = employee_contract_leave_rules.Creator<br>```<br><br>```<br>roster_opens.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>roster_opens.Employee = employee_contracts.Creator<br>```<br><br>```<br>roster_opens.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>roster_opens.Employee = employee_history.EmployeeId<br>```<br><br>```<br>roster_opens.Creator = employee_history.EmployeeId<br>```<br><br>```<br>roster_opens.Employee = employee_history.Creator<br>```<br><br>```<br>roster_opens.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>roster_opens.Employee = employee_paycycle_returns.Creator<br>```<br><br>```<br>roster_opens.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>roster_opens.Employee = employee_paycycles.EmployeeId<br>```<br><br>```<br>roster_opens.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>roster_opens.Employee = employee_paycycles.Creator<br>```<br><br>```<br>roster_opens.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>roster_opens.Employee = employee_roles.Creator<br>```<br><br>```<br>roster_opens.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>roster_opens.Employee = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>roster_opens.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>roster_opens.Employee = employee_salary_opunit_costing.Creator<br>```<br><br>```<br>roster_opens.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>roster_opens.Employee = employee_workplaces.EmployeeId<br>```<br><br>```<br>roster_opens.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>roster_opens.Employee = employee_workplaces.Creator<br>```<br><br>```<br>roster_opens.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>roster_opens.Employee = employment_conditions.Creator<br>```<br><br>```<br>roster_opens.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>roster_opens.Employee = events.Creator<br>```<br><br>```<br>roster_opens.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>roster_opens.Employee = geo.Creator<br>```<br><br>```<br>roster_opens.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>roster_opens.Employee = journal.EmployeeId<br>```<br><br>```<br>roster_opens.Creator = journal.EmployeeId<br>```<br><br>```<br>roster_opens.Employee = journal.Creator<br>```<br><br>```<br>roster_opens.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>roster_opens.Employee = kiosks.Creator<br>```<br><br>```<br>roster_opens.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>roster_opens.Employee = leave_accruals.Employee<br>```<br><br>```<br>roster_opens.Creator = leave_accruals.Employee<br>```<br><br>```<br>roster_opens.Employee = leave_accruals.Creator<br>```<br><br>```<br>roster_opens.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>roster_opens.Employee = leave_pay_lines.Creator<br>```<br><br>```<br>roster_opens.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>roster_opens.Employee = leave_rules.Creator<br>```<br><br>```<br>roster_opens.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>roster_opens.Employee = leaves.Employee<br>```<br><br>```<br>roster_opens.Creator = leaves.Employee<br>```<br><br>```<br>roster_opens.Employee = leaves.Creator<br>```<br><br>```<br>roster_opens.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>roster_opens.Employee = memos.Creator<br>```<br><br>```<br>roster_opens.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>roster_opens.Employee = operational_units.Creator<br>```<br><br>```<br>roster_opens.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>roster_opens.Employee = pay_periods.Creator<br>```<br><br>```<br>roster_opens.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>roster_opens.Employee = pay_rules.Creator<br>```<br><br>```<br>roster_opens.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>roster_opens.Employee = public_holidays.Creator<br>```<br><br>```<br>roster_opens.Creator = public_holidays.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>roster_opens.Employee = roster_swaps.Employee<br>```<br><br>```<br>roster_opens.Creator = roster_swaps.Employee<br>```<br><br>```<br>roster_opens.Employee = roster_swaps.Creator<br>```<br><br>```<br>roster_opens.Creator = roster_swaps.Creator<br>```<br><br>```<br>roster_opens.Roster = roster_swaps.SourceRoster<br>```<br><br>```<br>roster_opens.Roster = roster_swaps.TargetRoster<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>roster_opens.Employee = rosters.Employee<br>```<br><br>```<br>roster_opens.Creator = rosters.Employee<br>```<br><br>```<br>roster_opens.Employee = rosters.ConfirmBy<br>```<br><br>```<br>roster_opens.Creator = rosters.ConfirmBy<br>```<br><br>```<br>roster_opens.Employee = rosters.Creator<br>```<br><br>```<br>roster_opens.Creator = rosters.Creator<br>```<br><br>```<br>roster_opens.Roster = rosters.Id<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>roster_opens.Employee = sales_data.Employee<br>```<br><br>```<br>roster_opens.Creator = sales_data.Employee<br>```<br><br>```<br>roster_opens.Employee = sales_data.Creator<br>```<br><br>```<br>roster_opens.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>roster_opens.Employee = schedules.Creator<br>```<br><br>```<br>roster_opens.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>roster_opens.Employee = sms_logs.Creator<br>```<br><br>```<br>roster_opens.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>roster_opens.Employee = states.Creator<br>```<br><br>```<br>roster_opens.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>roster_opens.Employee = stress_profiles.Creator<br>```<br><br>```<br>roster_opens.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>roster_opens.Employee = system_usage_balances.Creator<br>```<br><br>```<br>roster_opens.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>roster_opens.Employee = system_usage_tracking.Creator<br>```<br><br>```<br>roster_opens.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>roster_opens.Employee = task_group_setups.Creator<br>```<br><br>```<br>roster_opens.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>roster_opens.Employee = task_groups.Creator<br>```<br><br>```<br>roster_opens.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>roster_opens.Employee = task_opunit_configs.Creator<br>```<br><br>```<br>roster_opens.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>roster_opens.Employee = task_setups.Creator<br>```<br><br>```<br>roster_opens.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>roster_opens.Employee = tasks.Creator<br>```<br><br>```<br>roster_opens.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>roster_opens.Employee = teams.LeaderEmployee<br>```<br><br>```<br>roster_opens.Creator = teams.LeaderEmployee<br>```<br><br>```<br>roster_opens.Employee = teams.Creator<br>```<br><br>```<br>roster_opens.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>roster_opens.Employee = timesheet_pay_returns.Creator<br>```<br><br>```<br>roster_opens.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>roster_opens.Employee = timesheets.Employee<br>```<br><br>```<br>roster_opens.Creator = timesheets.Employee<br>```<br><br>```<br>roster_opens.Employee = timesheets.Creator<br>```<br><br>```<br>roster_opens.Creator = timesheets.Creator<br>```<br><br>```<br>roster_opens.Roster = timesheets.Roster<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>roster_opens.Employee = training_modules.Creator<br>```<br><br>```<br>roster_opens.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>roster_opens.Employee = training_records.Employee<br>```<br><br>```<br>roster_opens.Creator = training_records.Employee<br>```<br><br>```<br>roster_opens.Employee = training_records.Creator<br>```<br><br>```<br>roster_opens.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>roster_opens.Employee = webhooks.Creator<br>```<br><br>```<br>roster_opens.Creator = webhooks.Creator<br>``` |

roster\_opens table schema

| **Accepted**<br><br><br>BOOLEAN |
| --- |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Declined**<br><br><br>BOOLEAN |
| **Employee**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **Link**<br><br><br>STRING |
| **Message**<br><br><br>STRING |
| **Modified**<br><br><br>DATE-TIME |
| **Roster**<br><br><br>INTEGER |
| **Seen**<br><br><br>BOOLEAN |

### roster\_swaps

The `roster_swaps` table contains info about roster swaps.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/RosterSwap) |

roster\_swaps table foreign keys

| Join roster\_swaps with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>roster_swaps.Employee = addresses.Creator<br>```<br><br>```<br>roster_swaps.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>roster_swaps.Employee = categories.Creator<br>```<br><br>```<br>roster_swaps.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>roster_swaps.Employee = comments.Creator<br>```<br><br>```<br>roster_swaps.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>roster_swaps.Employee = companies.Creator<br>```<br><br>```<br>roster_swaps.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>roster_swaps.Employee = company_periods.Creator<br>```<br><br>```<br>roster_swaps.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>roster_swaps.Employee = contacts.Creator<br>```<br><br>```<br>roster_swaps.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>roster_swaps.Employee = countries.Creator<br>```<br><br>```<br>roster_swaps.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>roster_swaps.Employee = custom_app_data.Employee<br>```<br><br>```<br>roster_swaps.Creator = custom_app_data.Employee<br>```<br><br>```<br>roster_swaps.Employee = custom_app_data.Creator<br>```<br><br>```<br>roster_swaps.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>roster_swaps.Employee = custom_field_data.Creator<br>```<br><br>```<br>roster_swaps.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>roster_swaps.Employee = custom_fields.Creator<br>```<br><br>```<br>roster_swaps.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>roster_swaps.Employee = employee_agreement_history.Creator<br>```<br><br>```<br>roster_swaps.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>roster_swaps.Employee = employee_agreements.EmployeeId<br>```<br><br>```<br>roster_swaps.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>roster_swaps.Employee = employee_agreements.Creator<br>```<br><br>```<br>roster_swaps.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>roster_swaps.Employee = employee_appraisal.Creator<br>```<br><br>```<br>roster_swaps.Creator = employee_appraisal.Creator<br>```<br><br>```<br>roster_swaps.Employee = employee_appraisal.Employee<br>```<br><br>```<br>roster_swaps.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>roster_swaps.Employee = employee_availability.Employee<br>```<br><br>```<br>roster_swaps.Creator = employee_availability.Employee<br>```<br><br>```<br>roster_swaps.Employee = employee_availability.Creator<br>```<br><br>```<br>roster_swaps.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>roster_swaps.Employee = employee_contract_leave_rules.Creator<br>```<br><br>```<br>roster_swaps.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>roster_swaps.Employee = employee_contracts.Creator<br>```<br><br>```<br>roster_swaps.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>roster_swaps.Employee = employee_history.EmployeeId<br>```<br><br>```<br>roster_swaps.Creator = employee_history.EmployeeId<br>```<br><br>```<br>roster_swaps.Employee = employee_history.Creator<br>```<br><br>```<br>roster_swaps.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>roster_swaps.Employee = employee_paycycle_returns.Creator<br>```<br><br>```<br>roster_swaps.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>roster_swaps.Employee = employee_paycycles.EmployeeId<br>```<br><br>```<br>roster_swaps.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>roster_swaps.Employee = employee_paycycles.Creator<br>```<br><br>```<br>roster_swaps.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>roster_swaps.Employee = employee_roles.Creator<br>```<br><br>```<br>roster_swaps.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>roster_swaps.Employee = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>roster_swaps.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>roster_swaps.Employee = employee_salary_opunit_costing.Creator<br>```<br><br>```<br>roster_swaps.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>roster_swaps.Employee = employee_workplaces.EmployeeId<br>```<br><br>```<br>roster_swaps.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>roster_swaps.Employee = employee_workplaces.Creator<br>```<br><br>```<br>roster_swaps.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>roster_swaps.Employee = employment_conditions.Creator<br>```<br><br>```<br>roster_swaps.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>roster_swaps.Employee = events.Creator<br>```<br><br>```<br>roster_swaps.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>roster_swaps.Employee = geo.Creator<br>```<br><br>```<br>roster_swaps.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>roster_swaps.Employee = journal.EmployeeId<br>```<br><br>```<br>roster_swaps.Creator = journal.EmployeeId<br>```<br><br>```<br>roster_swaps.Employee = journal.Creator<br>```<br><br>```<br>roster_swaps.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>roster_swaps.Employee = kiosks.Creator<br>```<br><br>```<br>roster_swaps.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>roster_swaps.Employee = leave_accruals.Employee<br>```<br><br>```<br>roster_swaps.Creator = leave_accruals.Employee<br>```<br><br>```<br>roster_swaps.Employee = leave_accruals.Creator<br>```<br><br>```<br>roster_swaps.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>roster_swaps.Employee = leave_pay_lines.Creator<br>```<br><br>```<br>roster_swaps.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>roster_swaps.Employee = leave_rules.Creator<br>```<br><br>```<br>roster_swaps.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>roster_swaps.Employee = leaves.Employee<br>```<br><br>```<br>roster_swaps.Creator = leaves.Employee<br>```<br><br>```<br>roster_swaps.Employee = leaves.Creator<br>```<br><br>```<br>roster_swaps.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>roster_swaps.Employee = memos.Creator<br>```<br><br>```<br>roster_swaps.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>roster_swaps.Employee = operational_units.Creator<br>```<br><br>```<br>roster_swaps.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>roster_swaps.Employee = pay_periods.Creator<br>```<br><br>```<br>roster_swaps.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>roster_swaps.Employee = pay_rules.Creator<br>```<br><br>```<br>roster_swaps.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>roster_swaps.Employee = public_holidays.Creator<br>```<br><br>```<br>roster_swaps.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>roster_swaps.Employee = roster_opens.Employee<br>```<br><br>```<br>roster_swaps.Creator = roster_opens.Employee<br>```<br><br>```<br>roster_swaps.Employee = roster_opens.Creator<br>```<br><br>```<br>roster_swaps.Creator = roster_opens.Creator<br>```<br><br>```<br>roster_swaps.SourceRoster = roster_opens.Roster<br>```<br><br>```<br>roster_swaps.TargetRoster = roster_opens.Roster<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>roster_swaps.Employee = rosters.Employee<br>```<br><br>```<br>roster_swaps.Creator = rosters.Employee<br>```<br><br>```<br>roster_swaps.Employee = rosters.ConfirmBy<br>```<br><br>```<br>roster_swaps.Creator = rosters.ConfirmBy<br>```<br><br>```<br>roster_swaps.Employee = rosters.Creator<br>```<br><br>```<br>roster_swaps.Creator = rosters.Creator<br>```<br><br>```<br>roster_swaps.SourceRoster = rosters.Id<br>```<br><br>```<br>roster_swaps.TargetRoster = rosters.Id<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>roster_swaps.Employee = sales_data.Employee<br>```<br><br>```<br>roster_swaps.Creator = sales_data.Employee<br>```<br><br>```<br>roster_swaps.Employee = sales_data.Creator<br>```<br><br>```<br>roster_swaps.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>roster_swaps.Employee = schedules.Creator<br>```<br><br>```<br>roster_swaps.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>roster_swaps.Employee = sms_logs.Creator<br>```<br><br>```<br>roster_swaps.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>roster_swaps.Employee = states.Creator<br>```<br><br>```<br>roster_swaps.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>roster_swaps.Employee = stress_profiles.Creator<br>```<br><br>```<br>roster_swaps.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>roster_swaps.Employee = system_usage_balances.Creator<br>```<br><br>```<br>roster_swaps.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>roster_swaps.Employee = system_usage_tracking.Creator<br>```<br><br>```<br>roster_swaps.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>roster_swaps.Employee = task_group_setups.Creator<br>```<br><br>```<br>roster_swaps.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>roster_swaps.Employee = task_groups.Creator<br>```<br><br>```<br>roster_swaps.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>roster_swaps.Employee = task_opunit_configs.Creator<br>```<br><br>```<br>roster_swaps.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>roster_swaps.Employee = task_setups.Creator<br>```<br><br>```<br>roster_swaps.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>roster_swaps.Employee = tasks.Creator<br>```<br><br>```<br>roster_swaps.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>roster_swaps.Employee = teams.LeaderEmployee<br>```<br><br>```<br>roster_swaps.Creator = teams.LeaderEmployee<br>```<br><br>```<br>roster_swaps.Employee = teams.Creator<br>```<br><br>```<br>roster_swaps.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>roster_swaps.Employee = timesheet_pay_returns.Creator<br>```<br><br>```<br>roster_swaps.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>roster_swaps.Employee = timesheets.Employee<br>```<br><br>```<br>roster_swaps.Creator = timesheets.Employee<br>```<br><br>```<br>roster_swaps.Employee = timesheets.Creator<br>```<br><br>```<br>roster_swaps.Creator = timesheets.Creator<br>```<br><br>```<br>roster_swaps.SourceRoster = timesheets.Roster<br>```<br><br>```<br>roster_swaps.TargetRoster = timesheets.Roster<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>roster_swaps.Employee = training_modules.Creator<br>```<br><br>```<br>roster_swaps.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>roster_swaps.Employee = training_records.Employee<br>```<br><br>```<br>roster_swaps.Creator = training_records.Employee<br>```<br><br>```<br>roster_swaps.Employee = training_records.Creator<br>```<br><br>```<br>roster_swaps.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>roster_swaps.Employee = webhooks.Creator<br>```<br><br>```<br>roster_swaps.Creator = webhooks.Creator<br>``` |

roster\_swaps table schema

| **Created**<br><br><br>DATE-TIME |
| --- |
| **Creator**<br><br><br>INTEGER |
| **Employee**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **RequestMessage**<br><br><br>STRING |
| **ResponseMessage**<br><br><br>STRING |
| **SourceRoster**<br><br><br>INTEGER |
| **Status**<br><br><br>INTEGER |
| **TargetRoster**<br><br><br>INTEGER |

### rosters

The `rosters` table contains info about rosters.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/Roster) |

rosters table foreign keys

| Join rosters with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>rosters.Employee = addresses.Creator<br>```<br><br>```<br>rosters.ConfirmBy = addresses.Creator<br>```<br><br>```<br>rosters.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>rosters.Employee = categories.Creator<br>```<br><br>```<br>rosters.ConfirmBy = categories.Creator<br>```<br><br>```<br>rosters.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>rosters.Employee = comments.Creator<br>```<br><br>```<br>rosters.ConfirmBy = comments.Creator<br>```<br><br>```<br>rosters.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>rosters.Employee = companies.Creator<br>```<br><br>```<br>rosters.ConfirmBy = companies.Creator<br>```<br><br>```<br>rosters.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>rosters.Employee = company_periods.Creator<br>```<br><br>```<br>rosters.ConfirmBy = company_periods.Creator<br>```<br><br>```<br>rosters.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>rosters.Employee = contacts.Creator<br>```<br><br>```<br>rosters.ConfirmBy = contacts.Creator<br>```<br><br>```<br>rosters.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>rosters.Employee = countries.Creator<br>```<br><br>```<br>rosters.ConfirmBy = countries.Creator<br>```<br><br>```<br>rosters.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>rosters.Employee = custom_app_data.Employee<br>```<br><br>```<br>rosters.ConfirmBy = custom_app_data.Employee<br>```<br><br>```<br>rosters.Creator = custom_app_data.Employee<br>```<br><br>```<br>rosters.Employee = custom_app_data.Creator<br>```<br><br>```<br>rosters.ConfirmBy = custom_app_data.Creator<br>```<br><br>```<br>rosters.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>rosters.Employee = custom_field_data.Creator<br>```<br><br>```<br>rosters.ConfirmBy = custom_field_data.Creator<br>```<br><br>```<br>rosters.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>rosters.Employee = custom_fields.Creator<br>```<br><br>```<br>rosters.ConfirmBy = custom_fields.Creator<br>```<br><br>```<br>rosters.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>rosters.Employee = employee_agreement_history.Creator<br>```<br><br>```<br>rosters.ConfirmBy = employee_agreement_history.Creator<br>```<br><br>```<br>rosters.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>rosters.Employee = employee_agreements.EmployeeId<br>```<br><br>```<br>rosters.ConfirmBy = employee_agreements.EmployeeId<br>```<br><br>```<br>rosters.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>rosters.Employee = employee_agreements.Creator<br>```<br><br>```<br>rosters.ConfirmBy = employee_agreements.Creator<br>```<br><br>```<br>rosters.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>rosters.Employee = employee_appraisal.Creator<br>```<br><br>```<br>rosters.ConfirmBy = employee_appraisal.Creator<br>```<br><br>```<br>rosters.Creator = employee_appraisal.Creator<br>```<br><br>```<br>rosters.Employee = employee_appraisal.Employee<br>```<br><br>```<br>rosters.ConfirmBy = employee_appraisal.Employee<br>```<br><br>```<br>rosters.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>rosters.Employee = employee_availability.Employee<br>```<br><br>```<br>rosters.ConfirmBy = employee_availability.Employee<br>```<br><br>```<br>rosters.Creator = employee_availability.Employee<br>```<br><br>```<br>rosters.Employee = employee_availability.Creator<br>```<br><br>```<br>rosters.ConfirmBy = employee_availability.Creator<br>```<br><br>```<br>rosters.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>rosters.Employee = employee_contract_leave_rules.Creator<br>```<br><br>```<br>rosters.ConfirmBy = employee_contract_leave_rules.Creator<br>```<br><br>```<br>rosters.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>rosters.Employee = employee_contracts.Creator<br>```<br><br>```<br>rosters.ConfirmBy = employee_contracts.Creator<br>```<br><br>```<br>rosters.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>rosters.Employee = employee_history.EmployeeId<br>```<br><br>```<br>rosters.ConfirmBy = employee_history.EmployeeId<br>```<br><br>```<br>rosters.Creator = employee_history.EmployeeId<br>```<br><br>```<br>rosters.Employee = employee_history.Creator<br>```<br><br>```<br>rosters.ConfirmBy = employee_history.Creator<br>```<br><br>```<br>rosters.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>rosters.Employee = employee_paycycle_returns.Creator<br>```<br><br>```<br>rosters.ConfirmBy = employee_paycycle_returns.Creator<br>```<br><br>```<br>rosters.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>rosters.Employee = employee_paycycles.EmployeeId<br>```<br><br>```<br>rosters.ConfirmBy = employee_paycycles.EmployeeId<br>```<br><br>```<br>rosters.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>rosters.Employee = employee_paycycles.Creator<br>```<br><br>```<br>rosters.ConfirmBy = employee_paycycles.Creator<br>```<br><br>```<br>rosters.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>rosters.Employee = employee_roles.Creator<br>```<br><br>```<br>rosters.ConfirmBy = employee_roles.Creator<br>```<br><br>```<br>rosters.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>rosters.Employee = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>rosters.ConfirmBy = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>rosters.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>rosters.Employee = employee_salary_opunit_costing.Creator<br>```<br><br>```<br>rosters.ConfirmBy = employee_salary_opunit_costing.Creator<br>```<br><br>```<br>rosters.Creator = employee_salary_opunit_costing.Creator<br>```<br><br>```<br>rosters.OperationalUnit = employee_salary_opunit_costing.OpUnit<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>rosters.Employee = employee_workplaces.EmployeeId<br>```<br><br>```<br>rosters.ConfirmBy = employee_workplaces.EmployeeId<br>```<br><br>```<br>rosters.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>rosters.Employee = employee_workplaces.Creator<br>```<br><br>```<br>rosters.ConfirmBy = employee_workplaces.Creator<br>```<br><br>```<br>rosters.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>rosters.Employee = employment_conditions.Creator<br>```<br><br>```<br>rosters.ConfirmBy = employment_conditions.Creator<br>```<br><br>```<br>rosters.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>rosters.Employee = events.Creator<br>```<br><br>```<br>rosters.ConfirmBy = events.Creator<br>```<br><br>```<br>rosters.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>rosters.Employee = geo.Creator<br>```<br><br>```<br>rosters.ConfirmBy = geo.Creator<br>```<br><br>```<br>rosters.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>rosters.Employee = journal.EmployeeId<br>```<br><br>```<br>rosters.ConfirmBy = journal.EmployeeId<br>```<br><br>```<br>rosters.Creator = journal.EmployeeId<br>```<br><br>```<br>rosters.Employee = journal.Creator<br>```<br><br>```<br>rosters.ConfirmBy = journal.Creator<br>```<br><br>```<br>rosters.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>rosters.Employee = kiosks.Creator<br>```<br><br>```<br>rosters.ConfirmBy = kiosks.Creator<br>```<br><br>```<br>rosters.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>rosters.Employee = leave_accruals.Employee<br>```<br><br>```<br>rosters.ConfirmBy = leave_accruals.Employee<br>```<br><br>```<br>rosters.Creator = leave_accruals.Employee<br>```<br><br>```<br>rosters.Employee = leave_accruals.Creator<br>```<br><br>```<br>rosters.ConfirmBy = leave_accruals.Creator<br>```<br><br>```<br>rosters.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>rosters.Employee = leave_pay_lines.Creator<br>```<br><br>```<br>rosters.ConfirmBy = leave_pay_lines.Creator<br>```<br><br>```<br>rosters.Creator = leave_pay_lines.Creator<br>```<br><br>```<br>rosters.MatchedByTimesheet = leave_pay_lines.TimesheetId<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>rosters.Employee = leave_rules.Creator<br>```<br><br>```<br>rosters.ConfirmBy = leave_rules.Creator<br>```<br><br>```<br>rosters.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>rosters.Employee = leaves.Employee<br>```<br><br>```<br>rosters.ConfirmBy = leaves.Employee<br>```<br><br>```<br>rosters.Creator = leaves.Employee<br>```<br><br>```<br>rosters.Employee = leaves.Creator<br>```<br><br>```<br>rosters.ConfirmBy = leaves.Creator<br>```<br><br>```<br>rosters.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>rosters.Employee = memos.Creator<br>```<br><br>```<br>rosters.ConfirmBy = memos.Creator<br>```<br><br>```<br>rosters.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>rosters.Employee = operational_units.Creator<br>```<br><br>```<br>rosters.ConfirmBy = operational_units.Creator<br>```<br><br>```<br>rosters.Creator = operational_units.Creator<br>```<br><br>```<br>rosters.OperationalUnit = operational_units.Id<br>```<br><br>```<br>rosters.OperationalUnit = operational_units.ParentOperationalUnit<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>rosters.Employee = pay_periods.Creator<br>```<br><br>```<br>rosters.ConfirmBy = pay_periods.Creator<br>```<br><br>```<br>rosters.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>rosters.Employee = pay_rules.Creator<br>```<br><br>```<br>rosters.ConfirmBy = pay_rules.Creator<br>```<br><br>```<br>rosters.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>rosters.Employee = public_holidays.Creator<br>```<br><br>```<br>rosters.ConfirmBy = public_holidays.Creator<br>```<br><br>```<br>rosters.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>rosters.Employee = roster_opens.Employee<br>```<br><br>```<br>rosters.ConfirmBy = roster_opens.Employee<br>```<br><br>```<br>rosters.Creator = roster_opens.Employee<br>```<br><br>```<br>rosters.Employee = roster_opens.Creator<br>```<br><br>```<br>rosters.ConfirmBy = roster_opens.Creator<br>```<br><br>```<br>rosters.Creator = roster_opens.Creator<br>```<br><br>```<br>rosters.Id = roster_opens.Roster<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>rosters.Employee = roster_swaps.Employee<br>```<br><br>```<br>rosters.ConfirmBy = roster_swaps.Employee<br>```<br><br>```<br>rosters.Creator = roster_swaps.Employee<br>```<br><br>```<br>rosters.Employee = roster_swaps.Creator<br>```<br><br>```<br>rosters.ConfirmBy = roster_swaps.Creator<br>```<br><br>```<br>rosters.Creator = roster_swaps.Creator<br>```<br><br>```<br>rosters.Id = roster_swaps.SourceRoster<br>```<br><br>```<br>rosters.Id = roster_swaps.TargetRoster<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>rosters.Employee = sales_data.Employee<br>```<br><br>```<br>rosters.ConfirmBy = sales_data.Employee<br>```<br><br>```<br>rosters.Creator = sales_data.Employee<br>```<br><br>```<br>rosters.Employee = sales_data.Creator<br>```<br><br>```<br>rosters.ConfirmBy = sales_data.Creator<br>```<br><br>```<br>rosters.Creator = sales_data.Creator<br>```<br><br>```<br>rosters.OperationalUnit = sales_data.OperationalUnit<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>rosters.Employee = schedules.Creator<br>```<br><br>```<br>rosters.ConfirmBy = schedules.Creator<br>```<br><br>```<br>rosters.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>rosters.Employee = sms_logs.Creator<br>```<br><br>```<br>rosters.ConfirmBy = sms_logs.Creator<br>```<br><br>```<br>rosters.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>rosters.Employee = states.Creator<br>```<br><br>```<br>rosters.ConfirmBy = states.Creator<br>```<br><br>```<br>rosters.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>rosters.Employee = stress_profiles.Creator<br>```<br><br>```<br>rosters.ConfirmBy = stress_profiles.Creator<br>```<br><br>```<br>rosters.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>rosters.Employee = system_usage_balances.Creator<br>```<br><br>```<br>rosters.ConfirmBy = system_usage_balances.Creator<br>```<br><br>```<br>rosters.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>rosters.Employee = system_usage_tracking.Creator<br>```<br><br>```<br>rosters.ConfirmBy = system_usage_tracking.Creator<br>```<br><br>```<br>rosters.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>rosters.Employee = task_group_setups.Creator<br>```<br><br>```<br>rosters.ConfirmBy = task_group_setups.Creator<br>```<br><br>```<br>rosters.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>rosters.Employee = task_groups.Creator<br>```<br><br>```<br>rosters.ConfirmBy = task_groups.Creator<br>```<br><br>```<br>rosters.Creator = task_groups.Creator<br>```<br><br>```<br>rosters.OperationalUnit = task_groups.OpUnitId<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>rosters.Employee = task_opunit_configs.Creator<br>```<br><br>```<br>rosters.ConfirmBy = task_opunit_configs.Creator<br>```<br><br>```<br>rosters.Creator = task_opunit_configs.Creator<br>```<br><br>```<br>rosters.OperationalUnit = task_opunit_configs.OpUnitId<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>rosters.Employee = task_setups.Creator<br>```<br><br>```<br>rosters.ConfirmBy = task_setups.Creator<br>```<br><br>```<br>rosters.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>rosters.Employee = tasks.Creator<br>```<br><br>```<br>rosters.ConfirmBy = tasks.Creator<br>```<br><br>```<br>rosters.Creator = tasks.Creator<br>```<br><br>```<br>rosters.OperationalUnit = tasks.OpUnitId<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>rosters.Employee = teams.LeaderEmployee<br>```<br><br>```<br>rosters.ConfirmBy = teams.LeaderEmployee<br>```<br><br>```<br>rosters.Creator = teams.LeaderEmployee<br>```<br><br>```<br>rosters.Employee = teams.Creator<br>```<br><br>```<br>rosters.ConfirmBy = teams.Creator<br>```<br><br>```<br>rosters.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>rosters.Employee = timesheet_pay_returns.Creator<br>```<br><br>```<br>rosters.ConfirmBy = timesheet_pay_returns.Creator<br>```<br><br>```<br>rosters.Creator = timesheet_pay_returns.Creator<br>```<br><br>```<br>rosters.MatchedByTimesheet = timesheet_pay_returns.Timesheet<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>rosters.Employee = timesheets.Employee<br>```<br><br>```<br>rosters.ConfirmBy = timesheets.Employee<br>```<br><br>```<br>rosters.Creator = timesheets.Employee<br>```<br><br>```<br>rosters.Employee = timesheets.Creator<br>```<br><br>```<br>rosters.ConfirmBy = timesheets.Creator<br>```<br><br>```<br>rosters.Creator = timesheets.Creator<br>```<br><br>```<br>rosters.OperationalUnit = timesheets.OperationalUnit<br>```<br><br>```<br>rosters.Id = timesheets.Roster<br>```<br><br>```<br>rosters.MatchedByTimesheet = timesheets.Id<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>rosters.Employee = training_modules.Creator<br>```<br><br>```<br>rosters.ConfirmBy = training_modules.Creator<br>```<br><br>```<br>rosters.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>rosters.Employee = training_records.Employee<br>```<br><br>```<br>rosters.ConfirmBy = training_records.Employee<br>```<br><br>```<br>rosters.Creator = training_records.Employee<br>```<br><br>```<br>rosters.Employee = training_records.Creator<br>```<br><br>```<br>rosters.ConfirmBy = training_records.Creator<br>```<br><br>```<br>rosters.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>rosters.Employee = webhooks.Creator<br>```<br><br>```<br>rosters.ConfirmBy = webhooks.Creator<br>```<br><br>```<br>rosters.Creator = webhooks.Creator<br>``` |

rosters table schema

| **Comment**<br><br><br>STRING |
| --- |
| **ConfirmBy**<br><br><br>INTEGER |
| **ConfirmComment**<br><br><br>STRING |
| **ConfirmStatus**<br><br><br>INTEGER |
| **ConfirmTime**<br><br><br>INTEGER |
| **Cost**<br><br><br>NUMBER |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Date**<br><br><br>DATE |
| **Employee**<br><br><br>INTEGER |
| **EndTime**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **MatchedByTimesheet**<br><br><br>INTEGER |
| **Mealbreak**<br><br><br>STRING |
| **Modified**<br><br><br>DATE-TIME |
| **Open**<br><br><br>BOOLEAN |
| **OperationalUnit**<br><br><br>INTEGER |
| **Published**<br><br><br>BOOLEAN |
| **StartTime**<br><br><br>INTEGER |
| **SwapManageBy**<br><br><br>INTEGER |
| **SwapStatus**<br><br><br>INTEGER |
| **TotalTime**<br><br><br>NUMBER |
| **Warning**<br><br><br>STRING |
| **WarningOverrideComment**<br><br><br>STRING |

### sales\_data

The `sales_data` table contains info about sales data.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/SalesData) |

sales\_data table foreign keys

| Join sales\_data with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>sales_data.Employee = addresses.Creator<br>```<br><br>```<br>sales_data.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>sales_data.Employee = categories.Creator<br>```<br><br>```<br>sales_data.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>sales_data.Employee = comments.Creator<br>```<br><br>```<br>sales_data.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>sales_data.Employee = companies.Creator<br>```<br><br>```<br>sales_data.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>sales_data.Employee = company_periods.Creator<br>```<br><br>```<br>sales_data.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>sales_data.Employee = contacts.Creator<br>```<br><br>```<br>sales_data.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>sales_data.Employee = countries.Creator<br>```<br><br>```<br>sales_data.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>sales_data.Employee = custom_app_data.Employee<br>```<br><br>```<br>sales_data.Creator = custom_app_data.Employee<br>```<br><br>```<br>sales_data.Employee = custom_app_data.Creator<br>```<br><br>```<br>sales_data.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>sales_data.Employee = custom_field_data.Creator<br>```<br><br>```<br>sales_data.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>sales_data.Employee = custom_fields.Creator<br>```<br><br>```<br>sales_data.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>sales_data.Employee = employee_agreement_history.Creator<br>```<br><br>```<br>sales_data.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>sales_data.Employee = employee_agreements.EmployeeId<br>```<br><br>```<br>sales_data.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>sales_data.Employee = employee_agreements.Creator<br>```<br><br>```<br>sales_data.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>sales_data.Employee = employee_appraisal.Creator<br>```<br><br>```<br>sales_data.Creator = employee_appraisal.Creator<br>```<br><br>```<br>sales_data.Employee = employee_appraisal.Employee<br>```<br><br>```<br>sales_data.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>sales_data.Employee = employee_availability.Employee<br>```<br><br>```<br>sales_data.Creator = employee_availability.Employee<br>```<br><br>```<br>sales_data.Employee = employee_availability.Creator<br>```<br><br>```<br>sales_data.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>sales_data.Employee = employee_contract_leave_rules.Creator<br>```<br><br>```<br>sales_data.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>sales_data.Employee = employee_contracts.Creator<br>```<br><br>```<br>sales_data.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>sales_data.Employee = employee_history.EmployeeId<br>```<br><br>```<br>sales_data.Creator = employee_history.EmployeeId<br>```<br><br>```<br>sales_data.Employee = employee_history.Creator<br>```<br><br>```<br>sales_data.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>sales_data.Employee = employee_paycycle_returns.Creator<br>```<br><br>```<br>sales_data.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>sales_data.Employee = employee_paycycles.EmployeeId<br>```<br><br>```<br>sales_data.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>sales_data.Employee = employee_paycycles.Creator<br>```<br><br>```<br>sales_data.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>sales_data.Employee = employee_roles.Creator<br>```<br><br>```<br>sales_data.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>sales_data.Employee = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>sales_data.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>sales_data.Employee = employee_salary_opunit_costing.Creator<br>```<br><br>```<br>sales_data.Creator = employee_salary_opunit_costing.Creator<br>```<br><br>```<br>sales_data.OperationalUnit = employee_salary_opunit_costing.OpUnit<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>sales_data.Employee = employee_workplaces.EmployeeId<br>```<br><br>```<br>sales_data.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>sales_data.Employee = employee_workplaces.Creator<br>```<br><br>```<br>sales_data.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>sales_data.Employee = employment_conditions.Creator<br>```<br><br>```<br>sales_data.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>sales_data.Employee = events.Creator<br>```<br><br>```<br>sales_data.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>sales_data.Employee = geo.Creator<br>```<br><br>```<br>sales_data.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>sales_data.Employee = journal.EmployeeId<br>```<br><br>```<br>sales_data.Creator = journal.EmployeeId<br>```<br><br>```<br>sales_data.Employee = journal.Creator<br>```<br><br>```<br>sales_data.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>sales_data.Employee = kiosks.Creator<br>```<br><br>```<br>sales_data.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>sales_data.Employee = leave_accruals.Employee<br>```<br><br>```<br>sales_data.Creator = leave_accruals.Employee<br>```<br><br>```<br>sales_data.Employee = leave_accruals.Creator<br>```<br><br>```<br>sales_data.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>sales_data.Employee = leave_pay_lines.Creator<br>```<br><br>```<br>sales_data.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>sales_data.Employee = leave_rules.Creator<br>```<br><br>```<br>sales_data.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>sales_data.Employee = leaves.Employee<br>```<br><br>```<br>sales_data.Creator = leaves.Employee<br>```<br><br>```<br>sales_data.Employee = leaves.Creator<br>```<br><br>```<br>sales_data.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>sales_data.Employee = memos.Creator<br>```<br><br>```<br>sales_data.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>sales_data.Employee = operational_units.Creator<br>```<br><br>```<br>sales_data.Creator = operational_units.Creator<br>```<br><br>```<br>sales_data.OperationalUnit = operational_units.Id<br>```<br><br>```<br>sales_data.OperationalUnit = operational_units.ParentOperationalUnit<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>sales_data.Employee = pay_periods.Creator<br>```<br><br>```<br>sales_data.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>sales_data.Employee = pay_rules.Creator<br>```<br><br>```<br>sales_data.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>sales_data.Employee = public_holidays.Creator<br>```<br><br>```<br>sales_data.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>sales_data.Employee = roster_opens.Employee<br>```<br><br>```<br>sales_data.Creator = roster_opens.Employee<br>```<br><br>```<br>sales_data.Employee = roster_opens.Creator<br>```<br><br>```<br>sales_data.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>sales_data.Employee = roster_swaps.Employee<br>```<br><br>```<br>sales_data.Creator = roster_swaps.Employee<br>```<br><br>```<br>sales_data.Employee = roster_swaps.Creator<br>```<br><br>```<br>sales_data.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>sales_data.Employee = rosters.Employee<br>```<br><br>```<br>sales_data.Creator = rosters.Employee<br>```<br><br>```<br>sales_data.Employee = rosters.ConfirmBy<br>```<br><br>```<br>sales_data.Creator = rosters.ConfirmBy<br>```<br><br>```<br>sales_data.Employee = rosters.Creator<br>```<br><br>```<br>sales_data.Creator = rosters.Creator<br>```<br><br>```<br>sales_data.OperationalUnit = rosters.OperationalUnit<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>sales_data.Employee = schedules.Creator<br>```<br><br>```<br>sales_data.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>sales_data.Employee = sms_logs.Creator<br>```<br><br>```<br>sales_data.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>sales_data.Employee = states.Creator<br>```<br><br>```<br>sales_data.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>sales_data.Employee = stress_profiles.Creator<br>```<br><br>```<br>sales_data.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>sales_data.Employee = system_usage_balances.Creator<br>```<br><br>```<br>sales_data.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>sales_data.Employee = system_usage_tracking.Creator<br>```<br><br>```<br>sales_data.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>sales_data.Employee = task_group_setups.Creator<br>```<br><br>```<br>sales_data.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>sales_data.Employee = task_groups.Creator<br>```<br><br>```<br>sales_data.Creator = task_groups.Creator<br>```<br><br>```<br>sales_data.OperationalUnit = task_groups.OpUnitId<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>sales_data.Employee = task_opunit_configs.Creator<br>```<br><br>```<br>sales_data.Creator = task_opunit_configs.Creator<br>```<br><br>```<br>sales_data.OperationalUnit = task_opunit_configs.OpUnitId<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>sales_data.Employee = task_setups.Creator<br>```<br><br>```<br>sales_data.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>sales_data.Employee = tasks.Creator<br>```<br><br>```<br>sales_data.Creator = tasks.Creator<br>```<br><br>```<br>sales_data.OperationalUnit = tasks.OpUnitId<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>sales_data.Employee = teams.LeaderEmployee<br>```<br><br>```<br>sales_data.Creator = teams.LeaderEmployee<br>```<br><br>```<br>sales_data.Employee = teams.Creator<br>```<br><br>```<br>sales_data.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>sales_data.Employee = timesheet_pay_returns.Creator<br>```<br><br>```<br>sales_data.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>sales_data.Employee = timesheets.Employee<br>```<br><br>```<br>sales_data.Creator = timesheets.Employee<br>```<br><br>```<br>sales_data.Employee = timesheets.Creator<br>```<br><br>```<br>sales_data.Creator = timesheets.Creator<br>```<br><br>```<br>sales_data.OperationalUnit = timesheets.OperationalUnit<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>sales_data.Employee = training_modules.Creator<br>```<br><br>```<br>sales_data.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>sales_data.Employee = training_records.Employee<br>```<br><br>```<br>sales_data.Creator = training_records.Employee<br>```<br><br>```<br>sales_data.Employee = training_records.Creator<br>```<br><br>```<br>sales_data.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>sales_data.Employee = webhooks.Creator<br>```<br><br>```<br>sales_data.Creator = webhooks.Creator<br>``` |

sales\_data table schema

| **Created**<br><br><br>DATE-TIME |
| --- |
| **Creator**<br><br><br>INTEGER |
| **Date**<br><br><br>DATE |
| **Employee**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **OperationalUnit**<br><br><br>INTEGER |
| **SalesAmount**<br><br><br>NUMBER |
| **SalesPayload**<br><br><br>STRING |
| **SalesQty**<br><br><br>NUMBER |
| **SalesRef**<br><br><br>STRING |
| **Timestamp**<br><br><br>INTEGER |

### schedules

The `schedules` table contains info about schedules.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/Schedule) |

schedules table foreign keys

| Join schedules with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>schedules.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>schedules.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>schedules.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>schedules.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>schedules.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>schedules.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>schedules.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>schedules.Creator = custom_app_data.Employee<br>```<br><br>```<br>schedules.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>schedules.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>schedules.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>schedules.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>schedules.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>schedules.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>schedules.Creator = employee_appraisal.Creator<br>```<br><br>```<br>schedules.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>schedules.Creator = employee_availability.Employee<br>```<br><br>```<br>schedules.Creator = employee_availability.Creator<br>```<br><br>```<br>schedules.Id = employee_availability.Schedule<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>schedules.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>schedules.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>schedules.Creator = employee_history.EmployeeId<br>```<br><br>```<br>schedules.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>schedules.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>schedules.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>schedules.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>schedules.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>schedules.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>schedules.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>schedules.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>schedules.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>schedules.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>schedules.Creator = events.Creator<br>```<br><br>```<br>schedules.Id = events.Schedule<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>schedules.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>schedules.Creator = journal.EmployeeId<br>```<br><br>```<br>schedules.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>schedules.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>schedules.Creator = leave_accruals.Employee<br>```<br><br>```<br>schedules.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>schedules.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>schedules.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>schedules.Creator = leaves.Employee<br>```<br><br>```<br>schedules.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>schedules.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>schedules.Creator = operational_units.Creator<br>```<br><br>```<br>schedules.Id = operational_units.RosterActiveHoursSchedule<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>schedules.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>schedules.Creator = pay_rules.Creator<br>```<br><br>```<br>schedules.Id = pay_rules.Schedule<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>schedules.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>schedules.Creator = roster_opens.Employee<br>```<br><br>```<br>schedules.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>schedules.Creator = roster_swaps.Employee<br>```<br><br>```<br>schedules.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>schedules.Creator = rosters.Employee<br>```<br><br>```<br>schedules.Creator = rosters.ConfirmBy<br>```<br><br>```<br>schedules.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>schedules.Creator = sales_data.Employee<br>```<br><br>```<br>schedules.Creator = sales_data.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>schedules.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>schedules.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>schedules.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>schedules.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>schedules.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>schedules.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>schedules.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>schedules.Creator = task_opunit_configs.Creator<br>```<br><br>```<br>schedules.Id = task_opunit_configs.Schedule<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>schedules.Creator = task_setups.Creator<br>```<br><br>```<br>schedules.Id = task_setups.Schedule<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>schedules.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>schedules.Creator = teams.LeaderEmployee<br>```<br><br>```<br>schedules.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>schedules.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>schedules.Creator = timesheets.Employee<br>```<br><br>```<br>schedules.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>schedules.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>schedules.Creator = training_records.Employee<br>```<br><br>```<br>schedules.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>schedules.Creator = webhooks.Creator<br>``` |

schedules table schema

| **Created**<br><br><br>DATE-TIME |
| --- |
| **Creator**<br><br><br>INTEGER |
| **EndDate**<br><br><br>DATE |
| **EndTime**<br><br><br>STRING |
| **Exception**<br><br><br>STRING |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **MonthlyOnDates**<br><br><br>STRING |
| **MonthlyOnDays**<br><br><br>STRING |
| **Name**<br><br><br>STRING |
| **Orm**<br><br><br>STRING |
| **RepeatEvery**<br><br><br>INTEGER |
| **RepeatType**<br><br><br>INTEGER |
| **Saved**<br><br><br>BOOLEAN |
| **StartDate**<br><br><br>DATE |
| **StartTime**<br><br><br>STRING |
| **Template**<br><br><br>BOOLEAN |
| **WeeklyOnDays**<br><br><br>STRING |

### sms\_logs

The `sms_logs` table contains info about SMS logs.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/SmsLog) |

sms\_logs table foreign keys

| Join sms\_logs with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>sms_logs.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>sms_logs.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>sms_logs.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>sms_logs.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>sms_logs.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>sms_logs.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>sms_logs.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>sms_logs.Creator = custom_app_data.Employee<br>```<br><br>```<br>sms_logs.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>sms_logs.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>sms_logs.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>sms_logs.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>sms_logs.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>sms_logs.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>sms_logs.Creator = employee_appraisal.Creator<br>```<br><br>```<br>sms_logs.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>sms_logs.Creator = employee_availability.Employee<br>```<br><br>```<br>sms_logs.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>sms_logs.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>sms_logs.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>sms_logs.Creator = employee_history.EmployeeId<br>```<br><br>```<br>sms_logs.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>sms_logs.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>sms_logs.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>sms_logs.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>sms_logs.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>sms_logs.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>sms_logs.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>sms_logs.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>sms_logs.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>sms_logs.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>sms_logs.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>sms_logs.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>sms_logs.Creator = journal.EmployeeId<br>```<br><br>```<br>sms_logs.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>sms_logs.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>sms_logs.Creator = leave_accruals.Employee<br>```<br><br>```<br>sms_logs.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>sms_logs.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>sms_logs.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>sms_logs.Creator = leaves.Employee<br>```<br><br>```<br>sms_logs.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>sms_logs.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>sms_logs.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>sms_logs.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>sms_logs.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>sms_logs.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>sms_logs.Creator = roster_opens.Employee<br>```<br><br>```<br>sms_logs.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>sms_logs.Creator = roster_swaps.Employee<br>```<br><br>```<br>sms_logs.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>sms_logs.Creator = rosters.Employee<br>```<br><br>```<br>sms_logs.Creator = rosters.ConfirmBy<br>```<br><br>```<br>sms_logs.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>sms_logs.Creator = sales_data.Employee<br>```<br><br>```<br>sms_logs.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>sms_logs.Creator = schedules.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>sms_logs.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>sms_logs.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>sms_logs.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>sms_logs.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>sms_logs.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>sms_logs.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>sms_logs.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>sms_logs.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>sms_logs.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>sms_logs.Creator = teams.LeaderEmployee<br>```<br><br>```<br>sms_logs.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>sms_logs.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>sms_logs.Creator = timesheets.Employee<br>```<br><br>```<br>sms_logs.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>sms_logs.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>sms_logs.Creator = training_records.Employee<br>```<br><br>```<br>sms_logs.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>sms_logs.Creator = webhooks.Creator<br>``` |

sms\_logs table schema

| **Count**<br><br><br>INTEGER |
| --- |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **DeliveryReport**<br><br><br>STRING |
| **Destination**<br><br><br>STRING |
| **Id**<br><br><br>INTEGER |
| **Message**<br><br><br>STRING |
| **Modified**<br><br><br>DATE-TIME |
| **SmsId**<br><br><br>STRING |

### states

The `states` table contains info about states.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/State) |

states table foreign keys

| Join states with | on |
| --- | --- |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>states.Country = countries.Id<br>```<br><br>```<br>states.Creator = countries.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>states.Country = geo.Country<br>```<br><br>```<br>states.Creator = geo.Creator<br>``` |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>states.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>states.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>states.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>states.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>states.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>states.Creator = contacts.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>states.Creator = custom_app_data.Employee<br>```<br><br>```<br>states.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>states.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>states.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>states.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>states.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>states.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>states.Creator = employee_appraisal.Creator<br>```<br><br>```<br>states.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>states.Creator = employee_availability.Employee<br>```<br><br>```<br>states.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>states.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>states.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>states.Creator = employee_history.EmployeeId<br>```<br><br>```<br>states.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>states.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>states.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>states.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>states.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>states.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>states.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>states.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>states.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>states.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>states.Creator = events.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>states.Creator = journal.EmployeeId<br>```<br><br>```<br>states.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>states.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>states.Creator = leave_accruals.Employee<br>```<br><br>```<br>states.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>states.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>states.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>states.Creator = leaves.Employee<br>```<br><br>```<br>states.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>states.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>states.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>states.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>states.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>states.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>states.Creator = roster_opens.Employee<br>```<br><br>```<br>states.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>states.Creator = roster_swaps.Employee<br>```<br><br>```<br>states.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>states.Creator = rosters.Employee<br>```<br><br>```<br>states.Creator = rosters.ConfirmBy<br>```<br><br>```<br>states.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>states.Creator = sales_data.Employee<br>```<br><br>```<br>states.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>states.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>states.Creator = sms_logs.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>states.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>states.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>states.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>states.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>states.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>states.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>states.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>states.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>states.Creator = teams.LeaderEmployee<br>```<br><br>```<br>states.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>states.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>states.Creator = timesheets.Employee<br>```<br><br>```<br>states.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>states.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>states.Creator = training_records.Employee<br>```<br><br>```<br>states.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>states.Creator = webhooks.Creator<br>``` |

states table schema

| **Active**<br><br><br>BOOLEAN |
| --- |
| **Code**<br><br><br>STRING |
| **Country**<br><br><br>INTEGER |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **SortOrder**<br><br><br>INTEGER |
| **State**<br><br><br>STRING |

### stress\_profiles

The `stress_profiles` table contains info about stress profiles.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/StressProfile) |

stress\_profiles table foreign keys

| Join stress\_profiles with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>stress_profiles.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>stress_profiles.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>stress_profiles.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>stress_profiles.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>stress_profiles.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>stress_profiles.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>stress_profiles.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>stress_profiles.Creator = custom_app_data.Employee<br>```<br><br>```<br>stress_profiles.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>stress_profiles.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>stress_profiles.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>stress_profiles.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>stress_profiles.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>stress_profiles.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>stress_profiles.Creator = employee_appraisal.Creator<br>```<br><br>```<br>stress_profiles.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>stress_profiles.Creator = employee_availability.Employee<br>```<br><br>```<br>stress_profiles.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>stress_profiles.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>stress_profiles.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>stress_profiles.Creator = employee_history.EmployeeId<br>```<br><br>```<br>stress_profiles.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>stress_profiles.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>stress_profiles.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>stress_profiles.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>stress_profiles.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>stress_profiles.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>stress_profiles.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>stress_profiles.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>stress_profiles.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>stress_profiles.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>stress_profiles.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>stress_profiles.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>stress_profiles.Creator = journal.EmployeeId<br>```<br><br>```<br>stress_profiles.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>stress_profiles.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>stress_profiles.Creator = leave_accruals.Employee<br>```<br><br>```<br>stress_profiles.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>stress_profiles.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>stress_profiles.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>stress_profiles.Creator = leaves.Employee<br>```<br><br>```<br>stress_profiles.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>stress_profiles.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>stress_profiles.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>stress_profiles.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>stress_profiles.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>stress_profiles.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>stress_profiles.Creator = roster_opens.Employee<br>```<br><br>```<br>stress_profiles.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>stress_profiles.Creator = roster_swaps.Employee<br>```<br><br>```<br>stress_profiles.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>stress_profiles.Creator = rosters.Employee<br>```<br><br>```<br>stress_profiles.Creator = rosters.ConfirmBy<br>```<br><br>```<br>stress_profiles.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>stress_profiles.Creator = sales_data.Employee<br>```<br><br>```<br>stress_profiles.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>stress_profiles.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>stress_profiles.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>stress_profiles.Creator = states.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>stress_profiles.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>stress_profiles.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>stress_profiles.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>stress_profiles.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>stress_profiles.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>stress_profiles.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>stress_profiles.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>stress_profiles.Creator = teams.LeaderEmployee<br>```<br><br>```<br>stress_profiles.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>stress_profiles.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>stress_profiles.Creator = timesheets.Employee<br>```<br><br>```<br>stress_profiles.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>stress_profiles.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>stress_profiles.Creator = training_records.Employee<br>```<br><br>```<br>stress_profiles.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>stress_profiles.Creator = webhooks.Creator<br>``` |

stress\_profiles table schema

| **Created**<br><br><br>DATE-TIME |
| --- |
| **Creator**<br><br><br>INTEGER |
| **CustomRules**<br><br><br>STRING |
| **GapHoursBetweenShifts**<br><br><br>NUMBER |
| **Id**<br><br><br>INTEGER |
| **MaxDaysPerPeriod**<br><br><br>NUMBER |
| **MaxHoursPerDay**<br><br><br>NUMBER |
| **MaxHoursPerPeriod**<br><br><br>NUMBER |
| **MaxHoursPerShift**<br><br><br>NUMBER |
| **Modified**<br><br><br>DATE-TIME |
| **Name**<br><br><br>STRING |

### system\_usage\_balances

The `system_usage_balances` table contains info about system usage balances.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/SystemUsageBalance) |

system\_usage\_balances table foreign keys

| Join system\_usage\_balances with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>system_usage_balances.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>system_usage_balances.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>system_usage_balances.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>system_usage_balances.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>system_usage_balances.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>system_usage_balances.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>system_usage_balances.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>system_usage_balances.Creator = custom_app_data.Employee<br>```<br><br>```<br>system_usage_balances.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>system_usage_balances.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>system_usage_balances.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>system_usage_balances.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>system_usage_balances.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>system_usage_balances.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>system_usage_balances.Creator = employee_appraisal.Creator<br>```<br><br>```<br>system_usage_balances.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>system_usage_balances.Creator = employee_availability.Employee<br>```<br><br>```<br>system_usage_balances.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>system_usage_balances.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>system_usage_balances.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>system_usage_balances.Creator = employee_history.EmployeeId<br>```<br><br>```<br>system_usage_balances.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>system_usage_balances.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>system_usage_balances.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>system_usage_balances.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>system_usage_balances.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>system_usage_balances.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>system_usage_balances.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>system_usage_balances.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>system_usage_balances.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>system_usage_balances.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>system_usage_balances.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>system_usage_balances.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>system_usage_balances.Creator = journal.EmployeeId<br>```<br><br>```<br>system_usage_balances.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>system_usage_balances.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>system_usage_balances.Creator = leave_accruals.Employee<br>```<br><br>```<br>system_usage_balances.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>system_usage_balances.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>system_usage_balances.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>system_usage_balances.Creator = leaves.Employee<br>```<br><br>```<br>system_usage_balances.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>system_usage_balances.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>system_usage_balances.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>system_usage_balances.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>system_usage_balances.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>system_usage_balances.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>system_usage_balances.Creator = roster_opens.Employee<br>```<br><br>```<br>system_usage_balances.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>system_usage_balances.Creator = roster_swaps.Employee<br>```<br><br>```<br>system_usage_balances.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>system_usage_balances.Creator = rosters.Employee<br>```<br><br>```<br>system_usage_balances.Creator = rosters.ConfirmBy<br>```<br><br>```<br>system_usage_balances.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>system_usage_balances.Creator = sales_data.Employee<br>```<br><br>```<br>system_usage_balances.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>system_usage_balances.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>system_usage_balances.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>system_usage_balances.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>system_usage_balances.Creator = stress_profiles.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>system_usage_balances.Creator = system_usage_tracking.Creator<br>```<br><br>```<br>system_usage_balances.Id = system_usage_tracking.BalanceId<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>system_usage_balances.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>system_usage_balances.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>system_usage_balances.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>system_usage_balances.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>system_usage_balances.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>system_usage_balances.Creator = teams.LeaderEmployee<br>```<br><br>```<br>system_usage_balances.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>system_usage_balances.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>system_usage_balances.Creator = timesheets.Employee<br>```<br><br>```<br>system_usage_balances.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>system_usage_balances.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>system_usage_balances.Creator = training_records.Employee<br>```<br><br>```<br>system_usage_balances.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>system_usage_balances.Creator = webhooks.Creator<br>``` |

system\_usage\_balances table schema

| **Created**<br><br><br>DATE-TIME |
| --- |
| **Creator**<br><br><br>INTEGER |
| **Credit**<br><br><br>NUMBER |
| **Date**<br><br><br>DATE |
| **Description**<br><br><br>STRING |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **Type**<br><br><br>INTEGER |

### system\_usage\_tracking

The `system_usage_tracking` table contains info about system usage tracking.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/SystemUsageTracking) |

system\_usage\_tracking table foreign keys

| Join system\_usage\_tracking with | on |
| --- | --- |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>system_usage_tracking.CompanyId = companies.Id<br>```<br><br>```<br>system_usage_tracking.CompanyId = companies.ParentCompany<br>```<br><br>```<br>system_usage_tracking.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>system_usage_tracking.CompanyId = company_periods.Company<br>```<br><br>```<br>system_usage_tracking.Creator = company_periods.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>system_usage_tracking.CompanyId = employee_history.Company<br>```<br><br>```<br>system_usage_tracking.Creator = employee_history.EmployeeId<br>```<br><br>```<br>system_usage_tracking.Creator = employee_history.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>system_usage_tracking.CompanyId = employee_workplaces.Company<br>```<br><br>```<br>system_usage_tracking.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>system_usage_tracking.Creator = employee_workplaces.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>system_usage_tracking.CompanyId = kiosks.Company<br>```<br><br>```<br>system_usage_tracking.Creator = kiosks.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>system_usage_tracking.CompanyId = leaves.Company<br>```<br><br>```<br>system_usage_tracking.Creator = leaves.Employee<br>```<br><br>```<br>system_usage_tracking.Creator = leaves.Creator<br>``` |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>system_usage_tracking.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>system_usage_tracking.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>system_usage_tracking.Creator = comments.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>system_usage_tracking.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>system_usage_tracking.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>system_usage_tracking.Creator = custom_app_data.Employee<br>```<br><br>```<br>system_usage_tracking.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>system_usage_tracking.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>system_usage_tracking.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>system_usage_tracking.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>system_usage_tracking.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>system_usage_tracking.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>system_usage_tracking.Creator = employee_appraisal.Creator<br>```<br><br>```<br>system_usage_tracking.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>system_usage_tracking.Creator = employee_availability.Employee<br>```<br><br>```<br>system_usage_tracking.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>system_usage_tracking.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>system_usage_tracking.Creator = employee_contracts.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>system_usage_tracking.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>system_usage_tracking.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>system_usage_tracking.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>system_usage_tracking.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>system_usage_tracking.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>system_usage_tracking.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>system_usage_tracking.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>system_usage_tracking.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>system_usage_tracking.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>system_usage_tracking.Creator = journal.EmployeeId<br>```<br><br>```<br>system_usage_tracking.Creator = journal.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>system_usage_tracking.Creator = leave_accruals.Employee<br>```<br><br>```<br>system_usage_tracking.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>system_usage_tracking.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>system_usage_tracking.Creator = leave_rules.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>system_usage_tracking.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>system_usage_tracking.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>system_usage_tracking.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>system_usage_tracking.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>system_usage_tracking.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>system_usage_tracking.Creator = roster_opens.Employee<br>```<br><br>```<br>system_usage_tracking.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>system_usage_tracking.Creator = roster_swaps.Employee<br>```<br><br>```<br>system_usage_tracking.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>system_usage_tracking.Creator = rosters.Employee<br>```<br><br>```<br>system_usage_tracking.Creator = rosters.ConfirmBy<br>```<br><br>```<br>system_usage_tracking.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>system_usage_tracking.Creator = sales_data.Employee<br>```<br><br>```<br>system_usage_tracking.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>system_usage_tracking.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>system_usage_tracking.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>system_usage_tracking.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>system_usage_tracking.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>system_usage_tracking.Creator = system_usage_balances.Creator<br>```<br><br>```<br>system_usage_tracking.BalanceId = system_usage_balances.Id<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>system_usage_tracking.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>system_usage_tracking.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>system_usage_tracking.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>system_usage_tracking.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>system_usage_tracking.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>system_usage_tracking.Creator = teams.LeaderEmployee<br>```<br><br>```<br>system_usage_tracking.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>system_usage_tracking.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>system_usage_tracking.Creator = timesheets.Employee<br>```<br><br>```<br>system_usage_tracking.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>system_usage_tracking.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>system_usage_tracking.Creator = training_records.Employee<br>```<br><br>```<br>system_usage_tracking.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>system_usage_tracking.Creator = webhooks.Creator<br>``` |

system\_usage\_tracking table schema

| **BalanceId**<br><br><br>INTEGER |
| --- |
| **CompanyId**<br><br><br>INTEGER |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Date**<br><br><br>DATE |
| **Description**<br><br><br>STRING |
| **EmpId**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **Usage**<br><br><br>NUMBER |
| **UsageRecordId**<br><br><br>INTEGER |
| **UsageType**<br><br><br>INTEGER |

### task\_group\_setups

The `task_group_setups` table contains info about task group setups.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/TaskGroupSetup) |

task\_group\_setups table foreign keys

| Join task\_group\_setups with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>task_group_setups.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>task_group_setups.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>task_group_setups.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>task_group_setups.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>task_group_setups.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>task_group_setups.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>task_group_setups.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>task_group_setups.Creator = custom_app_data.Employee<br>```<br><br>```<br>task_group_setups.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>task_group_setups.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>task_group_setups.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>task_group_setups.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>task_group_setups.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>task_group_setups.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>task_group_setups.Creator = employee_appraisal.Creator<br>```<br><br>```<br>task_group_setups.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>task_group_setups.Creator = employee_availability.Employee<br>```<br><br>```<br>task_group_setups.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>task_group_setups.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>task_group_setups.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>task_group_setups.Creator = employee_history.EmployeeId<br>```<br><br>```<br>task_group_setups.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>task_group_setups.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>task_group_setups.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>task_group_setups.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>task_group_setups.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>task_group_setups.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>task_group_setups.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>task_group_setups.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>task_group_setups.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>task_group_setups.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>task_group_setups.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>task_group_setups.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>task_group_setups.Creator = journal.EmployeeId<br>```<br><br>```<br>task_group_setups.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>task_group_setups.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>task_group_setups.Creator = leave_accruals.Employee<br>```<br><br>```<br>task_group_setups.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>task_group_setups.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>task_group_setups.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>task_group_setups.Creator = leaves.Employee<br>```<br><br>```<br>task_group_setups.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>task_group_setups.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>task_group_setups.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>task_group_setups.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>task_group_setups.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>task_group_setups.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>task_group_setups.Creator = roster_opens.Employee<br>```<br><br>```<br>task_group_setups.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>task_group_setups.Creator = roster_swaps.Employee<br>```<br><br>```<br>task_group_setups.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>task_group_setups.Creator = rosters.Employee<br>```<br><br>```<br>task_group_setups.Creator = rosters.ConfirmBy<br>```<br><br>```<br>task_group_setups.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>task_group_setups.Creator = sales_data.Employee<br>```<br><br>```<br>task_group_setups.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>task_group_setups.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>task_group_setups.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>task_group_setups.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>task_group_setups.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>task_group_setups.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>task_group_setups.Creator = system_usage_tracking.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>task_group_setups.Creator = task_groups.Creator<br>```<br><br>```<br>task_group_setups.Id = task_groups.GroupSetupId<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>task_group_setups.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>task_group_setups.Creator = task_setups.Creator<br>```<br><br>```<br>task_group_setups.Id = task_setups.GroupId<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>task_group_setups.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>task_group_setups.Creator = teams.LeaderEmployee<br>```<br><br>```<br>task_group_setups.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>task_group_setups.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>task_group_setups.Creator = timesheets.Employee<br>```<br><br>```<br>task_group_setups.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>task_group_setups.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>task_group_setups.Creator = training_records.Employee<br>```<br><br>```<br>task_group_setups.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>task_group_setups.Creator = webhooks.Creator<br>``` |

task\_group\_setups table schema

| **Active**<br><br><br>BOOLEAN |
| --- |
| **Comment**<br><br><br>STRING |
| **Compulsory**<br><br><br>BOOLEAN |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Deadline**<br><br><br>NUMBER |
| **Id**<br><br><br>INTEGER |
| **Key**<br><br><br>STRING |
| **Modified**<br><br><br>DATE-TIME |
| **Name**<br><br><br>STRING |
| **Notification**<br><br><br>STRING |
| **Oncreate**<br><br><br>STRING |
| **Onsubmit**<br><br><br>STRING |
| **Plugins**<br><br><br>STRING |

### task\_groups

The `task_groups` table contains info about task groups.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/TaskGroup) |

task\_groups table foreign keys

| Join task\_groups with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>task_groups.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>task_groups.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>task_groups.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>task_groups.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>task_groups.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>task_groups.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>task_groups.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>task_groups.Creator = custom_app_data.Employee<br>```<br><br>```<br>task_groups.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>task_groups.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>task_groups.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>task_groups.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>task_groups.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>task_groups.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>task_groups.Creator = employee_appraisal.Creator<br>```<br><br>```<br>task_groups.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>task_groups.Creator = employee_availability.Employee<br>```<br><br>```<br>task_groups.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>task_groups.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>task_groups.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>task_groups.Creator = employee_history.EmployeeId<br>```<br><br>```<br>task_groups.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>task_groups.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>task_groups.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>task_groups.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>task_groups.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>task_groups.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>task_groups.Creator = employee_salary_opunit_costing.Creator<br>```<br><br>```<br>task_groups.OpUnitId = employee_salary_opunit_costing.OpUnit<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>task_groups.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>task_groups.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>task_groups.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>task_groups.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>task_groups.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>task_groups.Creator = journal.EmployeeId<br>```<br><br>```<br>task_groups.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>task_groups.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>task_groups.Creator = leave_accruals.Employee<br>```<br><br>```<br>task_groups.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>task_groups.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>task_groups.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>task_groups.Creator = leaves.Employee<br>```<br><br>```<br>task_groups.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>task_groups.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>task_groups.Creator = operational_units.Creator<br>```<br><br>```<br>task_groups.OpUnitId = operational_units.Id<br>```<br><br>```<br>task_groups.OpUnitId = operational_units.ParentOperationalUnit<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>task_groups.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>task_groups.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>task_groups.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>task_groups.Creator = roster_opens.Employee<br>```<br><br>```<br>task_groups.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>task_groups.Creator = roster_swaps.Employee<br>```<br><br>```<br>task_groups.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>task_groups.Creator = rosters.Employee<br>```<br><br>```<br>task_groups.Creator = rosters.ConfirmBy<br>```<br><br>```<br>task_groups.Creator = rosters.Creator<br>```<br><br>```<br>task_groups.OpUnitId = rosters.OperationalUnit<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>task_groups.Creator = sales_data.Employee<br>```<br><br>```<br>task_groups.Creator = sales_data.Creator<br>```<br><br>```<br>task_groups.OpUnitId = sales_data.OperationalUnit<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>task_groups.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>task_groups.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>task_groups.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>task_groups.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>task_groups.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>task_groups.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>task_groups.Creator = task_group_setups.Creator<br>```<br><br>```<br>task_groups.GroupSetupId = task_group_setups.Id<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>task_groups.Creator = task_opunit_configs.Creator<br>```<br><br>```<br>task_groups.OpUnitId = task_opunit_configs.OpUnitId<br>```<br><br>```<br>task_groups.Id = task_opunit_configs.TaskGroupId<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>task_groups.Creator = task_setups.Creator<br>```<br><br>```<br>task_groups.GroupSetupId = task_setups.GroupId<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>task_groups.Creator = tasks.Creator<br>```<br><br>```<br>task_groups.OpUnitId = tasks.OpUnitId<br>```<br><br>```<br>task_groups.Id = tasks.GroupId<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>task_groups.Creator = teams.LeaderEmployee<br>```<br><br>```<br>task_groups.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>task_groups.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>task_groups.Creator = timesheets.Employee<br>```<br><br>```<br>task_groups.Creator = timesheets.Creator<br>```<br><br>```<br>task_groups.OpUnitId = timesheets.OperationalUnit<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>task_groups.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>task_groups.Creator = training_records.Employee<br>```<br><br>```<br>task_groups.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>task_groups.Creator = webhooks.Creator<br>``` |

task\_groups table schema

| **Comment**<br><br><br>STRING |
| --- |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Date**<br><br><br>DATE |
| **DayTimestamp**<br><br><br>INTEGER |
| **GroupSetupId**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **Key**<br><br><br>STRING |
| **Modified**<br><br><br>DATE-TIME |
| **Name**<br><br><br>STRING |
| **OpUnitId**<br><br><br>INTEGER |
| **OrigDate**<br><br><br>DATE |
| **OrigDayTimestamp**<br><br><br>INTEGER |
| **SortOrder**<br><br><br>INTEGER |

### task\_opunit\_configs

The `task_opunit_configs` table contains info about task operational unit configurations.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/TaskOpunitConfig) |

task\_opunit\_configs table foreign keys

| Join task\_opunit\_configs with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>task_opunit_configs.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>task_opunit_configs.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>task_opunit_configs.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>task_opunit_configs.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>task_opunit_configs.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>task_opunit_configs.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>task_opunit_configs.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>task_opunit_configs.Creator = custom_app_data.Employee<br>```<br><br>```<br>task_opunit_configs.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>task_opunit_configs.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>task_opunit_configs.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>task_opunit_configs.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>task_opunit_configs.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>task_opunit_configs.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>task_opunit_configs.Creator = employee_appraisal.Creator<br>```<br><br>```<br>task_opunit_configs.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>task_opunit_configs.Creator = employee_availability.Employee<br>```<br><br>```<br>task_opunit_configs.Creator = employee_availability.Creator<br>```<br><br>```<br>task_opunit_configs.Schedule = employee_availability.Schedule<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>task_opunit_configs.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>task_opunit_configs.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>task_opunit_configs.Creator = employee_history.EmployeeId<br>```<br><br>```<br>task_opunit_configs.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>task_opunit_configs.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>task_opunit_configs.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>task_opunit_configs.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>task_opunit_configs.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>task_opunit_configs.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>task_opunit_configs.Creator = employee_salary_opunit_costing.Creator<br>```<br><br>```<br>task_opunit_configs.OpUnitId = employee_salary_opunit_costing.OpUnit<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>task_opunit_configs.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>task_opunit_configs.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>task_opunit_configs.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>task_opunit_configs.Creator = events.Creator<br>```<br><br>```<br>task_opunit_configs.Schedule = events.Schedule<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>task_opunit_configs.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>task_opunit_configs.Creator = journal.EmployeeId<br>```<br><br>```<br>task_opunit_configs.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>task_opunit_configs.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>task_opunit_configs.Creator = leave_accruals.Employee<br>```<br><br>```<br>task_opunit_configs.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>task_opunit_configs.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>task_opunit_configs.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>task_opunit_configs.Creator = leaves.Employee<br>```<br><br>```<br>task_opunit_configs.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>task_opunit_configs.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>task_opunit_configs.Creator = operational_units.Creator<br>```<br><br>```<br>task_opunit_configs.OpUnitId = operational_units.Id<br>```<br><br>```<br>task_opunit_configs.OpUnitId = operational_units.ParentOperationalUnit<br>```<br><br>```<br>task_opunit_configs.Schedule = operational_units.RosterActiveHoursSchedule<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>task_opunit_configs.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>task_opunit_configs.Creator = pay_rules.Creator<br>```<br><br>```<br>task_opunit_configs.Schedule = pay_rules.Schedule<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>task_opunit_configs.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>task_opunit_configs.Creator = roster_opens.Employee<br>```<br><br>```<br>task_opunit_configs.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>task_opunit_configs.Creator = roster_swaps.Employee<br>```<br><br>```<br>task_opunit_configs.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>task_opunit_configs.Creator = rosters.Employee<br>```<br><br>```<br>task_opunit_configs.Creator = rosters.ConfirmBy<br>```<br><br>```<br>task_opunit_configs.Creator = rosters.Creator<br>```<br><br>```<br>task_opunit_configs.OpUnitId = rosters.OperationalUnit<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>task_opunit_configs.Creator = sales_data.Employee<br>```<br><br>```<br>task_opunit_configs.Creator = sales_data.Creator<br>```<br><br>```<br>task_opunit_configs.OpUnitId = sales_data.OperationalUnit<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>task_opunit_configs.Creator = schedules.Creator<br>```<br><br>```<br>task_opunit_configs.Schedule = schedules.Id<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>task_opunit_configs.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>task_opunit_configs.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>task_opunit_configs.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>task_opunit_configs.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>task_opunit_configs.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>task_opunit_configs.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>task_opunit_configs.Creator = task_groups.Creator<br>```<br><br>```<br>task_opunit_configs.OpUnitId = task_groups.OpUnitId<br>```<br><br>```<br>task_opunit_configs.TaskGroupId = task_groups.Id<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>task_opunit_configs.Creator = task_setups.Creator<br>```<br><br>```<br>task_opunit_configs.Schedule = task_setups.Schedule<br>```<br><br>```<br>task_opunit_configs.TaskSetupId = task_setups.Id<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>task_opunit_configs.Creator = tasks.Creator<br>```<br><br>```<br>task_opunit_configs.OpUnitId = tasks.OpUnitId<br>```<br><br>```<br>task_opunit_configs.TaskGroupId = tasks.GroupId<br>```<br><br>```<br>task_opunit_configs.TaskSetupId = tasks.TaskSetupId<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>task_opunit_configs.Creator = teams.LeaderEmployee<br>```<br><br>```<br>task_opunit_configs.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>task_opunit_configs.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>task_opunit_configs.Creator = timesheets.Employee<br>```<br><br>```<br>task_opunit_configs.Creator = timesheets.Creator<br>```<br><br>```<br>task_opunit_configs.OpUnitId = timesheets.OperationalUnit<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>task_opunit_configs.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>task_opunit_configs.Creator = training_records.Employee<br>```<br><br>```<br>task_opunit_configs.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>task_opunit_configs.Creator = webhooks.Creator<br>``` |

task\_opunit\_configs table schema

| **Active**<br><br><br>BOOLEAN |
| --- |
| **AvailableAfter**<br><br><br>STRING |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **OpUnitId**<br><br><br>INTEGER |
| **Schedule**<br><br><br>INTEGER |
| **SortOrder**<br><br><br>INTEGER |
| **TaskGroupId**<br><br><br>INTEGER |
| **TaskSetupId**<br><br><br>INTEGER |
| **Type**<br><br><br>INTEGER |

### task\_setups

The `task_setups` table contains info about task setups.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/TaskSetup) |

task\_setups table foreign keys

| Join task\_setups with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>task_setups.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>task_setups.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>task_setups.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>task_setups.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>task_setups.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>task_setups.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>task_setups.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>task_setups.Creator = custom_app_data.Employee<br>```<br><br>```<br>task_setups.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>task_setups.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>task_setups.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>task_setups.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>task_setups.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>task_setups.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>task_setups.Creator = employee_appraisal.Creator<br>```<br><br>```<br>task_setups.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>task_setups.Creator = employee_availability.Employee<br>```<br><br>```<br>task_setups.Creator = employee_availability.Creator<br>```<br><br>```<br>task_setups.Schedule = employee_availability.Schedule<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>task_setups.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>task_setups.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>task_setups.Creator = employee_history.EmployeeId<br>```<br><br>```<br>task_setups.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>task_setups.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>task_setups.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>task_setups.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>task_setups.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>task_setups.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>task_setups.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>task_setups.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>task_setups.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>task_setups.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>task_setups.Creator = events.Creator<br>```<br><br>```<br>task_setups.Schedule = events.Schedule<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>task_setups.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>task_setups.Creator = journal.EmployeeId<br>```<br><br>```<br>task_setups.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>task_setups.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>task_setups.Creator = leave_accruals.Employee<br>```<br><br>```<br>task_setups.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>task_setups.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>task_setups.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>task_setups.Creator = leaves.Employee<br>```<br><br>```<br>task_setups.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>task_setups.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>task_setups.Creator = operational_units.Creator<br>```<br><br>```<br>task_setups.Schedule = operational_units.RosterActiveHoursSchedule<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>task_setups.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>task_setups.Creator = pay_rules.Creator<br>```<br><br>```<br>task_setups.Schedule = pay_rules.Schedule<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>task_setups.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>task_setups.Creator = roster_opens.Employee<br>```<br><br>```<br>task_setups.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>task_setups.Creator = roster_swaps.Employee<br>```<br><br>```<br>task_setups.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>task_setups.Creator = rosters.Employee<br>```<br><br>```<br>task_setups.Creator = rosters.ConfirmBy<br>```<br><br>```<br>task_setups.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>task_setups.Creator = sales_data.Employee<br>```<br><br>```<br>task_setups.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>task_setups.Creator = schedules.Creator<br>```<br><br>```<br>task_setups.Schedule = schedules.Id<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>task_setups.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>task_setups.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>task_setups.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>task_setups.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>task_setups.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>task_setups.Creator = task_group_setups.Creator<br>```<br><br>```<br>task_setups.GroupId = task_group_setups.Id<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>task_setups.Creator = task_groups.Creator<br>```<br><br>```<br>task_setups.GroupId = task_groups.GroupSetupId<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>task_setups.Creator = task_opunit_configs.Creator<br>```<br><br>```<br>task_setups.Schedule = task_opunit_configs.Schedule<br>```<br><br>```<br>task_setups.Id = task_opunit_configs.TaskSetupId<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>task_setups.Creator = tasks.Creator<br>```<br><br>```<br>task_setups.Id = tasks.TaskSetupId<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>task_setups.Creator = teams.LeaderEmployee<br>```<br><br>```<br>task_setups.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>task_setups.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>task_setups.Creator = timesheets.Employee<br>```<br><br>```<br>task_setups.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>task_setups.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>task_setups.Creator = training_records.Employee<br>```<br><br>```<br>task_setups.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>task_setups.Creator = webhooks.Creator<br>``` |

task\_setups table schema

| **Active**<br><br><br>BOOLEAN |
| --- |
| **AvailableAfter**<br><br><br>STRING |
| **Colour**<br><br><br>STRING |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Default**<br><br><br>STRING |
| **GroupId**<br><br><br>INTEGER |
| **Helptext**<br><br><br>STRING |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **OnNo**<br><br><br>STRING |
| **OnStart**<br><br><br>STRING |
| **OnSubmit**<br><br><br>STRING |
| **OnYes**<br><br><br>STRING |
| **Parent**<br><br><br>INTEGER |
| **Priority**<br><br><br>STRING |
| **Question**<br><br><br>STRING |
| **RenderFunc**<br><br><br>STRING |
| **RepeatIfNotCompleted**<br><br><br>BOOLEAN |
| **Schedule**<br><br><br>INTEGER |
| **Section**<br><br><br>STRING |
| **SortOrder**<br><br><br>INTEGER |
| **SupercedePrev**<br><br><br>BOOLEAN |
| **Time**<br><br><br>STRING |
| **Type**<br><br><br>INTEGER |

### tasks

The `tasks` table contains info about tasks.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/Task) |

tasks table foreign keys

| Join tasks with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>tasks.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>tasks.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>tasks.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>tasks.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>tasks.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>tasks.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>tasks.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>tasks.Creator = custom_app_data.Employee<br>```<br><br>```<br>tasks.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>tasks.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>tasks.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>tasks.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>tasks.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>tasks.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>tasks.Creator = employee_appraisal.Creator<br>```<br><br>```<br>tasks.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>tasks.Creator = employee_availability.Employee<br>```<br><br>```<br>tasks.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>tasks.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>tasks.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>tasks.Creator = employee_history.EmployeeId<br>```<br><br>```<br>tasks.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>tasks.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>tasks.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>tasks.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>tasks.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>tasks.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>tasks.Creator = employee_salary_opunit_costing.Creator<br>```<br><br>```<br>tasks.OpUnitId = employee_salary_opunit_costing.OpUnit<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>tasks.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>tasks.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>tasks.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>tasks.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>tasks.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>tasks.Creator = journal.EmployeeId<br>```<br><br>```<br>tasks.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>tasks.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>tasks.Creator = leave_accruals.Employee<br>```<br><br>```<br>tasks.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>tasks.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>tasks.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>tasks.Creator = leaves.Employee<br>```<br><br>```<br>tasks.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>tasks.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>tasks.Creator = operational_units.Creator<br>```<br><br>```<br>tasks.OpUnitId = operational_units.Id<br>```<br><br>```<br>tasks.OpUnitId = operational_units.ParentOperationalUnit<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>tasks.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>tasks.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>tasks.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>tasks.Creator = roster_opens.Employee<br>```<br><br>```<br>tasks.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>tasks.Creator = roster_swaps.Employee<br>```<br><br>```<br>tasks.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>tasks.Creator = rosters.Employee<br>```<br><br>```<br>tasks.Creator = rosters.ConfirmBy<br>```<br><br>```<br>tasks.Creator = rosters.Creator<br>```<br><br>```<br>tasks.OpUnitId = rosters.OperationalUnit<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>tasks.Creator = sales_data.Employee<br>```<br><br>```<br>tasks.Creator = sales_data.Creator<br>```<br><br>```<br>tasks.OpUnitId = sales_data.OperationalUnit<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>tasks.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>tasks.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>tasks.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>tasks.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>tasks.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>tasks.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>tasks.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>tasks.Creator = task_groups.Creator<br>```<br><br>```<br>tasks.OpUnitId = task_groups.OpUnitId<br>```<br><br>```<br>tasks.GroupId = task_groups.Id<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>tasks.Creator = task_opunit_configs.Creator<br>```<br><br>```<br>tasks.OpUnitId = task_opunit_configs.OpUnitId<br>```<br><br>```<br>tasks.GroupId = task_opunit_configs.TaskGroupId<br>```<br><br>```<br>tasks.TaskSetupId = task_opunit_configs.TaskSetupId<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>tasks.Creator = task_setups.Creator<br>```<br><br>```<br>tasks.TaskSetupId = task_setups.Id<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>tasks.Creator = teams.LeaderEmployee<br>```<br><br>```<br>tasks.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>tasks.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>tasks.Creator = timesheets.Employee<br>```<br><br>```<br>tasks.Creator = timesheets.Creator<br>```<br><br>```<br>tasks.OpUnitId = timesheets.OperationalUnit<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>tasks.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>tasks.Creator = training_records.Employee<br>```<br><br>```<br>tasks.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>tasks.Creator = webhooks.Creator<br>``` |

tasks table schema

| **Answer**<br><br><br>STRING |
| --- |
| **AvailableAfterTimestamp**<br><br><br>INTEGER |
| **Comment**<br><br><br>STRING |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Date**<br><br><br>DATE |
| **DayTimestamp**<br><br><br>INTEGER |
| **DueDate**<br><br><br>DATE |
| **DueTimestamp**<br><br><br>INTEGER |
| **End**<br><br><br>INTEGER |
| **GroupId**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **OpUnitId**<br><br><br>INTEGER |
| **OrigDate**<br><br><br>DATE |
| **OrigDayTimestamp**<br><br><br>INTEGER |
| **Question**<br><br><br>STRING |
| **RepeatIfNotCompleted**<br><br><br>BOOLEAN |
| **SortOrder**<br><br><br>INTEGER |
| **Start**<br><br><br>INTEGER |
| **TaskSetupId**<br><br><br>INTEGER |
| **TsCompleted**<br><br><br>INTEGER |
| **Type**<br><br><br>INTEGER |
| **UserEntry**<br><br><br>INTEGER |
| **UserPerformTask**<br><br><br>INTEGER |
| **UserResponsible**<br><br><br>INTEGER |

### teams

The `teams` table contains info about teams.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/Team) |

teams table foreign keys

| Join teams with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>teams.LeaderEmployee = addresses.Creator<br>```<br><br>```<br>teams.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>teams.LeaderEmployee = categories.Creator<br>```<br><br>```<br>teams.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>teams.LeaderEmployee = comments.Creator<br>```<br><br>```<br>teams.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>teams.LeaderEmployee = companies.Creator<br>```<br><br>```<br>teams.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>teams.LeaderEmployee = company_periods.Creator<br>```<br><br>```<br>teams.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>teams.LeaderEmployee = contacts.Creator<br>```<br><br>```<br>teams.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>teams.LeaderEmployee = countries.Creator<br>```<br><br>```<br>teams.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>teams.LeaderEmployee = custom_app_data.Employee<br>```<br><br>```<br>teams.Creator = custom_app_data.Employee<br>```<br><br>```<br>teams.LeaderEmployee = custom_app_data.Creator<br>```<br><br>```<br>teams.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>teams.LeaderEmployee = custom_field_data.Creator<br>```<br><br>```<br>teams.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>teams.LeaderEmployee = custom_fields.Creator<br>```<br><br>```<br>teams.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>teams.LeaderEmployee = employee_agreement_history.Creator<br>```<br><br>```<br>teams.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>teams.LeaderEmployee = employee_agreements.EmployeeId<br>```<br><br>```<br>teams.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>teams.LeaderEmployee = employee_agreements.Creator<br>```<br><br>```<br>teams.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>teams.LeaderEmployee = employee_appraisal.Creator<br>```<br><br>```<br>teams.Creator = employee_appraisal.Creator<br>```<br><br>```<br>teams.LeaderEmployee = employee_appraisal.Employee<br>```<br><br>```<br>teams.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>teams.LeaderEmployee = employee_availability.Employee<br>```<br><br>```<br>teams.Creator = employee_availability.Employee<br>```<br><br>```<br>teams.LeaderEmployee = employee_availability.Creator<br>```<br><br>```<br>teams.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>teams.LeaderEmployee = employee_contract_leave_rules.Creator<br>```<br><br>```<br>teams.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>teams.LeaderEmployee = employee_contracts.Creator<br>```<br><br>```<br>teams.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>teams.LeaderEmployee = employee_history.EmployeeId<br>```<br><br>```<br>teams.Creator = employee_history.EmployeeId<br>```<br><br>```<br>teams.LeaderEmployee = employee_history.Creator<br>```<br><br>```<br>teams.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>teams.LeaderEmployee = employee_paycycle_returns.Creator<br>```<br><br>```<br>teams.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>teams.LeaderEmployee = employee_paycycles.EmployeeId<br>```<br><br>```<br>teams.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>teams.LeaderEmployee = employee_paycycles.Creator<br>```<br><br>```<br>teams.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>teams.LeaderEmployee = employee_roles.Creator<br>```<br><br>```<br>teams.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>teams.LeaderEmployee = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>teams.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>teams.LeaderEmployee = employee_salary_opunit_costing.Creator<br>```<br><br>```<br>teams.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>teams.LeaderEmployee = employee_workplaces.EmployeeId<br>```<br><br>```<br>teams.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>teams.LeaderEmployee = employee_workplaces.Creator<br>```<br><br>```<br>teams.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>teams.LeaderEmployee = employment_conditions.Creator<br>```<br><br>```<br>teams.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>teams.LeaderEmployee = events.Creator<br>```<br><br>```<br>teams.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>teams.LeaderEmployee = geo.Creator<br>```<br><br>```<br>teams.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>teams.LeaderEmployee = journal.EmployeeId<br>```<br><br>```<br>teams.Creator = journal.EmployeeId<br>```<br><br>```<br>teams.LeaderEmployee = journal.Creator<br>```<br><br>```<br>teams.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>teams.LeaderEmployee = kiosks.Creator<br>```<br><br>```<br>teams.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>teams.LeaderEmployee = leave_accruals.Employee<br>```<br><br>```<br>teams.Creator = leave_accruals.Employee<br>```<br><br>```<br>teams.LeaderEmployee = leave_accruals.Creator<br>```<br><br>```<br>teams.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>teams.LeaderEmployee = leave_pay_lines.Creator<br>```<br><br>```<br>teams.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>teams.LeaderEmployee = leave_rules.Creator<br>```<br><br>```<br>teams.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>teams.LeaderEmployee = leaves.Employee<br>```<br><br>```<br>teams.Creator = leaves.Employee<br>```<br><br>```<br>teams.LeaderEmployee = leaves.Creator<br>```<br><br>```<br>teams.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>teams.LeaderEmployee = memos.Creator<br>```<br><br>```<br>teams.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>teams.LeaderEmployee = operational_units.Creator<br>```<br><br>```<br>teams.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>teams.LeaderEmployee = pay_periods.Creator<br>```<br><br>```<br>teams.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>teams.LeaderEmployee = pay_rules.Creator<br>```<br><br>```<br>teams.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>teams.LeaderEmployee = public_holidays.Creator<br>```<br><br>```<br>teams.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>teams.LeaderEmployee = roster_opens.Employee<br>```<br><br>```<br>teams.Creator = roster_opens.Employee<br>```<br><br>```<br>teams.LeaderEmployee = roster_opens.Creator<br>```<br><br>```<br>teams.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>teams.LeaderEmployee = roster_swaps.Employee<br>```<br><br>```<br>teams.Creator = roster_swaps.Employee<br>```<br><br>```<br>teams.LeaderEmployee = roster_swaps.Creator<br>```<br><br>```<br>teams.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>teams.LeaderEmployee = rosters.Employee<br>```<br><br>```<br>teams.Creator = rosters.Employee<br>```<br><br>```<br>teams.LeaderEmployee = rosters.ConfirmBy<br>```<br><br>```<br>teams.Creator = rosters.ConfirmBy<br>```<br><br>```<br>teams.LeaderEmployee = rosters.Creator<br>```<br><br>```<br>teams.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>teams.LeaderEmployee = sales_data.Employee<br>```<br><br>```<br>teams.Creator = sales_data.Employee<br>```<br><br>```<br>teams.LeaderEmployee = sales_data.Creator<br>```<br><br>```<br>teams.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>teams.LeaderEmployee = schedules.Creator<br>```<br><br>```<br>teams.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>teams.LeaderEmployee = sms_logs.Creator<br>```<br><br>```<br>teams.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>teams.LeaderEmployee = states.Creator<br>```<br><br>```<br>teams.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>teams.LeaderEmployee = stress_profiles.Creator<br>```<br><br>```<br>teams.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>teams.LeaderEmployee = system_usage_balances.Creator<br>```<br><br>```<br>teams.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>teams.LeaderEmployee = system_usage_tracking.Creator<br>```<br><br>```<br>teams.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>teams.LeaderEmployee = task_group_setups.Creator<br>```<br><br>```<br>teams.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>teams.LeaderEmployee = task_groups.Creator<br>```<br><br>```<br>teams.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>teams.LeaderEmployee = task_opunit_configs.Creator<br>```<br><br>```<br>teams.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>teams.LeaderEmployee = task_setups.Creator<br>```<br><br>```<br>teams.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>teams.LeaderEmployee = tasks.Creator<br>```<br><br>```<br>teams.Creator = tasks.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>teams.LeaderEmployee = timesheet_pay_returns.Creator<br>```<br><br>```<br>teams.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>teams.LeaderEmployee = timesheets.Employee<br>```<br><br>```<br>teams.Creator = timesheets.Employee<br>```<br><br>```<br>teams.LeaderEmployee = timesheets.Creator<br>```<br><br>```<br>teams.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>teams.LeaderEmployee = training_modules.Creator<br>```<br><br>```<br>teams.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>teams.LeaderEmployee = training_records.Employee<br>```<br><br>```<br>teams.Creator = training_records.Employee<br>```<br><br>```<br>teams.LeaderEmployee = training_records.Creator<br>```<br><br>```<br>teams.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>teams.LeaderEmployee = webhooks.Creator<br>```<br><br>```<br>teams.Creator = webhooks.Creator<br>``` |

teams table schema

| **Created**<br><br><br>DATE-TIME |
| --- |
| **Creator**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **LeaderEmployee**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **Name**<br><br><br>STRING |

### timesheet\_pay\_returns

The `timesheet_pay_returns` table contains info about timesheet pay returns.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/TimesheetPayReturn) |

timesheet\_pay\_returns table foreign keys

| Join timesheet\_pay\_returns with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>timesheet_pay_returns.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>timesheet_pay_returns.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>timesheet_pay_returns.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>timesheet_pay_returns.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>timesheet_pay_returns.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>timesheet_pay_returns.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>timesheet_pay_returns.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>timesheet_pay_returns.Creator = custom_app_data.Employee<br>```<br><br>```<br>timesheet_pay_returns.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>timesheet_pay_returns.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>timesheet_pay_returns.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>timesheet_pay_returns.Creator = employee_agreement_history.Creator<br>```<br><br>```<br>timesheet_pay_returns.PayRule = employee_agreement_history.SalaryPayRule<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>timesheet_pay_returns.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>timesheet_pay_returns.Creator = employee_agreements.Creator<br>```<br><br>```<br>timesheet_pay_returns.PayRule = employee_agreements.SalaryPayRule<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>timesheet_pay_returns.Creator = employee_appraisal.Creator<br>```<br><br>```<br>timesheet_pay_returns.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>timesheet_pay_returns.Creator = employee_availability.Employee<br>```<br><br>```<br>timesheet_pay_returns.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>timesheet_pay_returns.Creator = employee_contract_leave_rules.Creator<br>```<br><br>```<br>timesheet_pay_returns.PayRule = employee_contract_leave_rules.LoadingPayRule1<br>```<br><br>```<br>timesheet_pay_returns.PayRule = employee_contract_leave_rules.LoadingPayRule2<br>```<br><br>```<br>timesheet_pay_returns.PayRule = employee_contract_leave_rules.LoadingPayRule3<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>timesheet_pay_returns.Creator = employee_contracts.Creator<br>```<br><br>```<br>timesheet_pay_returns.PayRule = employee_contracts.BasePayRule<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>timesheet_pay_returns.Creator = employee_history.EmployeeId<br>```<br><br>```<br>timesheet_pay_returns.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>timesheet_pay_returns.Creator = employee_paycycle_returns.Creator<br>```<br><br>```<br>timesheet_pay_returns.PayRule = employee_paycycle_returns.PayRule<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>timesheet_pay_returns.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>timesheet_pay_returns.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>timesheet_pay_returns.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>timesheet_pay_returns.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>timesheet_pay_returns.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>timesheet_pay_returns.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>timesheet_pay_returns.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>timesheet_pay_returns.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>timesheet_pay_returns.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>timesheet_pay_returns.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>timesheet_pay_returns.Creator = journal.EmployeeId<br>```<br><br>```<br>timesheet_pay_returns.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>timesheet_pay_returns.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>timesheet_pay_returns.Creator = leave_accruals.Employee<br>```<br><br>```<br>timesheet_pay_returns.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>timesheet_pay_returns.Creator = leave_pay_lines.Creator<br>```<br><br>```<br>timesheet_pay_returns.Timesheet = leave_pay_lines.TimesheetId<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>timesheet_pay_returns.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>timesheet_pay_returns.Creator = leaves.Employee<br>```<br><br>```<br>timesheet_pay_returns.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>timesheet_pay_returns.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>timesheet_pay_returns.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>timesheet_pay_returns.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>timesheet_pay_returns.Creator = pay_rules.Creator<br>```<br><br>```<br>timesheet_pay_returns.PayRule = pay_rules.Id<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>timesheet_pay_returns.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>timesheet_pay_returns.Creator = roster_opens.Employee<br>```<br><br>```<br>timesheet_pay_returns.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>timesheet_pay_returns.Creator = roster_swaps.Employee<br>```<br><br>```<br>timesheet_pay_returns.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>timesheet_pay_returns.Creator = rosters.Employee<br>```<br><br>```<br>timesheet_pay_returns.Creator = rosters.ConfirmBy<br>```<br><br>```<br>timesheet_pay_returns.Creator = rosters.Creator<br>```<br><br>```<br>timesheet_pay_returns.Timesheet = rosters.MatchedByTimesheet<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>timesheet_pay_returns.Creator = sales_data.Employee<br>```<br><br>```<br>timesheet_pay_returns.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>timesheet_pay_returns.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>timesheet_pay_returns.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>timesheet_pay_returns.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>timesheet_pay_returns.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>timesheet_pay_returns.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>timesheet_pay_returns.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>timesheet_pay_returns.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>timesheet_pay_returns.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>timesheet_pay_returns.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>timesheet_pay_returns.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>timesheet_pay_returns.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>timesheet_pay_returns.Creator = teams.LeaderEmployee<br>```<br><br>```<br>timesheet_pay_returns.Creator = teams.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>timesheet_pay_returns.Creator = timesheets.Employee<br>```<br><br>```<br>timesheet_pay_returns.Creator = timesheets.Creator<br>```<br><br>```<br>timesheet_pay_returns.Timesheet = timesheets.Id<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>timesheet_pay_returns.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>timesheet_pay_returns.Creator = training_records.Employee<br>```<br><br>```<br>timesheet_pay_returns.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>timesheet_pay_returns.Creator = webhooks.Creator<br>``` |

timesheet\_pay\_returns table schema

| **Cost**<br><br><br>NUMBER |
| --- |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **Overridden**<br><br><br>BOOLEAN |
| **OverrideComment**<br><br><br>STRING |
| **PayRule**<br><br><br>INTEGER |
| **Timesheet**<br><br><br>INTEGER |
| **Value**<br><br><br>NUMBER |

### timesheets

The `timesheets` table contains info about timesheets.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/Timesheet) |

timesheets table foreign keys

| Join timesheets with | on |
| --- | --- |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>timesheets.CustomFieldData = custom_field_data.Id<br>```<br><br>```<br>timesheets.Employee = custom_field_data.Creator<br>```<br><br>```<br>timesheets.Creator = custom_field_data.Creator<br>``` |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>timesheets.Employee = addresses.Creator<br>```<br><br>```<br>timesheets.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>timesheets.Employee = categories.Creator<br>```<br><br>```<br>timesheets.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>timesheets.Employee = comments.Creator<br>```<br><br>```<br>timesheets.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>timesheets.Employee = companies.Creator<br>```<br><br>```<br>timesheets.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>timesheets.Employee = company_periods.Creator<br>```<br><br>```<br>timesheets.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>timesheets.Employee = contacts.Creator<br>```<br><br>```<br>timesheets.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>timesheets.Employee = countries.Creator<br>```<br><br>```<br>timesheets.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>timesheets.Employee = custom_app_data.Employee<br>```<br><br>```<br>timesheets.Creator = custom_app_data.Employee<br>```<br><br>```<br>timesheets.Employee = custom_app_data.Creator<br>```<br><br>```<br>timesheets.Creator = custom_app_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>timesheets.Employee = custom_fields.Creator<br>```<br><br>```<br>timesheets.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>timesheets.Employee = employee_agreement_history.Creator<br>```<br><br>```<br>timesheets.Creator = employee_agreement_history.Creator<br>```<br><br>```<br>timesheets.EmployeeAgreement = employee_agreement_history.AgreementId<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>timesheets.Employee = employee_agreements.EmployeeId<br>```<br><br>```<br>timesheets.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>timesheets.Employee = employee_agreements.Creator<br>```<br><br>```<br>timesheets.Creator = employee_agreements.Creator<br>```<br><br>```<br>timesheets.EmployeeAgreement = employee_agreements.Id<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>timesheets.Employee = employee_appraisal.Creator<br>```<br><br>```<br>timesheets.Creator = employee_appraisal.Creator<br>```<br><br>```<br>timesheets.Employee = employee_appraisal.Employee<br>```<br><br>```<br>timesheets.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>timesheets.Employee = employee_availability.Employee<br>```<br><br>```<br>timesheets.Creator = employee_availability.Employee<br>```<br><br>```<br>timesheets.Employee = employee_availability.Creator<br>```<br><br>```<br>timesheets.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>timesheets.Employee = employee_contract_leave_rules.Creator<br>```<br><br>```<br>timesheets.Creator = employee_contract_leave_rules.Creator<br>```<br><br>```<br>timesheets.LeaveRule = employee_contract_leave_rules.LeaveRuleId<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>timesheets.Employee = employee_contracts.Creator<br>```<br><br>```<br>timesheets.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>timesheets.Employee = employee_history.EmployeeId<br>```<br><br>```<br>timesheets.Creator = employee_history.EmployeeId<br>```<br><br>```<br>timesheets.Employee = employee_history.Creator<br>```<br><br>```<br>timesheets.Creator = employee_history.Creator<br>```<br><br>```<br>timesheets.EmployeeHistory = employee_history.Id<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>timesheets.Employee = employee_paycycle_returns.Creator<br>```<br><br>```<br>timesheets.Creator = employee_paycycle_returns.Creator<br>```<br><br>```<br>timesheets.PaycycleId = employee_paycycle_returns.Id<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>timesheets.Employee = employee_paycycles.EmployeeId<br>```<br><br>```<br>timesheets.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>timesheets.Employee = employee_paycycles.Creator<br>```<br><br>```<br>timesheets.Creator = employee_paycycles.Creator<br>```<br><br>```<br>timesheets.EmployeeAgreement = employee_paycycles.EmployeeAgreementId<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>timesheets.Employee = employee_roles.Creator<br>```<br><br>```<br>timesheets.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>timesheets.Employee = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>timesheets.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>timesheets.Employee = employee_salary_opunit_costing.Creator<br>```<br><br>```<br>timesheets.Creator = employee_salary_opunit_costing.Creator<br>```<br><br>```<br>timesheets.EmployeeAgreement = employee_salary_opunit_costing.EmployeeAgreement<br>```<br><br>```<br>timesheets.OperationalUnit = employee_salary_opunit_costing.OpUnit<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>timesheets.Employee = employee_workplaces.EmployeeId<br>```<br><br>```<br>timesheets.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>timesheets.Employee = employee_workplaces.Creator<br>```<br><br>```<br>timesheets.Creator = employee_workplaces.Creator<br>```<br><br>```<br>timesheets.EmployeeAgreement = employee_workplaces.Agreement1<br>```<br><br>```<br>timesheets.EmployeeAgreement = employee_workplaces.Agreement2<br>```<br><br>```<br>timesheets.EmployeeAgreement = employee_workplaces.Agreement3<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>timesheets.Employee = employment_conditions.Creator<br>```<br><br>```<br>timesheets.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>timesheets.Employee = events.Creator<br>```<br><br>```<br>timesheets.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>timesheets.Employee = geo.Creator<br>```<br><br>```<br>timesheets.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>timesheets.Employee = journal.EmployeeId<br>```<br><br>```<br>timesheets.Creator = journal.EmployeeId<br>```<br><br>```<br>timesheets.Employee = journal.Creator<br>```<br><br>```<br>timesheets.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>timesheets.Employee = kiosks.Creator<br>```<br><br>```<br>timesheets.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>timesheets.Employee = leave_accruals.Employee<br>```<br><br>```<br>timesheets.Creator = leave_accruals.Employee<br>```<br><br>```<br>timesheets.Employee = leave_accruals.Creator<br>```<br><br>```<br>timesheets.Creator = leave_accruals.Creator<br>```<br><br>```<br>timesheets.LeaveRule = leave_accruals.LeaveRule<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>timesheets.Employee = leave_pay_lines.Creator<br>```<br><br>```<br>timesheets.Creator = leave_pay_lines.Creator<br>```<br><br>```<br>timesheets.EmployeeAgreement = leave_pay_lines.EmployeeAgreement<br>```<br><br>```<br>timesheets.LeaveId = leave_pay_lines.LeaveId<br>```<br><br>```<br>timesheets.LeaveRule = leave_pay_lines.LeaveRule<br>```<br><br>```<br>timesheets.Id = leave_pay_lines.TimesheetId<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>timesheets.Employee = leave_rules.Creator<br>```<br><br>```<br>timesheets.Creator = leave_rules.Creator<br>```<br><br>```<br>timesheets.LeaveRule = leave_rules.Id<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>timesheets.Employee = leaves.Employee<br>```<br><br>```<br>timesheets.Creator = leaves.Employee<br>```<br><br>```<br>timesheets.Employee = leaves.Creator<br>```<br><br>```<br>timesheets.Creator = leaves.Creator<br>```<br><br>```<br>timesheets.EmployeeHistory = leaves.EmployeeHistory<br>```<br><br>```<br>timesheets.LeaveId = leaves.Id<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>timesheets.Employee = memos.Creator<br>```<br><br>```<br>timesheets.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>timesheets.Employee = operational_units.Creator<br>```<br><br>```<br>timesheets.Creator = operational_units.Creator<br>```<br><br>```<br>timesheets.OperationalUnit = operational_units.Id<br>```<br><br>```<br>timesheets.OperationalUnit = operational_units.ParentOperationalUnit<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>timesheets.Employee = pay_periods.Creator<br>```<br><br>```<br>timesheets.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>timesheets.Employee = pay_rules.Creator<br>```<br><br>```<br>timesheets.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>timesheets.Employee = public_holidays.Creator<br>```<br><br>```<br>timesheets.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>timesheets.Employee = roster_opens.Employee<br>```<br><br>```<br>timesheets.Creator = roster_opens.Employee<br>```<br><br>```<br>timesheets.Employee = roster_opens.Creator<br>```<br><br>```<br>timesheets.Creator = roster_opens.Creator<br>```<br><br>```<br>timesheets.Roster = roster_opens.Roster<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>timesheets.Employee = roster_swaps.Employee<br>```<br><br>```<br>timesheets.Creator = roster_swaps.Employee<br>```<br><br>```<br>timesheets.Employee = roster_swaps.Creator<br>```<br><br>```<br>timesheets.Creator = roster_swaps.Creator<br>```<br><br>```<br>timesheets.Roster = roster_swaps.SourceRoster<br>```<br><br>```<br>timesheets.Roster = roster_swaps.TargetRoster<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>timesheets.Employee = rosters.Employee<br>```<br><br>```<br>timesheets.Creator = rosters.Employee<br>```<br><br>```<br>timesheets.Employee = rosters.ConfirmBy<br>```<br><br>```<br>timesheets.Creator = rosters.ConfirmBy<br>```<br><br>```<br>timesheets.Employee = rosters.Creator<br>```<br><br>```<br>timesheets.Creator = rosters.Creator<br>```<br><br>```<br>timesheets.OperationalUnit = rosters.OperationalUnit<br>```<br><br>```<br>timesheets.Roster = rosters.Id<br>```<br><br>```<br>timesheets.Id = rosters.MatchedByTimesheet<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>timesheets.Employee = sales_data.Employee<br>```<br><br>```<br>timesheets.Creator = sales_data.Employee<br>```<br><br>```<br>timesheets.Employee = sales_data.Creator<br>```<br><br>```<br>timesheets.Creator = sales_data.Creator<br>```<br><br>```<br>timesheets.OperationalUnit = sales_data.OperationalUnit<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>timesheets.Employee = schedules.Creator<br>```<br><br>```<br>timesheets.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>timesheets.Employee = sms_logs.Creator<br>```<br><br>```<br>timesheets.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>timesheets.Employee = states.Creator<br>```<br><br>```<br>timesheets.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>timesheets.Employee = stress_profiles.Creator<br>```<br><br>```<br>timesheets.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>timesheets.Employee = system_usage_balances.Creator<br>```<br><br>```<br>timesheets.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>timesheets.Employee = system_usage_tracking.Creator<br>```<br><br>```<br>timesheets.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>timesheets.Employee = task_group_setups.Creator<br>```<br><br>```<br>timesheets.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>timesheets.Employee = task_groups.Creator<br>```<br><br>```<br>timesheets.Creator = task_groups.Creator<br>```<br><br>```<br>timesheets.OperationalUnit = task_groups.OpUnitId<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>timesheets.Employee = task_opunit_configs.Creator<br>```<br><br>```<br>timesheets.Creator = task_opunit_configs.Creator<br>```<br><br>```<br>timesheets.OperationalUnit = task_opunit_configs.OpUnitId<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>timesheets.Employee = task_setups.Creator<br>```<br><br>```<br>timesheets.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>timesheets.Employee = tasks.Creator<br>```<br><br>```<br>timesheets.Creator = tasks.Creator<br>```<br><br>```<br>timesheets.OperationalUnit = tasks.OpUnitId<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>timesheets.Employee = teams.LeaderEmployee<br>```<br><br>```<br>timesheets.Creator = teams.LeaderEmployee<br>```<br><br>```<br>timesheets.Employee = teams.Creator<br>```<br><br>```<br>timesheets.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>timesheets.Employee = timesheet_pay_returns.Creator<br>```<br><br>```<br>timesheets.Creator = timesheet_pay_returns.Creator<br>```<br><br>```<br>timesheets.Id = timesheet_pay_returns.Timesheet<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>timesheets.Employee = training_modules.Creator<br>```<br><br>```<br>timesheets.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>timesheets.Employee = training_records.Employee<br>```<br><br>```<br>timesheets.Creator = training_records.Employee<br>```<br><br>```<br>timesheets.Employee = training_records.Creator<br>```<br><br>```<br>timesheets.Creator = training_records.Creator<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>timesheets.Employee = webhooks.Creator<br>```<br><br>```<br>timesheets.Creator = webhooks.Creator<br>``` |

timesheets table schema

| **AutoPayRuleApproved**<br><br><br>BOOLEAN |
| --- |
| **AutoProcessed**<br><br><br>BOOLEAN |
| **AutoRounded**<br><br><br>BOOLEAN |
| **AutoTimeApproved**<br><br><br>BOOLEAN |
| **Cost**<br><br><br>NUMBER |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **CustomFieldData**<br><br><br>INTEGER |
| **Date**<br><br><br>DATE |
| **Disputed**<br><br><br>BOOLEAN |
| **Employee**<br><br><br>INTEGER |
| **EmployeeAgreement**<br><br><br>INTEGER |
| **EmployeeComment**<br><br><br>STRING |
| **EmployeeHistory**<br><br><br>INTEGER |
| **EndTime**<br><br><br>INTEGER |
| **Exported**<br><br><br>BOOLEAN |
| **File**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **InvoiceComment**<br><br><br>STRING |
| **Invoiced**<br><br><br>BOOLEAN |
| **IsInProgress**<br><br><br>BOOLEAN |
| **IsLeave**<br><br><br>BOOLEAN |
| **LeaveId**<br><br><br>INTEGER |
| **LeaveRule**<br><br><br>INTEGER |
| **Mealbreak**<br><br><br>TIME |
| **MealbreakSlots**<br><br><br>STRING |
| **Modified**<br><br><br>DATE-TIME |
| **OperationalUnit**<br><br><br>INTEGER |
| **PayRuleApproved**<br><br><br>BOOLEAN |
| **PayStaged**<br><br><br>BOOLEAN |
| **PaycycleId**<br><br><br>INTEGER |
| **RealTime**<br><br><br>BOOLEAN |
| **Roster**<br><br><br>INTEGER |
| **StagingId**<br><br><br>INTEGER |
| **StartTime**<br><br><br>INTEGER |
| **Supervisor**<br><br><br>INTEGER |
| **SupervisorComment**<br><br><br>STRING |
| **TotalTime**<br><br><br>NUMBER |
| **TotalTimeInv**<br><br><br>NUMBER |
| **ValidationFlag**<br><br><br>INTEGER |

### training\_modules

The `training_modules` table contains info about training modules.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/TrainingModule) |

training\_modules table foreign keys

| Join training\_modules with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>training_modules.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>training_modules.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>training_modules.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>training_modules.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>training_modules.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>training_modules.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>training_modules.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>training_modules.Creator = custom_app_data.Employee<br>```<br><br>```<br>training_modules.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>training_modules.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>training_modules.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>training_modules.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>training_modules.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>training_modules.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>training_modules.Creator = employee_appraisal.Creator<br>```<br><br>```<br>training_modules.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>training_modules.Creator = employee_availability.Employee<br>```<br><br>```<br>training_modules.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>training_modules.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>training_modules.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>training_modules.Creator = employee_history.EmployeeId<br>```<br><br>```<br>training_modules.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>training_modules.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>training_modules.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>training_modules.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>training_modules.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>training_modules.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>training_modules.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>training_modules.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>training_modules.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>training_modules.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>training_modules.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>training_modules.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>training_modules.Creator = journal.EmployeeId<br>```<br><br>```<br>training_modules.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>training_modules.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>training_modules.Creator = leave_accruals.Employee<br>```<br><br>```<br>training_modules.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>training_modules.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>training_modules.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>training_modules.Creator = leaves.Employee<br>```<br><br>```<br>training_modules.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>training_modules.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>training_modules.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>training_modules.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>training_modules.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>training_modules.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>training_modules.Creator = roster_opens.Employee<br>```<br><br>```<br>training_modules.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>training_modules.Creator = roster_swaps.Employee<br>```<br><br>```<br>training_modules.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>training_modules.Creator = rosters.Employee<br>```<br><br>```<br>training_modules.Creator = rosters.ConfirmBy<br>```<br><br>```<br>training_modules.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>training_modules.Creator = sales_data.Employee<br>```<br><br>```<br>training_modules.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>training_modules.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>training_modules.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>training_modules.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>training_modules.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>training_modules.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>training_modules.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>training_modules.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>training_modules.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>training_modules.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>training_modules.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>training_modules.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>training_modules.Creator = teams.LeaderEmployee<br>```<br><br>```<br>training_modules.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>training_modules.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>training_modules.Creator = timesheets.Employee<br>```<br><br>```<br>training_modules.Creator = timesheets.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>training_modules.Creator = training_records.Employee<br>```<br><br>```<br>training_modules.Creator = training_records.Creator<br>```<br><br>```<br>training_modules.Id = training_records.Module<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>training_modules.Creator = webhooks.Creator<br>``` |

training\_modules table schema

| **Comment**<br><br><br>STRING |
| --- |
| **Cost**<br><br><br>NUMBER |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **Provider**<br><br><br>STRING |
| **ProviderAddress**<br><br><br>STRING |
| **RenewalPeriodMonths**<br><br><br>INTEGER |
| **TimeRequiredDays**<br><br><br>INTEGER |
| **Title**<br><br><br>STRING |

### training\_records

The `training_records` table contains info about training records.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/TrainingRecord) |

training\_records table foreign keys

| Join training\_records with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>training_records.Employee = addresses.Creator<br>```<br><br>```<br>training_records.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>training_records.Employee = categories.Creator<br>```<br><br>```<br>training_records.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>training_records.Employee = comments.Creator<br>```<br><br>```<br>training_records.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>training_records.Employee = companies.Creator<br>```<br><br>```<br>training_records.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>training_records.Employee = company_periods.Creator<br>```<br><br>```<br>training_records.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>training_records.Employee = contacts.Creator<br>```<br><br>```<br>training_records.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>training_records.Employee = countries.Creator<br>```<br><br>```<br>training_records.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>training_records.Employee = custom_app_data.Employee<br>```<br><br>```<br>training_records.Creator = custom_app_data.Employee<br>```<br><br>```<br>training_records.Employee = custom_app_data.Creator<br>```<br><br>```<br>training_records.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>training_records.Employee = custom_field_data.Creator<br>```<br><br>```<br>training_records.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>training_records.Employee = custom_fields.Creator<br>```<br><br>```<br>training_records.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>training_records.Employee = employee_agreement_history.Creator<br>```<br><br>```<br>training_records.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>training_records.Employee = employee_agreements.EmployeeId<br>```<br><br>```<br>training_records.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>training_records.Employee = employee_agreements.Creator<br>```<br><br>```<br>training_records.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>training_records.Employee = employee_appraisal.Creator<br>```<br><br>```<br>training_records.Creator = employee_appraisal.Creator<br>```<br><br>```<br>training_records.Employee = employee_appraisal.Employee<br>```<br><br>```<br>training_records.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>training_records.Employee = employee_availability.Employee<br>```<br><br>```<br>training_records.Creator = employee_availability.Employee<br>```<br><br>```<br>training_records.Employee = employee_availability.Creator<br>```<br><br>```<br>training_records.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>training_records.Employee = employee_contract_leave_rules.Creator<br>```<br><br>```<br>training_records.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>training_records.Employee = employee_contracts.Creator<br>```<br><br>```<br>training_records.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>training_records.Employee = employee_history.EmployeeId<br>```<br><br>```<br>training_records.Creator = employee_history.EmployeeId<br>```<br><br>```<br>training_records.Employee = employee_history.Creator<br>```<br><br>```<br>training_records.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>training_records.Employee = employee_paycycle_returns.Creator<br>```<br><br>```<br>training_records.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>training_records.Employee = employee_paycycles.EmployeeId<br>```<br><br>```<br>training_records.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>training_records.Employee = employee_paycycles.Creator<br>```<br><br>```<br>training_records.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>training_records.Employee = employee_roles.Creator<br>```<br><br>```<br>training_records.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>training_records.Employee = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>training_records.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>training_records.Employee = employee_salary_opunit_costing.Creator<br>```<br><br>```<br>training_records.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>training_records.Employee = employee_workplaces.EmployeeId<br>```<br><br>```<br>training_records.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>training_records.Employee = employee_workplaces.Creator<br>```<br><br>```<br>training_records.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>training_records.Employee = employment_conditions.Creator<br>```<br><br>```<br>training_records.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>training_records.Employee = events.Creator<br>```<br><br>```<br>training_records.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>training_records.Employee = geo.Creator<br>```<br><br>```<br>training_records.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>training_records.Employee = journal.EmployeeId<br>```<br><br>```<br>training_records.Creator = journal.EmployeeId<br>```<br><br>```<br>training_records.Employee = journal.Creator<br>```<br><br>```<br>training_records.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>training_records.Employee = kiosks.Creator<br>```<br><br>```<br>training_records.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>training_records.Employee = leave_accruals.Employee<br>```<br><br>```<br>training_records.Creator = leave_accruals.Employee<br>```<br><br>```<br>training_records.Employee = leave_accruals.Creator<br>```<br><br>```<br>training_records.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>training_records.Employee = leave_pay_lines.Creator<br>```<br><br>```<br>training_records.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>training_records.Employee = leave_rules.Creator<br>```<br><br>```<br>training_records.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>training_records.Employee = leaves.Employee<br>```<br><br>```<br>training_records.Creator = leaves.Employee<br>```<br><br>```<br>training_records.Employee = leaves.Creator<br>```<br><br>```<br>training_records.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>training_records.Employee = memos.Creator<br>```<br><br>```<br>training_records.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>training_records.Employee = operational_units.Creator<br>```<br><br>```<br>training_records.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>training_records.Employee = pay_periods.Creator<br>```<br><br>```<br>training_records.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>training_records.Employee = pay_rules.Creator<br>```<br><br>```<br>training_records.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>training_records.Employee = public_holidays.Creator<br>```<br><br>```<br>training_records.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>training_records.Employee = roster_opens.Employee<br>```<br><br>```<br>training_records.Creator = roster_opens.Employee<br>```<br><br>```<br>training_records.Employee = roster_opens.Creator<br>```<br><br>```<br>training_records.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>training_records.Employee = roster_swaps.Employee<br>```<br><br>```<br>training_records.Creator = roster_swaps.Employee<br>```<br><br>```<br>training_records.Employee = roster_swaps.Creator<br>```<br><br>```<br>training_records.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>training_records.Employee = rosters.Employee<br>```<br><br>```<br>training_records.Creator = rosters.Employee<br>```<br><br>```<br>training_records.Employee = rosters.ConfirmBy<br>```<br><br>```<br>training_records.Creator = rosters.ConfirmBy<br>```<br><br>```<br>training_records.Employee = rosters.Creator<br>```<br><br>```<br>training_records.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>training_records.Employee = sales_data.Employee<br>```<br><br>```<br>training_records.Creator = sales_data.Employee<br>```<br><br>```<br>training_records.Employee = sales_data.Creator<br>```<br><br>```<br>training_records.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>training_records.Employee = schedules.Creator<br>```<br><br>```<br>training_records.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>training_records.Employee = sms_logs.Creator<br>```<br><br>```<br>training_records.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>training_records.Employee = states.Creator<br>```<br><br>```<br>training_records.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>training_records.Employee = stress_profiles.Creator<br>```<br><br>```<br>training_records.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>training_records.Employee = system_usage_balances.Creator<br>```<br><br>```<br>training_records.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>training_records.Employee = system_usage_tracking.Creator<br>```<br><br>```<br>training_records.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>training_records.Employee = task_group_setups.Creator<br>```<br><br>```<br>training_records.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>training_records.Employee = task_groups.Creator<br>```<br><br>```<br>training_records.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>training_records.Employee = task_opunit_configs.Creator<br>```<br><br>```<br>training_records.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>training_records.Employee = task_setups.Creator<br>```<br><br>```<br>training_records.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>training_records.Employee = tasks.Creator<br>```<br><br>```<br>training_records.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>training_records.Employee = teams.LeaderEmployee<br>```<br><br>```<br>training_records.Creator = teams.LeaderEmployee<br>```<br><br>```<br>training_records.Employee = teams.Creator<br>```<br><br>```<br>training_records.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>training_records.Employee = timesheet_pay_returns.Creator<br>```<br><br>```<br>training_records.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>training_records.Employee = timesheets.Employee<br>```<br><br>```<br>training_records.Creator = timesheets.Employee<br>```<br><br>```<br>training_records.Employee = timesheets.Creator<br>```<br><br>```<br>training_records.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>training_records.Employee = training_modules.Creator<br>```<br><br>```<br>training_records.Creator = training_modules.Creator<br>```<br><br>```<br>training_records.Module = training_modules.Id<br>``` |
| [webhooks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#webhooks) | ```<br>training_records.Employee = webhooks.Creator<br>```<br><br>```<br>training_records.Creator = webhooks.Creator<br>``` |

training\_records table schema

| **Active**<br><br><br>BOOLEAN |
| --- |
| **Comment**<br><br><br>STRING |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Employee**<br><br><br>INTEGER |
| **ExpiryDate**<br><br><br>DATE |
| **File**<br><br><br>STRING |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **Module**<br><br><br>INTEGER |
| **TrainingDate**<br><br><br>DATE |

### webhooks

The `webhooks` table contains info about webhooks.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | Modified |
| **Replication Key** | Modified |
| **Useful links** | [Deputy documentation](https://www.deputy.com/api-doc/Resources/Webhook) |

webhooks table foreign keys

| Join webhooks with | on |
| --- | --- |
| [addresses](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#addresses) | ```<br>webhooks.Creator = addresses.Creator<br>``` |
| [categories](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#categories) | ```<br>webhooks.Creator = categories.Creator<br>``` |
| [comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#comments) | ```<br>webhooks.Creator = comments.Creator<br>``` |
| [companies](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#companies) | ```<br>webhooks.Creator = companies.Creator<br>``` |
| [company_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#company-periods) | ```<br>webhooks.Creator = company_periods.Creator<br>``` |
| [contacts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#contacts) | ```<br>webhooks.Creator = contacts.Creator<br>``` |
| [countries](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#countries) | ```<br>webhooks.Creator = countries.Creator<br>``` |
| [custom_app_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-app-data) | ```<br>webhooks.Creator = custom_app_data.Employee<br>```<br><br>```<br>webhooks.Creator = custom_app_data.Creator<br>``` |
| [custom_field_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-field-data) | ```<br>webhooks.Creator = custom_field_data.Creator<br>``` |
| [custom_fields](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#custom-fields) | ```<br>webhooks.Creator = custom_fields.Creator<br>``` |
| [employee_agreement_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreement-history) | ```<br>webhooks.Creator = employee_agreement_history.Creator<br>``` |
| [employee_agreements](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-agreements) | ```<br>webhooks.Creator = employee_agreements.EmployeeId<br>```<br><br>```<br>webhooks.Creator = employee_agreements.Creator<br>``` |
| [employee_appraisal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-appraisal) | ```<br>webhooks.Creator = employee_appraisal.Creator<br>```<br><br>```<br>webhooks.Creator = employee_appraisal.Employee<br>``` |
| [employee_availability](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-availability) | ```<br>webhooks.Creator = employee_availability.Employee<br>```<br><br>```<br>webhooks.Creator = employee_availability.Creator<br>``` |
| [employee_contract_leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contract-leave-rules) | ```<br>webhooks.Creator = employee_contract_leave_rules.Creator<br>``` |
| [employee_contracts](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-contracts) | ```<br>webhooks.Creator = employee_contracts.Creator<br>``` |
| [employee_history](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-history) | ```<br>webhooks.Creator = employee_history.EmployeeId<br>```<br><br>```<br>webhooks.Creator = employee_history.Creator<br>``` |
| [employee_paycycle_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycle-returns) | ```<br>webhooks.Creator = employee_paycycle_returns.Creator<br>``` |
| [employee_paycycles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-paycycles) | ```<br>webhooks.Creator = employee_paycycles.EmployeeId<br>```<br><br>```<br>webhooks.Creator = employee_paycycles.Creator<br>``` |
| [employee_roles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-roles) | ```<br>webhooks.Creator = employee_roles.Creator<br>``` |
| [employee_salary_opunit_costing](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-salary-opunit-costing) | ```<br>webhooks.Creator = employee_salary_opunit_costing.Employee<br>```<br><br>```<br>webhooks.Creator = employee_salary_opunit_costing.Creator<br>``` |
| [employee_workplaces](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employee-workplaces) | ```<br>webhooks.Creator = employee_workplaces.EmployeeId<br>```<br><br>```<br>webhooks.Creator = employee_workplaces.Creator<br>``` |
| [employment_conditions](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#employment-conditions) | ```<br>webhooks.Creator = employment_conditions.Creator<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#events) | ```<br>webhooks.Creator = events.Creator<br>``` |
| [geo](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#geo) | ```<br>webhooks.Creator = geo.Creator<br>``` |
| [journal](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#journal) | ```<br>webhooks.Creator = journal.EmployeeId<br>```<br><br>```<br>webhooks.Creator = journal.Creator<br>``` |
| [kiosks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#kiosks) | ```<br>webhooks.Creator = kiosks.Creator<br>``` |
| [leave_accruals](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-accruals) | ```<br>webhooks.Creator = leave_accruals.Employee<br>```<br><br>```<br>webhooks.Creator = leave_accruals.Creator<br>``` |
| [leave_pay_lines](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-pay-lines) | ```<br>webhooks.Creator = leave_pay_lines.Creator<br>``` |
| [leave_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leave-rules) | ```<br>webhooks.Creator = leave_rules.Creator<br>``` |
| [leaves](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#leaves) | ```<br>webhooks.Creator = leaves.Employee<br>```<br><br>```<br>webhooks.Creator = leaves.Creator<br>``` |
| [memos](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#memos) | ```<br>webhooks.Creator = memos.Creator<br>``` |
| [operational_units](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#operational-units) | ```<br>webhooks.Creator = operational_units.Creator<br>``` |
| [pay_periods](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-periods) | ```<br>webhooks.Creator = pay_periods.Creator<br>``` |
| [pay_rules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#pay-rules) | ```<br>webhooks.Creator = pay_rules.Creator<br>``` |
| [public_holidays](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#public-holidays) | ```<br>webhooks.Creator = public_holidays.Creator<br>``` |
| [roster_opens](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-opens) | ```<br>webhooks.Creator = roster_opens.Employee<br>```<br><br>```<br>webhooks.Creator = roster_opens.Creator<br>``` |
| [roster_swaps](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#roster-swaps) | ```<br>webhooks.Creator = roster_swaps.Employee<br>```<br><br>```<br>webhooks.Creator = roster_swaps.Creator<br>``` |
| [rosters](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#rosters) | ```<br>webhooks.Creator = rosters.Employee<br>```<br><br>```<br>webhooks.Creator = rosters.ConfirmBy<br>```<br><br>```<br>webhooks.Creator = rosters.Creator<br>``` |
| [sales_data](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sales-data) | ```<br>webhooks.Creator = sales_data.Employee<br>```<br><br>```<br>webhooks.Creator = sales_data.Creator<br>``` |
| [schedules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#schedules) | ```<br>webhooks.Creator = schedules.Creator<br>``` |
| [sms_logs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#sms-logs) | ```<br>webhooks.Creator = sms_logs.Creator<br>``` |
| [states](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#states) | ```<br>webhooks.Creator = states.Creator<br>``` |
| [stress_profiles](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#stress-profiles) | ```<br>webhooks.Creator = stress_profiles.Creator<br>``` |
| [system_usage_balances](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-balances) | ```<br>webhooks.Creator = system_usage_balances.Creator<br>``` |
| [system_usage_tracking](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#system-usage-tracking) | ```<br>webhooks.Creator = system_usage_tracking.Creator<br>``` |
| [task_group_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-group-setups) | ```<br>webhooks.Creator = task_group_setups.Creator<br>``` |
| [task_groups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-groups) | ```<br>webhooks.Creator = task_groups.Creator<br>``` |
| [task_opunit_configs](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-opunit-configs) | ```<br>webhooks.Creator = task_opunit_configs.Creator<br>``` |
| [task_setups](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#task-setups) | ```<br>webhooks.Creator = task_setups.Creator<br>``` |
| [tasks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#tasks) | ```<br>webhooks.Creator = tasks.Creator<br>``` |
| [teams](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#teams) | ```<br>webhooks.Creator = teams.LeaderEmployee<br>```<br><br>```<br>webhooks.Creator = teams.Creator<br>``` |
| [timesheet_pay_returns](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheet-pay-returns) | ```<br>webhooks.Creator = timesheet_pay_returns.Creator<br>``` |
| [timesheets](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#timesheets) | ```<br>webhooks.Creator = timesheets.Employee<br>```<br><br>```<br>webhooks.Creator = timesheets.Creator<br>``` |
| [training_modules](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-modules) | ```<br>webhooks.Creator = training_modules.Creator<br>``` |
| [training_records](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-Deputy.htm#training-records) | ```<br>webhooks.Creator = training_records.Employee<br>```<br><br>```<br>webhooks.Creator = training_records.Creator<br>``` |

webhooks table schema

| **Address**<br><br><br>STRING |
| --- |
| **Created**<br><br><br>DATE-TIME |
| **Creator**<br><br><br>INTEGER |
| **Enabled**<br><br><br>BOOLEAN |
| **Filters**<br><br><br>STRING |
| **Headers**<br><br><br>STRING |
| **Id**<br><br><br>INTEGER |
| **Modified**<br><br><br>DATE-TIME |
| **Topic**<br><br><br>STRING |
| **Type**<br><br><br>STRING |