Search Results alr_alerts




Overview

The ALR_ALERTS table is the central master repository for defining Oracle Alert entities within Oracle E-Business Suite (EBS) versions 12.1.1 and 12.2.2. It stores the core definition of every Alert, which is an automated monitoring tool that checks for critical business events or exceptions in application data. Each record in this table represents a single Alert, which is linked to a specific application table (via FND_TABLES) and contains the logic to perform periodic or event-driven database checks. The table's integrity is enforced by primary keys on the combination of APPLICATION_ID and ALERT_ID, and uniquely on APPLICATION_ID and ALERT_NAME, ensuring Alert definitions are uniquely identifiable and named within their application context.

Key Information Stored

The table's structure is designed to capture the essential metadata for an Alert definition. While the specific column list is not detailed in the provided metadata, the primary and foreign key relationships reveal the critical data points. The composite primary key columns, APPLICATION_ID and ALERT_ID, uniquely identify every Alert instance. The ALERT_NAME provides a unique, human-readable identifier within an application. Crucially, the foreign key relationship to FND_TABLES via TABLE_APPLICATION_ID and TABLE_ID establishes the specific database table that the Alert will query. Other inferred columns would typically include control flags for enabling the Alert, frequency settings, description fields, and timestamps for creation and last update.

Common Use Cases and Queries

This table is primarily accessed for administrative reporting, impact analysis, and troubleshooting within the Alert module. Common scenarios include generating an inventory of all defined Alerts, identifying Alerts associated with a specific application table slated for an upgrade or patch, and diagnosing Alert execution failures by tracing the master definition. A typical query would join ALR_ALERTS with FND_TABLES to list Alert definitions with their target tables.

  • Alert Inventory Report: SELECT a.application_id, a.alert_id, a.alert_name, t.table_name FROM alr.alr_alerts a, applsys.fnd_tables t WHERE a.table_application_id = t.application_id AND a.table_id = t.table_id ORDER BY a.application_id, a.alert_name;
  • Impact Analysis for Table Changes: SELECT a.alert_name FROM alr.alr_alerts a WHERE a.table_application_id = :app_id AND a.table_id = (SELECT table_id FROM applsys.fnd_tables WHERE table_name = :table_name);

Related Objects

As the cornerstone of the Alert module, ALR_ALERTS has extensive relationships with numerous child tables that define an Alert's complete functionality, as explicitly listed in the foreign key metadata. These dependent objects store the various components of an Alert definition, including:

This network of relationships illustrates that ALR_ALERTS serves as the parent record, with child tables holding the detailed instructions for what the Alert checks, what actions it takes, and what results it produces.