Schema: hr
English table: hr.x_report_criteria
Italian original table: hr.x_reports_criteria
Description: Filtering conditions and logical criteria for reports (Service table).
Overview
- Columns: 12
- Primary key: id
- Outgoing foreign keys: 1
- Incoming foreign keys: 0
- Indexes: 4
Columns
| English column | Italian original column | Type | Null | Default / Generated | Description |
|---|
id | id | integer | NO | | Surrogate primary key. |
xrct_id | xrepcr_id | integer | NO | | Identifier of the related xrct record. |
xrct_report_id | xrepcr_xrep_id | integer | NO | | Identifier of the related xrct report record. |
xrct_line_number | xrepcr_line | numeric(2,0) | NO | | Ordering sequence for logical evaluation of criteria. |
xrct_field_id | xrepcr_fld_id | integer | NO | | Identifier of the related xrct field record. |
xrct_operator | xrepcr_oper | numeric(1,0) | NO | | Xrct operator. |
xrct_value_1 | xrepcr_val1 | character varying(50) | NO | | Text value. |
xrct_value_2 | xrepcr_val2 | character varying(50) | NO | | Text value. |
xrct_logical_operator | xrepcr_logical | numeric(1,0) | NO | | Logical connector (AND/OR) between rows. |
xrct_is_editable | xrepcr_execute_modify | numeric(1,0) | NO | | Xrct is editable. |
xrct_params | xrepcr_param1 | text | NO | | Text value. |
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_tenant_id | tenant_id | cloud.tenants | ten_internal_id | RESTRICT | CASCADE |
Referenced by
No incoming foreign keys found.
Constraints
- Primary key:
pk_x_report_criteria → id
- Unique:
uk_xrct_id_tenant → xrct_id, tenant_id
Indexes
| Name | Unique | Method | Columns / expression |
|---|
idx_xrct_field_tenant | NO | btree | tenant_id, xrct_field_id |
idx_xrct_id_tenant | NO | btree | tenant_id, xrct_id |
idx_xrct_report_tenant | NO | btree | tenant_id, xrct_report_id |
idx_xrct_tenant | NO | btree | tenant_id |
Navigation