Search Results xla_conditions
Overview
XLA_CONDITIONS is a Subledger Accounting (XLA) repository table in Oracle E-Business Suite 12.1.1 and 12.2.2 that persists the conditional logic used by the Subledger Accounting engine when deriving accounting lines, header attributes, and segment values. Each row defines a condition that the accounting program evaluates at runtime to determine whether a given accounting line type, account derivation rule detail, or description priority applies to a particular transaction. In this capacity the table forms part of the configuration layer that drives the Create Accounting process, sitting between the application accounting definitions defined by the user and the actual journal entries generated in the GL interface.
From a Data Vault modeling perspective, the metadata classifies this object heuristically as standalone. That classification is a modeling suggestion only: XLA_CONDITIONS functions primarily as a descriptive satellite of the accounting definition it qualifies, with foreign key dependencies outward to XLA_SEG_RULE_DETAILS and XLA_DESC_PRIORITIES rather than serving as a pure hub or link. The ZD_EDITION_NAME column indicates the table participates in the editioning framework used for upgrade and multi-edition support in Release 12.2.
Key Information Stored
The table contains 31 documented columns. The most operationally significant are:
- CONDITION_ID — surrogate primary key (XLA_CONDITIONS_PK) uniquely identifying each condition row.
- APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE — identify the owning application, entity, and event class that the condition is scoped to.
- ACCOUNTING_LINE_TYPE_CODE, ACCOUNTING_LINE_CODE — the accounting line type and line the condition applies to.
- SEGMENT_RULE_DETAIL_ID — foreign key to XLA_SEG_RULE_DETAILS, tying the condition to a specific segment derivation rule detail.
- DESCRIPTION_PRIO_ID — foreign key to XLA_DESC_PRIORITIES, linking the condition to a line description priority.
- SOURCE_APPLICATION_ID, SOURCE_TYPE_CODE, SOURCE_CODE, FLEXFIELD_SEGMENT_CODE — define the source side of the condition expression (the value being tested).
- VALUE_TYPE_CODE, VALUE_SOURCE_APPLICATION_ID, VALUE_SOURCE_TYPE_CODE, VALUE_SOURCE_CODE, VALUE_CONSTANT — define the comparison side of the expression.
- LINE_OPERATOR_CODE, LOGICAL_OPERATOR_CODE — the relational operator (equals, between, etc.) and the boolean connector to the next condition.
- BRACKET_LEFT_CODE, BRACKET_RIGHT_CODE, USER_SEQUENCE — parentheses grouping and ordering of the condition within the rule.
- AMB_CONTEXT_CODE — the application message/context qualifier.
- INDEPENDENT_VALUE_CONSTANT — supplies an independent literal value where applicable.
- CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN — standard auditing columns.
- ZD_EDITION_NAME — edition discriminator used by the 12.2 online patching architecture.
Two unique indexes document business-key candidates: XLA_CONDITIONS_U1 (CONDITION_ID, ZD_EDITION_NAME) and XLA_CONDITIONS_U2, the fuller natural key spanning APPLICATION_ID, ENTITY_CODE, EVENT_CLASS_CODE, AMB_CONTEXT_CODE, ACCOUNTING_LINE_TYPE_CODE, ACCOUNTING_LINE_CODE, SEGMENT_RULE_DETAIL_ID, DESCRIPTION_PRIO_ID, USER_SEQUENCE, and ZD_EDITION_NAME.
Common Use Cases and Queries
Typical use cases include auditing account derivation rule logic, troubleshooting why a segment value was not derived, migrating accounting definitions between environments, and building reporting on condition hierarchies.
- Locate all conditions for a segment rule:
SELECT CONDITION_ID, USER_SEQUENCE, SOURCE_CODE, LINE_OPERATOR_CODE, VALUE_CONSTANT FROM XLA.XLA_CONDITIONS WHERE SEGMENT_RULE_DETAIL_ID = :p_detail_id ORDER BY USER_SEQUENCE; - Retrieve conditions for a given entity and event class:
SELECT * FROM XLA.XLA_CONDITIONS WHERE APPLICATION_ID = :app AND ENTITY_CODE = :entity AND EVENT_CLASS_CODE = :eventclass; - Join to segment rule details to see which segment a condition feeds:
SELECT c.CONDITION_ID, d.SEGMENT_RULE_DETAIL_ID FROM XLA.XLA_CONDITIONS c, XLA.XLA_SEG_RULE_DETAILS d WHERE c.SEGMENT_RULE_DETAIL_ID = d.SEGMENT_RULE_DETAIL_ID; - Join to description priorities to review line description logic:
SELECT c.CONDITION_ID, p.DESCRIPTION_PRIO_ID FROM XLA.XLA_CONDITIONS c, XLA.XLA_DESC_PRIORITIES p WHERE c.DESCRIPTION_PRIO_ID = p.DESCRIPTION_PRIO_ID;
Related Objects
- XLA_SEG_RULE_DETAILS — referenced by SEGMENT_RULE_DETAIL_ID; the parent rule detail each condition qualifies.
- XLA_DESC_PRIORITIES — referenced by DESCRIPTION_PRIO_ID; governs line description selection.
- XLA_ACCOUNTING_LINES / XLA_AE_LINES — resulting accounting lines whose derivation depends on these conditions.
- XLA_EVENT_CLASSES / XLA_LINE_DEFINITIONS — define the event class and line context scoping each condition.
- XLA_ACCOUNTING_DEFINITIONS — the accounting definition layer that consumes the condition logic.
- XLA_CONDITIONS_TL (where present) — translated descriptions and text attributes.
Because these rows are configuration data (not transaction data), direct DML is not supported; use the Subledger Accounting setup pages or the supported APIs to create and maintain conditions.
-
Table: XLA_CONDITIONS
12.2.2
owner:XLA, object_type:TABLE, fnd_design_data:XLA.XLA_CONDITIONS, object_name:XLA_CONDITIONS, status:VALID, product: XLA - Subledger Accounting , description: The XLA_CONDITIONS table stores the conditions for an accounting line or header types, segment rules and descriptions. , implementation_dba_data: XLA.XLA_CONDITIONS ,
-
Table: XLA_CONDITIONS
12.1.1
owner:XLA, object_type:TABLE, fnd_design_data:XLA.XLA_CONDITIONS, object_name:XLA_CONDITIONS, status:VALID, product: XLA - Subledger Accounting , description: The XLA_CONDITIONS table stores the conditions for an accounting line or header types, segment rules and descriptions. , implementation_dba_data: XLA.XLA_CONDITIONS ,
-
APPS.XLA_CONDITIONS_PKG SQL Statements
12.2.2
-
APPS.XLA_CONDITIONS_PKG SQL Statements
12.1.1
-
VIEW: XLA.XLA_CONDITIONS#
12.2.2
owner:XLA, object_type:VIEW, object_name:XLA_CONDITIONS#, status:VALID,
-
APPS.XLA_CMP_CONDITION_PKG SQL Statements
12.2.2
-
TRIGGER: APPS.XLA_CONDITIONS+
12.2.2
owner:APPS, object_type:TRIGGER, object_name:XLA_CONDITIONS+, status:VALID,
-
PACKAGE BODY: APPS.XLA_CONDITIONS_PKG
12.1.1
-
PACKAGE BODY: APPS.XLA_CONDITIONS_PKG
12.2.2
-
APPS.XLA_CMP_CONDITION_PKG SQL Statements
12.1.1
-
TRIGGER: APPS.XLA_CONDITIONS+
12.2.2
-
SYNONYM: APPS.XLA_CONDITIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_CONDITIONS, status:VALID,
-
SYNONYM: APPS.XLA_CONDITIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:XLA_CONDITIONS, status:VALID,
-
APPS.XLA_TAB_ACCT_DEFS_PKG SQL Statements
12.2.2
-
APPS.XLA_TAB_ACCT_DEFS_PKG SQL Statements
12.1.1
-
VIEW: XLA.XLA_CONDITIONS#
12.2.2
-
APPS.XLA_SOURCES_PKG SQL Statements
12.2.2
-
APPS.XLA_SOURCES_PKG SQL Statements
12.1.1
-
FUNCTION: APPS.XLA_CONDITIONS=
12.2.2
-
FUNCTION: APPS.XLA_CONDITIONS=
12.2.2
owner:APPS, object_type:FUNCTION, object_name:XLA_CONDITIONS=, status:VALID,
-
PACKAGE BODY: APPS.XLA_TAB_ACCT_DEFS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_TAB_ACCT_DEFS_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_CMP_CONDITION_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_CMP_CONDITION_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_CONDITIONS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_CONDITIONS_PKG, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.XLA_TAB_ACCT_DEFS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_TAB_ACCT_DEFS_PKG, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.XLA_CMP_CONDITION_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_CMP_CONDITION_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_ADR_INTERFACE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_ADR_INTERFACE_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_CMP_LOCK_PAD_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_CMP_LOCK_PAD_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_LINE_TYPES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_LINE_TYPES_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_LINE_DEFINITIONS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_LINE_DEFINITIONS_PVT, status:VALID,
-
PACKAGE BODY: APPS.XLA_ADR_INTERFACE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_ADR_INTERFACE_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_DESCRIPTIONS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_DESCRIPTIONS_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_AMB_AAD_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_AMB_AAD_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_AAD_IMPORT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_AAD_IMPORT_PVT, status:VALID,
-
PACKAGE BODY: APPS.XLA_PRODUCT_RULES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_PRODUCT_RULES_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_AAD_MERGE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_AAD_MERGE_PVT, status:VALID,
-
PACKAGE BODY: APPS.XLA_AAD_OVERWRITE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_AAD_OVERWRITE_PVT, status:VALID,
-
PACKAGE BODY: APPS.XLA_AAD_OVERWRITE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_AAD_OVERWRITE_PVT, status:VALID,
-
PACKAGE BODY: APPS.XLA_CONDITIONS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_CONDITIONS_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_CMP_LOCK_PAD_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_CMP_LOCK_PAD_PKG, status:VALID,
-
TABLE: XLA.XLA_CONDITIONS
12.1.1
owner:XLA, object_type:TABLE, fnd_design_data:XLA.XLA_CONDITIONS, object_name:XLA_CONDITIONS, status:VALID,
-
TABLE: XLA.XLA_CONDITIONS
12.2.2
owner:XLA, object_type:TABLE, fnd_design_data:XLA.XLA_CONDITIONS, object_name:XLA_CONDITIONS, status:VALID,
-
PACKAGE BODY: APPS.XLA_SOURCES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_SOURCES_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_PRODUCT_RULES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_PRODUCT_RULES_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_AAD_IMPORT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_AAD_IMPORT_PVT, status:VALID,
-
PACKAGE BODY: APPS.XLA_AAD_UPLOAD_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_AAD_UPLOAD_PVT, status:VALID,
-
PACKAGE BODY: APPS.XLA_SEG_RULES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_SEG_RULES_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_LINE_TYPES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_LINE_TYPES_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_SEG_RULES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_SEG_RULES_PKG, status:VALID,