Search Results ben_ads_bus
Overview
BEN_ADS_SHD is an Oracle E-Business Suite PL/SQL shadow (history) package owned by the APPS schema. Its name follows the standard Oracle EBS shadow-table convention, where the "_SHD" suffix denotes the package responsible for maintaining the date-tracked shadow (audit/history) rows that accompany a corresponding transactional or business-layer package. In the Oracle Advanced Benefits (BEN) module, this package serves the activity rate deduction schedule entity, working alongside the primary business package BEN_ADS_BUS and the DML packages BEN_ADS_INS, BEN_ADS_UPD, and BEN_ADS_DEL.
The package preserves the temporal integrity of benefit deduction schedule records by managing the effective start and end dates that define each row's validity window. This is the mechanism that allows Oracle EBS to retain a full history of changes to deduction schedules without physically overwriting prior records, supporting retroactive adjustments, enrollment recalculation, and audit requirements.
Key Procedures and Functions
The package exposes eight documented procedures and functions:
- RETURN_API_DML_STATUS — Returns the current DML status of the API invocation, allowing callers to determine whether the last insert, update, or delete operation completed successfully.
- CONSTRAINT_ERROR — Handles constraint violation conditions raised during shadow-row maintenance, providing a controlled error path.
- API_UPDATING — Indicates or manages the state in which an API-driven update is in progress, preventing conflicting concurrent modifications.
- FIND_DT_DEL_MODES — Determines the date-tracked delete mode applicable to the record, governing how effective end dates are closed out on deletion.
- FIND_DT_UPD_MODES — Determines the date-tracked update mode, governing how an existing shadow row is split or terminated when a change occurs.
- UPD_EFFECTIVE_END_DATE — Updates the effective end date on a shadow record, closing the validity window for a superseded row.
- LCK — Performs the locking routine that serializes access to the underlying schedule record.
- CONVERT_ARGS — Converts or normalizes arguments passed into the shadow-maintenance routines.
Tables Accessed
The package reads and writes the date-tracked table BEN_ACTY_RT_DED_SCHED_F (accessed through its APPS synonym), which stores activity rate deduction schedule information for beneficiaries. The shadow package manipulates the effective date columns on this table to preserve historical versions of each schedule row. It also queries ALL_CONSTRAINTS from the data dictionary to interrogate constraint definitions dynamically, supporting generic key handling and validation logic within the shadow routines.
Usage Notes
BEN_ADS_SHD is not typically invoked directly by end users or through Oracle Forms. It is a dependent package called internally by the business-layer and DML packages:
- BEN_ADS_BUS, BEN_ADS_INS, BEN_ADS_UPD, and BEN_ADS_DEL all reference this package to maintain shadow rows during their respective operations.
- BEN_ACTY_RT_DEDUCT_SCHED_API also depends on it, tying the shadow logic to the public API surface for activity rate deduction schedules.
Custom code extending Oracle Advanced Benefits should generally call the public API or BEN_ADS_BUS rather than invoking shadow procedures directly, since the shadow routines assume specific date-tracking modes and locking contexts. The package is relevant when debugging date-tracked update or delete behavior, diagnosing effective-date window errors on deduction schedules, or tracing why historical rows were created or closed.
-
PACKAGE: APPS.BEN_ADS_SHD
12.2.2
owner:APPS, object_type:PACKAGE, object_name:BEN_ADS_SHD, status:VALID,
-
PACKAGE BODY: APPS.BEN_ADS_BUS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:BEN_ADS_BUS, status:VALID,
-
PACKAGE: APPS.BEN_ADS_BUS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BEN_ADS_BUS, status:VALID,
-
PACKAGE: APPS.BEN_ADS_BUS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:BEN_ADS_BUS, status:VALID,
-
PACKAGE BODY: APPS.BEN_ADS_BUS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:BEN_ADS_BUS, status:VALID,
-
PACKAGE: APPS.BEN_ADS_SHD
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BEN_ADS_SHD, status:VALID,
-
SYNONYM: APPS.BEN_DED_SCHED_PY_FREQ
12.1.1
owner:APPS, object_type:SYNONYM, object_name:BEN_DED_SCHED_PY_FREQ, status:VALID,
-
SYNONYM: APPS.BEN_DED_SCHED_PY_FREQ
12.2.2
owner:APPS, object_type:SYNONYM, object_name:BEN_DED_SCHED_PY_FREQ, status:VALID,
-
PACKAGE BODY: APPS.BEN_ADS_INS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:BEN_ADS_INS, status:VALID,
-
PACKAGE BODY: APPS.BEN_ADS_DEL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:BEN_ADS_DEL, status:VALID,
-
SYNONYM: APPS.BEN_ACTY_RT_DED_SCHED_F
12.2.2
owner:APPS, object_type:SYNONYM, object_name:BEN_ACTY_RT_DED_SCHED_F, status:VALID,
-
PACKAGE BODY: APPS.BEN_ADS_UPD
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:BEN_ADS_UPD, status:VALID,
-
PACKAGE BODY: APPS.BEN_ADS_INS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:BEN_ADS_INS, status:VALID,
-
PACKAGE BODY: APPS.BEN_ADS_UPD
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:BEN_ADS_UPD, status:VALID,
-
SYNONYM: APPS.BEN_ACTY_RT_DED_SCHED_F
12.1.1
owner:APPS, object_type:SYNONYM, object_name:BEN_ACTY_RT_DED_SCHED_F, status:VALID,
-
PACKAGE BODY: APPS.BEN_ADS_DEL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:BEN_ADS_DEL, status:VALID,
-
PACKAGE: APPS.BEN_ADS_BUS
12.2.2
-
PACKAGE: APPS.BEN_ADS_BUS
12.1.1
-
PACKAGE: APPS.BEN_UTILITY
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BEN_UTILITY, status:VALID,
-
PACKAGE BODY: APPS.BEN_ADS_BUS
12.1.1
-
PACKAGE BODY: APPS.BEN_ADS_BUS
12.2.2
-
PACKAGE: APPS.BEN_UTILITY
12.2.2
owner:APPS, object_type:PACKAGE, object_name:BEN_UTILITY, status:VALID,
-
APPS.BEN_ADS_DEL dependencies on BEN_ADS_BUS
12.2.2
-
APPS.BEN_ADS_INS dependencies on BEN_ADS_BUS
12.1.1
-
APPS.BEN_ADS_DEL dependencies on BEN_ADS_BUS
12.1.1
-
APPS.BEN_ADS_INS dependencies on BEN_ADS_BUS
12.2.2
-
SYNONYM: APPS.FF_FORMULAS_F
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FF_FORMULAS_F, status:VALID,
-
APPS.BEN_ADS_UPD dependencies on BEN_ADS_BUS
12.1.1
-
APPS.BEN_ADS_BUS dependencies on BEN_ADS_BUS
12.1.1
-
APPS.BEN_ADS_UPD dependencies on BEN_ADS_BUS
12.2.2
-
APPS.BEN_ADS_BUS dependencies on BEN_ADS_BUS
12.2.2
-
SYNONYM: PUBLIC.ALL_TABLES
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:ALL_TABLES, status:VALID,
-
SYNONYM: APPS.FF_FORMULAS_F
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FF_FORMULAS_F, status:VALID,
-
SYNONYM: PUBLIC.ALL_TABLES
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:ALL_TABLES, status:VALID,
-
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
-
VIEW: APPS.PER_BUSINESS_GROUPS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.PER_BUSINESS_GROUPS, object_name:PER_BUSINESS_GROUPS, status:VALID,
-
VIEW: APPS.PER_BUSINESS_GROUPS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.PER_BUSINESS_GROUPS, object_name:PER_BUSINESS_GROUPS, status:VALID,
-
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,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.HR_API
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_API, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.HR_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_API, status:VALID,
-
PACKAGE: APPS.FND_MESSAGE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,
-
PACKAGE: APPS.FND_MESSAGE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,