Search Results xla_ae_lines_gt
Overview
XLA_AE_LINES_GT is a global temporary table in the Subledger Accounting (XLA) product schema. It is the staging area used by the Subledger Accounting Engine during the creation of accounting entries. When a subledger event is processed through the Create Accounting program, the engine first populates this table with candidate accounting lines before validating, rounding, and ultimately transferring the surviving rows into the permanent XLA_AE_LINES table. Because the contents are session-scoped, XLA_AE_LINES_GT is typically purged automatically on commit or at session termination, depending on the ON COMMIT clause of the corresponding temporary table definition.
The table holds 318 columns in the documented 12.2.2 physical schema, mirroring the structure of the permanent accounting-lines fact while carrying additional temporary identifiers. The heuristic Data Vault classification mined from the foreign-key structure is standalone; it should be treated as a staging structure rather than a conformed hub, link, or satellite, since it has no dependencies to conformed dimensions and is consumed only within the accounting program's runtime.
Key Information Stored
The business-key candidate documented by the unique index XLA_AE_LINES_GT_U1 is the composite of LEDGER_ID, REF_AE_HEADER_ID, TEMP_LINE_NUM, AE_HEADER_ID, HEADER_NUM, and EVENT_ID. There is no separate surrogate primary key exposed in the metadata; AE_LINE_NUM is the accounting-line identifier that becomes the stable key once the row is persisted to XLA_AE_LINES. The most operationally significant columns include:
- AE_HEADER_ID and AE_LINE_NUM — the header and line identifiers to which the staged line will belong.
- REF_AE_HEADER_ID, REF_EVENT_ID, REF_AE_LINE_NUM, and TEMP_LINE_NUM — reference keys linking the temporary row to its originating header, event, and line.
- LEDGER_ID and ENTITY_ID — the ledger and subledger entity context for the accounting entry.
- EVENT_ID, EVENT_CLASS_CODE, EVENT_TYPE_CODE, and ACCOUNTING_CLASS_CODE — identify the business event being accounted.
- CODE_COMBINATION_ID and SEGMENT1 through SEGMENT30 — the accounting flexfield combination and its exploded segments.
- ENTERED_DR, ENTERED_CR, ACCOUNTED_DR, ACCOUNTED_CR — the debit and credit amounts in entered and ledger currencies.
- CURRENCY_CODE, CURRENCY_CONVERSION_TYPE, CURRENCY_CONVERSION_DATE, and CURRENCY_CONVERSION_RATE — currency conversion attributes.
- ACCOUNTING_DATE and MULTIPERIOD_START_DATE / MULTIPERIOD_END_DATE — GL date and multiperiod allocation dates.
- ACCOUNTING_ENTRY_STATUS_CODE and REVERSAL_CODE — status and reversal indicators controlling downstream processing.
Common Use Cases and Queries
Because the table is populated only during the Create Accounting run for the current session, direct reporting against XLA_AE_LINES_GT from a separate session will often return no rows. It is most useful for debugging the accounting engine in the same session and for examining how amounts are derived before they reach the permanent tables. A typical diagnostic pattern joins the temporary lines back to the permanent header:
- Validate line counts: SELECT COUNT(*) FROM xla_ae_lines_gt WHERE ledger_id = :ledger AND event_id = :event.
- Inspect generated amounts: SELECT ae_line_num, entered_dr, entered_cre, accounted_dr, accounted_cr FROM xla_ae_lines_gt WHERE ae_header_id = :header.
- Compare against persisted lines: SELECT g.temp_line_num, g.code_combination_id, g.entered_dr, l.entered_dr FROM xla_ae_lines_gt g, xla_ae_lines l WHERE g.ae_header_id = l.ae_header_id AND g.ae_line_num = l.ae_line_num.
Common scenarios include troubleshooting unposted or suspended accounting, verifying currency conversion rates applied by the engine, and confirming that the rounding logic (UNROUNDED_ACCOUNTED_DR, DOC_ROUNDING_ACCTD_AMT) behaves as expected before the line is transferred to the final fact.
Related Objects
- XLA_AE_LINES — permanent accounting-lines table; receives the surviving rows from the temporary table.
- XLA_AE_HEADERS — accounting header joined through AE_HEADER_ID and REF_AE_HEADER_ID.
- XLA_EVENTS — event definitions linked through EVENT_ID.
- XLA_DISTRIBUTION_LINKS — source distribution mapping used to build the accounting lines.
- GL_ENCUMBRANCE_TYPES — referenced by the documented foreign key on ENCUMBRANCE_TYPE_ID.
- GL_CODE_COMBINATIONS — referenced indirectly through CODE_COMBINATION_ID and ALT_CODE_COMBINATION_ID.
- Create Accounting program (XLAACCCP / XLAACCUP concurrent requests) — the primary consumer that populates and reads this temporary table.
These relationships make XLA_AE_LINES_GT an internal staging construct rather than a query surface for end-user reporting; production reporting should target XLA_AE_LINES and XLA_AE_HEADERS instead.
-
Table: XLA_AE_LINES_GT
12.1.1
owner:XLA, object_type:TABLE, fnd_design_data:XLA.XLA_AE_LINES_GT, object_name:XLA_AE_LINES_GT, status:VALID, product: XLA - Subledger Accounting , implementation_dba_data: XLA.XLA_AE_LINES_GT ,
-
Table: XLA_AE_LINES_GT
12.2.2
owner:XLA, object_type:TABLE, fnd_design_data:XLA.XLA_AE_LINES_GT, object_name:XLA_AE_LINES_GT, status:VALID, product: XLA - Subledger Accounting , implementation_dba_data: XLA.XLA_AE_LINES_GT ,
-
SYNONYM: APPS.XLA_AE_LINES_GT
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_AE_LINES_GT, status:VALID,
-
SYNONYM: APPS.XLA_AE_LINES_GT
12.1.1
owner:APPS, object_type:SYNONYM, object_name:XLA_AE_LINES_GT, status:VALID,
-
APPS.XLA_AE_CODE_COMBINATION_PKG SQL Statements
12.1.1
-
APPS.XLA_AE_CODE_COMBINATION_PKG SQL Statements
12.2.2
-
VIEW: APPS.XLA_PSA_BC_LINES_V
12.1.1
-
VIEW: APPS.XLA_PSA_BC_LINES_V
12.2.2
-
VIEW: APPS.PSA_BC_ALLOC_V
12.2.2
-
VIEW: APPS.PSA_BC_ALLOC_V
12.1.1
-
APPS.XLA_AE_LINES_PKG SQL Statements
12.2.2
-
APPS.XLA_AE_LINES_PKG SQL Statements
12.1.1
-
PACKAGE BODY: APPS.XLA_AE_HEADER_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_AE_HEADER_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_AE_CODE_COMBINATION_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_AE_CODE_COMBINATION_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_AE_CODE_COMBINATION_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_AE_CODE_COMBINATION_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_ACCOUNTING_ENGINE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_ACCOUNTING_ENGINE_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_AE_HEADER_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_AE_HEADER_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_AE_JOURNAL_ENTRY_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_AE_JOURNAL_ENTRY_PKG, status:VALID,
-
PACKAGE: APPS.PSA_FUNDS_CHECKER_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PSA_FUNDS_CHECKER_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_ACCOUNTING_ENGINE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_ACCOUNTING_ENGINE_PKG, status:VALID,
-
PACKAGE: APPS.PSA_FUNDS_CHECKER_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PSA_FUNDS_CHECKER_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_AE_LINES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_AE_LINES_PKG, status:VALID,
-
APPS.XLA_THIRD_PARTY_MERGE SQL Statements
12.1.1
-
APPS.XLA_THIRD_PARTY_MERGE SQL Statements
12.2.2
-
PACKAGE BODY: APPS.XLA_AE_JOURNAL_ENTRY_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_AE_JOURNAL_ENTRY_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_AE_LINES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_AE_LINES_PKG, status:VALID,
-
PACKAGE BODY: APPS.CST_XLA_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CST_XLA_PVT, status:VALID,
-
PACKAGE BODY: APPS.PSA_UTILS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PSA_UTILS, status:VALID,
-
PACKAGE BODY: APPS.XLA_THIRD_PARTY_MERGE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_THIRD_PARTY_MERGE, status:VALID,
-
PACKAGE BODY: APPS.CST_XLA_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CST_XLA_PVT, status:VALID,
-
View: XLA_PSA_BC_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:XLA.XLA_PSA_BC_LINES_V, object_name:XLA_PSA_BC_LINES_V, status:VALID, product: XLA - Subledger Accounting , implementation_dba_data: APPS.XLA_PSA_BC_LINES_V ,
-
View: XLA_PSA_BC_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:XLA.XLA_PSA_BC_LINES_V, object_name:XLA_PSA_BC_LINES_V, status:VALID, product: XLA - Subledger Accounting , implementation_dba_data: APPS.XLA_PSA_BC_LINES_V ,
-
PACKAGE BODY: APPS.XLA_THIRD_PARTY_MERGE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_THIRD_PARTY_MERGE, status:VALID,
-
APPS.PSA_BC_XLA_PVT SQL Statements
12.1.1
-
PACKAGE BODY: APPS.PSA_BC_XLA_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PSA_BC_XLA_PVT, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
PACKAGE BODY: APPS.PSA_AP_BC_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PSA_AP_BC_PVT, status:VALID,
-
PACKAGE BODY: APPS.FV_UTILITY
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FV_UTILITY, status:VALID,
-
PACKAGE BODY: APPS.PSA_BC_XLA_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PSA_BC_XLA_PVT, status:VALID,
-
PACKAGE BODY: APPS.PSA_AP_BC_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PSA_AP_BC_PVT, status:VALID,
-
12.2.2 FND Design Data
12.2.2
-
PACKAGE BODY: APPS.PSA_FUNDS_CHECKER_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PSA_FUNDS_CHECKER_PKG, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.PSA_FUNDS_CHECKER_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PSA_FUNDS_CHECKER_PKG, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
APPS.XLA_AE_HEADER_PKG SQL Statements
12.1.1
-
APPS.XLA_AE_HEADER_PKG SQL Statements
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1