Search Results okl_cure_refund_stage




Overview

The OKL_CURE_REFUND_STAGE table resides in the OKL schema (Oracle Leasing and Finance Management) and functions as a staging area for cured contracts that require refund processing. Within the ETRM 12.1.1 / 12.2.2 data model, it acts as an intermediate holding table where contract cure events are captured before refunds are formally generated and posted through downstream processes. The object carries a VALID status in the data dictionary and is classified heuristically as standalone in the Data Vault model, meaning it does not behave as a classic hub-and-satellite structure; it is best modeled as an independent staging entity rather than a conformed dimension or link. This standalone classification reflects its transient, process-oriented role: records are populated, evaluated, and subsequently consumed to produce records in the refund transaction tables.

Key Information Stored

The table is defined with 32 columns. The most significant include:

No columns beyond CURE_REFUND_STAGE_ID are documented as business-key candidates; the unique index duplicates the primary key column.

Common Use Cases and Queries

Typical usage centers on identifying, validating, and reconciling cure refunds pending downstream processing. A common pattern filters staged records by status and amount variance:

  • Listing all staged refunds awaiting consumption: SELECT * FROM OKL_CURE_REFUND_STAGE WHERE STATUS = :status;
  • Detecting negotiation versus receipt discrepancies: SELECT CURE_REFUND_STAGE_ID, NEGOTIATED_AMOUNT, RECEIVED_AMOUNT FROM OKL_CURE_REFUND_STAGE WHERE NEGOTIATED_AMOUNT <> RECEIVED_AMOUNT;
  • Tracing the originating concurrent program: SELECT CURE_REFUND_STAGE_ID, REQUEST_ID, PROGRAM_ID, PROGRAM_UPDATE_DATE FROM OKL_CURE_REFUND_STAGE;
  • Supplier-level reporting: filter by VENDOR_ID to aggregate refund exposure.

Reporting extractors frequently join the staging row to its generated refund in OKL_CURE_REFUNDS_ALL using CURE_REFUND_STAGE_ID to confirm successful transfer and to measure aging between staging and posting.

Related Objects

  • OKL_CURE_REFUNDS_ALL — the principal dependent table; it references OKL_CURE_REFUND_STAGE via CURE_REFUND_STAGE_ID, so every staged record ultimately maps to one or more refund rows. Joining on this column reconciles staging to final refund.
  • OKL_CURE_REFUND_STAGE_PK — the primary key constraint on CURE_REFUND_STAGE_ID, critical for direct lookups.
  • OKL_CURE_REFUND_STAGE_U1 — unique index on CURE_REFUND_STAGE_ID, reinforcing single-row retrieval performance.
  • Concurrent program and request tables referenced through REQUEST_ID, PROGRAM_APPLICATION_ID, and PROGRAM_ID for process lineage.
  • Contract/header entities implied by CHR_ID, used to relate the cure event back to the underlying lease.

Because the metadata classifies the table as standalone with a single outward-referenced relationship, the primary integration surface is OKL_CURE_REFUNDS_ALL; other joins are driven through the request and contract reference columns rather than formal foreign keys.