Search Results update_service_area_b
Overview
APPS.BEN_SERVICE_AREA_BK2 is a generated PL/SQL package body belonging to the Oracle Advanced Benefits (BEN) module of Oracle E-Business Suite. It functions as an API hook "backing" package — the "BK2" suffix denotes a secondary business rule hook layer invoked by the HRMS API Hook Pre-processor — for the Service Area entity. A service area is a configurability construct in Advanced Benefits that associates an organization unit or product with a named geographic or administrative grouping against which eligibility and enrollment rules may be evaluated.
The package provides the pre-processing or validation hooks that execute around the update of a service area record. It is auto-generated code: the header comment identifies the source file as besvaapi.pkb and states the code was produced by the Oracle HRMS API Hook Pre-processor. It is classified in ETRM as an OTHER API, owned by APPS, and is referenced by one other package.
Key Procedures and Functions
The ETRM metadata documents two procedures.
- UPDATE_SERVICE_AREA_A — The primary update hook for the service area entity. It accepts the full attribute set for a service area record, including the primary key, effective date range, name, organization unit or product indicator, business group, and the complete thirty-column descriptive flexfield attribute block (SVA_ATTRIBUTE1 through SVA_ATTRIBUTE30). It also receives object version number, effective date, and datatrack mode parameters, which support date-tracked (datetrack) update semantics. In the documented code the body is a stub that brackets execution with HR_UTILITY.SET_LOCATION calls for tracing entry and exit, providing the extension point into which customer-specific logic is placed.
- UPDATE_SERVICE_AREA_B — The companion update hook. Its documented signature begins with the service area identifier, name, and organization unit/product parameters. It serves as the second hook point in the update sequence for the same entity, allowing separate pre- and post-processing logic to be partitioned between the two procedures.
Both procedures take NUMBER, VARCHAR2, and DATE parameters and are exposed in the APPS schema for invocation by the calling benefits API.
Tables Accessed
No tables are documented against this package in the ETRM metadata, which is consistent with a hook package: the generated bodies delegate data manipulation to the corresponding benefits API package (BEN_SERVICE_AREA_API) rather than performing direct DML. Where customer extensions are added, they typically read from or write to BEN_SVC_AREA and its associated tables, but such access is user-supplied rather than part of the delivered code.
Usage Notes
This package is not intended for direct invocation by end users or concurrent programs. It is called internally by the Advanced Benefits service area API during update processing, operating under the datetrack and business group context of the calling session. The HR_UTILITY.SET_LOCATION instrumentation supports debugging and tracing with FND_LOG or the HRMS diagnostic utilities.
Customizations should be applied by extending the generated procedure bodies rather than altering their signatures, since the HRMS API Hook Pre-processor may regenerate the file and overwrite changes. Because it is referenced by one other package, changes to its behavior can propagate to the calling benefits logic. Testing should be performed in a non-production environment with representative effective-dated service area data.
-
APPS.BEN_SERVICE_AREA_BK2 SQL Statements
12.1.1
-
APPS.BEN_SERVICE_AREA_BK2 SQL Statements
12.2.2
-
PACKAGE BODY: APPS.BEN_SERVICE_AREA_BK2
12.2.2
-
PACKAGE BODY: APPS.BEN_SERVICE_AREA_BK2
12.1.1
-
PACKAGE: APPS.BEN_SERVICE_AREA_BK2
12.1.1
-
PACKAGE: APPS.BEN_SERVICE_AREA_BK2
12.2.2
-
APPS.BEN_SERVICE_AREA_API SQL Statements
12.1.1
-
APPS.BEN_SERVICE_AREA_API SQL Statements
12.2.2
-
APPS.BEN_SERVICE_AREA_BK2 dependencies on BEN_SERVICE_AREA_BK2
12.1.1
-
APPS.BEN_SERVICE_AREA_BK2 dependencies on HR_UTILITY
12.1.1
-
APPS.BEN_SERVICE_AREA_BK2 dependencies on HR_UTILITY
12.2.2
-
APPS.BEN_SERVICE_AREA_BK2 dependencies on BEN_SERVICE_AREA_BK2
12.2.2
-
APPS.BEN_SERVICE_AREA_API dependencies on BEN_SERVICE_AREA_BK2
12.2.2
-
APPS.BEN_SERVICE_AREA_API dependencies on BEN_SERVICE_AREA_BK2
12.1.1
-
PACKAGE BODY: APPS.BEN_SERVICE_AREA_API
12.1.1
-
PACKAGE BODY: APPS.BEN_SERVICE_AREA_API
12.2.2