Results for “okl_cure_refund_headers_v”

34 results




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

Overview

OKL_CURE_REFUND_HEADERS_V is an APPS-owned database view within the Oracle Lease and Finance Management (OKL) product module. Its documented purpose is to store refunds made to a vendor for cured contracts, presenting refund requests grouped by currency and by vendor or contract. In the context of Oracle EBS 12.1.1 and 12.2.2, this view serves as the reporting and integration access point for cured-contract refund header data. Because the underlying storage is split across a base table and a translation table, the view performs the join that reconstitutes a single logical refund header record, making it convenient for concurrent programs, forms, and external integrations to query refund information without managing the multi-table structure directly. A user searching for "refund_type" will find that column exposed here as REFUND_TYPE, one of the primary classification attributes of a refund header.

Underlying Base Objects

The view is defined over two documented base objects, both referenced through SYNONYM entries: OKL_CURE_REFUND_HEADERS_B, the base (non-translated) table, and OKL_CURE_REFUND_HEADERS_TL, the translation table. The join condition links the two on CURE_REFUND_HEADER_ID, matching the base table's primary key to the corresponding translation row. The base table (aliased CHDB) supplies nearly all functional, descriptive, and Who-column attributes, while the translation table (aliased CHDT) contributes the SFWT_FLAG and DESCRIPTION columns. This B/TL architecture follows Oracle's standard multilingual design, where language-dependent descriptive text is separated from language-independent transactional data. The view also carries ROW_ID derived from the base table ROWID and the standard object version number used for optimistic locking.

Key Columns

Common Use Cases and Queries

Typical uses include reporting outstanding refunds due to vendors on cured contracts, feeding payment reconciliation, and driving integrations that need refund header details grouped by vendor and currency. Analysts frequently filter by REFUND_TYPE and REFUND_STATUS to isolate categories such as negotiated or offset refunds. A representative query follows:

SELECT r.refund_header_number, r.refund_type, r.currency_code,
  r.total_refund_due, r.received_amount, r.offset_amount,
  r.refund_status, r.vendor_site_id, r.refund_due_date
FROM apps.okl_cure_refund_headers_v r
WHERE r.refund_type = :p_refund_type
  AND r.refund_status = 'OPEN'
ORDER BY r.vendor_site_id, r.currency_code;

Because the view already joins the translation table, description text is directly available without an additional language lookup, simplifying both ad-hoc reporting and inbound/outbound interface development.