Search Results set_segment
Overview
XLA_AE_LINES_PKG is the core PL/SQL package within the Oracle E-Business Suite Subledger Accounting (SLA) engine that manages the creation, population, and maintenance of accounting entry lines stored in XLA_AE_LINES. In Oracle EBS 12.1.1 and 12.2.2, this package serves as the primary programmatic interface through which the Accounting Program (XLAACCPR) and the Create Accounting concurrent process build journal line records for every subledger transaction processed by the accounting engine. The package is owned by APPS and is classified as OTHER in the ETRM repository, with the source header reflecting a long evolutionary history spanning 2002 through 2008, including support for bulk processing, analytical criteria, accounting reversal, and account derivation rules.
The package encapsulates logic for line initialization, account derivation, line numbering, and the association of accounting attributes such as accounting class, line type, and analytical criteria. It also supports reversal processing and the restructuring of accounting lines during the accounting engine run.
Key Procedures and Functions
The package exposes 39 documented procedures and functions. Those relevant to the "set_segment" search and the broader line-construction workflow include:
- SET_SEGMENT — Assigns a specific accounting flexfield segment value to a target segment of the accounting line's code combination, supporting segment-level population during account derivation.
- SET_CCID — Sets the full code combination identifier on the accounting line.
- SETLINEDESCRIPTION — Populates the descriptive text associated with the accounting line.
- SETACCTLINETYPE, SETACCTLINEOPTION, SETACCTCLASS — Set the accounting line type, line option, and accounting class attributes used to categorize the entry.
- SETANALYTICALCRITERIA — Applies analytical criteria used for reporting and drill-down.
- SETLINENUM — Assigns line numbers within a journal entry.
- SETLINEACCTATTRS, SETACCTREVERSALATTRS — Populate accounting attributes and reversal-related attributes.
- SETREVACCOUNTINGSOURCE — Flags the source used when generating reversal entries.
- INSERTLINES — Inserts the assembled accounting line records into XLA_AE_LINES.
- INITLINES, SETNEWLINE, SETNULLLINE, SETEXTRACTLINE — Manage the lifecycle of individual line records.
- VALIDATECURRENTLINE, REFRESHLINES, SET_AE_HEADER_ID, ACCOUNTINGREVERSAL — Validate lines, refresh derived contents, link lines to their header, and execute reversal logic.
Tables Accessed
The package reads and writes a defined set of SLA and GL tables through APPS synonyms. XLA_AE_LINES, XLA_AE_LINES_GT, XLA_AE_HEADERS, and XLA_AE_HEADERS_GT are the primary targets for header and line persistence, including the global temporary staging tables used during the bulk accounting run. GL_CODE_COMBINATIONS and GL_LEDGERS, GL_LEDGER_RELATIONSHIPS, and GL_PERIOD_STATUSES provide code combination validation and ledger/period context. XLA_AE_LINE_ACS stores analytical criteria assignments, while XLA_DISTRIBUTION_LINKS, XLA_EVENTS, XLA_EVENTS_GT, XLA_TRANSACTION_ACCTS_GT, and XLA_TRANSACTION_ENTITIES supply the source transaction and event data from which accounting lines are derived. FND_CURRENCIES supplies currency conversion context.
Usage Notes
XLA_AE_LINES_PKG is invoked almost exclusively by the SLA accounting engine, not by end users. It is called during execution of the Create Accounting and Create Accounting – Online concurrent programs and is referenced by 51 other packages in the EBS codebase. The package is not exposed through application forms; customization is generally directed at Account Derivation Rules and the Call SLA APIs rather than direct calls to this internal package. Oracle recommends that customers avoid direct invocation, since the package's interface and behavior are subject to change between patch levels, as evidenced by the extensive bug-fix history recorded in the package header.
-
PACKAGE: APPS.XLA_AE_LINES_PKG
12.1.1
-
PACKAGE: APPS.XLA_AE_LINES_PKG
12.2.2
-
PACKAGE BODY: APPS.XLA_AE_LINES_PKG
12.1.1
-
APPS.XLA_AE_LINES_PKG dependencies on XLA_AE_LINES_PKG
12.1.1
-
APPS.XLA_AE_LINES_PKG dependencies on XLA_AE_LINES_PKG
12.2.2
-
PACKAGE BODY: APPS.XLA_AE_LINES_PKG
12.2.2
-
APPS.XLA_AE_LINES_PKG dependencies on XLA_EXCEPTIONS_PKG
12.1.1
-
APPS.XLA_AE_LINES_PKG dependencies on XLA_EXCEPTIONS_PKG
12.2.2
-
APPS.XLA_AE_LINES_PKG SQL Statements
12.2.2
-
APPS.XLA_AE_LINES_PKG SQL Statements
12.1.1
-
APPS.XLA_AE_LINES_PKG dependencies on XLA_AE_LINES
12.1.1
-
APPS.XLA_AE_LINES_PKG dependencies on XLA_AE_LINES
12.2.2