Search Results ord_num
Overview
APPS.BEN_WFREP_ELIG_INFO_VW is an Oracle E-Business Suite view that consolidates eligibility determination results produced by the Oracle Advanced Benefits batch eligibility engine. It serves as the data source behind Workflow-based eligibility notification reports, presenting one row per person per program, plan, or option-in-plan combination for which an eligibility or ineligibility outcome has been recorded. The view is exposed under the APPS schema and is intended for reporting, integration, and diagnostic purposes rather than transactional maintenance.
The most striking characteristic of the view is the synthetic ORD_NUM column, which is the object of the search term "ord_num". This literal integer is not derived from any base table; it is hard-coded in each branch of the defining UNION ALL to enforce a deterministic presentation order across the three levels of benefit hierarchy.
Underlying Base Objects
The ETRM metadata documents the following referenced base objects, all exposed as synonyms in the APPS schema:
- BEN_BATCH_ELIG_INFO — the driving table holding the per-person eligibility flag and ineligibility text produced by a batch eligibility run.
- BEN_BENEFIT_ACTIONS — supplies the benefit action context and the PROCESS_DATE used to resolve effective-dated rows.
- BEN_PGM_F — the program (plan type group) definition, joined on PGM_ID.
- BEN_PL_F — the plan definition, joined on PL_ID.
- BEN_OPT_F — the option definition, joined on OIPL_ID.
- BEN_OIPL_F — the option-in-plan link.
The view is a three-way UNION ALL. The first branch selects rows at program level only (PL_ID and OIPL_ID null). The second branch covers plan-level rows (PL_ID populated, OIPL_ID null), outer-joining BEN_PGM_F so a plan may appear with or without a parent program, and concatenating program and plan names. The third branch covers option-in-plan rows (both PL_ID and OIPL_ID populated), again outer-joining the program and building a three-part hierarchical name. Each branch filters BEN_BENEFIT_ACTIONS.PROCESS_DATE against the effective start and end dates of the program and plan rows, which is what makes the view effective-date aware.
Key Columns
ORD_NUM— constant 1, 2, or 3 indicating program, plan, or option level. Used for ORDER BY and hierarchy labeling.ELIG_FLAG— the eligibility outcome (eligible/ineligible) from BEN_BATCH_ELIG_INFO.INELIG_TEXT— the reason text explaining an ineligible determination.NAME— a concatenated, level-appropriate label (program, program - plan, or program - plan - option).PERSON_ID— the person for whom eligibility was evaluated.BENEFIT_ACTION_ID— links back to the batch benefit action that produced the row.PGM_ID,PL_ID,OIPL_ID— the program, plan, and option-in-plan identifiers. Note the view projects PGM_ID into PL_ID and OIPL_ID in the first branch to keep a uniform column set.
Common Use Cases and Queries
Typical usage is to report the eligibility decisions from a given batch action and to sort them by level. A representative query is:
- SELECT person_id, ord_num, name, elig_flag, inelig_text FROM ben_wfrep_elig_info_vw WHERE benefit_action_id = :p_action ORDER BY person_id, ord_num;
- Filtering to ineligible outcomes: WHERE elig_flag = 'N' AND ord_num = 1 to isolate program-level failures.
- Reconstructing a person's hierarchical eligibility path: WHERE person_id = :p_person ORDER BY ord_num.
Because the view is read-only and effective-dated through the benefit action process date, it is safe to embed in concurrent programs, BI Publisher data templates, and workflow notification queries.
-
VIEW: APPS.BEN_WFREP_ELIG_INFO_VW
12.2.2
-
VIEW: APPS.BEN_WFREP_ELIG_INFO_VW
12.1.1
-
View: BEN_WFREP_ELIG_INFO_VW
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:BEN.BEN_WFREP_ELIG_INFO_VW, object_name:BEN_WFREP_ELIG_INFO_VW, status:VALID, product: BEN - Advanced Benefits , implementation_dba_data: APPS.BEN_WFREP_ELIG_INFO_VW ,
-
View: BEN_WFREP_ELIG_INFO_VW
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:BEN.BEN_WFREP_ELIG_INFO_VW, object_name:BEN_WFREP_ELIG_INFO_VW, status:VALID, product: BEN - Advanced Benefits , implementation_dba_data: APPS.BEN_WFREP_ELIG_INFO_VW ,
-
VIEW: APPS.BEN_WFREP_ELCTBL_CHC_INFO_VW
12.1.1
-
VIEW: APPS.BEN_WFREP_ELCTBL_CHC_INFO_VW
12.2.2
-
View: BEN_WFREP_ELCTBL_CHC_INFO_VW
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:BEN.BEN_WFREP_ELCTBL_CHC_INFO_VW, object_name:BEN_WFREP_ELCTBL_CHC_INFO_VW, status:VALID, product: BEN - Advanced Benefits , implementation_dba_data: APPS.BEN_WFREP_ELCTBL_CHC_INFO_VW ,
-
VIEW: APPS.BEN_WFREP_ELIG_INFO_VW
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:BEN.BEN_WFREP_ELIG_INFO_VW, object_name:BEN_WFREP_ELIG_INFO_VW, status:VALID,
-
View: BEN_WFREP_ELCTBL_CHC_INFO_VW
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:BEN.BEN_WFREP_ELCTBL_CHC_INFO_VW, object_name:BEN_WFREP_ELCTBL_CHC_INFO_VW, status:VALID, product: BEN - Advanced Benefits , implementation_dba_data: APPS.BEN_WFREP_ELCTBL_CHC_INFO_VW ,
-
VIEW: APPS.BEN_WFREP_ELIG_INFO_VW
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:BEN.BEN_WFREP_ELIG_INFO_VW, object_name:BEN_WFREP_ELIG_INFO_VW, status:VALID,
-
APPS.BEN_EFC_ADJUSTMENTS SQL Statements
12.2.2
-
APPS.BEN_EFC_ADJUSTMENTS SQL Statements
12.1.1
-
PACKAGE BODY: APPS.CSM_MULTI_MOBQRY_PKG
12.2.2
-
PACKAGE BODY: APPS.XDPCORE_ERROR
12.2.2
-
PACKAGE BODY: APPS.XDPCORE_ERROR
12.1.1
-
APPS.OE_HEADER_UTIL dependencies on WF_ENGINE
12.1.1
-
APPS.OE_HEADER_UTIL dependencies on WF_ENGINE
12.2.2
-
APPS.BEN_DETERMINE_RATES SQL Statements
12.1.1
-
APPS.BEN_DETERMINE_ACTIVITY_BASE_RT SQL Statements
12.1.1
-
APPS.BEN_DETERMINE_RATES SQL Statements
12.2.2
-
APPS.BEN_EFC_ADJUSTMENTS dependencies on BEN_ACTY_BASE_RT_F
12.2.2
-
APPS.BEN_EFC_ADJUSTMENTS dependencies on BEN_ACTY_BASE_RT_F
12.1.1
-
APPS.BEN_DETERMINE_ACTIVITY_BASE_RT SQL Statements
12.2.2
-
APPS.XDPCORE_ERROR dependencies on XDP_ORDER_LINE_ITEMS
12.2.2
-
APPS.XDPCORE_ERROR dependencies on XDP_ORDER_LINE_ITEMS
12.1.1
-
APPS.PAY_JP_ITWB_ARCHIVE_PKG SQL Statements
12.2.2
-
APPS.XDPCORE_ERROR dependencies on FND_MESSAGE
12.1.1
-
APPS.BEN_DETERMINE_ACTIVITY_BASE_RT dependencies on BEN_ACTY_BASE_RT_F
12.1.1
-
APPS.BEN_DETERMINE_ACTIVITY_BASE_RT dependencies on BEN_ACTY_BASE_RT_F
12.2.2
-
APPS.BEN_ELECTION_INFORMATION dependencies on BEN_ACTY_BASE_RT_F
12.1.1
-
APPS.BEN_ELECTION_INFORMATION dependencies on BEN_ACTY_BASE_RT_F
12.2.2
-
APPS.XDPCORE_ERROR dependencies on FND_MESSAGE
12.2.2
-
APPS.BEN_PROVIDER_POOLS dependencies on BEN_ACTY_BASE_RT_F
12.2.2
-
PACKAGE BODY: APPS.PAY_JP_ITWB_ARCHIVE_PKG
12.2.2
-
APPS.OE_HEADER_UTIL dependencies on OE_QUOTE_UTIL
12.1.1
-
APPS.OE_HEADER_UTIL dependencies on OE_QUOTE_UTIL
12.2.2
-
APPS.BEN_DETERMINE_RATES dependencies on BEN_ACTY_BASE_RT_F
12.1.1
-
APPS.BEN_PROVIDER_POOLS dependencies on BEN_ACTY_BASE_RT_F
12.1.1
-
APPS.OE_HEADER_UTIL dependencies on OE_ORDER_WF_UTIL
12.2.2
-
APPS.BEN_DETERMINE_RATES dependencies on BEN_ACTY_BASE_RT_F
12.2.2
-
APPS.OE_HEADER_UTIL dependencies on OE_ORDER_WF_UTIL
12.1.1
-
APPS.BEN_DETERMINE_ACTIVITY_BASE_RT dependencies on BEN_ENV_OBJECT
12.1.1
-
APPS.BEN_DETERMINE_ACTIVITY_BASE_RT dependencies on BEN_ENV_OBJECT
12.2.2
-
APPS.PQH_GSP_HR_TO_STAGE dependencies on BEN_COPY_ENTITY_RESULTS_API
12.1.1
-
APPS.PQH_GSP_HR_TO_STAGE dependencies on BEN_COPY_ENTITY_RESULTS_API
12.2.2
-
APPS.BEN_PROVIDER_POOLS SQL Statements
12.1.1
-
APPS.BEN_ELECTION_INFORMATION SQL Statements
12.1.1
-
APPS.BEN_PROVIDER_POOLS SQL Statements
12.2.2
-
PACKAGE BODY: APPS.BEN_DETERMINE_RATES
12.2.2
-
PACKAGE BODY: APPS.BEN_DETERMINE_RATES
12.1.1