Results for “xle_lookups”
40 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
XLE_LOOKUPS is a reporting view owned by the APPS schema within the Oracle E-Business Suite, delivered as part of the XLE – Legal Entity Configurator product. Legal Entity Configurator relies extensively on Oracle lookups to drive code-to-meaning translation for legal entity attributes such as entity types, registration authorities, jurisdiction classifications, and other statutory reference data. Rather than exposing the full, unfiltered base table to developers and integrators, XLE_LOOKUPS presents a scoped subset of lookup values restricted to the XLE application context, providing a stable and predictable interface for queries, concurrent programs, and downstream integrations.
Because the view applies the language of the current session, it returns lookup meanings and descriptions in the user's runtime language, making it suitable for both user-facing reports and multilingual deployments. The view is valid in both Oracle EBS 12.1.1 and 12.2.2, and its definition is unchanged across those releases, so any custom code built against it remains portable. It should be treated strictly as a read-only reporting object; DML against it is not supported.
Underlying Base Objects
The view is defined over the single base object FND_LOOKUP_VALUES, referenced through the APPS synonym. Internally, FND_LOOKUP_VALUES joins to FND_LOOKUPS to obtain the lookup type configuration, but the documented dependency for XLE_LOOKUPS is FND_LOOKUP_VALUES alone.
The defining query is:
- SELECT LOOKUP_TYPE, LOOKUP_CODE, MEANING, DESCRIPTION, ENABLED_FLAG, START_DATE_ACTIVE, END_DATE_ACTIVE FROM FND_LOOKUP_VALUES LV
- WHERE LANGUAGE = USERENV('LANG') AND VIEW_APPLICATION_ID = 204 AND SECURITY_GROUP_ID = 0
Two predicates govern the row set. VIEW_APPLICATION_ID = 204 identifies the XLE application, so only lookup values registered to Legal Entity Configurator are returned. SECURITY_GROUP_ID = 0 limits results to the non-secured, shared lookup values that Oracle seeds for all applications. The USERENV('LANG') predicate restricts rows to the session language, preventing duplication across installed languages. Note that the view exposes only the lookup value columns; it does not project the VIEW_APPLICATION_ID or SECURITY_GROUP_ID columns used for filtering.
Key Columns
- LOOKUP_TYPE — The lookup type that groups related codes, for example the category of legal entity reference data. Together with LOOKUP_CODE it forms the logical unique key.
- LOOKUP_CODE — The stored internal code value persisted on XLE transactional and setup tables. This is the value joined against application data.
- MEANING — The translated, user-facing display value corresponding to the code. Appropriate for report labels and list-of-values presentation.
- DESCRIPTION — Additional free-text context for the code, typically optional and often blank.
- ENABLED_FLAG — Y or N indicator of whether the lookup code is currently active. Inactive codes are still returned by the view and must be filtered out when only selectable values are required.
- START_DATE_ACTIVE — Beginning of the effective date range for the code; null indicates no start restriction.
- END_DATE_ACTIVE — End of the effective date range; null indicates the code remains open-ended.
Common Use Cases and Queries
Typical usage includes decoding legal entity setup attributes in custom reports, restricting list-of-values queries, and validating imported reference data during legal entity data migration.
Listing all enabled lookup values for a single lookup type:
- SELECT lookup_code, meaning, description FROM xle_lookups WHERE lookup_type = :p_lookup_type AND enabled_flag = 'Y' AND SYSDATE BETWEEN NVL(start_date_active, SYSDATE) AND NVL(end_date_active, SYSDATE) ORDER BY lookup_code;
Joining the view to an entity table to resolve stored codes into display values:
- SELECT e.entity_id, e.attribute_code, l.meaning FROM xle_entity_table e, xle_lookups l WHERE e.attribute_code = l.lookup_code AND l.lookup_type = :p_lookup_type AND l.enabled_flag = 'Y';
Populating a value set or custom LOV uses the same pattern, requiring both lookup_type and enabled_flag predicates. Because the view resolves language through USERENV('LANG'), results automatically appear in the session language. For best performance, always include LOOKUP_TYPE in the WHERE clause; the base table is indexed primarily on lookup type and language, and unfiltered queries return every XLE lookup value across all types.
-
View: XLE_LOOKUPS 12.2.2
-
View: XLE_LOOKUPS 12.1.1
-
VIEW: APPS.XLE_LOOKUPS 12.2.2
-
VIEW: APPS.XLE_LOOKUPS 12.1.1
-
12.1.1 FND Design Data 12.1.1
-
12.2.2 FND Design Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
eTRM - XLE Tables and Views 12.2.2
XLE_UNQ_PROFILES stores information about an Unqualified Legal Construct
-
eTRM - XLE Tables and Views 12.1.1
XLE_UNQ_PROFILES stores information about an Unqualified Legal Construct
-
eTRM - XLE Tables and Views 12.1.1
XLE_UNQ_PROFILES stores information about an Unqualified Legal Construct
-
eTRM - XLE Tables and Views 12.2.2
XLE_UNQ_PROFILES stores information about an Unqualified Legal Construct
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1