Search Results okl_bpd_ap_invoice_uv
Overview
OKL_BPD_AP_INVOICE_UV is a read-only database view owned by the APPS schema in Oracle E-Business Suite, defined within the OKL (Lease and Finance Management) product. Its documented purpose is to display Payable Invoice details in the View Transactions Search screen. In functional terms, it presents a unified, denormalized projection of consolidated Oracle Payables invoice data as it relates to lease and finance contracts, exposing supplier invoice header attributes alongside contract-level identifiers such as the contract number, contract header ID, and product ID.
The view plays a reporting role rather than a transactional one. It contains no DML logic and exists to support query-driven screens and integration extracts that need to associate AP invoice records with the originating lease contract and transaction. Because it joins Payables invoice data to OKL transaction invoice structures, it is most relevant to reconciliation, audit, and inquiry scenarios where a user or process must trace a payable invoice back to its lease contract context.
Underlying Base Objects
The view is defined over eight referenced objects, all accessed through APPS synonyms: AP_INVOICES_ALL, AP_INVOICES_PKG, FND_APPLICATION, OKC_K_HEADERS_B, OKL_CNSLD_AP_INVS_ALL, OKL_K_HEADERS, OKL_TRX_AP_INVOICES_B, and OKL_TXL_AP_INV_LNS_B. The core driver is OKL_CNSLD_AP_INVS_ALL (aliased CIN), which links to AP_INVOICES_ALL (INV) through REFERENCE_KEY1. Invoice transaction lines reside in OKL_TXL_AP_INV_LNS_B (TPL), which supplies the KHR_ID and TAP_ID used to reach the contract header (OKC_K_HEADERS_B, OKL_K_HEADERS) and the lease transaction invoice (OKL_TRX_AP_INVOICES_B). FND_APPLICATION constrains rows to the OKL application, and AP_INVOICES_PKG.GET_APPROVAL_STATUS is invoked as a scalar function to derive the transaction status. The view aggregates line amounts via SUM(TPL.AMOUNT) against the KHR_ID and therefore carries a GROUP BY across invoice header, contract, and transaction identifiers.
Key Columns
- INVOICE_ID / INVOICE_NUM / INVOICE_DATE: Primary Payables invoice identifiers from AP_INVOICES_ALL.
- DESCRIPTION, INVOICE_AMOUNT, INVOICE_CURRENCY_CODE, INVOICE_TYPE_LOOKUP_CODE, SET_OF_BOOKS_ID: Standard invoice header attributes, including amount, currency, invoice type, and ledger.
- PAYMENT_STATUS_FLAG: Payables payment status indicator, also consumed by the approval status function.
- TRANSACTION_STATUS: Derived via AP_INVOICES_PKG.GET_APPROVAL_STATUS using invoice ID, amount, payment status flag, and type. This is a computed, non-persisted value.
- KHR_LINE_AMOUNT: Aggregated sum of transaction line amounts (SUM(TPL.AMOUNT)) for the KHR_ID.
- KHR_ID, CONTRACT_NUMBER, PDT_ID: Lease contract header identifier, human-readable contract number, and product identifier.
- TRY_ID: Transaction invoice identifier from OKL_TRX_AP_INVOICES_B.
- ORG_ID: Operating unit derived from the KHR authoring organization.
- CNSLD_AP_INV_ID: Consolidated AP invoice reference exposed as INV.REFERENCE_KEY1.
Common Use Cases and Queries
Typical use cases include contract-to-invoice reconciliation, payable inquiry from the View Transactions screen, and audit tracing of lease transaction invoices. A representative query lists invoices for a given contract:
SELECT invoice_num, invoice_date, contract_number, khr_line_amount, invoice_amount, transaction_status FROM apps.okl_bpd_ap_invoice_uv WHERE contract_number = :contract_number;SELECT invoice_num, transaction_status, payment_status_flag, invoice_currency_code FROM apps.okl_bpd_ap_invoice_uv WHERE invoice_id = :invoice_id;- Aggregation by contract for reconciliation:
SELECT contract_number, SUM(invoice_amount) total_invoiced FROM apps.okl_bpd_ap_invoice_uv GROUP BY contract_number;
Because TRANSACTION_STATUS is computed at query time through AP_INVOICES_PKG, queries returning large result sets may incur additional processing overhead. Filtering by contract, invoice, or organization is recommended to limit the rows fetched.
-
View: OKL_BPD_AP_INVOICE_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_BPD_AP_INVOICE_UV, object_name:OKL_BPD_AP_INVOICE_UV, status:VALID, product: OKL - Lease and Finance Management , description: View to display Payable Invoice details in the View Transactions Search screen. , implementation_dba_data: APPS.OKL_BPD_AP_INVOICE_UV ,
-
View: OKL_BPD_AP_INVOICE_UV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_BPD_AP_INVOICE_UV, object_name:OKL_BPD_AP_INVOICE_UV, status:VALID, product: OKL - Leasing and Finance Management , description: View to display Payable Invoice details in the View Transactions Search screen. , implementation_dba_data: APPS.OKL_BPD_AP_INVOICE_UV ,
-
SYNONYM: APPS.OKL_CNSLD_AP_INVS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKL_CNSLD_AP_INVS_ALL, status:VALID,
-
SYNONYM: APPS.OKL_TXL_AP_INV_LNS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKL_TXL_AP_INV_LNS_B, status:VALID,
-
SYNONYM: APPS.OKL_CNSLD_AP_INVS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKL_CNSLD_AP_INVS_ALL, status:VALID,
-
SYNONYM: APPS.OKL_TXL_AP_INV_LNS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKL_TXL_AP_INV_LNS_B, status:VALID,
-
SYNONYM: APPS.OKL_TRX_AP_INVOICES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKL_TRX_AP_INVOICES_B, status:VALID,
-
PACKAGE: APPS.AP_INVOICES_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AP_INVOICES_PKG, status:VALID,
-
SYNONYM: APPS.OKL_TRX_AP_INVOICES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKL_TRX_AP_INVOICES_B, status:VALID,
-
PACKAGE: APPS.AP_INVOICES_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AP_INVOICES_PKG, status:VALID,
-
VIEW: APPS.OKL_BPD_AP_INVOICE_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_BPD_AP_INVOICE_UV, object_name:OKL_BPD_AP_INVOICE_UV, status:VALID,
-
VIEW: APPS.OKL_BPD_AP_INVOICE_UV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_BPD_AP_INVOICE_UV, object_name:OKL_BPD_AP_INVOICE_UV, status:VALID,
-
VIEW: APPS.OKL_TRX_HEADER_UV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_TRX_HEADER_UV, object_name:OKL_TRX_HEADER_UV, status:VALID,
-
VIEW: APPS.OKL_TRX_HEADER_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_TRX_HEADER_UV, object_name:OKL_TRX_HEADER_UV, status:VALID,
-
SYNONYM: APPS.OKL_K_HEADERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKL_K_HEADERS, status:VALID,
-
View: OKL_TRX_HEADER_UV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_TRX_HEADER_UV, object_name:OKL_TRX_HEADER_UV, status:VALID, product: OKL - Leasing and Finance Management , implementation_dba_data: APPS.OKL_TRX_HEADER_UV ,
-
View: OKL_TRX_HEADER_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_TRX_HEADER_UV, object_name:OKL_TRX_HEADER_UV, status:VALID, product: OKL - Lease and Finance Management , implementation_dba_data: APPS.OKL_TRX_HEADER_UV ,
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.OKL_K_HEADERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKL_K_HEADERS, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
VIEW: APPS.OKL_TRX_HEADER_UV
12.1.1
-
SYNONYM: APPS.AP_INVOICES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICES_ALL, status:VALID,
-
VIEW: APPS.OKL_TRX_HEADER_UV
12.2.2
-
SYNONYM: APPS.AP_INVOICES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICES_ALL, status:VALID,
-
SYNONYM: APPS.OKC_K_HEADERS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_HEADERS_B, status:VALID,
-
SYNONYM: APPS.OKC_K_HEADERS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_K_HEADERS_B, status:VALID,
-
SYNONYM: APPS.FND_APPLICATION
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_APPLICATION, status:VALID,
-
SYNONYM: APPS.FND_APPLICATION
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_APPLICATION, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
eTRM - OKL Tables and Views
12.2.2
description: Translatable columns from OKL_XTL_SELL_INVS_B, per MLS standards ,
-
12.1.1 DBA Data
12.1.1
-
eTRM - OKL Tables and Views
12.1.1
description: Translatable columns from OKL_XTL_SELL_INVS_B, per MLS standards ,
-
eTRM - OKL Tables and Views
12.1.1
description: Translatable columns from OKL_XTL_SELL_INVS_B, per MLS standards ,
-
eTRM - OKL Tables and Views
12.2.2
description: Translatable columns from OKL_XTL_SELL_INVS_B, per MLS standards ,