Search Results ben_pea_shd
Overview
BEN_PEA_SHD is a PL/SQL package body owned by the APPS schema in Oracle E-Business Suite, classified under the ETRM documentation as an "OTHER" API type. Its name and dependency footprint indicate that it belongs to the Oracle Advanced Benefits (BEN) module, specifically to the participant enrollment action (PEA) layer. The package functions as a shared utility and shadow routine set that supports the processing of participant enrollment actions in the Benefits application. Rather than exposing a public business API to external callers, BEN_PEA_SHD provides internal supporting logic — constraint validation, DML status tracking, date-effective record maintenance, and lock handling — that higher-level Benefits enrollment packages invoke during eligibility and enrollment processing.
The object is documented as VALID in the 12.1.1 and 12.2.2 releases, with eight documented procedures or functions. It references the underlying table BEN_PRTT_ENRT_ACTN_F, the DML-status and HR infrastructure APIs (DT_API, HR_API, HR_UTILITY), the data dictionary view ALL_CONSTRAINTS, and the SQL STANDARD package. Notably, it is referenced by six other packages, confirming its role as a supporting layer inside the Benefits enrollment architecture.
Key Procedures and Functions
- RETURN_API_DML_STATUS — Reports the DML status of the current API invocation, allowing calling packages to determine whether the prior operation inserted, updated, or failed to modify records.
- CONSTRAINT_ERROR — Raises or handles constraint-related errors encountered while processing enrollment action records, translating database constraint violations into application-level error conditions.
- API_UPDATING — Signals or tracks that an update operation is in progress, enabling the package to guard against conflicting DML within a single logical transaction.
- FIND_DT_DEL_MODES — Determines the applicable date-effective delete mode, resolving how date-tracked rows should be removed or end-dated.
- FIND_DT_UPD_MODES — Determines the applicable date-effective update mode, resolving how date-tracked rows should be modified when effective dates change.
- UPD_EFFECTIVE_END_DATE — Updates the effective end date on a date-effective record, the core operation for closing out an enrollment action's validity period.
- LCK — Acquires a lock on the relevant enrollment action record or logical entity, providing concurrency control during processing.
- CONVERT_ARGS — Converts or normalizes argument values passed into the package's internal routines, supporting consistent parameter handling across calls.
Tables Accessed
The package works primarily with BEN_PRTT_ENRT_ACTN_F, the participant enrollment action table that stores enrollment-related actions and their date-effective attributes. This is the central business table manipulated by the package's update and end-date routines. It also queries ALL_CONSTRAINTS, the Oracle data dictionary view, to inspect constraint definitions — consistent with the CONSTRAINT_ERROR procedure, which likely validates or reports on constraint names before raising errors. The HR infrastructure APIs (DT_API, HR_API, HR_UTILITY) supply date-tracked DML and utility services rather than direct table access.
Usage Notes
BEN_PEA_SHD is an internal support package rather than a standalone user-facing API. It is typically invoked indirectly by other Benefits enrollment packages — six objects reference it — during participant enrollment action processing, including calls originating from Benefits forms and concurrent programs that maintain enrollment data. The DT_API dependency confirms it operates within Oracle HRMS date-tracked (datetrack) DML conventions, so its update and delete mode lookups and effective end-date updates must be called within a datetrack-enabled context. Custom code should not call these procedures directly; developers extending Benefits enrollment behavior should invoke the documented public enrollment APIs and allow this package to execute as part of the underlying processing flow.
-
PACKAGE BODY: APPS.BEN_PEA_SHD
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:BEN_PEA_SHD, status:VALID,
-
PACKAGE: APPS.BEN_PEA_SHD
12.2.2
owner:APPS, object_type:PACKAGE, object_name:BEN_PEA_SHD, status:VALID,
-
PACKAGE BODY: APPS.BEN_PEA_SHD
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:BEN_PEA_SHD, status:VALID,
-
PACKAGE: APPS.BEN_PEA_SHD
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BEN_PEA_SHD, status:VALID,
-
PACKAGE: APPS.BEN_PEA_INS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BEN_PEA_INS, status:VALID,
-
PACKAGE: APPS.BEN_PEA_UPD
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BEN_PEA_UPD, status:VALID,
-
PACKAGE BODY: APPS.BEN_PEA_INS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:BEN_PEA_INS, status:VALID,
-
PACKAGE: APPS.BEN_PEA_BUS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BEN_PEA_BUS, status:VALID,
-
PACKAGE: APPS.HRI_OPL_BEN_ENRLACTN_EQ
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HRI_OPL_BEN_ENRLACTN_EQ, status:VALID,
-
PACKAGE BODY: APPS.HRI_OPL_BEN_ENRLACTN_EQ
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HRI_OPL_BEN_ENRLACTN_EQ, status:VALID,
-
PACKAGE: APPS.BEN_PEA_DEL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:BEN_PEA_DEL, status:VALID,
-
PACKAGE BODY: APPS.BEN_PEA_BUS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:BEN_PEA_BUS, status:VALID,
-
PACKAGE: APPS.HRI_OPL_BEN_ENRLACTN_EQ
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HRI_OPL_BEN_ENRLACTN_EQ, status:VALID,
-
PACKAGE BODY: APPS.BEN_PEA_INS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:BEN_PEA_INS, status:VALID,
-
PACKAGE BODY: APPS.BEN_PEA_DEL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:BEN_PEA_DEL, status:VALID,
-
PACKAGE: APPS.BEN_PEA_INS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:BEN_PEA_INS, status:VALID,
-
PACKAGE: APPS.BEN_PEA_UPD
12.2.2
owner:APPS, object_type:PACKAGE, object_name:BEN_PEA_UPD, status:VALID,
-
PACKAGE: APPS.BEN_PEA_BUS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:BEN_PEA_BUS, status:VALID,
-
PACKAGE BODY: APPS.HRI_OPL_BEN_ENRLACTN_EQ
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HRI_OPL_BEN_ENRLACTN_EQ, status:VALID,
-
PACKAGE: APPS.BEN_PEA_DEL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BEN_PEA_DEL, status:VALID,
-
PACKAGE BODY: APPS.BEN_PEA_BUS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:BEN_PEA_BUS, status:VALID,
-
PACKAGE BODY: APPS.BEN_PRTT_ENRT_ACTN_API
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:BEN_PRTT_ENRT_ACTN_API, status:VALID,
-
PACKAGE BODY: APPS.BEN_PEA_DEL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:BEN_PEA_DEL, status:VALID,
-
PACKAGE BODY: APPS.BEN_PEA_UPD
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:BEN_PEA_UPD, status:VALID,
-
PACKAGE BODY: APPS.BEN_PEA_UPD
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:BEN_PEA_UPD, status:VALID,
-
PACKAGE BODY: APPS.BEN_PRTT_ENRT_ACTN_API
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:BEN_PRTT_ENRT_ACTN_API, status:VALID,
-
SYNONYM: APPS.BEN_PRTT_ENRT_ACTN_F
12.2.2
owner:APPS, object_type:SYNONYM, object_name:BEN_PRTT_ENRT_ACTN_F, status:VALID,
-
SYNONYM: APPS.BEN_PRTT_ENRT_ACTN_F
12.1.1
owner:APPS, object_type:SYNONYM, object_name:BEN_PRTT_ENRT_ACTN_F, status:VALID,
-
PACKAGE BODY: APPS.BEN_PEA_SHD
12.1.1
-
PACKAGE BODY: APPS.BEN_PEA_SHD
12.2.2
-
PACKAGE: APPS.BEN_PEA_SHD
12.2.2
-
PACKAGE: APPS.BEN_PEA_SHD
12.1.1
-
APPS.BEN_PEA_INS dependencies on BEN_PEA_SHD
12.2.2
-
APPS.BEN_PEA_INS dependencies on BEN_PEA_SHD
12.2.2
-
APPS.BEN_PEA_UPD dependencies on BEN_PEA_SHD
12.2.2
-
APPS.BEN_PEA_UPD dependencies on BEN_PEA_SHD
12.2.2
-
APPS.HRI_OPL_BEN_ENRLACTN_EQ dependencies on BEN_PEA_SHD
12.1.1
-
APPS.HRI_OPL_BEN_ENRLACTN_EQ dependencies on BEN_PEA_SHD
12.2.2
-
APPS.BEN_PEA_INS dependencies on BEN_PEA_SHD
12.1.1
-
APPS.BEN_PRTT_ENRT_ACTN_API dependencies on BEN_PEA_SHD
12.1.1
-
APPS.BEN_PEA_BUS dependencies on BEN_PEA_SHD
12.1.1
-
APPS.BEN_PEA_SHD dependencies on BEN_PEA_SHD
12.1.1
-
APPS.HRI_OPL_BEN_ENRLACTN_EQ dependencies on BEN_PEA_SHD
12.1.1
-
APPS.BEN_PRTT_ENRT_ACTN_API dependencies on BEN_PEA_SHD
12.2.2
-
APPS.BEN_PEA_BUS dependencies on BEN_PEA_SHD
12.1.1
-
APPS.BEN_PEA_DEL dependencies on BEN_PEA_SHD
12.2.2
-
APPS.BEN_PEA_UPD dependencies on BEN_PEA_SHD
12.1.1
-
APPS.BEN_PEA_INS dependencies on BEN_PEA_SHD
12.1.1
-
APPS.BEN_PEA_DEL dependencies on BEN_PEA_SHD
12.1.1
-
APPS.BEN_PEA_UPD dependencies on BEN_PEA_SHD
12.1.1