hr.employment_variable_compensations
Schema: hr
English table: hr.employment_variable_compensations
Italian original table: hr.retribuzioni_variabili
Description: Tracks variable pay components, performance bonuses (MBO), and their relationship with the base annual salary (RAL).
Overview
- Columns: 12
- Primary key: id
- Outgoing foreign keys: 2
- Incoming foreign keys: 0
- Indexes: 5
Columns
| English column | Italian original column | Type | Null | Default / Generated | Description |
|---|---|---|---|---|---|
id | id | integer | NO | Surrogate primary key. | |
evc_id | retrvar_id | integer | NO | Identifier of the related evc record. | |
evc_year | retrvar_year | integer | NO | Numeric value. | |
evc_target_amount | retrvar_expected | numeric(10,2) | NO | The predefined target bonus amount expected upon 100% goal achievement. | |
evc_actual_paid_amount | retrvar_paid | numeric(10,2) | NO | The final bonus amount actually paid out. | |
evc_employment_relationship_id | retrvar_rap_id | integer | NO | Identifier of the related evc employment relationship record. | |
evc_monthly_salary | retrvar_retri_mensile | numeric(10,2) | NO | Evc monthly salary. | |
evc_base_annual_salary | retrvar_ral | numeric(10,2) | NO | Gross Annual Salary (RAL) used as a base for bonus calculation. | |
evc_total_annual_compensation | retrvar_ral_totale | numeric(10,2) | NO | Total annual compensation including base salary and other recurring fixed elements. | |
tenant_id | tenant_id | integer | YES | Tenant identifier for data isolation. | |
colcustom | colcustom | jsonb | YES | '{}'::jsonb | JSON payload containing additional attributes. |
_deleted | _deleted | boolean | YES | false | Flag indicating whether the record is soft-deleted. |
Relationships
Outgoing foreign keys
| Constraint | Local columns | References | Referenced columns | On update | On delete |
|---|---|---|---|---|---|
fk_evc_employment_relationship | evc_employment_relationship_id, tenant_id | hr.employment_relationships | er_id, tenant_id | RESTRICT | CASCADE |
fk_evc_tenant | tenant_id | cloud.tenants | ten_internal_id | RESTRICT | CASCADE |
Referenced by
No incoming foreign keys found.
Constraints
- Primary key:
pk_employment_variable_compensations→id - Unique:
uk_evc_id_tenant→evc_id, tenant_id
Indexes
| Name | Unique | Method | Columns / expression |
|---|---|---|---|
idx_evc_emp_rel_tenant | NO | btree | tenant_id, evc_employment_relationship_id) WHERE (_deleted = false |
idx_evc_emp_rel_year_tenant | NO | btree | tenant_id, evc_year, evc_year) WHERE (_deleted = false |
idx_evc_id_tenant | NO | btree | tenant_id, evc_id) WHERE (_deleted = false |
idx_evc_tenant | NO | btree | tenant_id |
idx_evc_year_tenant | NO | btree | tenant_id, evc_year) WHERE (_deleted = false |
Navigation
- Back to main index
- [Back to
hrindex]../)