Results for “leav_reas”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
APPS.BEN_LVG_RSN_RT_D is a reporting and inquiry view within the Oracle E-Business Suite Advanced Benefits (Oracle Benefits) module. It exposes leave-of-absence reason records associated with variable rate profiles, resolving surrogate identifiers into human-readable descriptions. The view is a denormalized, read-only presentation layer over the transactional table BEN_LVG_RSN_RT_F, joining lookup meanings, profile names, and user audit information so that reporting tools, concurrent programs, and integration extracts can retrieve leave reason configurations without performing multiple joins themselves.
Its role is primarily descriptive rather than transactional. No DML is supported against the view; inserts, updates, and deletes must target the underlying BEN_LVG_RSN_RT_F table through the standard Benefits forms or the HR_API package. The "_D" suffix in the object name follows the Oracle EBS naming convention for a "detail" or display view, indicating it is intended for query and reporting consumption.
Underlying Base Objects
The view is defined over the following documented objects:
- BEN_LVG_RSN_RT_F (SYNONYM) — the driving table holding leave reason rate records, keyed by LVG_RSN_RT_ID with effective dating via EFFECTIVE_START_DATE and EFFECTIVE_END_DATE.
- BEN_VRBL_RT_PRFL_F (SYNONYM) — the variable rate profile definition table, joined on VRBL_RT_PRFL_ID to supply the profile NAME.
- HR_LOOKUPS (VIEW) — the lookup view filtered to LOOKUP_TYPE = 'LEAV_REAS', supplying the MEANING for each LVG_RSN_CD.
- FND_USER_VIEW (VIEW) — resolves LAST_UPDATED_BY to a USER_NAME for audit display; the outer join (+) preserves rows where the updating user is not found.
- HR_API (PACKAGE) — referenced indirectly as part of the Benefits/HR API layer supporting the underlying entities.
The join to BEN_VRBL_RT_PRFL_F is date-sensitive: the leave reason record's EFFECTIVE_START_DATE must fall between the profile's effective start and end dates, and both sides of that range predicate are outer-joined to prevent suppression of records lacking a matching effective profile row.
Key Columns
- ROW_ID — the ROWID of the underlying BEN_LVG_RSN_RT_F row, useful for direct row addressing.
- LVG_RSN_RT_ID — primary key of the leave reason rate record.
- EFFECTIVE_START_DATE / EFFECTIVE_END_DATE — date-effective bounds governing when the configuration is valid.
- EXCLD_FLAG — indicates whether the leave reason is excluded from the associated rate processing.
- NAME — the variable rate profile name from BEN_VRBL_RT_PRFL_F.
- MEANING — the user-facing description of the leave reason code from HR_LOOKUPS for LOOKUP_TYPE 'LEAV_REAS'.
- ORDR_NUM — display ordering sequence for the leave reason.
- LAST_UPDATE_DATE and USER_NAME — audit columns identifying when and by whom the record was last modified.
Common Use Cases and Queries
Typical scenarios include validating leave reason configuration for a variable rate profile, auditing changes to exclusion flags, and driving extracts that feed payroll or absence interfaces.
List all leave reasons for a given profile:
SELECT lvg_rsn_rt_id, name, meaning, ordr_num, exclD_flag FROM apps.ben_lvg_rsn_rt_d WHERE name = :profile_name ORDER BY ordr_num;
Audit recent changes:
SELECT lvg_rsn_rt_id, meaning, last_update_date, user_name FROM apps.ben_lvg_rsn_rt_d WHERE last_update_date >= :since_date ORDER BY last_update_date DESC;
Identify excluded reasons within a date range:
SELECT meaning, effective_start_date, effective_end_date FROM apps.ben_lvg_rsn_rt_d WHERE excld_flag = 'Y' AND effective_start_date BETWEEN :start_date AND :end_date;
Because the view performs the lookup and profile resolution internally, these queries avoid manual joins to HR_LOOKUPS and BEN_VRBL_RT_PRFL_F, simplifying report SQL in Oracle EBS 12.1.1 and 12.2.2 environments.
-
Lookup Type: LEAV_REAS 12.1.1
Leaving reason
-
Lookup Type: LEAV_REAS 12.2.2
Leaving reason
-
VIEW: APPS.BEN_LVG_RSN_RT_D 12.1.1
-
VIEW: APPS.BEN_LVG_RSN_RT_D 12.2.2
-
View: HRI_CL_RSN_SEP_X_V 12.2.2
APPS.HRI_CL_RSN_SEP_X_V·↳ HRI_OLTP_VIEW_MESSAGE·↳ HRI_UNASSIGNED·↳ HR_GENERAL·Explore HRI module →
-
View: HRI_CL_RSN_SEP_X_V 12.1.1
APPS.HRI_CL_RSN_SEP_X_V·↳ HRI_OLTP_VIEW_MESSAGE·↳ HRI_UNASSIGNED·↳ HR_GENERAL·Explore HRI module →
-
View: HRILV_SEPRSN_X 12.1.1
Not implemented in this database·Explore HRI module →
-
View: BEN_LVG_RSN_RT_D 12.2.2
APPS.BEN_LVG_RSN_RT_D·↳ BEN_LVG_RSN_RT_F·↳ BEN_VRBL_RT_PRFL_F·↳ FND_USER_VIEW·Explore BEN module →
-
View: BEN_LVG_RSN_RT_D 12.1.1
APPS.BEN_LVG_RSN_RT_D·↳ BEN_LVG_RSN_RT_F·↳ BEN_VRBL_RT_PRFL_F·↳ FND_GLOBAL·Explore BEN module →
-
APPS.BEN_ELIG_LVG_RSN_PRTE_D·↳ BEN_ELIGY_PRFL_F·↳ BEN_ELIG_LVG_RSN_PRTE_F·↳ FND_GLOBAL·Explore BEN module →
-
This view identifies which leaving reason is included or excluded from an eligibility profile.
APPS.BENBV_ELIG_LVG_RSN_PRTE_V·↳ BEN_ELIG_LVG_RSN_PRTE_F·↳ HR_BIS·Explore BEN module →
-
This view identifies which leaving reason is included or excluded from an eligibility profile.
APPS.BENBV_ELIG_LVG_RSN_PRTE_V·↳ BEN_ELIG_LVG_RSN_PRTE_F·↳ HR_BIS·Explore BEN module →
-
APPS.BEN_ELIG_LVG_RSN_PRTE_D·↳ BEN_ELIGY_PRFL_F·↳ BEN_ELIG_LVG_RSN_PRTE_F·↳ FND_USER·Explore BEN module →
-
View: HRILV_SEPRSN_X 12.2.2
Not implemented in this database·Explore HRI module →