Search Results okl_trx_ap_invoices_b
Overview
The OKL_TRX_AP_INVOICES_B table is a core data repository within the Oracle Lease and Finance Management (OKL) module of Oracle E-Business Suite (EBS) versions 12.1.1 and 12.2.2. It serves as the central transactional table for all lease and finance management activities that result in the generation of accounts payable (AP) invoices. Its primary role is to record the financial obligations arising from various OKL transactions, such as asset purchases, vendor payments, and contract-related expenses, before these obligations are formally interfaced to the Oracle Payables module for processing and payment. The table's structure facilitates the integration of leasing operations with the broader financial accounting system.
Key Information Stored
While the specific column list is not detailed in the provided metadata, the documented foreign key relationships reveal the critical data entities linked to each payable invoice record. The table stores a unique identifier (ID) as its primary key. Each record is fundamentally associated with a lease or finance agreement via the KHR_ID, linking to the OKL_K_HEADERS table. It identifies the vendor (VENDOR_ID from PO_VENDORS) to be paid and the general ledger account (CODE_COMBINATION_ID from GL_CODE_COMBINATIONS) for accounting. The table also captures the transaction's context by linking to the originating transaction type (TRY_ID from OKL_TRX_TYPES_B), the specific contract transaction (TCN_ID from OKL_TRX_CONTRACTS), or a related quote (QTE_ID from OKL_TRX_QUOTES_B). Furthermore, it supports transactional integrity by storing references for reversals (TAP_ID_REVERSES, a self-referencing key) and links to related asset returns (ART_ID).
Common Use Cases and Queries
A primary use case is tracing the complete payable lifecycle for a lease contract. Analysts or support personnel often query this table to investigate why an expected vendor invoice was not created in Payables or to reconcile OKL transaction volumes with AP invoice batches. Common reporting needs include summarizing all pending payables generated by OKL for a specific vendor or during a specific accounting period. A sample query pattern would join OKL_TRX_AP_INVOICES_B to the lease header and vendor tables to create a payable invoice register:
- SELECT tap.id, khr.contract_number, pov.vendor_name, tap.creation_date FROM okl_trx_ap_invoices_b tap, okl_k_headers khr, po_vendors pov WHERE tap.khr_id = khr.id AND tap.vendor_id = pov.vendor_id(+) AND TRUNC(tap.creation_date) = :p_date;
Another critical scenario involves troubleshooting reversals or adjustments by querying records and their corresponding reversing entries using the self-referencing foreign key column TAP_ID_REVERSES.
Related Objects
The table is integral to the OKL data model, with numerous documented relationships. Key related objects, as per the provided foreign key metadata, include:
- OKL_K_HEADERS: The master lease/finance agreement, joined via OKL_TRX_AP_INVOICES_B.KHR_ID.
- PO_VENDORS: The supplier to be paid, joined via OKL_TRX_AP_INVOICES_B.VENDOR_ID.
- GL_CODE_COMBINATIONS: The accounting flexfield, joined via OKL_TRX_AP_INVOICES_B.CODE_COMBINATION_ID.
- OKL_TRX_CONTRACTS: The source contract transaction, joined via OKL_TRX_AP_INVOICES_B.TCN_ID.
- OKL_TRX_TYPES_B: The transaction type definition, joined via OKL_TRX_AP_INVOICES_B.TRY_ID.
- OKL_TXL_AP_INV_LNS_B: Child invoice lines reference the header via OKL_TXL_AP_INV_LNS_B.TAP_ID.
- OKL_TRX_AR_INVOICES_B: Related accounts receivable invoices may link via OKL_TRX_AR_INVOICES_B.TAP_ID.
- OKL_ASSET_RETURNS_B: Has a bidirectional relationship; it can be a source (ART_ID) or a destination (SECURITY_DEP_TRX_AP_ID) for payable invoice transactions.
-
Table: OKL_TRX_AP_INVOICES_B
12.1.1
product: OKL - Leasing and Finance Management , description: Collection of all OKL transaction which generate Payables invoices , implementation_dba_data: Not implemented in this database ,
-
Table: OKL_ASSET_RETURNS_B
12.1.1
product: OKL - Leasing and Finance Management , description: The transaction table for managing assets that are off lease after a contract termination or assets that have been identified as possible returns , implementation_dba_data: Not implemented in this database ,
-
Table: OKL_TRX_AP_INVOICES_TL
12.1.1
owner:OKL, object_type:TABLE, fnd_design_data:OKL.OKL_TRX_AP_INVOICES_TL, object_name:OKL_TRX_AP_INVOICES_TL, status:VALID, product: OKL - Leasing and Finance Management , description: Translatable columns from OKL_TRX_AP_INVOICES_B, per MLS standards , implementation_dba_data: OKL.OKL_TRX_AP_INVOICES_TL ,
-
Table: OKL_TXL_AP_INV_LNS_B
12.1.1
product: OKL - Leasing and Finance Management , description: Transaction lines to be included into Payables invoices , implementation_dba_data: Not implemented in this database ,
-
Table: OKL_TRX_AR_INVOICES_B
12.1.1
owner:OKL, object_type:TABLE, fnd_design_data:OKL.OKL_TRX_AR_INVOICES_B, object_name:OKL_TRX_AR_INVOICES_B, status:VALID, product: OKL - Leasing and Finance Management , description: Collection of all OKL transaction which generate Receivables invoices , implementation_dba_data: OKL.OKL_TRX_AR_INVOICES_B ,
-
View: OKL_CS_ALL_DISBURSEMENTS_UV
12.1.1
product: OKL - Leasing and Finance Management , implementation_dba_data: Not implemented in this database ,
-
Table: OKL_TRX_CONTRACTS
12.1.1
product: OKL - Leasing and Finance Management , description: Lease transactions header table , implementation_dba_data: Not implemented in this database ,
-
Table: OKL_TRX_QUOTES_B
12.1.1
product: OKL - Leasing and Finance Management , description: Termination, restructure or repurchase quotes , implementation_dba_data: Not implemented in this database ,
-
View: OKL_CS_DISBURSEMENTS_COUNT_UV
12.1.1
product: OKL - Leasing and Finance Management , implementation_dba_data: Not implemented in this database ,
-
View: OKL_FUND_ASSETS_LOV_UV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_FUND_ASSETS_LOV_UV, object_name:OKL_FUND_ASSETS_LOV_UV, status:VALID, product: OKL - Leasing and Finance Management , description: User Interface view for assets lov on funding page. , implementation_dba_data: APPS.OKL_FUND_ASSETS_LOV_UV ,
-
View: OKL_BPD_PAY_INVOICES_UV
12.1.1
product: OKL - Leasing and Finance Management , implementation_dba_data: Not implemented in this database ,
-
Table: OKL_TRX_TYPES_B
12.1.1
owner:OKL, object_type:TABLE, fnd_design_data:OKL.OKL_TRX_TYPES_B, object_name:OKL_TRX_TYPES_B, status:VALID, product: OKL - Leasing and Finance Management , description: Transaction types , implementation_dba_data: OKL.OKL_TRX_TYPES_B ,
-
Lookup Type: OKL_SOURCE_TABLE
12.1.1
product: OKL - Leasing and Finance Management , meaning: Source Table , description: Lease Source table to validate accounting process. ,
-
View: OKL_FUND_REQ_LINES_UV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_FUND_REQ_LINES_UV, object_name:OKL_FUND_REQ_LINES_UV, status:VALID, product: OKL - Leasing and Finance Management , description: User interface view for funding request lines , implementation_dba_data: APPS.OKL_FUND_REQ_LINES_UV ,
-
View: OKL_CS_DISBURSEMENTS_DTL_UV
12.1.1
product: OKL - Leasing and Finance Management , implementation_dba_data: Not implemented in this database ,
-
Table: OKL_K_HEADERS
12.1.1
owner:OKL, object_type:TABLE, fnd_design_data:OKL.OKL_K_HEADERS, object_name:OKL_K_HEADERS, status:VALID, product: OKL - Leasing and Finance Management , description: Oracle Lease Management shadow table for Oracle Contracts Core header tables, OKC_K_HEADERS_B and OKC_K_HEADERS_TL. OKL_K_HEADERS contains attributes that relate to contracts created in OKL and do not fit into the standard header tables O , implementation_dba_data: OKL.OKL_K_HEADERS ,
-
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 ,
-
View: OKL_TRX_AP_INVOICES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_TRX_AP_INVOICES_V, object_name:OKL_TRX_AP_INVOICES_V, status:VALID, product: OKL - Leasing and Finance Management , description: Collection of all OKL transaction which generate Payables invoices , implementation_dba_data: APPS.OKL_TRX_AP_INVOICES_V ,
-
View: OKL_FUND_REQ_HEADERS_UV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_FUND_REQ_HEADERS_UV, object_name:OKL_FUND_REQ_HEADERS_UV, status:VALID, product: OKL - Leasing and Finance Management , description: User interface view for funding request header. , implementation_dba_data: APPS.OKL_FUND_REQ_HEADERS_UV ,