Results for “okl_streams”

50+ results




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

Overview

OKL_STREAMS is a core transaction table within the Oracle Leasing and Finance Management (OKL) module of Oracle E-Business Suite, valid in both 12.1.1 and 12.2.2. The table holds the payment header details for lease and finance contracts, functioning as the orchestrating header record for a stream of scheduled payment, billing, or cash-flow activity. Each row represents one payment stream attached to a contract, and the table ties together the contract header, the contract line, and the stream type definition that governs how the stream behaves.

The ETRM documentation classifies this table by heuristic as satellite-leaning within a Data Vault model. This is consistent with its structure: OKL_STREAMS carries descriptive and state attributes (dates, status codes, source tracking, audit columns) around a business key, rather than serving as a pure hub of business entities or a pure link between hubs. The uniqueness constraint OKL_STM_U3, composed of STY_ID, KHR_ID, TRANSACTION_NUMBER, and KLE_ID, reinforces that the table describes one stream per contract/line/type/transaction combination.

Key Information Stored

The table contains 28 documented columns. The most significant are:

The surrogate key ID is distinct from the business-key candidate captured by OKL_STM_U1 (ID) and the composite OKL_STM_U3 (STY_ID, KHR_ID, TRANSACTION_NUMBER, KLE_ID); the latter is the true business identifier for a stream.

Common Use Cases and Queries

Typical usage centers on reconstructing a contract's payment schedule, reporting active streams by type, and reconciling streams to their contract header and line. A common reporting query joins OKL_STREAMS to OKL_K_HEADERS and OKL_STRM_TYPE_B:

SELECT s.ID, s.TRANSACTION_NUMBER, s.SGN_CODE, s.ACTIVE_YN, t.STY_CODE, h.CONTRACT_NUMBER FROM OKL.OKL_STREAMS s, OKL.OKL_K_HEADERS h, OKL.OKL_STRM_TYPE_B t WHERE s.KHR_ID = h.ID AND s.STY_ID = t.ID AND s.ACTIVE_YN = 'Y';

Analysts also filter by DATE_CURRENT or DATE_WORKING to isolate the currently effective schedule, and use SOURCE_TABLE/SOURCE_ID/TRX_ID to trace streams back to their originating transaction. Because OKL_POOL_CONTENTS and OKL_STRM_ELEMENTS reference STM_ID, streams frequently act as the anchor for pool participation and element-level detail reporting.

Related Objects

  • OKL_K_HEADERS — joined on OKL_STREAMS.KHR_ID = OKL_K_HEADERS.ID; the parent contract header.
  • OKL_K_LINES — joined on OKL_STREAMS.KLE_ID = OKL_K_LINES.ID; the contract line.
  • OKL_STRM_TYPE_B — joined on OKL_STREAMS.STY_ID = OKL_STRM_TYPE_B.ID; the stream type definition.
  • OKL_STRM_ELEMENTS — child table referencing OKL_STRM_ELEMENTS.STM_ID = OKL_STREAMS.ID; holds stream element detail.
  • OKL_POOL_CONTENTS — child table referencing OKL_POOL_CONTENTS.STM_ID = OKL_STREAMS.ID; links streams to pools.

These relationships confirm OKL_STREAMS as the central payment-header hub for contract-level stream data within the OKL module.