Schema: hr
English table: hr.x_holder_types
Italian original table: hr.x_tipo_detentore
Description: Lookup table for workflow holders/approvers (e.g., Direct Manager, HR Office).
Overview
- Columns: 5
- Primary key: id
- Outgoing foreign keys: 1
- Incoming foreign keys: 2
- Indexes: 2
Columns
| English column | Italian original column | Type | Null | Default / Generated | Description |
|---|
id | id | integer | NO | | Surrogate primary key. |
xht_id | xtipdet_id | integer | NO | | Identifier of the related xht record. |
xht_code | xtipdet_code | character varying(5) | NO | | Code for xht. |
xht_description | xtipdet_description | character varying(20) | NO | | Description text. |
tenant_id | tenant_id | integer | YES | | Tenant identifier for data isolation. |
Relationships
Outgoing foreign keys
| Constraint | Local columns | References | Referenced columns | On update | On delete |
|---|
fk_xht_tenant | tenant_id | cloud.tenants | ten_internal_id | RESTRICT | CASCADE |
Referenced by
| From table | Foreign key | Source columns | Target columns |
|---|
hr.document_model_step_actions | fk_document_model_step_actions_holder_type | dmsa_holder_type_code, tenant_id | xht_code, tenant_id |
hr.document_model_step_actions | fk_document_model_step_actions_next_holder | dmsa_next_holder_type_code, tenant_id | xht_code, tenant_id |
Constraints
- Primary key:
pk_x_holder_types → id
- Unique:
c_uk_xht_code_tenant → xht_code, tenant_id
- Unique:
c_uk_xht_id_tenant → xht_id, tenant_id
Indexes
| Name | Unique | Method | Columns / expression |
|---|
idx_xht_id_tenant_lookup | NO | btree | tenant_id, xht_id |
idx_xht_tenant_base | NO | btree | tenant_id |
Navigation