Search Results ben_ext_where_clause_pk
Overview
BEN_EXT_WHERE_CLAUSE is a table within the Advanced Benefits (BEN) module of Oracle E-Business Suite, holding WHERE clause definitions that filter the rows returned by a Benefits extract. Benefits extracts are used to move enrollment, eligibility, and related benefits data out of EBS to third-party carriers, payroll providers, and benefit administrators. Each row in this table supplies one segment of filtering logic that constrains which records an extract selects.
From a Data Vault modeling perspective, the mined foreign key structure suggests this object behaves as a link. It sits at the intersection of several other entities—extract records in file, data elements, and data elements within those records—rather than acting as a standalone hub or a purely descriptive satellite. This classification is a heuristic suggestion based on the FK topology, not a formally declared attribute of the object.
Key Information Stored
The table is owned by the BEN schema and is documented with 19 columns. The surrogate primary key is EXT_WHERE_CLAUSE_ID, defined by BEN_EXT_WHERE_CLAUSE_PK. The unique index BEN_EXT_WHERE_CLAUSE_PK is also documented as (EXT_WHERE_CLAUSE_ID, ZD_EDITION_NAME), indicating the edition-aware ("ZD") variant used in the 12.2.2 physical schema.
The most significant columns fall into three groups:
- Identification and tenancy: EXT_WHERE_CLAUSE_ID (surrogate PK), BUSINESS_GROUP_ID (foreign key to HR_ALL_ORGANIZATION_UNITS, scoping the row to a business group), and LEGISLATION_CODE.
- Filter logic: OPER_CD (the comparison operator), VAL (the comparison value), AND_OR_CD (conjunction joining this condition to adjacent ones), and SEQ_NUM (ordering of the condition in the assembled clause).
- Foreign key references to data elements: EXT_DATA_ELMT_ID and COND_EXT_DATA_ELMT_ID reference BEN_EXT_DATA_ELMT; EXT_DATA_ELMT_IN_RCD_ID and COND_EXT_DATA_ELMT_IN_RCD_ID reference BEN_EXT_DATA_ELMT_IN_RCD; EXT_RCD_IN_FILE_ID references BEN_EXT_RCD_IN_FILE.
Standard audit and concurrency columns are present: LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN, CREATED_BY, CREATION_DATE, and OBJECT_VERSION_NUMBER.
Common Use Cases and Queries
Typical scenarios include troubleshooting why an extract returned unexpected record counts, replicating extract definitions between environments, and validating that a configured WHERE clause references active data elements. Because the condition components are stored one row per predicate, a common query pattern reassembles them in sequence:
- Listing conditions for a given extract record: select SEQ_NUM, AND_OR_CD, OPER_CD, VAL from BEN_EXT_WHERE_CLAUSE where EXT_RCD_IN_FILE_ID = :p1 order by SEQ_NUM.
- Resolving element names: join EXT_DATA_ELMT_ID and COND_EXT_DATA_ELMT_ID to BEN_EXT_DATA_ELMT to translate internal IDs into readable element names.
- Auditing scope by business group: filter on BUSINESS_GROUP_ID and LEGISLATION_CODE to compare configurations across organizations or legal contexts.
- Data lineage and impact analysis: trace which extracts depend on a specific data element before decommissioning or changing it.
Reporting on these rows is generally read-only; extract definitions are maintained through the Advanced Benefits setup UI rather than direct DML.
Related Objects
The following objects are referenced through the documented foreign keys and are the most relevant joins:
- BEN_EXT_DATA_ELMT — via EXT_DATA_ELMT_ID and COND_EXT_DATA_ELMT_ID.
- BEN_EXT_DATA_ELMT_IN_RCD — via EXT_DATA_ELMT_IN_RCD_ID and COND_EXT_DATA_ELMT_IN_RCD_ID.
- BEN_EXT_RCD_IN_FILE — via EXT_RCD_IN_FILE_ID.
- HR_ALL_ORGANIZATION_UNITS — via BUSINESS_GROUP_ID.
These relationships place BEN_EXT_WHERE_CLAUSE directly in the extract-definition chain, bridging the record-in-file structure with the individual data elements the clause conditions apply to.
-
Table: BEN_EXT_WHERE_CLAUSE
12.1.1
owner:BEN, object_type:TABLE, fnd_design_data:BEN.BEN_EXT_WHERE_CLAUSE, object_name:BEN_EXT_WHERE_CLAUSE, status:VALID, product: BEN - Advanced Benefits , description: Where clause for extract. , implementation_dba_data: BEN.BEN_EXT_WHERE_CLAUSE ,
-
INDEX: BEN.BEN_EXT_WHERE_CLAUSE_PK
12.1.1
owner:BEN, object_type:INDEX, object_name:BEN_EXT_WHERE_CLAUSE_PK, status:VALID,
-
INDEX: BEN.BEN_EXT_WHERE_CLAUSE_PK
12.2.2
owner:BEN, object_type:INDEX, object_name:BEN_EXT_WHERE_CLAUSE_PK, status:VALID,
-
Table: BEN_EXT_WHERE_CLAUSE
12.2.2
owner:BEN, object_type:TABLE, fnd_design_data:BEN.BEN_EXT_WHERE_CLAUSE, object_name:BEN_EXT_WHERE_CLAUSE, status:VALID, product: BEN - Advanced Benefits , description: Where clause for extract. , implementation_dba_data: BEN.BEN_EXT_WHERE_CLAUSE ,
-
TABLE: BEN.BEN_EXT_WHERE_CLAUSE
12.1.1
owner:BEN, object_type:TABLE, fnd_design_data:BEN.BEN_EXT_WHERE_CLAUSE, object_name:BEN_EXT_WHERE_CLAUSE, status:VALID,
-
TABLE: BEN.BEN_EXT_WHERE_CLAUSE
12.2.2
owner:BEN, object_type:TABLE, fnd_design_data:BEN.BEN_EXT_WHERE_CLAUSE, object_name:BEN_EXT_WHERE_CLAUSE, status:VALID,
-
PACKAGE BODY: APPS.BEN_XWC_SHD
12.1.1
-
PACKAGE BODY: APPS.BEN_XWC_SHD
12.2.2
-
PACKAGE BODY: APPS.BEN_XWC_BUS
12.1.1
-
12.1.1 DBA Data
12.1.1
-
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 BODY: APPS.BEN_XWC_BUS
12.2.2
-
APPS.BEN_XWC_BUS dependencies on BEN_EXT_WHERE_CLAUSE
12.1.1
-
APPS.BEN_XWC_BUS dependencies on BEN_EXT_WHERE_CLAUSE
12.2.2
-
APPS.BEN_XWC_SHD dependencies on FND_MESSAGE
12.1.1
-
APPS.BEN_XWC_SHD dependencies on FND_MESSAGE
12.2.2
-
APPS.BEN_XWC_SHD dependencies on BEN_EXT_WHERE_CLAUSE
12.2.2
-
APPS.BEN_XWC_SHD dependencies on BEN_EXT_WHERE_CLAUSE
12.1.1
-
APPS.BEN_XWC_BUS dependencies on BEN_XWC_SHD
12.1.1
-
APPS.BEN_XWC_BUS dependencies on BEN_XWC_SHD
12.2.2
-
eTRM - BEN Tables and Views
12.2.2
description: Start and End periods. ,
-
eTRM - BEN Tables and Views
12.1.1
description: Start and End periods. ,
-
eTRM - BEN Tables and Views
12.2.2
description: Start and End periods. ,
-
eTRM - BEN Tables and Views
12.1.1
description: Start and End periods. ,