Results for “okl_quote_status”

50+ results




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

Overview

The view APPS.OKL_AM_REPURCHASE_ASSET_HDR_UV is a user-facing ("_UV") reporting view within the Oracle E-Business Suite Lease and Finance Management (formerly Oracle Lease Management, OKL) module. It consolidates information about repurchase agreements tied to leased assets, joining quote data, contract header and line details, asset return records, and lookup-driven status descriptions into a single denormalized result set. In practice, the view answers the business question of how a repurchase quote relates to a specific contract, asset, and return agreement—including floor price, approval and acceptance flags, and current status.

The object is critical for the search term okl_quote_status because it resolves the raw quote status code (QST_CODE) into a human-readable meaning. This resolution is performed by an outer join to FND_LOOKUPS with lookup type OKL_QUOTE_STATUS, exposed in the view as the column STATUS. Reports and integrations that need a readable quote status for repurchase assets therefore rely on this view rather than decoding the lookup manually.

Underlying Base Objects

The view is defined over several documented base objects:

  • OKL_TRX_QUOTES_V – provides quote-level attributes such as quote identifier, quote number, effective dates, approval/acceptance flags, comments, and the quote status code.
  • OKL_ASSET_RETURNS_V – supplies repurchase agreement details including the agreement flag, floor price, asset line reference, and operating unit.
  • OKC_K_LINES_V – the contract line view supplying asset number, item description, and line status code; joined to the contract header via CHR_ID.
  • OKC_K_HEADERS_B – the contract header table providing contract number, end date, and the header identifier (KHR_ID).
  • FND_LOOKUPS – resolves the quote status code to its meaning via lookup type OKL_QUOTE_STATUS.
  • OKC_STATUSES_V – translates the contract line status code into a status meaning.
  • OKL_AM_UTIL_PVT – a PL/SQL package invoked to return the program partner for the contract header.
  • FND_GLOBAL – the standard EBS package providing session context, notably the operating unit for multi-org security.

The joins are predominantly outer joins on the quote-to-asset-return relationship and the lookup resolution, ensuring that assets or quotes lacking a matching status lookup are still returned.

Key Columns

Common Use Cases and Queries

Typical uses include repurchase agreement dashboards, quote status tracking, and asset-level portfolio reporting. A representative query filtering by quote status is:

  • SELECT quote_number, contract_number, asset_number, floor_price, status FROM apps.okl_am_repurchase_asset_hdr_uv WHERE status = 'Approved';
  • SELECT quote_number, asset_number, repurchase_agmt_yn, floor_price FROM apps.okl_am_repurchase_asset_hdr_uv WHERE org_id = :p_org_id;
  • SELECT contract_number, asset_description, accepted_yn, line_status FROM apps.okl_am_repurchase_asset_hdr_uv WHERE approved_yn = 'Y';

Because the view exposes multiple decoded statuses and multi-org attributes, it is well suited to both ad-hoc inquiry and integration extracts requiring a normalized repurchase-asset record.