Results for “lookup_id”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
The EDW_LOOKUP_CODES_LCV view is a lookup code level collection view owned by the APPS schema in Oracle E-Business Suite. It belongs to the PO (Purchasing) product family and is catalogued under the ETRM (E-Business Suite Technical Reference Manual) as a valid database object. The name itself signals its design intent: the LCV suffix denotes "Level Collection View," a construct commonly used by Oracle's Enterprise Data Warehouse (EDW) and Business Intelligence extract layers to flatten, normalize, and conform reference data into a consistent shape for downstream reporting and ETL consumption.
Its central purpose is to unify lookup value data spanning Purchasing and Manufacturing lookup sources into a single, query-friendly result set. Each row represents one lookup code, decorated with a surrogate key, a display value, activation dates, an originating table code, and an instance identifier. This makes the view a convenient dimensional source for lookup code reference data rather than requiring report authors to query FND_LOOKUP_VALUES and manufacturing lookups directly.
Underlying Base Objects
The view text reveals that EDW_LOOKUP_CODES_LCV is defined as a UNION ALL of two branches, each reading from a different lookup repository:
- FND_LOOKUP_VALUES — the standard Oracle Applications lookup table, aliased PLC, filtered by VIEW_APPLICATION_ID = 201 (Purchasing), LANGUAGE = USERENV('LANG'), and SECURITY_GROUP_ID = 0. This branch supplies Purchasing-specific lookup types such as 'RCV TRANSACTION TYPE', 'INSPECTION STATUS', 'PRICE TYPE', 'ORDER TYPE', 'SHIPMENT TYPE', 'FREIGHT TERMS', 'FOB', and 'PURCHASE CLASSIFICATION'. It is tagged with TABLE_CODE 'PO'.
- A manufacturing lookup table (aliased MFL, referenced in the second UNION ALL branch) — tagged with TABLE_CODE 'MFG' to differentiate manufacturing-sourced lookup codes from the Purchasing set.
- EDW_LOCAL_INSTANCE — aliased ELI and joined in each branch to populate the INSTANCE column with the local instance code, supporting multi-instance or consolidated-warehouse scenarios.
Although the documented ETRM metadata lists no base objects under "Referenced base objects," the view's SELECT text clearly establishes these dependencies. The union enforces a shared column signature across both sources.
Key Columns
- LOOKUP_CODE_PK — a concatenated business key built as UPPER(LOOKUP_CODE) || '-' || UPPER(LOOKUP_TYPE) || '-' || 'PO' (or 'MFG'). This forms the surrogate primary key used in the warehouse model.
- LOOKUP_TYPE and LOOKUP_CODE — the standard lookup classification pair from the source tables.
- LOOKUP_ID — projected as TO_NUMBER(NULL) in the documented branches, effectively a placeholder column preserving schema compatibility for consumers expecting a numeric identifier.
- LOOKUP_CODES_DP and NAME — both derived from SUBSTRB(MEANING, 1, 80), providing an 80-byte display value.
- DESCRIPTION — the lookup code description.
- START_DATE_ACTIVE / END_DATE_ACTIVE — activation windows from the source lookup rows.
- TABLE_CODE — indicates origin ('PO' or 'MFG').
- INSTANCE — instance code from EDW_LOCAL_INSTANCE.
- USER_ATTRIBUTE1–5 — reserved as NULL in the documented branches.
Common Use Cases and Queries
Typical uses include populating lookup-code dimensions in an EDW, driving parameter lists in custom reports, and conforming purchasing and manufacturing reference data for cross-domain analytics.
SELECT LOOKUP_CODE_PK, LOOKUP_TYPE, LOOKUP_CODE, NAME
FROM APPS.EDW_LOOKUP_CODES_LCV
WHERE LOOKUP_TYPE = 'ORDER TYPE'
AND TABLE_CODE = 'PO';
SELECT TABLE_CODE, LOOKUP_TYPE, COUNT(*)
FROM APPS.EDW_LOOKUP_CODES_LCV
GROUP BY TABLE_CODE, LOOKUP_TYPE
ORDER BY TABLE_CODE, LOOKUP_TYPE;
-
View: EDW_LOOKUP_CODES_LCV 12.1.1
Lookup Code Level Collection View
APPS.EDW_LOOKUP_CODES_LCV·↳ CM_MTHD_MST·↳ EDW_LOCAL_INSTANCE·↳ FND_LOOKUP_VALUES·Explore PO module →
-
Lookup values for regime
-
This table contains all questions whose answers will be stored and/or need a dynamic lookup.
-
Stores one record for each parameter for each natural account or expenditure type record used in the auto-population module of Labor Distribution
-
This table stores all answers collected by Scripting Engine.
-
Lookup table for answer types.
-
This table contains all lookups used by questions in a given script.
-
Template Driven SR Questions (base table).
-
Template Driven SR Questions (base table).
-
View: PSP_AUTO_PARAMS_V 12.2.2
APPS.PSP_AUTO_PARAMS_V·↳ PSP_AUTO_LOOKUPS·↳ PSP_AUTO_PARAMS·Explore PSP module →
-
Stores one record for each parameter for each natural account or expenditure type record used in the auto-population module of Labor Distribution
-
View: PSP_AUTO_PARAMS_V 12.1.1
APPS.PSP_AUTO_PARAMS_V·↳ PSP_AUTO_LOOKUPS·↳ PSP_AUTO_PARAMS·Explore PSP module →
-
Stores lookup codes and their descriptions used in the auto-population module of Labor Distribution
-
Lookup values for regime
-
Stores lookup codes and their descriptions used in the auto-population module of Labor Distribution
-
Template Driven SR Answer type freetext table, stores the freetext size.
-
This table contains lookup choices.
-
This table contains lookup choices.
-
View: CS_TP_QUESTIONS_VL 12.2.2
APPS.CS_TP_QUESTIONS_VL·↳ CS_TP_QUESTIONS_B·↳ CS_TP_QUESTIONS_TL·Explore CS module →
-
Template Driven SR Choices (base table).
-
Template Driven SR Choices (base table).
-
Template Driven SR Answer type freetext table, stores the freetext size.
-
View: CS_TP_CHOICES_VL 12.1.1
Multi-lingual view for CS_TP_CHOICES_B and CS_TP_CHOICES_TL tables.
APPS.CS_TP_CHOICES_VL·↳ CS_TP_CHOICES_B·↳ CS_TP_CHOICES_TL·Explore CS module →
-
This table contains all questions whose answers will be stored and/or need a dynamic lookup.
-
Lookup table for answer types.
-
This table stores all answers collected by Scripting Engine.
-
This table contains all lookups used by questions in a given script.
-
View: CS_TP_CHOICES_VL 12.2.2
Multi-lingual view for CS_TP_CHOICES_B and CS_TP_CHOICES_TL tables.
APPS.CS_TP_CHOICES_VL·↳ CS_TP_CHOICES_B·↳ CS_TP_CHOICES_TL·Explore CS module →
-
View: CS_TP_QUESTIONS_VL 12.1.1
APPS.CS_TP_QUESTIONS_VL·↳ CS_TP_QUESTIONS_B·↳ CS_TP_QUESTIONS_TL·Explore CS module →
-
View: EDW_LOOKUP_CODES_LCV 12.2.2
Lookup Code Level Collection View
Not implemented in this database·Explore PO module →
-
VIEW: PSP.PSP_AUTO_PARAMS# 12.2.2
-
Not implemented in this database·Explore PSP module →
-
Not implemented in this database·Explore PSP module →
-
VIEW: JA.JAI_RGM_LOOKUPS# 12.2.2
-
VIEW: CS.CS_TP_LOOKUPS# 12.2.2
-
VIEW: IES.IES_LOOKUPS# 12.2.2
-
Not implemented in this database·Explore PSP module →
-
VIEW: PSP.PSP_AUTO_LOOKUPS# 12.2.2
-
Not implemented in this database·Explore PSP module →
-
Not implemented in this database·Explore PSP module →
-
Not implemented in this database·Explore PSP module →