Search Results log_data




Overview

APPS.BEN_PD_COPY_TO_BEN_ONE is a PL/SQL package body in the Oracle E-Business Suite Advanced Benefits (OLTP) module. Its core purpose is to copy benefit plan design configuration data from one source entity into the BEN schema tables — a "copy to BEN" operation — so that eligibility profiles, benefit groups, plan-in-program relationships, and related compensation and factor configurations are propagated and initialized for downstream enrollment and eligibility processing. The header comment ($Header: bepdccp1.pkb 120.24 … noship $) indicates the package belongs to the benefits plan design component and has evolved through multiple patch revisions.

The package also provides a reusable datetrack-mode resolution utility, get_dt_modes, which translates user-supplied DateTrack operation semantics (CORRECTION, UPDATE, UPDATE_OVERRIDE, UPDATE_CHANGE_INSERT, INSERT) into the HR API constants (hr_api.g_correction, hr_api.g_update, hr_api.g_update_override, hr_api.g_update_change_insert) and derives an update flag. This logic relies on comparing the effective date against the effective start date and checking the end date against hr_api.g_eot.

Key Procedures and Functions

Note: procurement of exact parameter lists is omitted intentionally; the documented signature confirms procedures accept effective dates, DML operation strings, and DateTrack mode variables.

Tables Accessed

Usage Notes

The package is referenced by 8 other benefit packages, indicating it sits within the plan-design copy chain rather than being invoked directly from a form. It is typically called by higher-level benefit plan configuration APIs and concurrent processes that duplicate a plan or template to a target business group. Because the logic is date-effective and uses HR DateTrack constants, callers must supply valid effective dates and a DML operation; the get_dt_modes utility resolves the correct mode. Given its location in the BEN schema and its reliance on the BEN_COPY_ENTITY_RESULTS staging area, it is most commonly exercised during plan-design setup, template application, and benefits configuration migration in EBS 12.1.1 and 12.2.2.