Skip to main content

hr.event_type_phases

Schema: hr
English table: hr.event_type_phases
Italian original table: hr.x_tipi_eventi_fasi
Description: Phase configuration for event types, including timing offsets and conditional rules.

Overview

  • Columns: 9
  • Primary key: id
  • Outgoing foreign keys: 2
  • Incoming foreign keys: 2
  • Indexes: 4

Columns

English columnItalian original columnTypeNullDefault / GeneratedDescription
ididintegerNOSurrogate primary key.
etph_event_type_phase_idtevfa_idintegerNOTenant-scoped event type phase identifier.
etph_event_type_idtevfa_tev_idintegerNOReference to the event type this phase configuration belongs to.
etph_phase_idtevfa_evfa_idintegerNOReference to the phase definition identifier.
etph_days_before_eventtevfa_day_preeventnumeric(3,0)NONumber of days before the event date when this phase applies.
etph_days_after_eventtevfa_day_posteventnumeric(3,0)NONumber of days after the event date when this phase applies.
etph_condition_expressiontevfa_conditiontextNOCondition expression controlling applicability of the phase.
etph_is_confirmation_requiredtevfa_required_confirmbooleanNOWhether explicit confirmation is required for this phase.
tenant_idtenant_idintegerYESTenant identifier.

Relationships

Outgoing foreign keys

ConstraintLocal columnsReferencesReferenced columnsOn updateOn delete
fk_event_type_phases_tenant_idtenant_idcloud.tenantsten_internal_idRESTRICTCASCADE
fk_evtp_tenant_event_typeetph_event_type_id, tenant_idhr.event_typesety_event_type_id, tenant_idRESTRICTRESTRICT

Referenced by

From tableForeign keySource columnsTarget columns
hr._q_events_fasifk__q_event_phases_type_phaseqef_event_type_phase_id, tenant_idetph_event_type_phase_id, tenant_id
hr.event_type_phase_detail_linksfk_evtpl_tenant_event_type_phaseetpl_event_type_phase_id, tenant_idetph_event_type_phase_id, tenant_id

Constraints

  • Primary key: pk_event_type_phasesid
  • Unique: uk_evtp_tenant_event_type_phase_idetph_event_type_phase_id, tenant_id

Indexes

NameUniqueMethodColumns / expression
idx_evtp_tenantNObtreetenant_id
idx_evtp_tenant_event_typeNObtreetenant_id, etph_event_type_id
idx_evtp_tenant_event_type_phase_idNObtreetenant_id, etph_event_type_phase_id
idx_evtp_tenant_phaseNObtreetenant_id, etph_phase_id