Results for “okl_cure_refund_status”

12 results




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

Overview

APPS.OKL_CURE_RFND_DTLS_UV is a supplementary database view in the Oracle E-Business Suite Applications (APPS) schema, registered under the Oracle Knowledge and Terms (OKL) module family — the technical foundation of Oracle Lease and Finance Management (OLFM) and the Contracts core. The view consolidates cure refund detail information used by Oracle Contracts and Lease Management refund workflows, joining refund stage, refund header and line data with vendor and contract context. Its documented status is VALID in both ETRM 12.1.1 and 12.2.2 metadata references.

The view is explicitly classified as a "supplementary view used to simplify forms coding." Oracle's own documentation carries an important caveat: querying or altering data through this view is not recommended, as its definition may change substantially across minor or major releases. Its primary role is therefore as an internal Forms support object rather than a stable public integration interface. Consequently, it should be treated as a reference and diagnostics aid for developers and DBAs investigating refund and cure processing, not as a supported API surface for customizations or third-party integrations.

The object is owned by APPS and its FND Design Data registration is OKL.OKL_CURE_RFND_DTLS_UV, confirming that it belongs to the OKL application's design repository.

Underlying Base Objects

The documented dependency list shows the view is built over the following base objects:

Notably, most OKL and OKC references are documented as synonyms, indicating that the underlying physical tables typically reside in the OKL or OKC schemas and are exposed to APPS through synonym indirection. The view thus joins lease/contract refund structures to supplier master data and standard EBS lookup infrastructure.

Key Columns

The view exposes 23 columns. Principal identifiers and amounts include:

Descriptive and status columns include CURRENCY_CODE (contract currency), REFUND_STATUS and STATUS (lookup-derived statuses), ROW_FLAG (used by Forms for row state), and REFUND_HEADER_NUMBER. Three object version number columns — RL_OBJECT_VERSION_NUMBER, RS_OBJECT_VERSION_NUMBER, RH_OBJECT_VERSION_NUMBER — support optimistic locking for the refund line, stage, and header respectively. Vendor context is provided by VENDOR_ID, VENDOR_SITE_ID, VENDOR_NAME, and VENDOR_ADDRESS. Note that the ETRM excerpt itself contains several placeholder comments (for example, multiple columns commented as "vendor Site ID" or "vendor name"), which confirms the metadata is auto-generated and should be validated against the live data dictionary.

Common Use Cases and Queries

Typical uses include diagnosing cure refund processing, reconciling offset amounts owed to suppliers, and tracing refund statuses for a contract or vendor. Because Oracle discourages production reliance on this view, queries should be confined to support and development contexts.

A basic retrieval follows the documented query text:

  • SELECT CURE_REFUND_STAGE_ID, CHR_ID, CONTRACT_NUMBER, VENDOR_NAME, CURRENCY_CODE, RECEIVED_AMOUNT, OFFSET_AMOUNT, DISBURSEMENT_AMOUNT, REFUND_STATUS FROM APPS.OKL_CURE_RFND_DTLS_UV;

For refunds by contract, filter on the contract identifier or number:

  • SELECT CONTRACT_NUMBER, OFFSET_CONTRACT_NUMBER, CURRENCY_CODE, OFFSET_AMOUNT, REFUND_STATUS FROM APPS.OKL_CURE_RFND_DTLS_UV WHERE CHR_ID = :p_chr_id;

For vendor-level reconciliation of outstanding refunds, aggregate by vendor and currency:

  • SELECT VENDOR_ID, VENDOR_NAME, CURRENCY_CODE, SUM(OFFSET_AMOUNT) TOTAL_REFUND FROM APPS.OKL_CURE_RFND_DTLS_UV GROUP BY VENDOR_ID, VENDOR_NAME, CURRENCY_CODE;

Status filtering typically relies on the STATUS or REFUND_STATUS columns, whose coded values resolve through FND_LOOKUPS. Given the warning attached to this view, any production-grade reporting should instead target the underlying OKL_CURE_REFUNDS, OKL_CURE_REFUND_HEADERS_B, and OKC_K_HEADERS_B tables directly, or use supported OLFM public APIs.