hr.x_salary_costs_settings
Schema: hr
English table: hr.x_salary_costs_settings
Italian original table: hr.x_retribuzioni_costi
Description: Metadata for payroll and labor cost fields formatting and reporting (Service table).
Overview
- Columns: 11
- Primary key: id
- Outgoing foreign keys: 2
- Incoming foreign keys: 0
- Indexes: 3
Columns
| English column | Italian original column | Type | Null | Default / Generated | Description |
|---|
id | id | integer | NO | | Surrogate primary key. |
xsc_id | xretrco_id | integer | NO | | Identifier of the related xsc record. |
xsc_field_number | xretrco_n_campo | integer | NO | | Numeric value. |
xsc_variable_name | xretrco_varname | character varying(20) | NO | | Technical variable name used in the calculation engine. |
xsc_description | xretrco_descrizione | character varying(100) | NO | | Description text. |
xsc_language_id | xretrco_lng_id | integer | NO | | Identifier of the related xsc language record. |
xsc_is_total_row | xretrco_is_total | boolean | NO | | Flag to identify if the field represents a total/subtotal sum. |
xsc_is_highlighted | xretrco_highlights | boolean | NO | | Boolean flag. |
xsc_sort_order | xretrco_order | numeric(2,0) | NO | | Xsc sort order. |
xretrco_cod_paghe | tenant_id | character varying(10) | NO | | Text value. |
tenant_id | `` | integer | YES | | Tenant identifier for data isolation. |
Relationships
Outgoing foreign keys
| Constraint | Local columns | References | Referenced columns | On update | On delete |
|---|
fk_tenant_id | tenant_id | cloud.tenants | ten_internal_id | RESTRICT | CASCADE |
fk_xsc_language | xsc_language_id, tenant_id | hr.languages | language_code_id, tenant_id | RESTRICT | RESTRICT |
Referenced by
No incoming foreign keys found.
Constraints
- Primary key:
pk_x_salary_costs_settings → id
- Unique:
uk_xsc_id_tenant → xsc_id, tenant_id
Indexes
| Name | Unique | Method | Columns / expression |
|---|
idx_xsc_id_tenant | NO | btree | tenant_id, xsc_id |
idx_xsc_language_tenant | NO | btree | tenant_id, xsc_language_id |
idx_xsc_tenant | NO | btree | tenant_id |
Navigation