Search Results qa_lookups




Overview

The QA_LOOKUPS view is a standard Oracle Application Object Library (AOL) lookup view residing in the APPS schema within Oracle E-Business Suite 12.1.1 and 12.2.2. It is owned by the Quality (QA) product module and presents a filtered, language-aware subset of the FND_LOOKUP_VALUES table. The view exposes lookup values that belong specifically to the Quality application, identified by VIEW_APPLICATION_ID = 250, enabling QA-specific seeded and user-defined lookups to be queried as a discrete set.

Its primary role is to support reporting, concurrent programs, and integration interfaces that require Quality lookup values without directly referencing the underlying FND_LOOKUP_VALUES table. By encapsulating the language filter and application identifier constraint, the view enforces consistent lookup retrieval semantics across the QA module. Reports, forms, and external interfaces can select from QA_LOOKUPS to obtain meaningful, translated lookup codes and their descriptive attributes.

Underlying Base Objects

The view is defined over a single base object: FND_LOOKUP_VALUES (referenced via a synonym). FND_LOOKUP_VALUES stores all lookup code values, their translations, effective dates, and descriptive flexfield attributes for the entire E-Business Suite. The QA_LOOKUPS view restricts this repository using two predicates in its WHERE clause:

  • LV.LANGUAGE = USERENV('LANG') — restricts rows to the language of the current user session, returning only translated values matching the runtime language environment.
  • LV.VIEW_APPLICATION_ID = 250 — restricts rows to lookup values associated with the Quality application identifier.

Because it is a view rather than a physical table, QA_LOOKUPS stores no independent data. All columns are drawn directly from FND_LOOKUP_VALUES, and changes to the underlying lookup definitions are reflected immediately upon query. The view is not updatable in the conventional sense; modifications to lookup values must be performed against FND_LOOKUP_VALUES through standard AOL lookup maintenance forms or the FND_LOOKUPS API.

Key Columns

The view exposes the standard AOL lookup column set:

  • LOOKUP_TYPE — the lookup type code identifying the category of the lookup (for example, QA inspection result codes).
  • LOOKUP_CODE — the internal code value stored on transactional records.
  • MEANING — the user-facing display value shown on forms and reports.
  • DESCRIPTION — optional narrative text explaining the lookup code.
  • ENABLED_FLAG — indicates whether the lookup code is active (Y) or disabled (N).
  • START_DATE_ACTIVE / END_DATE_ACTIVE — the effective date range during which the lookup code is valid.
  • ATTRIBUTE_CATEGORY and ATTRIBUTE1 through ATTRIBUTE15 — descriptive flexfield segments allowing additional client-specific data to be captured per lookup value.
  • TAG — a free-form tag column available on lookup values.
  • Audit columnsCREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN, and LAST_UPDATE_DATE provide standard auditing information.

Common Use Cases and Queries

Typical scenarios include validating Quality lookup codes during data conversion, driving LOVs in custom reports, and joining lookup meanings to QA transaction tables. A representative query retrieving all active QA lookups of a given type is:

SELECT LOOKUP_CODE, MEANING, DESCRIPTION
FROM APPS.QA_LOOKUPS
WHERE LOOKUP_TYPE = 'QA_INSPECTION_RESULT'
AND ENABLED_FLAG = 'Y'
AND SYSDATE BETWEEN NVL(START_DATE_ACTIVE, SYSDATE)
AND NVL(END_DATE_ACTIVE, SYSDATE + 1);

Because the view already filters on the session language and application identifier, developers need not add those predicates manually. Queries should nevertheless guard against date-range and enabled-flag conditions to avoid returning retired codes. The view is frequently referenced in QA module concurrent programs, where lookup meanings are joined to inspection, collection plan, and specification records to produce readable output.