Results for “ap_lookup_types”
32 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
AP_LOOKUP_TYPES is a read-only view owned by the APPS schema in Oracle E-Business Suite, defined in the Payables (AP) product. It exposes a filtered subset of the Oracle Application Object Library lookup type definitions maintained in FND_LOOKUP_TYPES_VL. Specifically, the view restricts its result set to lookup types belonging to the application with VIEW_APPLICATION_ID equal to 200, which corresponds to the Payables application. Its purpose is to give developers, reports, and integrations a stable, Payables-scoped entry point to the set of lookup types that code lists and descriptive flexfield validation in the Payables module depend on.
For users searching on the identifier fnd_lookup_types_vl, this object is the materialized, product-specific projection of that base table: rather than querying the full repository of lookup types across all applications, a developer working within Payables queries AP_LOOKUP_TYPES and receives only the lookup types relevant to that module, together with a decoded flag indicating whether users may maintain them at runtime.
Underlying Base Objects
The view is defined over two documented objects. The first is FND_LOOKUP_TYPES_VL, the translatable (VL) view in the Application Object Library that holds lookup type definitions with language-dependent descriptions. The second is FND_GLOBAL, the standard Oracle EBS package supplying session context, most notably the LOOKUP_SECURITY_GROUP function used in the view predicate. The view's SQL text is:
- SELECT LV.LOOKUP_TYPE, LV.DESCRIPTION, DECODE(LV.CUSTOMIZATION_LEVEL, 'E', 'Y', 'N'), LV.CREATED_BY, LV.CREATION_DATE, LV.LAST_UPDATED_BY, LV.LAST_UPDATE_DATE, LV.LAST_UPDATE_LOGIN FROM FND_LOOKUP_TYPES_VL LV
- WHERE LV.VIEW_APPLICATION_ID = 200 AND LV.SECURITY_GROUP_ID = FND_GLOBAL.LOOKUP_SECURITY_GROUP(LV.LOOKUP_TYPE, LV.VIEW_APPLICATION_ID)
Two filters thereby govern the result: the fixed application scope (200, Payables) and a security-group match enforced through FND_GLOBAL.LOOKUP_SECURITY_GROUP, which ensures that rows are only returned for lookup types the current session is authorized to see. The STATUS in ETRM is VALID, and the underlying FND_LOOKUP_TYPES_VL rows are backed by the FND_LOOKUP_TYPES base table with its translation layer.
Key Columns
The view exposes eight columns, all inherited from FND_LOOKUP_TYPES_VL and transformed as follows:
- LOOKUP_TYPE — the internal, unique identifier of the lookup type (for example, PAYMENT_METHOD or TERMS). Primary key component used in application logic.
- DESCRIPTION — the user-facing, translatable description of the lookup type.
- USER_UPDATABLE_FLAG — a decoded value derived from CUSTOMIZATION_LEVEL: 'Y' when customization level is 'E' (extensible, i.e., users may add lookup values), otherwise 'N'.
- CREATED_BY — the user who created the lookup type record.
- CREATION_DATE — creation timestamp.
- LAST_UPDATED_BY — the user who last modified the record.
- LAST_UPDATE_DATE — last modification timestamp, commonly used for incremental extracts.
- LAST_UPDATE_LOGIN — login identifier associated with the last update, useful for audit and concurrency analysis.
Common Use Cases and Queries
The view is typically used to enumerate Payables lookup types, to drive report parameters, and to validate incoming interface data. A basic listing of all Payables lookup types is:
- SELECT lookup_type, description, user_updatable_flag FROM apps.ap_lookup_types ORDER BY lookup_type;
To find only those lookup types that are user-extensible in a given environment:
- SELECT lookup_type, description FROM apps.ap_lookup_types WHERE user_updatable_flag = 'Y' ORDER BY 1;
For incremental synchronization into a downstream system, the audit columns provide a watermark:
- SELECT lookup_type, description, last_update_date FROM apps.ap_lookup_types WHERE last_update_date >= :p_since;
Because the view is filtered by FND_GLOBAL.LOOKUP_SECURITY_GROUP, results honor the caller's session security context; queries should therefore be run with the correct responsibility and application context initialized. Note that this view supplies lookup type headers only. To retrieve the associated lookup values (codes and meanings), join to the corresponding value view keyed on lookup_type, since AP_LOOKUP_TYPES does not expose code, meaning, or tag columns.
-
View: AP_LOOKUP_TYPES 12.2.2
APPS.AP_LOOKUP_TYPES·↳ FND_LOOKUP_TYPES_VL·Explore AP module →
-
View: AP_LOOKUP_TYPES 12.1.1
APPS.AP_LOOKUP_TYPES·↳ FND_LOOKUP_TYPES_VL·Explore AP module →
-
VIEW: APPS.AP_LOOKUP_TYPES 12.2.2
-
VIEW: APPS.AP_LOOKUP_TYPES 12.1.1
-
This view displays lookup codes shared by Purchasing and Payables.
APPS.IGI_AP_PO_LOOKUP_CODES_V·↳ AP_LOOKUP_TYPES·↳ PO_LOOKUP_CODES·Explore IGI module →
-
This view displays lookup codes shared by Purchasing and Payables.
APPS.IGI_AP_PO_LOOKUP_CODES_V·↳ AP_LOOKUP_TYPES·↳ PO_LOOKUP_CODES·Explore IGI module →
-
12.2.2 FND Design Data 12.2.2
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
12.1.1 FND Design Data 12.1.1
-
eTRM - IGI Tables and Views 12.2.2
This is a temporary table used for GBV migration from 10.7/11.03 to 11i.
-
eTRM - IGI Tables and Views 12.1.1
This is a temporary table used for GBV migration from 10.7/11.03 to 11i.
-
12.2.2 DBA Data 12.2.2
-
Set Distribution Table.
-
12.1.1 DBA Data 12.1.1
-
Set Distribution Table.
-
PACKAGE: APPS.FND_GLOBAL 12.2.2
-
PACKAGE: APPS.FND_GLOBAL 12.1.1
-
eTRM - FND Tables and Views 12.2.2
No longer used
-
eTRM - FND Tables and Views 12.1.1
No longer used
-
eTRM - IGI Tables and Views 12.1.1
This is a temporary table used for GBV migration from 10.7/11.03 to 11i.
-
eTRM - IGI Tables and Views 12.2.2
This is a temporary table used for GBV migration from 10.7/11.03 to 11i.
-
Set Distribution Table.
-
Set Distribution Table.
-
eTRM - FND Tables and Views 12.2.2
No longer used
-
eTRM - FND Tables and Views 12.1.1
No longer used