Search Results okl_ae_headers




Overview

The OKL_AE_HEADERS table is a core data object within the Oracle E-Business Suite (EBS) Leasing and Finance Management (OKL) module. It serves as the header record for accounting entries generated by the system's transaction processing. This table functions as the primary container for high-level metadata that groups together individual accounting line items (stored in OKL_AE_LINES), ensuring the integrity and traceability of the complete accounting entry. Its existence is critical for the period-end close, financial reporting, and audit trails within the leasing and finance business flows, as it links detailed transactional accounting to the originating business event.

Key Information Stored

While the provided ETRM metadata does not list specific columns beyond the primary and foreign keys, the table's purpose and relationships define its essential data structure. The central column is AE_HEADER_ID, a unique system-generated identifier serving as the primary key. A critically important foreign key is ACCOUNTING_EVENT_ID, which links the accounting entry header back to its source transaction in the OKL_ACCOUNTING_EVENTS table. This relationship is fundamental for tracing accounting entries to specific lease contracts, invoices, or adjustments. Other typical columns in such a header table would include status flags, creation dates, the ledger or set of books ID, and identifiers for the journal batch and source that ultimately post to the general ledger.

Common Use Cases and Queries

This table is primarily queried for accounting reconciliation and troubleshooting. A common use case is investigating the accounting generated for a specific lease contract event. The following sample SQL pattern demonstrates tracing from an accounting event to its header and associated lines:

  • Identifying Accounting Entries for an Event: SELECT oah.* FROM okl_ae_headers oah WHERE oah.accounting_event_id = <EVENT_ID>;
  • Joining to View Complete Journal Details: SELECT oah.ae_header_id, oal.accounting_line_code, oal.amount FROM okl_ae_headers oah, okl_ae_lines oal WHERE oah.ae_header_id = oal.ae_header_id AND oah.accounting_event_id = <EVENT_ID>;

These queries support month-end close processes, audit requests for evidencing journal entry creation, and resolving discrepancies between subledger (OKL) and general ledger balances.

Related Objects

The OKL_AE_HEADERS table sits at the center of a key relationship chain within the OKL accounting architecture. It has a direct foreign key dependency on the OKL_ACCOUNTING_EVENTS table, which captures the business event triggering the accounting. Most importantly, it is the parent table for the OKL_AE_LINES table, which holds the detailed debit and credit line items (amounts, accounts, etc.) for the journal entry. This header-line relationship (OKL_AE_HEADERS -> OKL_AE_LINES) is a standard accounting subledger pattern in Oracle EBS. Consequently, any reporting or interface that extracts complete journal entries will join these three core tables.