Search Results ben_sva_upd
Overview
BEN_SVA_SHD is a shared PL/SQL package in the APPS schema that supports the Service Area (SVA) entity within the Oracle Benefits (BEN) module. Its name follows the Oracle EBS convention for a shadow package: the "_SHD" suffix denotes a wrapper or shadow layer that encapsulates reusable logic consumed by multiple sibling packages, in this case BEN_SVA_BUS, BEN_SVA_INS, BEN_SVA_UPD, BEN_SVA_DEL, and the parent BEN_SERVICE_AREA_API. The package is classified as OTHER in the ETRM metadata, indicating it is not independently exposed as a public API but functions as an internal shared utility.
Its central business purpose relates to maintaining and validating Service Area records against date-effective (DateTrack) and row-level constraints. Service Areas define geographic or organizational groupings used in Benefits eligibility and plan configuration, so integrity of these records is essential to correct plan enrollment processing. BEN_SVA_SHD therefore provides the DML-mode resolution, locking, API-status tracking, and effective-date handling that the API and business packages use uniformly.
Key Procedures and Functions
The package exposes eight documented procedures and functions:
- RETURN_API_DML_STATUS — returns the status of the most recent API-level DML operation, allowing calling packages to detect success or failure of an insert, update, or delete against the Service Area entity.
- CONSTRAINT_ERROR — handles or reports constraint violations arising during DML, translating database exceptions into the API's error-handling convention.
- API_UPDATING — signals whether an API-driven update is currently in progress, used to coordinate logic that differs between direct DML and API-mediated DML.
- FIND_DT_DEL_MODES — determines the DateTrack delete mode applicable to the operation, deciding whether a record is physically removed or end-dated.
- FIND_DT_UPD_MODES — determines the DateTrack update mode, distinguishing correction, update, and future-dated change behavior.
- UPD_EFFECTIVE_END_DATE — adjusts the effective end date on Service Area rows to maintain DateTrack continuity during updates and deletions.
- LCK — performs the row-level locking required before modifying a Service Area record, preventing concurrent modification.
- CONVERT_ARGS — normalizes or converts arguments passed from the calling packages into the internal formats expected by the shared routines.
Tables Accessed
The documented dependency list references ALL_CONSTRAINTS (via a PUBLIC synonym and SYS.STANDARD) and BEN_SVC_AREA_F (via an APPS synonym). ALL_CONSTRAINTS is read to identify the constraints defined on the Service Area table so that the package can enforce or interpret constraint behavior during DML. BEN_SVC_AREA_F is the base DateTrack table holding Service Area definitions; BEN_SVA_SHD reads and modifies rows here, particularly effective start and end dates, as part of its locking, DML-mode resolution, and end-dating routines.
Usage Notes
BEN_SVA_SHD is not intended for direct invocation by customers. It is called internally by the Service Area API stack — BEN_SERVICE_AREA_API, BEN_SVA_BUS, BEN_SVA_INS, BEN_SVA_UPD, and BEN_SVA_DEL — each of which includes it for shared DML and DateTrack support. Users searching for "ben_sva_upd" are typically encountering BEN_SVA_UPD, the update package that depends on BEN_SVA_SHD; the "_SHD" package itself should be treated as a supporting library.
Custom code should invoke BEN_SERVICE_AREA_API rather than BEN_SVA_SHD directly, to preserve DateTrack integrity, constraint handling, and API status tracking. The package is valid in both 12.1.1 and 12.2.2 and presents no online form or concurrent program of its own; it executes only within the calling API's transaction context.
-
PACKAGE: APPS.BEN_SVA_SHD
12.2.2
owner:APPS, object_type:PACKAGE, object_name:BEN_SVA_SHD, status:VALID,
-
PACKAGE: APPS.BEN_SVA_UPD
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BEN_SVA_UPD, status:VALID,
-
PACKAGE BODY: APPS.BEN_SVA_UPD
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:BEN_SVA_UPD, status:VALID,
-
PACKAGE: APPS.BEN_SVA_UPD
12.2.2
owner:APPS, object_type:PACKAGE, object_name:BEN_SVA_UPD, status:VALID,
-
PACKAGE: APPS.BEN_SVA_SHD
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BEN_SVA_SHD, status:VALID,
-
PACKAGE BODY: APPS.BEN_SVA_UPD
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:BEN_SVA_UPD, status:VALID,
-
PACKAGE: APPS.BEN_SVA_BUS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:BEN_SVA_BUS, status:VALID,
-
PACKAGE: APPS.BEN_SVA_INS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BEN_SVA_INS, status:VALID,
-
PACKAGE: APPS.BEN_SVA_DEL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:BEN_SVA_DEL, status:VALID,
-
PACKAGE: APPS.BEN_SVA_INS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:BEN_SVA_INS, status:VALID,
-
PACKAGE: APPS.BEN_SVA_RKU
12.2.2
owner:APPS, object_type:PACKAGE, object_name:BEN_SVA_RKU, status:VALID,
-
PACKAGE: APPS.BEN_SVA_DEL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BEN_SVA_DEL, status:VALID,
-
PACKAGE: APPS.BEN_SVA_BUS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BEN_SVA_BUS, status:VALID,
-
PACKAGE: APPS.BEN_SVA_RKU
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BEN_SVA_RKU, status:VALID,
-
PACKAGE BODY: APPS.BEN_SERVICE_AREA_API
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:BEN_SERVICE_AREA_API, status:VALID,
-
PACKAGE BODY: APPS.BEN_SERVICE_AREA_API
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:BEN_SERVICE_AREA_API, status:VALID,
-
SYNONYM: APPS.BEN_SVC_AREA_F
12.1.1
owner:APPS, object_type:SYNONYM, object_name:BEN_SVC_AREA_F, status:VALID,
-
SYNONYM: APPS.BEN_SVC_AREA_F
12.2.2
owner:APPS, object_type:SYNONYM, object_name:BEN_SVC_AREA_F, status:VALID,
-
PACKAGE: APPS.BEN_SVA_UPD
12.2.2
-
PACKAGE: APPS.BEN_SVA_UPD
12.1.1
-
PACKAGE BODY: APPS.BEN_SVA_UPD
12.2.2
-
PACKAGE BODY: APPS.BEN_SVA_UPD
12.1.1
-
APPS.BEN_SVA_UPD dependencies on BEN_SVA_UPD
12.2.2
-
APPS.BEN_SERVICE_AREA_API dependencies on BEN_SVA_UPD
12.1.1
-
APPS.BEN_SVA_UPD dependencies on BEN_SVA_UPD
12.1.1
-
APPS.BEN_SERVICE_AREA_API dependencies on BEN_SVA_UPD
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
APPS.BEN_SVA_UPD dependencies on HR_UTILITY
12.2.2
-
APPS.BEN_SVA_UPD dependencies on HR_UTILITY
12.1.1
-
PACKAGE: APPS.DT_API
12.2.2
owner:APPS, object_type:PACKAGE, object_name:DT_API, status:VALID,
-
PACKAGE: APPS.DT_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:DT_API, status:VALID,
-
PACKAGE: APPS.HR_API
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_API, status:VALID,
-
PACKAGE: APPS.HR_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_API, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.HR_UTILITY
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_UTILITY, status:VALID,
-
PACKAGE: APPS.HR_UTILITY
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_UTILITY, status:VALID,
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,