Search Results pay_event_procedures
Overview
The PAY_EVENT_PROCEDURES table is a core technical configuration table within the Oracle E-Business Suite Payroll module (PAY). It functions as a registry for executable code procedures that are triggered in response to specific data events. Its primary role is to enable event-driven processing within the complex payroll engine, ensuring that defined business logic executes automatically when changes are detected in key dated tables. This mechanism is fundamental for maintaining data integrity, calculating derived values, and enforcing business rules during payroll processing and data maintenance.
Key Information Stored
The table stores metadata that links a database event on a specific table to a corresponding PL/SQL procedure. While the full column list is not detailed in the provided excerpt, the documented structure reveals critical components. The primary identifier is EVENT_PROCEDURE_ID. A crucial foreign key is DATED_TABLE_ID, which links to the PAY_DATED_TABLES table to identify the specific table (e.g., a key assignment or earnings table) being monitored. Other typical columns in such a structure would include the name of the procedure to execute, the type of database event (e.g., INSERT, UPDATE, DELETE), and potentially conditional logic or execution order parameters.
Common Use Cases and Queries
This table is primarily accessed by the payroll engine itself during transaction processing. Common administrative use cases involve auditing or troubleshooting the event-driven framework. A developer or support analyst might query the table to understand what logic fires when a specific table is updated. A fundamental query would join to PAY_DATED_TABLES to translate the ID into a recognizable table name:
- Listing all configured event procedures:
SELECT pep.event_procedure_id, pdt.table_name, pep.FROM pay_event_procedures pep, pay_dated_tables pdt WHERE pep.dated_table_id = pdt.dated_table_id; - Identifying procedures for a specific table: This query would first find the DATED_TABLE_ID for a known table like PER_ALL_ASSIGNMENTS_F, then use it to filter PAY_EVENT_PROCEDURES.
Direct manipulation of this table is rare; configuration is typically managed through dedicated administrative interfaces or seeded upgrade scripts.
Related Objects
The PAY_EVENT_PROCEDURES table has defined relationships with other key payroll technical tables, as per the provided metadata.
- PAY_DATED_TABLES: This is the primary related table. PAY_EVENT_PROCEDURES references it via the foreign key column DATED_TABLE_ID. This relationship identifies which dated table the event procedure monitors.
- Dependent Logic: While not a foreign key constraint, the procedures listed in this table are implemented as PL/SQL stored program units. The table's contents are referenced by the core payroll engine (likely within packages like PAY_BUS) to dynamically invoke the registered procedures when events occur.
-
Table: PAY_EVENT_PROCEDURES
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_EVENT_PROCEDURES, object_name:PAY_EVENT_PROCEDURES, status:VALID, product: PAY - Payroll , description: Code to execute if event detected. , implementation_dba_data: HR.PAY_EVENT_PROCEDURES ,
-
Table: PAY_EVENT_PROCEDURES
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_EVENT_PROCEDURES, object_name:PAY_EVENT_PROCEDURES, status:VALID, product: PAY - Payroll , description: Code to execute if event detected. , implementation_dba_data: HR.PAY_EVENT_PROCEDURES ,
-
APPS.PAY_INTERPRETER_PKG dependencies on PAY_EVENT_PROCEDURES
12.1.1
-
APPS.HR_DELETE dependencies on PAY_EVENT_PROCEDURES
12.2.2
-
APPS.PAY_EVP_INS dependencies on PAY_EVENT_PROCEDURES
12.2.2
-
APPS.PAY_EVP_SHD dependencies on PAY_EVENT_PROCEDURES
12.1.1
-
APPS.PAY_EVP_UPD dependencies on PAY_EVENT_PROCEDURES
12.2.2
-
APPS.HR_DELETE dependencies on PAY_EVENT_PROCEDURES
12.1.1
-
APPS.PAY_EVP_INS dependencies on PAY_EVENT_PROCEDURES
12.1.1
-
APPS.PAY_INTERPRETER_PKG dependencies on PAY_EVENT_PROCEDURES
12.2.2
-
APPS.PAY_EVP_UPD dependencies on PAY_EVENT_PROCEDURES
12.1.1
-
APPS.PAY_EVP_BUS dependencies on PAY_EVENT_PROCEDURES
12.1.1
-
APPS.PAY_EVP_SHD dependencies on PAY_EVENT_PROCEDURES
12.2.2
-
APPS.PAY_EVP_BUS dependencies on PAY_EVENT_PROCEDURES
12.2.2
-
APPS.PAY_INTERPRETER_PKG dependencies on PAY_EVENT_PROCEDURES
12.2.2
-
APPS.PAY_INTERPRETER_PKG dependencies on PAY_EVENT_PROCEDURES
12.1.1
-
APPS.PAY_EVP_DEL dependencies on PAY_EVENT_PROCEDURES
12.2.2
-
APPS.PAY_EVP_DEL dependencies on PAY_EVENT_PROCEDURES
12.1.1
-
TABLE: HR.PAY_EVENT_PROCEDURES
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_EVENT_PROCEDURES, object_name:PAY_EVENT_PROCEDURES, status:VALID,
-
VIEW: HR.PAY_EVENT_PROCEDURES#
12.2.2
owner:HR, object_type:VIEW, object_name:PAY_EVENT_PROCEDURES#, status:VALID,
-
SYNONYM: PUBLIC.PAY_EVENT_PROCEDURES
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:PAY_EVENT_PROCEDURES, status:VALID,
-
APPS.PAY_EVP_SHD SQL Statements
12.1.1
-
APPS.PAY_EVP_SHD SQL Statements
12.2.2
-
APPS.PAY_EVP_BUS dependencies on PER_BUSINESS_GROUPS
12.2.2
-
APPS.PAY_EVP_DEL dependencies on HR_API
12.2.2
-
SYNONYM: APPS.PAY_EVENT_PROCEDURES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_EVENT_PROCEDURES, status:VALID,
-
TRIGGER: APPS.PAY_EVENT_PROCEDURES+
12.2.2
owner:APPS, object_type:TRIGGER, object_name:PAY_EVENT_PROCEDURES+, status:VALID,
-
VIEW: HR.PAY_EVENT_PROCEDURES#
12.2.2
-
TRIGGER: APPS.PAY_EVENT_PROCEDURES+
12.2.2
-
APPS.PAY_EVP_BUS dependencies on PER_BUSINESS_GROUPS
12.1.1
-
SYNONYM: APPS.PAY_EVENT_PROCEDURES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PAY_EVENT_PROCEDURES, status:VALID,
-
APPS.PAY_EVP_DEL dependencies on HR_API
12.1.1
-
APPS.PAY_EVP_BUS SQL Statements
12.2.2
-
APPS.PAY_EVP_BUS SQL Statements
12.1.1
-
TABLE: HR.PAY_EVENT_PROCEDURES
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_EVENT_PROCEDURES, object_name:PAY_EVENT_PROCEDURES, status:VALID,
-
APPS.HR_DELETE dependencies on PAY_EVENT_GROUPS
12.1.1
-
FUNCTION: APPS.PAY_EVENT_PROCEDURES=
12.2.2
-
APPS.HR_DELETE dependencies on PAY_EVENT_GROUPS
12.2.2
-
APPS.PAY_EVP_SHD dependencies on FND_MESSAGE
12.1.1
-
APPS.PAY_EVP_INS dependencies on HR_API
12.1.1
-
Table: PAY_DATED_TABLES
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_DATED_TABLES, object_name:PAY_DATED_TABLES, status:VALID, product: PAY - Payroll , description: Holds details of datetracked columns , implementation_dba_data: HR.PAY_DATED_TABLES ,
-
Table: PAY_DATED_TABLES
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_DATED_TABLES, object_name:PAY_DATED_TABLES, status:VALID, product: PAY - Payroll , description: Holds details of datetracked columns , implementation_dba_data: HR.PAY_DATED_TABLES ,
-
PACKAGE BODY: APPS.PAY_EVP_SHD
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_EVP_SHD, status:VALID,
-
PACKAGE BODY: APPS.PAY_EVP_UPD
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_EVP_UPD, status:VALID,
-
FUNCTION: APPS.PAY_EVENT_PROCEDURES=
12.2.2
owner:APPS, object_type:FUNCTION, object_name:PAY_EVENT_PROCEDURES=, status:VALID,
-
APPS.PAY_EVP_INS dependencies on HR_API
12.2.2
-
TRIGGER: APPS.PAY_EVENT_PROCEDURES_WHO
12.2.2
owner:APPS, object_type:TRIGGER, object_name:PAY_EVENT_PROCEDURES_WHO, status:VALID,
-
APPS.HR_DELETE dependencies on PAY_US_ASG_REPORTING
12.1.1
-
PACKAGE BODY: APPS.PAY_EVP_BUS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_EVP_BUS, status:VALID,
-
PACKAGE BODY: APPS.PAY_EVP_INS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_EVP_INS, status:VALID,