Search Results xla_amb_setup_err_pkg
Overview
XLA_AMB_SETUP_ERR_PKG is an Oracle EBS Application Object Library package body owned by the APPS schema within the Subledger Accounting (XLA) module. Its name indicates that it forms part of the Accounting Methods Builder (AMB) setup infrastructure, where it is responsible for capturing, logging, and persisting errors that arise during the validation and configuration of accounting methods. In Oracle EBS 12.1.1 and 12.2.2, the Accounting Methods Builder allows users to define accounting methods, journal line types, application accounting definitions, and related setup metadata. Because these setup operations involve complex interdependencies, the AMB requires a centralized error-handling mechanism that records problems in a structured repository rather than failing silently or aborting a transaction without diagnostics. XLA_AMB_SETUP_ERR_PKG fulfills that role by collecting setup errors and writing them to dedicated error tables. The package is documented as VALID, an OTHER classification API, and is referenced by four other database objects, confirming that it serves as a shared utility within the Subledger Accounting setup layer.
Key Procedures and Functions
The documented package exposes three procedures, as recorded in the ETRM 12.2.2 metadata:
- INITIALIZE — Establishes the working context for an error-collection run. It prepares the package's internal state so that subsequent error-recording calls operate against a consistent session, typically resetting prior error entries or setting up the collection structures used during an AMB setup or validation operation.
- STACK_ERROR — Adds an error to the in-memory error stack rather than writing immediately to the database. Stacking allows multiple errors discovered during a single validation pass to be accumulated and then flushed together, which is important when an accounting method definition contains numerous interrelated problems. Stacked errors are typically associated with language-independent message names and token substitutions.
- INSERT_ERRORS — Flushes the accumulated error stack to the persistent error tables. This procedure commits the collected diagnostics to the XLA_AMB_SETUP_ERRORS repository so they can be surfaced to the user through the AMB user interface or reported through a concurrent program log.
Tables Accessed
The package accesses two primary application tables through APPS synonyms, together with one PL/SQL internal table type:
- XLA_AMB_SETUP_ERRORS — The main transactional table that stores each setup error record, including identifying context for the accounting method or definition being validated and the message details. INSERT_ERRORS writes the stacked rows into this table.
- XLA_AMB_SETUP_ERRORS_S — The corresponding sequence (or sequence-backed surrogate key source) used to generate unique identifiers for rows inserted into the error table, ensuring each persisted error is uniquely addressable.
- PLITBLM — A standard Oracle-supplied PL/SQL internal table type (TABLE OF BINARY_INTEGER INDEX BY BINARY_INTEGER) commonly used for stack or collection structures. Its presence is consistent with the STACK_ERROR mechanism, where errors are held in an in-memory collection before being flushed.
In addition, the dependency metadata shows the package references FND_LOG, XLA_ENVIRONMENT_PKG, and XLA_EXCEPTIONS_PKG, indicating integration with the FND logging framework and with the broader XLA exception-handling and environment services.
Usage Notes
XLA_AMB_SETUP_ERR_PKG is a backend utility package and is not intended for direct end-user invocation. It is normally called from within the Accounting Methods Builder setup components, validation programs, and other Subledger Accounting setup APIs that need to record diagnostics. The typical invocation sequence is: call INITIALIZE to begin a validation scope, invoke STACK_ERROR repeatedly as problems are detected, and finally call INSERT_ERRORS to persist the accumulated results. Because it is not referenced by any database object and is referenced by four other packages, it operates as a lower-level service consumed by higher-level XLA setup code. Developers customizing or extending Accounting Methods Builder functionality in EBS 12.1.1 or 12.2.2 may call these procedures from custom validation logic to maintain consistency with standard AMB error reporting and to ensure errors are visible alongside native setup diagnostics.
-
SYNONYM: APPS.XLA_AMB_SETUP_ERRORS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:XLA_AMB_SETUP_ERRORS, status:VALID,
-
PACKAGE BODY: APPS.XLA_AMB_SETUP_ERR_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_AMB_SETUP_ERR_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_AMB_SETUP_ERR_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_AMB_SETUP_ERR_PKG, status:VALID,
-
PACKAGE: APPS.XLA_AMB_SETUP_ERR_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:XLA_AMB_SETUP_ERR_PKG, status:VALID,
-
PACKAGE: APPS.XLA_AMB_SETUP_ERR_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:XLA_AMB_SETUP_ERR_PKG, status:VALID,
-
SYNONYM: APPS.XLA_AMB_SETUP_ERRORS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_AMB_SETUP_ERRORS, status:VALID,
-
SYNONYM: APPS.XLA_AMB_SETUP_ERRORS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_AMB_SETUP_ERRORS_S, status:VALID,
-
SYNONYM: APPS.XLA_AMB_SETUP_ERRORS_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:XLA_AMB_SETUP_ERRORS_S, status:VALID,
-
PACKAGE BODY: APPS.XLA_EXTRACT_INTEGRITY_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_EXTRACT_INTEGRITY_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_EXTRACT_INTEGRITY_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_EXTRACT_INTEGRITY_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_LINE_DEFINITIONS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_LINE_DEFINITIONS_PVT, status:VALID,
-
PACKAGE: APPS.XLA_AMB_SETUP_ERR_PKG
12.1.1
-
PACKAGE: APPS.XLA_AMB_SETUP_ERR_PKG
12.2.2
-
PACKAGE BODY: APPS.XLA_AMB_AAD_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_AMB_AAD_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_CMP_PAD_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_CMP_PAD_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_CMP_PAD_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_CMP_PAD_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,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.XLA_AMB_SETUP_ERR_PKG
12.1.1
-
PACKAGE BODY: APPS.XLA_AMB_SETUP_ERR_PKG
12.2.2
-
PACKAGE: APPS.XLA_ENVIRONMENT_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:XLA_ENVIRONMENT_PKG, status:VALID,
-
PACKAGE: APPS.XLA_ENVIRONMENT_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:XLA_ENVIRONMENT_PKG, status:VALID,
-
PACKAGE: APPS.XLA_EXCEPTIONS_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:XLA_EXCEPTIONS_PKG, status:VALID,
-
PACKAGE: APPS.XLA_EXCEPTIONS_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:XLA_EXCEPTIONS_PKG, status:VALID,
-
APPS.XLA_EXTRACT_INTEGRITY_PKG dependencies on XLA_AMB_SETUP_ERR_PKG
12.2.2
-
APPS.XLA_CMP_PAD_PKG dependencies on XLA_AMB_SETUP_ERR_PKG
12.2.2
-
APPS.XLA_CMP_PAD_PKG dependencies on XLA_AMB_SETUP_ERR_PKG
12.1.1
-
APPS.XLA_AMB_AAD_PKG dependencies on XLA_AMB_SETUP_ERR_PKG
12.2.2
-
APPS.XLA_LINE_DEFINITIONS_PVT dependencies on XLA_AMB_SETUP_ERR_PKG
12.1.1
-
APPS.XLA_LINE_DEFINITIONS_PVT dependencies on XLA_AMB_SETUP_ERR_PKG
12.2.2
-
APPS.XLA_AMB_SETUP_ERR_PKG dependencies on XLA_AMB_SETUP_ERR_PKG
12.2.2
-
APPS.XLA_AMB_AAD_PKG dependencies on XLA_AMB_SETUP_ERR_PKG
12.1.1
-
APPS.XLA_EXTRACT_INTEGRITY_PKG dependencies on XLA_AMB_SETUP_ERR_PKG
12.1.1
-
APPS.XLA_AMB_SETUP_ERR_PKG dependencies on XLA_AMB_SETUP_ERR_PKG
12.1.1
-
APPS.XLA_AMB_SETUP_ERR_PKG dependencies on FND_LOG
12.2.2
-
APPS.XLA_AMB_SETUP_ERR_PKG dependencies on FND_LOG
12.1.1
-
PACKAGE: APPS.FND_LOG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_LOG, status:VALID,
-
PACKAGE: APPS.FND_LOG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_LOG, status:VALID,
-
SYNONYM: PUBLIC.PLITBLM
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:PLITBLM, status:VALID,
-
SYNONYM: PUBLIC.PLITBLM
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:PLITBLM, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,