Search Results xla_accounting_cache_pkg
Overview
XLA_ACCOUNTING_CACHE_PKG is a PL/SQL package body in the APPS schema that belongs to the Subledger Accounting (XLA) product family within Oracle E-Business Suite. Its primary business function is to provide an in-memory caching mechanism for the setup and configuration metadata that the Subledger Accounting engine requires when creating and maintaining accounting entries. Rather than querying application, ledger, event type, accounting method, journal category, and subledger configuration tables repeatedly during posting and accounting cycle processing, the Subledger Accounting engine relies on this package to load and expose that information efficiently. This caching reduces the volume of repetitive dictionary and setup lookups performed during high-volume accounting generation, thereby improving performance of the Create Accounting process.
In EBS 12.1.1 and 12.2.2 the object is documented as VALID and is classified as an "OTHER" type API in the ETRM repository. Its public interface is composed almost entirely of low-level accessor routines that return cached configuration values to the calling Subledger Accounting code, rather than a transactional business API intended for direct customer invocation.
Key Procedures and Functions
The documented public procedures and functions (18 total) reflect the package's role as a setup cache access layer. Representative members include:
- LOAD_APPLICATION_LEDGERS — populates the internal cache with the ledgers and ledger-related configuration associated with an application, establishing the base data set used by subsequent retrieval calls.
- GETALCLEDGERS / GETLEDGERS / BUILDLEDGERARRAY / GETLEDGERARRAY — retrieve and assemble the set of ledgers relevant to the current accounting context, returning them either individually or as array structures for bulk processing.
- GET_PAD_INFO — returns padding or context information maintained by the cache for the active session.
- GET_EVENT_INFO — supplies cached details for a Subledger Accounting event, drawn from the event class and event type configuration.
- GET_JE_CATEGORY — returns the journal category associated with the current accounting context.
- GETVALUENUM / GETVALUEDATE / GETVALUECHAR — typed accessors that return cached numeric, date, and character values respectively, used by the accounting engine to fetch specific configuration attributes without re-querying base tables.
- GETSESSIONVALUECHAR — returns a character value held for the duration of the current session cache.
- GETCURRENCYMAU — returns currency-related monetary amounts (Minimum Accounting Unit) information used in rounding and currency handling during accounting entry creation.
All routines are declared in the corresponding package specification XLA_ACCOUNTING_CACHE_PKG, which the body implements. The body itself is not referenced by any database object, confirming that it is invoked at runtime through the specification by other XLA packages rather than by triggers or views.
Tables Accessed
Through APPS synonyms, the package reads the setup and reference tables that underpin Subledger Accounting configuration. These include XLA_MAPPING_SET_VALUES, XLA_ACCTG_METHODS_TL, XLA_ACCTG_METHOD_RULES, XLA_EVENT_CLASSES_TL, XLA_EVENT_TYPES_TL, XLA_JE_CATEGORIES, XLA_PRODUCT_RULES_B, and XLA_PRODUCT_RULES_TL, all of which define how transactions are accounted. It also accesses GL_LEDGERS, GL_COA_MAPPINGS, and GL_LEDGER_RELATIONSHIPS to resolve ledger and chart of accounts context, plus FND_APPLICATION_TL, FND_CURRENCIES, FND_ID_FLEX_STRUCTURES_TL, and FND_LANGUAGES for application, currency, and key flexfield reference data. Dependent helper packages include XLA_CMP_HASH_PKG, XLA_EXCEPTIONS_PKG, FND_PROFILE, FND_LOG, and MO_GLOBAL, which support hashing, error handling, profile retrieval, logging, and multi-org context respectively.
Usage Notes
XLA_ACCOUNTING_CACHE_PKG is an internal engine component rather than a user-facing API. It is invoked indirectly by the Create Accounting concurrent program and by the Subledger Accounting posting and accounting programs whenever setup metadata must be resolved. The documented dependency listing shows the package is referenced by 58 other packages, indicating broad internal reuse across the XLA codebase. Customizations should not call this package directly, as the cache contents and session lifecycle are managed by the calling XLA framework; developers requiring ledger, event, or accounting method information should use the supported Subledger Accounting public APIs, which in turn may leverage this cache.
-
PACKAGE BODY: APPS.XLA_ACCOUNTING_CACHE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_ACCOUNTING_CACHE_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_ACCOUNTING_CACHE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_ACCOUNTING_CACHE_PKG, status:VALID,
-
SYNONYM: APPS.XLA_JE_CATEGORIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_JE_CATEGORIES, status:VALID,
-
PACKAGE: APPS.XLA_ACCOUNTING_CACHE_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:XLA_ACCOUNTING_CACHE_PKG, status:VALID,
-
SYNONYM: APPS.XLA_ACCTG_METHODS_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:XLA_ACCTG_METHODS_TL, status:VALID,
-
SYNONYM: APPS.XLA_JE_CATEGORIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:XLA_JE_CATEGORIES, status:VALID,
-
PACKAGE: APPS.XLA_CMP_HASH_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:XLA_CMP_HASH_PKG, status:VALID,
-
PACKAGE: APPS.XLA_CMP_HASH_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:XLA_CMP_HASH_PKG, status:VALID,
-
PACKAGE: APPS.XLA_ACCOUNTING_CACHE_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:XLA_ACCOUNTING_CACHE_PKG, status:VALID,
-
SYNONYM: APPS.GL_COA_MAPPINGS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GL_COA_MAPPINGS, status:VALID,
-
SYNONYM: APPS.XLA_ACCTG_METHODS_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_ACCTG_METHODS_TL, status:VALID,
-
SYNONYM: APPS.GL_COA_MAPPINGS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GL_COA_MAPPINGS, status:VALID,
-
SYNONYM: APPS.XLA_EVENT_CLASSES_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_EVENT_CLASSES_TL, status:VALID,
-
SYNONYM: APPS.XLA_ACCTG_METHOD_RULES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:XLA_ACCTG_METHOD_RULES, status:VALID,
-
SYNONYM: APPS.XLA_MAPPING_SET_VALUES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_MAPPING_SET_VALUES, status:VALID,
-
PACKAGE: APPS.XLA_JE_VALIDATION_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:XLA_JE_VALIDATION_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_ACCOUNTING_PUB_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_ACCOUNTING_PUB_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_ACCOUNTING_PUB_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_ACCOUNTING_PUB_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_AE_SOURCES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_AE_SOURCES_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_AE_SOURCES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_AE_SOURCES_PKG, status:VALID,
-
SYNONYM: APPS.XLA_EVENT_TYPES_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:XLA_EVENT_TYPES_TL, status:VALID,
-
SYNONYM: APPS.XLA_EVENT_TYPES_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_EVENT_TYPES_TL, status:VALID,
-
PACKAGE: APPS.XLA_JE_VALIDATION_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:XLA_JE_VALIDATION_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_MULTIPERIOD_ACCOUNTING_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_MULTIPERIOD_ACCOUNTING_PKG, status:VALID,
-
SYNONYM: APPS.XLA_ACCTG_METHOD_RULES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_ACCTG_METHOD_RULES, status:VALID,
-
SYNONYM: APPS.XLA_SOURCES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_SOURCES_B, status:VALID,
-
SYNONYM: APPS.XLA_EVENT_CLASSES_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:XLA_EVENT_CLASSES_TL, status:VALID,
-
SYNONYM: APPS.XLA_PRODUCT_RULES_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_PRODUCT_RULES_TL, status:VALID,
-
PACKAGE BODY: APPS.XLA_00275_AAD_S_000016_BC_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00275_AAD_S_000016_BC_PKG, status:VALID,
-
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_HEADER_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_AE_HEADER_PKG, status:VALID,
-
SYNONYM: APPS.XLA_SOURCES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:XLA_SOURCES_B, status:VALID,
-
PACKAGE BODY: APPS.XLA_00140_AAD_S_000002_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00140_AAD_S_000002_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_09000_AAD_S_000015_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_09000_AAD_S_000015_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_00540_AAD_S_000014_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00540_AAD_S_000014_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_00275_AAD_S_000004_BC_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00275_AAD_S_000004_BC_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_00260_AAD_S_000001_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00260_AAD_S_000001_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_00275_AAD_S_000016_BC_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00275_AAD_S_000016_BC_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_00275_AAD_S_000004_BC_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00275_AAD_S_000004_BC_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_MULTIPERIOD_ACCOUNTING_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_MULTIPERIOD_ACCOUNTING_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_00555_AAD_S_000001_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00555_AAD_S_000001_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_00200_AAD_S_000006_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00200_AAD_S_000006_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_00707_AAD_S_000005_BC_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00707_AAD_S_000005_BC_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_00275_AAD_S_000004_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00275_AAD_S_000004_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_08901_AAD_S_000002_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_08901_AAD_S_000002_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_08901_AAD_S_000002_BC_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_08901_AAD_S_000002_BC_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_00140_AAD_S_000002_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00140_AAD_S_000002_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_00200_AAD_S_000012_BC_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00200_AAD_S_000012_BC_PKG, status:VALID,