Search Results xla_lookups_pkg




Overview

XLA_LOOKUPS_PKG is a utility package body owned by the APPS schema in Oracle E-Business Suite releases 12.1.1 and 12.2.2. It belongs to the Subledger Accounting (XLA) architectural layer, which produces the accounting entries that are ultimately transferred to General Ledger. Because Subledger Accounting must resolve user-defined lookup codes — accounting method codes, application accounting definition identifiers, transaction statuses, and similar enumeration values — into descriptions suitable for display in concurrent program output, OAF pages, and diagnostic reports, XLA_LOOKUPS_PKG centralizes that translation logic so that every XLA component resolves meanings consistently.

The package is registered in ETRM with an API classification of OTHER, meaning it is not a published or supported integration API. It is an internal helper invoked by other XLA packages rather than a boundary interface intended for customer extensions.

Key Procedures and Functions

ETRM documents two callable units in this package body:

  • GET_MEANING — Returns the human-readable meaning associated with a given lookup code. It encapsulates the join between the lookup code value supplied by the caller and the corresponding row returned from the FND lookup views, shielding callers from the underlying lookup type naming conventions.
  • GET_LOOKUPTYPE_MEANING — Resolves lookup type-level metadata, returning the descriptive meaning for a lookup type rather than for an individual code value. This is used where an application must display the semantic label of an entire lookup category, for example when rendering the available accounting method classifications.

Both units are read-only accessors; neither performs DML against the lookup tables. Parameter signatures are deliberately not reproduced here, as the ETRM extract does not document them.

Tables Accessed

The package's documented dependency list identifies the FND_LOOKUP_TYPES_VL view as its principal data source. That view supplies the lookup type, lookup code, and meaning columns that back both functions. The package also references the XLA_LOOKUPS table, which stores XLA-specific lookup definitions, and it depends on two sibling packages: XLA_EXCEPTIONS_PKG, used to raise structured Subledger Accounting errors when a lookup cannot be resolved, and XLA_UTILITY_PKG, which supplies shared internal helpers. The package body additionally invokes itself recursively for shared internal logic. All object references resolve through APPS synonyms in the standard EBS manner.

Usage Notes

Despite being classified as OTHER rather than as a public API, XLA_LOOKUPS_PKG is heavily consumed inside the application: ETRM records that it is referenced by 59 other database objects, all of them PL/SQL packages in the APPS schema. It is therefore reached indirectly during subledger accounting program execution, accounting program generation, and diagnostic reporting, rather than being invoked directly from a form or a concurrent program parameter screen.

Because no external object outside APPS depends on it, Oracle retains freedom to alter its signature between releases, and the two documented functions should not be called from custom code as a stable interface. Developers requiring lookup meanings for custom logic should query FND_LOOKUP_VALUES_VL or use the supported FND lookup APIs. When diagnosing subledger accounting failures, the presence of an exception propagating from XLA_EXCEPTIONS_PKG through XLA_LOOKUPS_PKG generally indicates that an expected lookup code is missing or inactive in FND_LOOKUP_TYPES_VL.