Search Results xla_acct_prog_seq_v
Overview
XLA_ACCT_PROG_SEQ_V is an APPS-owned view in the Oracle E-Business Suite Subledger Accounting (XLA) product. Its documented purpose is to assign completion-based sequence numbers to the journal entries generated during a run of an accounting program. In the Subledger Accounting architecture, the Create Accounting program generates accounting entries in XLA_AE_HEADERS and, when the "completion-based sequencing" option is enabled, assigns a sequential number to each completed journal entry. This view exposes the header-level attributes required to drive or report that assignment, joining the accounting headers to the set of events processed during the current run and to the subledger definition. Because it is a view rather than a table, it presents a normalized, run-scoped projection of accounting header data without persisting rows, making it suitable for both internal processing and reporting/integration queries that need the completion sequence context.
Underlying Base Objects
The view is defined over three documented base objects, all referenced through APPS synonyms:
- XLA_AE_HEADERS (ALIAS AEH) — the primary source of journal entry header information, supplying the accounting header identifier, ledger, balance type, journal category, event type, accounting date, completion date, and the completion accounting sequence assignment, version, and value columns.
- XLA_EVENTS_GT (ALIAS XEG) — a global temporary table holding the events being processed during the current accounting run; it scopes the view to the events of the active program execution and joins to headers on APPLICATION_ID and EVENT_ID.
- XLA_SUBLEDGERS (ALIAS XSL) — the subledger definition, joined on APPLICATION_ID to supply the journal entry source name (JE_SOURCE_NAME).
The join conditions require AEH.APPLICATION_ID = XEG.APPLICATION_ID, AEH.EVENT_ID = XEG.EVENT_ID, and XSL.APPLICATION_ID = XEG.APPLICATION_ID. The view also filters on NVL(AEH.ZERO_AMOUNT_FLAG, 'N') = 'N', excluding zero-amount headers from sequence consideration. Because XLA_EVENTS_GT is a global temporary table, the view returns data only for the session and run in which events have been populated.
Key Columns
- AE_HEADER_ID — unique identifier of the accounting entry header.
- LEDGER_ID / BALANCE_TYPE_CODE — the ledger and balance type (for example, primary or secondary) for the entry.
- JE_SOURCE_NAME / JE_CATEGORY_NAME / DOC_CATEGORY_CODE — journal source, journal category, and document category descriptors.
- EVENT_TYPE_CODE / ACCOUNTING_ENTRY_TYPE_CODE — the event type and accounting entry type classification.
- ACCOUNTING_DATE / COMPLETED_DATE — the accounting date and the date the entry was completed (listed as GL_DATE and COMPLETION_DATE in the documented column list).
- COMPLETION_ACCT_SEQ_ASSIGN_ID — identifier of the completion sequence assignment record.
- COMPLETION_ACCT_SEQ_VERSION_ID — version of the completion accounting sequence in use.
- COMPLETION_ACCT_SEQ_VALUE — the assigned completion-based sequence number for the journal entry.
- APPLICATION_ID — the subledger application identifier, used as the join key across all three sources and reflected as ACCOUNTING_EVENT_TYPE_CODE/ACCOUNTING_ENTRY_TYPE_CODE in the documented column listing.
Common Use Cases and Queries
Typical uses include verifying completion sequence assignment for a run, auditing which entries received which sequence values, and integrating sequence data into downstream reporting. The view is run-scoped: meaningful results require the accounting program session to have populated XLA_EVENTS_GT.
Example: retrieve completion sequence values for a ledger.
SELECT ae_header_id, ledger_id, je_source_name, je_category_name, completion_acct_seq_value FROM xla_acct_prog_seq_v WHERE ledger_id = :p_ledger_id ORDER BY completion_acct_seq_value;
Example: confirm sequence assignment coverage by subledger application.
SELECT application_id, COUNT(*) entries, MIN(completion_acct_seq_value) min_seq, MAX(completion_acct_seq_value) max_seq FROM xla_acct_prog_seq_v GROUP BY application_id;
Example: list completed entries with accounting and completion dates.
SELECT ae_header_id, accounting_date, completed_date, completion_acct_seq_assign_id FROM xla_acct_prog_seq_v WHERE completed_date IS NOT NULL ORDER BY completed_date;
Because zero-amount headers are excluded and the event set is limited to the active run, queries should not be treated as a complete historical archive of all accounting entries; for historical analysis, the base XLA_AE_HEADERS table remains the authoritative source.
-
View: XLA_ACCT_PROG_SEQ_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:XLA.XLA_ACCT_PROG_SEQ_V, object_name:XLA_ACCT_PROG_SEQ_V, status:VALID, product: XLA - Subledger Accounting , description: This view is used in assigning the completion based sequence numbers to the journal entries generated during a run of accounting program. , implementation_dba_data: APPS.XLA_ACCT_PROG_SEQ_V ,
-
View: XLA_ACCT_PROG_SEQ_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:XLA.XLA_ACCT_PROG_SEQ_V, object_name:XLA_ACCT_PROG_SEQ_V, status:VALID, product: XLA - Subledger Accounting , description: This view is used in assigning the completion based sequence numbers to the journal entries generated during a run of accounting program. , implementation_dba_data: APPS.XLA_ACCT_PROG_SEQ_V ,
-
PACKAGE BODY: APPS.FUN_SEQ_BATCH
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FUN_SEQ_BATCH, status:VALID,
-
PACKAGE BODY: APPS.FUN_SEQ_BATCH
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FUN_SEQ_BATCH, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 FND Design Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
APPS.FUN_SEQ_BATCH SQL Statements
12.2.2
-
APPS.FUN_SEQ_BATCH SQL Statements
12.1.1
-
12.1.1 FND Design Data
12.1.1
-
SYNONYM: APPS.XLA_SUBLEDGERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:XLA_SUBLEDGERS, status:VALID,
-
VIEW: APPS.XLA_ACCT_PROG_SEQ_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:XLA.XLA_ACCT_PROG_SEQ_V, object_name:XLA_ACCT_PROG_SEQ_V, status:VALID,
-
SYNONYM: APPS.XLA_SUBLEDGERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_SUBLEDGERS, status:VALID,
-
VIEW: APPS.XLA_ACCT_PROG_SEQ_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:XLA.XLA_ACCT_PROG_SEQ_V, object_name:XLA_ACCT_PROG_SEQ_V, status:VALID,
-
SYNONYM: APPS.XLA_EVENTS_GT
12.1.1
owner:APPS, object_type:SYNONYM, object_name:XLA_EVENTS_GT, status:VALID,
-
SYNONYM: APPS.XLA_EVENTS_GT
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_EVENTS_GT, status:VALID,
-
SYNONYM: APPS.XLA_AE_HEADERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:XLA_AE_HEADERS, status:VALID,
-
SYNONYM: APPS.XLA_AE_HEADERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_AE_HEADERS, status:VALID,
-
APPS.FUN_SEQ_BATCH dependencies on XLA_ACCT_PROG_SEQ_V
12.2.2
-
APPS.FUN_SEQ_BATCH dependencies on XLA_ACCT_PROG_SEQ_V
12.1.1
-
PACKAGE BODY: APPS.FUN_SEQ_BATCH
12.1.1
-
PACKAGE BODY: APPS.FUN_SEQ_BATCH
12.2.2
-
eTRM - XLA Tables and Views
12.1.1
-
eTRM - XLA Tables and Views
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - XLA Tables and Views
12.1.1
-
eTRM - XLA Tables and Views
12.2.2