Search Results pay_trigger_events
Overview
PAY_TRIGGER_EVENTS is a core Payroll (PAY) module table owned by the HR schema in Oracle E-Business Suite 12.1.1 and 12.2.2. It stores the definitions of database triggers that are generated dynamically by the Oracle Payroll engine. Rather than relying solely on statically defined database triggers, Oracle Payroll uses a metadata-driven mechanism in which trigger definitions are stored as rows, and the corresponding PL/SQL trigger text is constructed at runtime from associated components, declarations, initialisations, and support code. PAY_TRIGGER_EVENTS is therefore best understood as the master registry of payroll trigger events, and each child table that references it contributes one piece of the dynamically assembled trigger body.
From a Data Vault modeling perspective, the foreign-key topology classifies PAY_TRIGGER_EVENTS heuristically as a hub. Five separate tables (functional triggers, components, declarations, initialisations, and support) each carry a foreign key of EVENT_ID pointing back to this table, and all of them behave as satellites or dependent links keyed by that hub identity. This makes the table a natural anchor for any integration or warehouse model that needs to reference payroll trigger events by a stable business key.
Key Information Stored
The table holds 14 documented columns. The most important are:
- EVENT_ID — the surrogate primary key, defined by the unique index
PAY_TRIGGER_EVENTS_PK(combined withZD_EDITION_NAMEin the 12.2.2 edition-aware schema). This is the join key used by all five child tables. - SHORT_NAME — the human-readable business key. A second unique index,
PAY_TRIGGER_EVENTS_UK1(SHORT_NAME,ZD_EDITION_NAME), guarantees uniqueness on this column alone, making it the primary business-key candidate. - TABLE_NAME — identifies the database table on which the dynamically generated trigger is defined.
- DESCRIPTION — free-text explanation of the trigger event's purpose.
- GENERATED_FLAG — indicates whether the trigger has been generated from its stored definitions.
- ENABLED_FLAG — controls whether the trigger event is active in the payroll engine.
- PROTECTED_FLAG — marks events that should not be modified or deleted by users, typically seeded Oracle definitions.
- TRIGGERING_ACTION — the DML action (for example INSERT, UPDATE, or DELETE) that fires the trigger.
- Audit columns LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN, CREATED_BY, and CREATION_DATE follow the standard EBS WHO column convention.
- ZD_EDITION_NAME — the editioning column introduced in Release 12.2 for online patching, allowing multiple editions of a trigger definition to coexist.
Common Use Cases and Queries
Typical scenarios include auditing which trigger events are enabled, tracing the complete generated code for an event, and diagnosing why a payroll DML trigger fires unexpectedly. A simple lookup by business key:
SELECT event_id, table_name, triggering_action, enabled_flag FROM pay_trigger_events WHERE short_name = :p_short_name;SELECT short_name, table_name, generated_flag, protected_flag FROM pay_trigger_events WHERE enabled_flag = 'Y';
To reconstruct the full definition of an event, join the child tables on EVENT_ID: PAY_TRIGGER_DECLARATIONS, PAY_TRIGGER_INITIALISATIONS, PAY_TRIGGER_COMPONENTS, PAY_TRIGGER_SUPPORT, and PAY_FUNCTIONAL_TRIGGERS. Reporting queries frequently list protected versus customer-defined events, or count events per target table. Administrators should treat seeded rows (where PROTECTED_FLAG = 'Y') as read-only.
Related Objects
The following tables reference PAY_TRIGGER_EVENTS through the EVENT_ID foreign key and together supply the dynamically generated trigger text:
- PAY_FUNCTIONAL_TRIGGERS —
EVENT_ID→PAY_TRIGGER_EVENTS.EVENT_ID; defines the functional trigger body. - PAY_TRIGGER_COMPONENTS —
EVENT_ID→PAY_TRIGGER_EVENTS.EVENT_ID; constituent code components of the trigger. - PAY_TRIGGER_DECLARATIONS —
EVENT_ID→PAY_TRIGGER_EVENTS.EVENT_ID; PL/SQL declaration sections. - PAY_TRIGGER_INITIALISATIONS —
EVENT_ID→PAY_TRIGGER_EVENTS.EVENT_ID; initialisation logic executed by the trigger. - PAY_TRIGGER_SUPPORT —
EVENT_ID→PAY_TRIGGER_EVENTS.EVENT_ID; supporting procedures and helper code.
Together these objects form the complete metadata model from which Oracle Payroll assembles and manages its dynamic triggers in Release 12.1.1 and 12.2.2.
-
Table: PAY_TRIGGER_EVENTS
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_TRIGGER_EVENTS, object_name:PAY_TRIGGER_EVENTS, status:VALID, product: PAY - Payroll , description: Definitions of triggers that are dynamically generated , implementation_dba_data: HR.PAY_TRIGGER_EVENTS ,
-
Table: PAY_TRIGGER_EVENTS
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_TRIGGER_EVENTS, object_name:PAY_TRIGGER_EVENTS, status:VALID, product: PAY - Payroll , description: Definitions of triggers that are dynamically generated , implementation_dba_data: HR.PAY_TRIGGER_EVENTS ,
-
TABLE: HR.PAY_TRIGGER_EVENTS
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_TRIGGER_EVENTS, object_name:PAY_TRIGGER_EVENTS, status:VALID,
-
VIEW: HR.PAY_TRIGGER_EVENTS#
12.2.2
owner:HR, object_type:VIEW, object_name:PAY_TRIGGER_EVENTS#, status:VALID,
-
SYNONYM: PUBLIC.PAY_TRIGGER_EVENTS
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:PAY_TRIGGER_EVENTS, status:VALID,
-
APPS.PAY_DYN_TRIGGERS SQL Statements
12.1.1
-
APPS.PAY_DYN_TRIGGERS SQL Statements
12.2.2
-
VIEW: APPS.PAY_TRIGGER_EVENTS_V
12.1.1
-
VIEW: HR.PAY_TRIGGER_EVENTS#
12.2.2
-
SYNONYM: APPS.PAY_TRIGGER_EVENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PAY_TRIGGER_EVENTS, status:VALID,
-
APPS.PAYWSDYG_PKG SQL Statements
12.1.1
-
TRIGGER: APPS.PAY_TRIGGER_EVENTS+
12.2.2
owner:APPS, object_type:TRIGGER, object_name:PAY_TRIGGER_EVENTS+, status:VALID,
-
VIEW: APPS.PAY_TRIGGER_EVENTS_V
12.2.2
-
VIEW: APPS.PAY_FUNCTIONAL_TRIGGERS_V
12.2.2
-
VIEW: APPS.PAY_FUNCTIONAL_TRIGGERS_V
12.1.1
-
SYNONYM: APPS.PAY_TRIGGER_EVENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_TRIGGER_EVENTS, status:VALID,
-
APPS.PAYWSDYG_PKG SQL Statements
12.2.2
-
TRIGGER: APPS.PAY_TRIGGER_EVENTS+
12.2.2
-
Table: PAY_TRIGGER_INITIALISATIONS
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_TRIGGER_INITIALISATIONS, object_name:PAY_TRIGGER_INITIALISATIONS, status:VALID, product: PAY - Payroll , description: How dynamically generated triggers initialise their local variables , implementation_dba_data: HR.PAY_TRIGGER_INITIALISATIONS ,
-
Table: PAY_TRIGGER_INITIALISATIONS
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_TRIGGER_INITIALISATIONS, object_name:PAY_TRIGGER_INITIALISATIONS, status:VALID, product: PAY - Payroll , description: How dynamically generated triggers initialise their local variables , implementation_dba_data: HR.PAY_TRIGGER_INITIALISATIONS ,
-
Table: PAY_TRIGGER_SUPPORT
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_TRIGGER_SUPPORT, object_name:PAY_TRIGGER_SUPPORT, status:VALID, product: PAY - Payroll , description: Allows support package for dynamically generated trigger to be linked to the trigger , implementation_dba_data: HR.PAY_TRIGGER_SUPPORT ,
-
Table: PAY_FUNCTIONAL_TRIGGERS
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_FUNCTIONAL_TRIGGERS, object_name:PAY_FUNCTIONAL_TRIGGERS, status:VALID, product: PAY - Payroll , description: Defines the triggers contained in a functional area , implementation_dba_data: HR.PAY_FUNCTIONAL_TRIGGERS ,
-
TABLE: HR.PAY_FUNCTIONAL_TRIGGERS
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_FUNCTIONAL_TRIGGERS, object_name:PAY_FUNCTIONAL_TRIGGERS, status:VALID,
-
FUNCTION: APPS.PAY_TRIGGER_EVENTS=
12.2.2
-
View: PAY_FUNCTIONAL_TRIGGERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_FUNCTIONAL_TRIGGERS_V, object_name:PAY_FUNCTIONAL_TRIGGERS_V, status:VALID, product: PAY - Payroll , implementation_dba_data: APPS.PAY_FUNCTIONAL_TRIGGERS_V ,
-
PACKAGE BODY: APPS.PAY_DYN_TRIGGERS
12.1.1
-
TRIGGER: APPS.PAY_TRIGGER_EVENTS_ARD
12.1.1
owner:APPS, object_type:TRIGGER, object_name:PAY_TRIGGER_EVENTS_ARD, status:VALID,
-
Table: PAY_TRIGGER_DECLARATIONS
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_TRIGGER_DECLARATIONS, object_name:PAY_TRIGGER_DECLARATIONS, status:VALID, product: PAY - Payroll , description: Variables declared in dynamic triggers , implementation_dba_data: HR.PAY_TRIGGER_DECLARATIONS ,
-
Table: PAY_TRIGGER_DECLARATIONS
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_TRIGGER_DECLARATIONS, object_name:PAY_TRIGGER_DECLARATIONS, status:VALID, product: PAY - Payroll , description: Variables declared in dynamic triggers , implementation_dba_data: HR.PAY_TRIGGER_DECLARATIONS ,
-
TRIGGER: APPS.HR_PAY_IF_ASG_COST_ARD
12.1.1
owner:APPS, object_type:TRIGGER, object_name:HR_PAY_IF_ASG_COST_ARD, status:VALID,
-
TRIGGER: APPS.PAY_TRIGGER_EVENTS_WHO
12.1.1
owner:APPS, object_type:TRIGGER, object_name:PAY_TRIGGER_EVENTS_WHO, status:VALID,
-
TRIGGER: APPS.HR_PAY_IF_PPM_ARD
12.2.2
owner:APPS, object_type:TRIGGER, object_name:HR_PAY_IF_PPM_ARD, status:VALID,
-
FUNCTION: APPS.PAY_TRIGGER_EVENTS=
12.2.2
owner:APPS, object_type:FUNCTION, object_name:PAY_TRIGGER_EVENTS=, status:VALID,
-
TRIGGER: APPS.HR_PAY_IF_ASG_COST_ARD
12.2.2
owner:APPS, object_type:TRIGGER, object_name:HR_PAY_IF_ASG_COST_ARD, status:VALID,
-
Table: PAY_TRIGGER_COMPONENTS
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_TRIGGER_COMPONENTS, object_name:PAY_TRIGGER_COMPONENTS, status:VALID, product: PAY - Payroll , description: Stored procedures that are executed from dynamic triggers , implementation_dba_data: HR.PAY_TRIGGER_COMPONENTS ,
-
Table: PAY_TRIGGER_COMPONENTS
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_TRIGGER_COMPONENTS, object_name:PAY_TRIGGER_COMPONENTS, status:VALID, product: PAY - Payroll , description: Stored procedures that are executed from dynamic triggers , implementation_dba_data: HR.PAY_TRIGGER_COMPONENTS ,
-
PACKAGE BODY: APPS.PAY_DYN_TRIGGERS
12.2.2
-
TRIGGER: APPS.HR_PAY_IF_ELE_ENT_ASD
12.2.2
owner:APPS, object_type:TRIGGER, object_name:HR_PAY_IF_ELE_ENT_ASD, status:VALID,
-
TRIGGER: APPS.HR_PAY_IF_PPM_NO_UPDATE_ARU
12.2.2
owner:APPS, object_type:TRIGGER, object_name:HR_PAY_IF_PPM_NO_UPDATE_ARU, status:VALID,
-
TRIGGER: APPS.HR_PAY_IF_PPM_NO_UPDATE_ARU
12.1.1
owner:APPS, object_type:TRIGGER, object_name:HR_PAY_IF_PPM_NO_UPDATE_ARU, status:VALID,
-
Table: PAY_FUNCTIONAL_TRIGGERS
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_FUNCTIONAL_TRIGGERS, object_name:PAY_FUNCTIONAL_TRIGGERS, status:VALID, product: PAY - Payroll , description: Defines the triggers contained in a functional area , implementation_dba_data: HR.PAY_FUNCTIONAL_TRIGGERS ,
-
Table: PAY_TRIGGER_SUPPORT
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_TRIGGER_SUPPORT, object_name:PAY_TRIGGER_SUPPORT, status:VALID, product: PAY - Payroll , description: Allows support package for dynamically generated trigger to be linked to the trigger , implementation_dba_data: HR.PAY_TRIGGER_SUPPORT ,
-
TRIGGER: APPS.PAY_TRIGGER_EVENTS_ARD
12.1.1
-
TRIGGER: APPS.HR_PAY_IF_ASG_COST_BRD
12.2.2
owner:APPS, object_type:TRIGGER, object_name:HR_PAY_IF_ASG_COST_BRD, status:VALID,
-
TRIGGER: APPS.HR_PAY_IF_PPM_NO_UPDATE2_ARU
12.2.2
owner:APPS, object_type:TRIGGER, object_name:HR_PAY_IF_PPM_NO_UPDATE2_ARU, status:VALID,
-
TRIGGER: APPS.PAY_TRIGGER_EVENTS_ARD
12.2.2
-
View: PAY_FUNCTIONAL_TRIGGERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_FUNCTIONAL_TRIGGERS_V, object_name:PAY_FUNCTIONAL_TRIGGERS_V, status:VALID, product: PAY - Payroll , implementation_dba_data: APPS.PAY_FUNCTIONAL_TRIGGERS_V ,
-
TABLE: HR.PAY_TRIGGER_SUPPORT
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_TRIGGER_SUPPORT, object_name:PAY_TRIGGER_SUPPORT, status:VALID,
-
TRIGGER: APPS.PAY_TRIGGER_EVENTS_ARD
12.2.2
owner:APPS, object_type:TRIGGER, object_name:PAY_TRIGGER_EVENTS_ARD, status:VALID,
-
TRIGGER: APPS.HR_PAY_IF_PPM_ARD
12.1.1
owner:APPS, object_type:TRIGGER, object_name:HR_PAY_IF_PPM_ARD, status:VALID,