Results for “opt_attribute_category”

48 results




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

Overview

BEN_OPT_X is a public synonym and view in the APPS schema belonging to the BEN — Advanced Benefits product family in Oracle E-Business Suite 12.1.1 and 12.2.2. The view exposes a single row per currently effective option record, where an option represents a selectable plan or program element offered to participants within a benefits program. Its defining characteristic is the effective-dated date filter applied in its WHERE clause: the view returns only rows from BEN_OPT_F whose effective start and end dates straddle the current system date (TRUNC(SYSDATE)). This makes BEN_OPT_X a convenient "current only" projection of the underlying date-tracked table, sparing report developers and integration writers from having to code the effective-date predicate themselves.

The view is read-only in intent and is typically used in benefits extracts, eligibility debugging, self-service data queries, and downstream interfaces that must reflect the option configuration in force on the current business day.

Underlying Base Objects

The view is defined over a single documented base object: the synonym BEN_OPT_F, which resolves to the APPS-owned date-tracked table BEN_OPT_F. This table stores the full history of option definitions using the standard Oracle HRMS effective-dating model of EFFECTIVE_START_DATE and EFFECTIVE_END_DATE pairs. Because BEN_OPT_F is a "_F" (date-tracked/translated) table, multiple versions of the same OPT_ID can exist over time; the view resolves this by restricting output to the row set valid as of the current date. No joins to other tables are present in the documented view text, so every column projected by BEN_OPT_X originates directly from BEN_OPT_F.

Key Columns

Common Use Cases and Queries

Typical scenarios include retrieving the set of currently active options for a business group, resolving the parent group assignment of an option via GROUP_OPT_ID, and feeding option metadata to external systems using the mapping columns.

List all active options for a business group:

SELECT opt_id, name, short_name, group_opt_id
FROM apps.ben_opt_x
WHERE business_group_id = :p_bg_id
ORDER BY name;

Resolve options belonging to a specific option group:

SELECT opt_id, name, short_code
FROM apps.ben_opt_x
WHERE group_opt_id = :p_group_opt_id;

Inspect integration mapping information:

SELECT opt_id, name, mapping_table_name, mapping_table_pk_id
FROM apps.ben_opt_x
WHERE mapping_table_name IS NOT NULL;

Because the view already applies the TRUNC(SYSDATE) effective-date filter, callers must not add their own date predicate unless they intend to bypass the view and query BEN_OPT_F directly for historical or future-dated analysis.