Skip to the content.

XLA Entity ID Mappings – Oracle EBS SQL Report

Oracle E-Business Suite SQL report from the Enginatics Library powered by Blitz Report™.

Overview

Shows the column link between table xla_transaction_entities and subledger source tables such as and AP invoice_id or AR customer_trx_id, used when writing queries linking GL to subledger such as the GL Account Analysis report www.enginatics.com/reports/gl-account-analysis/

Report Parameters

Oracle EBS Tables Used

xla_entity_id_mappings, fnd_application_vl

Report Categories

Enginatics, R12 only

AP Invoices and Lines, GL Account Analysis, CAC OPM WIP Account Value

Running This SQL Without Blitz Report

Some Oracle EBS SQL reports in this library require functions from the utility package xxen_util. Install it before running the SQL directly against your Oracle EBS database.

Download & Import Options

Resource Link
Excel Example Output XLA Entity ID Mappings 18-Feb-2026 015632.xlsx
Blitz Report™ XML Import XLA_Entity_ID_Mappings.xml
Full SQL on Enginatics www.enginatics.com/reports/xla-entity-id-mappings/

Case Study & Technical Analysis: XLA Entity ID Mappings Report

Executive Summary

The XLA Entity ID Mappings report is a crucial technical reference and debugging tool for Oracle Subledger Accounting (SLA). It provides a detailed listing of how the generic source_id_int_N columns in SLA tables (xla_transaction_entities) map to the primary key columns of various original subledger source tables (e.g., Accounts Payable invoices, Accounts Receivable transactions). This report is indispensable for technical consultants, developers, and advanced functional analysts to understand the complex linkages between General Ledger entries and their originating subledger transactions, debug accounting flows, and build custom reports that trace financial data from the GL back to its source.

Business Challenge

Oracle Subledger Accounting (SLA) is designed to create a flexible bridge between subledger transactions and the General Ledger. However, understanding the technical data model, particularly how transactions are linked across modules, can be a significant challenge:

The Solution

This report offers a powerful, consolidated, and transparent solution for deciphering SLA entity ID mappings, bringing clarity to complex financial data flows.

Technical Architecture (High Level)

The report queries core Oracle Subledger Accounting (XLA) and FND tables that store entity ID mapping definitions.

Parameters & Filtering

No Explicit Parameters: The README.md indicates no specific parameters for this report. This implies that, by design, it provides a comprehensive dump of all configured XLA entity ID mappings across all applications and entity types within the system. This is advantageous for a complete, unfiltered technical reference.

Performance & Optimization

As a configuration and meta-data report, it is highly optimized for efficient retrieval of setup data.

FAQ

1. What is the main purpose of xla_entity_id_mappings? Its main purpose is to define the technical blueprint for how Oracle’s Subledger Accounting (SLA) module links its generic source_id_int_N columns (which contain primary keys from subledger transactions) to the actual, specific primary key columns in the original subledger tables. This mapping is crucial for tracing transactions through SLA.

2. How does this report help when creating custom GL Account Analysis reports? When you want to drill down from a GL account balance to the original subledger transaction (e.g., an AP invoice number), you need to join through SLA. This report tells you precisely which columns in xla_distribution_links or xla_transaction_entities map to the primary keys of your desired subledger tables, providing the exact join conditions needed for your custom queries.

3. Is it possible for different subledgers to use the same source_id_int_N column for different purposes? Yes. The meaning of source_id_int_1 (or 2, 3, etc.) is dependent on the application_id and entity_code. This is precisely why xla_entity_id_mappings exists – to provide this context-sensitive mapping. For example, source_id_int_1 might map to AP_INVOICE_ID for Payables transactions but to CUSTOMER_TRX_ID for Receivables transactions.


© 2026 Enginatics