Search Results term_quote_number




Overview

OKL_RCPT_INVOICE_LINES_UV is a reporting view owned by the APPS schema in Oracle E-Business Suite, delivered as part of the OKL – Leasing and Finance Management module. Its purpose, as documented in the ETRM metadata, is to fetch the open invoice lines for a contract, an investor agreement, a termination quote, or non-OKL invoices. In practice the view acts as a consolidated receivables line source, joining standard Oracle Receivables transaction tables (RA_CUSTOMER_TRX_ALL, RA_CUSTOMER_TRX_LINES_ALL, AR_PAYMENT_SCHEDULES_ALL) to leasing-specific transaction tables so that invoice lines raised against leased assets, contracts, and quotes can be reported together with their outstanding balances.

The suffix "_UV" indicates a user-facing or "user view" object, typically consumed by Oracle Leasing forms, concurrent programs, and customer-facing inquiries rather than by direct transactional processing. Because it exposes both original and remaining amounts at the line level, it is frequently the starting point for receipt application, aging, and collections reporting within the leasing module. Users who search for RA_CUSTOMER_TRX_LINES_ALL while investigating leasing invoice balances are commonly routed to this view, since it wraps that base table and enriches it with leasing context.

Underlying Base Objects

The view is defined over the following documented base objects, each referenced through an APPS synonym: AR_PAYMENT_SCHEDULES_ALL, OKC_K_HEADERS_ALL_B, OKL_CNSLD_AR_HDRS_ALL_B, OKL_CNSLD_AR_LINES_B, OKL_CNSLD_AR_STRMS_B, OKL_STRM_TYPE_TL, OKL_TRX_AR_INVOICES_B, OKL_TRX_QUOTES_ALL_B, OKL_TXD_AR_LN_DTLS_B, OKL_TXL_AR_INV_LNS_B, RA_CUSTOMER_TRX_ALL, and RA_CUSTOMER_TRX_LINES_ALL.

The core join path links RA_CUSTOMER_TRX_ALL to RA_CUSTOMER_TRX_LINES_ALL on CUSTOMER_TRX_ID, and then to AR_PAYMENT_SCHEDULES_ALL to obtain due dates and terms sequencing. OKL-specific tables supply the leasing dimensions: OKC_K_HEADERS_ALL_B provides the contract number and KHR_ID; OKL_TXD_AR_LN_DTLS_B supplies the KLE_ID, STY_ID, and asset and stream identifiers carried on the receivables interface line attributes; OKL_TRX_QUOTES_ALL_B supplies termination quote identifiers and quote numbers; and OKL_TRX_AR_INVOICES_B with OKL_TXL_AR_INV_LNS_B and the consolidated AR tables (OKL_CNSLD_AR_HDRS_ALL_B, OKL_CNSLD_AR_LINES_B, OKL_CNSLD_AR_STRMS_B) provide the OKL invoice header and stream context used for grouping and investor agreement reporting. The view therefore bridges the AR subledger and the OKL leasing subledger, which is why it is a preferred integration point for leasing invoice extracts.

Key Columns

Common Use Cases and Queries

Typical uses include open-item aging for leased assets, reconciliation of AR invoice lines to leasing contracts, collection follow-up on termination quotes, and extraction of invoice lines for investor reporting. Because the view already computes remaining balances and tax balances, reports avoid re-deriving these amounts from RA_CUSTOMER_TRX_LINES_ALL.

A representative query retrieving open invoice lines for a contract is shown below.

  • SELECT invoice_number, invoice_line_number, contract_number, asset_number, currency_code, amount_due_remaining, line_balance, tax_balance FROM okl_rcpt_invoice_lines_uv WHERE contract_number = :p_contract AND amount_due_remaining > 0 ORDER BY invoice_date, invoice_line_number;
  • SELECT invoice_number, invoice_line_id, invoice_due_date, amount_due_original, amount_due_remaining FROM okl_rcpt_invoice_lines_uv WHERE org_id = :p_org_id AND term_quote_number IS NOT NULL ORDER BY invoice_due_date;

When extending such queries, filter on ORG_ID for multi-org security and on LINE_TYPE to separate principal lines from tax aggregates. Joining back to RA_CUSTOMER_TRX_LINES_ALL on INVOICE_LINE_ID allows drill-down to descriptive flexfield and line attribute detail not surfaced by the view itself.