Results for “erp_attribute1”

34 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

BEN_ENRT_PERD_FOR_PL is an Oracle E-Business Suite Advanced Benefits (BEN) view owned by the APPS schema and shipped with a status of VALID. It presents a date-effective, session-filtered projection of the enrollment period record attached to a plan (PL), which is the configuration entity that controls when a participant may enroll in, or be covered by, a given benefit plan. The view is the runtime read interface to the BEN_ENRT_PERD_FOR_PL_F table and forms part of the standard BEN date-tracked data model in both Release 12.1.1 and 12.2.2.

The defining characteristic of the view is its reliance on FND_SESSIONS: the WHERE clause restricts rows to those where EFFECTIVE_START_DATE <= FND_SESSIONS.EFFECTIVE_DATE and EFFECTIVE_END_DATE >= FND_SESSIONS.EFFECTIVE_DATE, evaluated for the current USERENV('SESSIONID'). This means the view returns only the date-effective version of each enrollment period configuration that is valid as of the effective date held in the user's active session, rather than all historical versions. Because it is session-aware, the view is appropriate for runtime form and concurrent program access where FND_SESSIONS has been initialized, and it shields the caller from the complexity of date-track logic. This design follows the standard EBS pattern in which _F tables hold all date-effective rows and a companion view exposes the single active row.

Underlying Base Objects

The ETRM metadata documents two referenced base objects, both resolved through synonyms:

  • BEN_ENRT_PERD_FOR_PL_F (SYNONYM) — the sole data source in the SELECT list, aliased ERP. Its name indicates it is a date-effective (F) table keyed by ENRT_PERD_FOR_PL_ID with EFFECTIVE_START_DATE and EFFECTIVE_END_DATE columns.
  • FND_SESSIONS (SYNONYM) — the session context table, used twice in scalar subqueries to supply the effective date for the current session.

Because the view performs a simple projection over a single base table with a date-effective predicate, it is effectively an intersect view: it returns the row from BEN_ENRT_PERD_FOR_PL_F that is current for the session's effective date. It exposes the full ERP_ATTRIBUTE1 through ERP_ATTRIBUTE30 descriptive flexfield columns, plus the standard WHO columns (CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN) and OBJECT_VERSION_NUMBER for optimistic locking.

Key Columns

  • ENRT_PERD_FOR_PL_ID — primary key of the underlying row and the unique identifier of the plan-level enrollment period record.
  • ENRT_PERD_ID — foreign key to the enrollment period definition, linking this plan-specific configuration back to the master enrollment period.
  • PL_ID — the plan to which this enrollment period record applies.
  • ENRT_CVG_STRT_DT_CD / ENRT_CVG_STRT_DT_RL — code and rule defining the enrollment coverage start date.
  • ENRT_CVG_END_DT_CD / ENRT_CVG_END_DT_RL — code and rule defining the enrollment coverage end date.
  • RT_STRT_DT_CD / RT_STRT_DT_RL, RT_END_DT_CD / RT_END_DT_RL — code and rule pairs governing the rate start and rate end dates associated with the plan.
  • LEE_RSN_ID — reason identifier for late or life event enrollment processing.
  • BUSINESS_GROUP_ID — the business group owning the configuration.
  • EFFECTIVE_START_DATE / EFFECTIVE_END_DATE — the date-track bounds used by the view's predicate.
  • OBJECT_VERSION_NUMBER — concurrency control for the underlying row.

Common Use Cases and Queries

Typical uses include validating the active enrollment period configuration for a plan during enrollment processing, extracting plan-level date rules for reconciliation, and joining the view to enrollment period and plan tables in custom reports. Because the view already filters on session date, queries executed inside EBS forms or concurrent programs return only the currently effective configuration.

List the active enrollment period configuration for a plan:

  • SELECT enrt_perd_for_pl_id, enrt_perd_id, pl_id, enrt_cvg_strt_dt_cd, enrt_cvg_end_dt_cd
  • FROM apps.ben_enrt_perd_for_pl
  • WHERE pl_id = :p_plan_id;

Join to the enrollment period entity to display descriptive context:

  • SELECT p.pl_id, e.enrt_perd_id, p.rt_strt_dt_cd, p.rt_end_dt_cd
  • FROM apps.ben_enrt_perd_for_pl p, apps.ben_enrt_perd e
  • WHERE p.enrt_perd_id = e.enrt_perd_id
  • AND p.business_group_id = :p_bg_id;

Because the view depends on FND_SESSIONS, direct SQL outside an initialized EBS session may return no rows; developers should confirm session context or query BEN_ENRT_PERD_FOR_PL_F directly with an explicit effective date when running ad hoc extracts.