Results for “okl_pqy_values”

50+ results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

OKL_PQY_VALUES is a table in the OKL (Leasing and Finance Management) schema of Oracle E-Business Suite, present in both the 12.1.1 and 12.2.2 releases. The table stores the discrete values that can be attached to Product Qualities, and it is consumed by the Product - Quality Value setup workflow during product configuration. In practical terms, it defines the permissible or enumerated values that qualify a product characteristic, enabling the leasing application to evaluate a contract or product against a defined quality and its accepted value set.

The table resides in the OKL schema and carries a VALID status in the ETRM data dictionary. With 13 documented columns at 12.2.2, it is a comparatively narrow reference table whose primary function is to supply lookup values rather than to record transactional lifecycle events. From a Data Vault modeling perspective, the FK structure suggests a satellite-leaning classification, meaning the table behaves more like a descriptive attribute store attached to a parent entity than a standalone hub or an associative link.

Key Information Stored

The most important columns are:

  • ID — the surrogate primary key, enforced by OKL_PQY_VALUES_PK. It uniquely identifies each quality value row and is the join key referenced by dependent tables.
  • VALUE — the actual quality value text or code presented during Product Setup. Along with PQY_ID and ZD_EDITION_NAME, it forms a business-key candidate via unique index OKL_PQY_VALUES_U2.
  • PQY_ID — the foreign key to OKL_PDT_QUALITYS, tying each value to its parent Product Quality definition.
  • DESCRIPTION — the human-readable description of the quality value, used in setup forms and reports.
  • FROM_DATE and TO_DATE — the effective date range for which the value is valid, supporting date-effective lookups.
  • OBJECT_VERSION_NUMBER — the optimistic locking column used by the Oracle Applications framework to detect concurrent updates.
  • ZD_EDITION_NAME — the editioning column introduced by the 12.2 online patching architecture; it participates in both unique indexes.
  • CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN — the standard WHO columns capturing audit and user identity information.

ID is the surrogate key, while OKL_PQY_VALUES_U1 (ID, ZD_EDITION_NAME) and OKL_PQY_VALUES_U2 (VALUE, PQY_ID, ZD_EDITION_NAME) represent the documented business-key candidates.

Common Use Cases and Queries

Typical scenarios include validating that a submitted product quality value is defined for the relevant quality, building pick lists for the Product - Quality Value setup form, and reporting on the valid value sets associated with each product quality. A common query joins the value table to its parent quality:

  • SELECT qv.id, qv.value, qv.description, qv.pqy_id, qv.from_date, qv.to_date FROM okl.okl_pqy_values qv WHERE qv.pqy_id = :pqy_id AND TRUNC(SYSDATE) BETWEEN NVL(qv.from_date, SYSDATE) AND NVL(qv.to_date, SYSDATE);
  • SELECT pqy.id, pqy.name, qv.value FROM okl.okl_pdt_qualitys pqy, okl.okl_pqy_values qv WHERE pqy.id = qv.pqy_id ORDER BY pqy.id, qv.value;
  • SELECT DISTINCT value FROM okl.okl_pqy_values WHERE value LIKE :pattern;

Because the table is date-effective, reporting queries should apply FROM_DATE/TO_DATE filters to avoid returning expired quality values.

Related Objects

  • OKL_PDT_QUALITYS — the parent Product Qualities table; joined via OKL_PQY_VALUES.PQY_ID = OKL_PDT_QUALITYS.ID (foreign key PQY_ID).
  • OKL_PDT_PQY_VALS — the Product - Quality Value assignment table; it references OKL_PQY_VALUES via OKL_PDT_PQY_VALS.QVE_ID, making it the principal downstream consumer of the values defined here.
  • OKL_PQY_VALUES_PK — the primary key constraint on ID.
  • OKL_PQY_VALUES_U1 / OKL_PQY_VALUES_U2 — the unique indexes enforcing the documented business keys.
  • OKL_PDT_QUALITYS_PK — the referenced unique constraint on the parent quality table.

Together these objects form the product-quality modeling chain used during OKL product setup, with OKL_PQY_VALUES acting as the controlled vocabulary of acceptable quality values.