Results for “enabled_flag”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
GL_LOOKUPS is a read-only dictionary view owned by the APPS schema in Oracle E-Business Suite 12.1.1 and 12.2.2. It is classified under the GL — General Ledger product/module and carries a VALID status in the ETRM repository. The view exposes a filtered subset of Oracle Application Object Library lookup values that pertain specifically to the General Ledger application. Rather than storing data in its own right, GL_LOOKUPS projects a restricted slice of the shared FND_LOOKUP_VALUES table, which is the central repository for all extensible lookup codes across the E-Business Suite.
The defining characteristic of this view is its application scoping. The view text filters on VIEW_APPLICATION_ID = 101, which is the registered application identifier for Oracle General Ledger, and on SECURITY_GROUP_ID = 0, the default security group. It also restricts rows to the language of the current session via the USERENV('LANG') call. The result is that callers querying GL_LOOKUPS see only General Ledger lookup types, translated into their own session language, without needing to know the internal application identifier or to join back to FND_APPLICATION themselves. This makes the view a convenient, stable integration point for reports, interfaces, and conversions that must resolve GL lookup meanings.
Underlying Base Objects
According to the documented ETRM metadata, GL_LOOKUPS is defined over a single referenced base object: FND_LOOKUP_VALUES, accessed through a synonym. FND_LOOKUP_VALUES is the AOL table that holds every lookup code defined in the system, keyed by lookup type, lookup code, language, application, and security group. Because General Ledger lookups are stored in that shared table rather than in a dedicated GL table, GL_LOOKUPS is best understood as a security- and application-scoped projection of FND_LOOKUP_VALUES.
The view text 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 = 101 AND SECURITY_GROUP_ID = 0
Because it is a view and not a table, GL_LOOKUPS stores no data. All inserts, updates, and deletions must be performed against FND_LOOKUP_VALUES; the view simply reflects those changes in real time. No materialization or aggregation occurs.
Key Columns
- LOOKUP_TYPE — The lookup type, i.e., the category or group under which related lookup codes are organized (for example, a GL-specific type such as journal source or currency conversion type).
- LOOKUP_CODE — The internal code value stored on transactional rows; this is the value typically validated against the lookup.
- MEANING — The user-facing, translatable display value corresponding to the lookup code, resolved for the session language.
- DESCRIPTION — An optional longer explanation of the lookup code, also language-dependent.
- ENABLED_FLAG — Indicates whether the lookup code is currently active (Y) or disabled (N). Disabled codes remain in the table for historical data but should not be presented for new selections.
- START_DATE_ACTIVE — The date from which the lookup code becomes effective. A null value indicates no start restriction.
- END_DATE_ACTIVE — The date after which the lookup code is no longer effective. A null value indicates the code is open-ended.
Common Use Cases and Queries
GL_LOOKUPS is most often used in custom reports, concurrent programs, and interface/API routines that must resolve or validate General Ledger lookup values. A typical pattern is to join the view to a transactional table on LOOKUP_CODE within a fixed LOOKUP_TYPE to obtain the printable MEANING. The following query lists all enabled GL lookup values for a given type:
- SELECT lookup_code, meaning, description, start_date_active, end_date_active
- FROM gl_lookups
- WHERE lookup_type = :p_lookup_type
- AND enabled_flag = 'Y'
- AND TRUNC(SYSDATE) BETWEEN NVL(start_date_active, SYSDATE) AND NVL(end_date_active, SYSDATE);
A second common usage is to join the view into a reporting query over GL journals or balances so that codes are rendered as their meanings in the report output. Because the view already filters by session language and application, no additional language join is required. Note that the view omits TAG and other attribute columns present in FND_LOOKUP_VALUES; when those are needed, query the base table directly with the same VIEW_APPLICATION_ID = 101 predicate. Care should also be taken to respect ENABLED_FLAG and the active date range whenever the view is used to drive a list of values.
-
View: GL_LOOKUPS 12.2.2
-
View: GL_LOOKUPS 12.1.1
-
Cross Rate Rule Details
-
GL_TRACK_DELTA_BALANCES stores information about requests to track incremental balances using the GL_BALANCES_DELTA table.
-
GL_TRACK_DELTA_BALANCES stores information about requests to track incremental balances using the GL_BALANCES_DELTA table.
-
Encumbrance type definitions
-
Cross Rate Rule Details
-
Encumbrance type definitions
-
View: GL_TAX_CODES_V 12.2.2
APPS.GL_TAX_CODES_V·↳ GL_LOOKUPS·↳ ZX_ACCOUNTS·↳ ZX_RATES_VL·Explore GL module →
-
View: GL_TAX_CODES_V 12.1.1
APPS.GL_TAX_CODES_V·↳ GL_LOOKUPS·↳ ZX_ACCOUNTS·↳ ZX_RATES_VL·Explore GL module →
-
Import of Chart of Accounts Segment Values
-
Oracle General Ledger concurrent schedule definitions
-
Intercompany transaction types
-
Recurring journal entry and budget formula headers
-
Data access set definitions
-
View: GL_RECURRING_HEADERS_V 12.1.1
10SC ONLY
APPS.GL_RECURRING_HEADERS_V·↳ GL_DAILY_CONVERSION_TYPES·↳ GL_JE_CATEGORIES·↳ GL_LEDGERS·Explore GL module →
-
View: GL_ACCESS_SETS_V 12.2.2
APPS.GL_ACCESS_SETS_V·↳ FND_ID_FLEX_STRUCTURES_TL·↳ GL_ACCESS_SETS·↳ GL_LEDGERS·Explore GL module →
-
Oracle General Ledger concurrent schedule definitions
-
Recurring journal entry and budget formula headers
-
Sets of automatic posting criteria
-
Multiple reporting currency conversion options by application/operating unit/asset book
-
APPS.GL_AUTOMATIC_POSTING_SETS_V·↳ FND_DATA_SECURITY·↳ FND_GLOBAL·↳ GL_AUTOMATIC_POSTING_SETS·Explore GL module →
-
View: GL_RECURRING_HEADERS_V 12.2.2
10SC ONLY
APPS.GL_RECURRING_HEADERS_V·↳ GL_DAILY_CONVERSION_TYPES·↳ GL_JE_CATEGORIES·↳ GL_LEDGERS·Explore GL module →
-
Subsidiary definitions
-
Data access set definitions
-
Intercompany transaction types
-
View: GL_ACCESS_SETS_V 12.1.1
APPS.GL_ACCESS_SETS_V·↳ FND_ID_FLEX_STRUCTURES_TL·↳ GL_ACCESS_SETS·↳ GL_LEDGERS·Explore GL module →
-
Sets of automatic posting criteria
-
Multiple reporting currency conversion options by application/operating unit/asset book
-
APPS.GL_AUTOMATIC_POSTING_SETS_V·↳ FND_DATA_SECURITY·↳ FND_GLOBAL·↳ GL_AUTOMATIC_POSTING_SETS·Explore GL module →
-
10SC ONLY
APPS.GL_SUMMARY_COMBINATIONS_V·↳ GL_CODE_COMBINATIONS·↳ GL_SUMMARY_TEMPLATES·Explore GL module →
-
10SC ONLY
APPS.GL_CODE_COMBINATIONS_KFV·↳ GL_CODE_COMBINATIONS·Explore GL module →
-
10SC ONLY
APPS.GL_SUMMARY_COMBINATIONS_V·↳ GL_CODE_COMBINATIONS·↳ GL_SUMMARY_TEMPLATES·Explore GL module →
-
Subsidiary definitions
-
View: GL_CODE_COMBINATIONS_V 12.2.2
APPS.GL_CODE_COMBINATIONS_V·↳ GL_CODE_COMBINATIONS·↳ GL_LOOKUPS·Explore GL module →
-
View: GL_CODE_COMBINATIONS_V 12.1.1
APPS.GL_CODE_COMBINATIONS_V·↳ GL_CODE_COMBINATIONS·↳ GL_LOOKUPS·Explore GL module →
-
10SC ONLY
APPS.GL_CODE_COMBINATIONS_KFV·↳ GL_CODE_COMBINATIONS·Explore GL module →
-
Account combinations
-
Account combinations
-
Not implemented in this database·Explore GL module →
-
Not implemented in this database·Explore GL module →
-
View: GL_IEA_TYPES_ACTIVE_V 12.1.1
Not implemented in this database·Explore GL module →
-
View: GL_IEA_TYPES_ACTIVE_V 12.2.2
Not implemented in this database·Explore GL module →
-
APPS.GL_CONS_SEGMENT_ACTIONS_V·↳ FND_ID_FLEX_SEGMENTS·↳ GL_CONS_SEGMENT_ACTIONS_PKG·↳ GL_CONS_SEGMENT_MAP·Explore GL module →
-
APPS.GL_CONS_SEGMENT_ACTIONS_V·↳ FND_ID_FLEX_SEGMENTS·↳ GL_CONS_SEGMENT_ACTIONS_PKG·↳ GL_CONS_SEGMENT_MAP·Explore GL module →
-
View: GL_IEA_SUBS_ACTIVE_V 12.1.1
Not implemented in this database·Explore GL module →
-
View: GL_IEA_SUBS_ACTIVE_V 12.2.2
Not implemented in this database·Explore GL module →
-
APPS.GL_SRS_RECON_CURRENCIES_V·↳ FND_CURRENCIES_VL·↳ GL_LOOKUPS·Explore GL module →