Results for “start_date_desc”

12 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

The GHR_EVENTS table is owned by the HR schema and belongs to the GHR – US Federal Human Resources product family within Oracle E-Business Suite 12.1.1 and 12.2.2. As stated in the ETRM metadata, the table "stores various events," and it functions as the definitional repository for event types referenced across federal HR processes — event codes, categories, timing attributes, and enablement state — used by downstream processing such as event history tracking and personnel action request handling.

Under the heuristic Data Vault classification mined from the foreign key structure, this table is characterized as satellite-leaning. As a modeling suggestion, this reflects the table's role as a descriptive, attribute-bearing entity keyed by a surrogate EVENT_ID, rather than a pure hub or a link resolving many-to-many relationships. The designation is heuristic only and should be validated against actual integration patterns before being used for warehouse design decisions.

Key Information Stored

The documented physical schema for 12.2.2 shows 15 columns. The most significant are:

  • EVENT_ID — the surrogate primary key, enforced by the unique index GHR_EVENTS_PK. This is the identifier referenced by child tables.
  • CODE — the business-key candidate, enforced by the unique index GHR_EVENTS_UK. Because the unique constraint is applied to this column, CODE is the natural key used for external identification of an event type.
  • DESCRIPTION — the human-readable name or narrative for the event.
  • CATEGORY_CODE — the classification grouping to which the event belongs.
  • START_DATE_DESC and END_DATE_DESC — textual descriptions of the start and end date semantics applied to the event.
  • STD_COMPLETION_TIME — the standard completion time associated with the event.
  • DATE_FROM and DATE_TO — the effective date range during which the event definition is valid.
  • ENABLED_FLAG — controls whether the event is active and selectable in transaction processing.
  • CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN — the standard Oracle EBS audit columns describing row creation and modification provenance.

Common Use Cases and Queries

Typical reporting and validation scenarios include resolving enabled event definitions for a given effective date, grouping events by category, and joining events to their history to trace processing activity.

  • Listing currently enabled events with their descriptions and categories.
  • Verifying that a supplied event CODE resolves to exactly one row — leveraging the GHR_EVENTS_UK uniqueness guarantee.
  • Reconciling personnel action requests against defined events via GHR_EVENTS_PA_REQUEST_ID.

A representative query pattern:

  • SELECT e.event_id, e.code, e.description, e.category_code FROM hr.ghr_events e WHERE e.enabled_flag = 'Y' AND TRUNC(SYSDATE) BETWEEN e.date_from AND NVL(e.date_to, TRUNC(SYSDATE));
  • SELECT e.code, COUNT(h.event_id) FROM hr.ghr_events e JOIN hr.ghr_event_history h ON h.event_id = e.event_id GROUP BY e.code;

Related Objects

The following relationships are documented in the ETRM metadata and define the primary dependency surface of GHR_EVENTS:

  • GHR_EVENT_HISTORY — references this table through GHR_EVENT_HISTORY.EVENT_ID → GHR_EVENTS.EVENT_ID, capturing historical occurrences of defined events.
  • GHR_PA_REQUESTS — referenced by this table through GHR_EVENTS.GHR_EVENTS_PA_REQUEST_ID → GHR_PA_REQUESTS, linking events to personnel action request processing.
  • GHR_EVENTS_PK and GHR_EVENTS_UK — the unique indexes enforcing the EVENT_ID surrogate key and the CODE business key respectively.

These four objects constitute the documented relationship set; any additional consumers should be confirmed against the specific 12.1.1 or 12.2.2 instance in use.