Skip to main content

hr.event_types

Schema: hr
English table: hr.event_types
Italian original table: hr.x_tipi_eventi
Description: Catalog of event types used by events, activity types and related workflows.

Overview

  • Columns: 15
  • Primary key: id
  • Outgoing foreign keys: 1
  • Incoming foreign keys: 6
  • Indexes: 4

Columns

English columnItalian original columnTypeNullDefault / GeneratedDescription
ididintegerNOSurrogate primary key.
ety_event_type_idtev_idintegerNOTenant-scoped event type identifier.
ety_event_group_idtev_grev_idintegerNOReference to the event group this type belongs to.
ety_descriptiontev_descrizionecharacter varying(80)NOEvent type description.
ety_notestev_notetextNOAdditional notes for the event type.
ety_importance_codetev_importanzanumeric(2,0)NOImportance level code for the event type.
ety_sign_codetev_segnonumeric(2,0)NOSign/direction code associated with the event type (e.g., positive/negative).
ety_event_table_type_idtev_xtabeve_idintegerNOReference to the event table/category type used for this event type.
ety_is_standard_eventtev_evento_standardbooleanNOWhether this is a standard (predefined) event type.
ety_is_enabledtev_enabledbooleanNOWhether the event type is enabled/active.
ety_period_codetev_periodnumeric(1,0)NOPeriod code associated with the event type.
ety_show_widgettev_show_widgetbooleanNOWhether this event type is shown in widgets.
ety_widget_after_daystev_widget_after_daynumeric(2,0)NONumber of days after which widgets show this event type.
ety_is_extendabletev_extendablebooleanNOWhether events of this type can be extended.
tenant_idtenant_idintegerYESTenant identifier.

Relationships

Outgoing foreign keys

ConstraintLocal columnsReferencesReferenced columnsOn updateOn delete
fk_event_types_tenant_idtenant_idcloud.tenantsten_internal_idRESTRICTCASCADE

Referenced by

From tableForeign keySource columnsTarget columns
hr.activity_typesfk_actt_tenant_cancelled_event_typeactt_cancelled_event_type_id, tenant_idety_event_type_id, tenant_id
hr.activity_typesfk_actt_tenant_confirmed_event_typeactt_confirmed_event_type_id, tenant_idety_event_type_id, tenant_id
hr.event_actionsfk_eva_event_typeeva_event_type_id, tenant_idety_event_type_id, tenant_id
hr.event_type_detailsfk_evtd_tenant_event_typeetd_event_type_id, tenant_idety_event_type_id, tenant_id
hr.event_type_phasesfk_evtp_tenant_event_typeetph_event_type_id, tenant_idety_event_type_id, tenant_id
hr.eventsfk_events_tenant_event_typeevt_event_type_id, tenant_idety_event_type_id, tenant_id

Constraints

  • Primary key: pk_event_typesid
  • Unique: uk_evt_tenant_event_type_idety_event_type_id, tenant_id

Indexes

NameUniqueMethodColumns / expression
idx_evt_tenantNObtreetenant_id
idx_evt_tenant_event_groupNObtreetenant_id, ety_event_group_id
idx_evt_tenant_event_table_typeNObtreetenant_id, ety_event_table_type_id
idx_evt_tenant_event_type_idNObtreetenant_id, ety_event_type_id