Results for “ben_service_area_bk2”
30 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
The package APPS.BEN_SERVICE_AREA_BK2 is a version-specific "backward compatibility" API stub within the Oracle E-Business Suite Advanced Benefits (BEN) module. The _BK2 suffix denotes that this package is preserved to support the pre-11.5.10 datetrack API calling convention, distinct from the earlier _BK variant. Its core business function is to provide a programmatic interface for the maintenance of Service Area records, which are configuration elements used to determine eligibility for benefits plans based on an employee's geographic location or organizational assignment. The package declares AUTHID CURRENT_USER, meaning its procedures execute with the privileges of the calling user rather than the package owner (APPS), a standard security practice in EBS that requires the invoking session to possess the necessary grants on the underlying BEN tables.
In Oracle EBS 12.1.1 and 12.2.2, Service Areas are foundational setup data. They map to the BEN_SERVICE_AREA entity and are referenced when the Benefits engine evaluates whether a participant qualifies for a given plan or program. This package therefore serves as a maintenance rather than a business-logic-runtime component, enabling the controlled insertion, update, and datetracked versioning of Service Area definitions. Its classification as OTHER in the ETRM metadata indicates it is not a primary public API such as ben_service_area_api, but rather a supporting backward-compatibility layer retained for legacy integrations.
Key Procedures and Functions
The ETRM metadata documents two procedures, which together form the standard EBS datetrack "B/A" API pattern:
- UPDATE_SERVICE_AREA_B — The "before" procedure in the datetrack convention. It performs the pre-processing and validation of the incoming record attributes prior to the actual table modification. The parameter signature, as documented, is extensive: it accepts the Service Area identifier, the name, the
org_unit_prdctvalue, the business group, an attribute category, and thirty descriptive flexfield (DFF) attributes (sva_attribute1throughsva_attribute30). It also receives the object version number, the effective date, and the datetrack mode. This breadth of parameters reflects the highly flexible, DFF-driven nature of the Service Area setup form, where customers can capture client-specific segment values. - UPDATE_SERVICE_AREA_A — The "after" procedure. Following the same datetrack convention, it performs post-processing actions after
UPDATE_SERVICE_AREA_Bhas executed, such as handling the datetrack date-range adjustments and finalizing the update within the transaction.
Both procedures operate on a single Service Area record identified by p_svc_area_id and are gated by p_effective_date and p_datetrack_mode, which govern whether the change is an update, correction, or future-dated revision. No invented parameter lists are required beyond those documented, as the full signature is provided in the source excerpt.
Tables Accessed
The ETRM documentation for this object lists referenced tables via APPS synonyms as empty, and therefore the following is grounded in the known EBS Benefits schema rather than the excerpt. The procedures within BEN_SERVICE_AREA_BK2 operate against the base table BEN_SERVICE_AREA (and its associated effective-dated structures), which stores the Service Area definitions. The update procedures write the passed name, organizational unit product attribute, and the thirty DFF values (stored as SVA_ATTRIBUTE columns) to this table. Additionally, the datetrack mechanism will interact with the FND_DATETRACK or analogous date-tracking infrastructure to manage historical and future-dated versions of each Service Area record.
Usage Notes
This package is typically invoked indirectly rather than by end-user code. It is called by the Oracle Forms-based Service Area maintenance form when a user creates or modifies a Service Area record, with the form's underlying WHEN-VALIDATE-RECORD or commit triggers calling UPDATE_SERVICE_AREA_B followed by UPDATE_SERVICE_AREA_A. It is also referenced by one other package, as noted in the ETRM metadata, which likely supplies a higher-level wrapper. Custom integrations should avoid calling this backward-compatibility package directly for new work and instead target the current public API (BEN_SERVICE_AREA_API), as Oracle may desupport the _BK2 interface in future releases. When invoking it from custom PL/SQL, the session must hold the required grants because of the AUTHID CURRENT_USER declaration, and the object version number must be supplied correctly to satisfy optimistic locking.
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
12.1.1 DBA Data 12.1.1
-
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.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1