Results for “accounting_entry_status_code”

10 results




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

Overview

XLA_AE_HEADERS_V is a reporting view owned by the APPS schema in Oracle E-Business Suite subledger accounting (XLA). It presents the header-level accounting entries generated by the Subledger Accounting engine, enriched with the legal entity identifier resolved from the transaction entity. Accounting event headers created by the Create Accounting process are stored in XLA_AE_HEADERS; the view joins this table to XLA_TRANSACTION_ENTITIES so that each accounting header row is returned together with its owning legal entity. Because legal entity is a critical partitioning attribute for subledger accounting data, the view is the standard interface through which reports, reconciliations, and integration extracts obtain accounting header information without having to perform the join explicitly.

The view retains the APPS owner and VALID status in both 12.1.1 and 12.2.2. Its column list follows the underlying base table almost completely, with LEGAL_ENTITY_ID sourced from the transaction entity table rather than the header.

Underlying Base Objects

Per the documented ETRM metadata, the view is defined over two referenced base objects, both exposed as synonyms in the APPS schema:

  • XLA_AE_HEADERS — the primary subledger accounting header table, aliased HR in the view text.
  • XLA_TRANSACTION_ENTITIES — the transaction entity table, aliased ET, supplying LEGAL_ENTITY_ID.

The view text joins the two on ET.ENTITY_ID = HR.ENTITY_ID. The accounting header carries the entity reference, and the transaction entity resolves it to the legal entity that owns the transaction. No aggregation or filtering is applied, so the view is effectively a one-to-one projection of XLA_AE_HEADERS with the legal entity attribute appended. Because it is a simple view over base tables, DML against it is generally not supported and should be directed to the underlying tables.

Key Columns

The view exposes the full set of accounting header attributes. Notable columns include:

Common Use Cases and Queries

The view is typically used to reconcile subledger accounting output to GL, to report accounting entries by legal entity or ledger, and to identify entries not yet transferred to GL.

Listing finalized accounting headers for a ledger:

SELECT ae_header_id, je_category_name, gl_date, period_name,
       accounting_entry_status_code, gl_transfer_status_code
FROM   apps.xla_ae_headers_v
WHERE  ledger_id = :ledger_id
AND    accounting_entry_status_code = 'F'
ORDER BY gl_date;

Finding entries pending transfer to General Ledger:

SELECT ae_header_id, application_id, ledger_id, legal_entity_id,
       gl_date, gl_transfer_status_code
FROM   apps.xla_ae_headers_v
WHERE  gl_transfer_status_code = 'N';

Reporting volume by legal entity and event type:

SELECT legal_entity_id, event_type_code, COUNT(*) headers
FROM   apps.xla_ae_headers_v
GROUP BY legal_entity_id, event_type_code;

Because the view already carries LEGAL_ENTITY_ID, these queries avoid an explicit join to XLA_TRANSACTION_ENTITIES and are the recommended access path for subledger accounting header reporting and integration extracts.