Search Results g_error_table
Overview
APPS.ERROR_HANDLER is the centralized error capture, translation, and reporting utility for the Oracle Bills of Material (BOM) business object APIs. The package body is delivered from source file BOMBOEHB.pls and carries a header revision of 120.5.12020000.3, dated 07-MAR-2013, which is the version shipped with Oracle E-Business Suite 12.1.1 and 12.2.2. Its core purpose is to accumulate errors and warnings raised during BOM open-interface and Bill of Material processing, map internal tokens to user-facing messages, and route those messages to the appropriate output destinations.
The package is classified as OTHER, not as a public API, and is referenced by 186 other packages, confirming that it functions as shared infrastructure rather than an application entry point. The global G_ERROR_TABLE declared as Error_Handler.Error_Tbl_Type is the in-memory repository for the message list, and the global G_MSG_INDEX / G_Msg_Count pair tracks cursor position and total message volume. A G_BO_IDENTIFIER default of 'BOM' scopes the default message set to the BOM business object.
Key Procedures and Functions
- INITIALIZE and RESET — establish and clear the session state of the error table and message counters before a processing run.
- GET_MESSAGE_LIST, GET_MESSAGE, GET_ENTITY_MESSAGE, GET_MESSAGE_COUNT — read accessors that return accumulated messages, entity-specific messages, and the current count.
- DELETE_MESSAGE, DUMP_MESSAGE_LIST — remove a specific message or emit the entire list for diagnostic purposes.
- OPEN_DEBUG_SESSION, CLOSE_DEBUG_SESSION, WRITE_DEBUG — manage the debug-flag driven trace facility (
g_debug_flagdefaults to 'N'). - WRITE_TO_INTERFACETABLE, WRITE_TO_CONCURRENTLOG, WRITE_TO_DEBUGFILE — output routing procedures that direct messages to the interface errors table, the concurrent manager log, or a debug file.
- LOG_ERROR — the primary error-logging entry point; the header history records its addition in the Routing BO enhancement.
- ADD_MESSAGE, ADD_ERROR_MESSAGE, TRANSLATE_MESSAGE, TRANSLATE_AND_INSERT_MESSAGES — append messages, translate stored tokens into language-specific text, and insert translated rows.
- ADD_ERROR_TOKEN — registers a token and its substitution values so that the final rendered message can be assembled later.
Tables Accessed
- MTL_INTERFACE_ERRORS — target of WRITE_TO_INTERFACETABLE; persists interface failures for downstream review.
- MTL_SYSTEM_ITEMS_INTERFACE_S — the BOM open-interface staging object against which item-level errors are recorded.
- UTL_FILE — used by the debug file writer to produce diagnostic output.
- PLITBLM — the PL/SQL message table underlying translation of
Message_Namevalues into formatted text. - V$PARAMETER — read to determine database configuration such as the NLS language environment during translation.
Usage Notes
ERROR_HANDLER is not invoked directly by end users. It is called by BOM open-interface concurrent programs, by the BOM business object APIs (Bom_Bo_Pub), and by custom PL/SQL that processes bills, routings, and components. Callers typically invoke INITIALIZE, loop over records issuing ADD_MESSAGE or LOG_ERROR, then call TRANSLATE_AND_INSERT_MESSAGES and one of the WRITE_TO_* procedures. Debug tracing is enabled through OPEN_DEBUG_SESSION and WRITE_DEBUG. Because it is referenced 186 times, changes to its behavior can affect a broad range of BOM-related flows in both 12.1.1 and 12.2.2.
-
APPS.ERROR_HANDLER SQL Statements
12.1.1
-
APPS.ERROR_HANDLER SQL Statements
12.2.2
-
PACKAGE BODY: APPS.ERROR_HANDLER
12.2.2
-
PACKAGE BODY: APPS.ERROR_HANDLER
12.1.1
-
PACKAGE BODY: APPS.EAM_ERROR_MESSAGE_PVT
12.1.1
-
PACKAGE BODY: APPS.EAM_ERROR_MESSAGE_PVT
12.2.2
-
PACKAGE: APPS.HXC_APPROVAL_WF_PKG
12.2.2
-
PACKAGE: APPS.HXC_APPROVAL_WF_PKG
12.1.1
-
PACKAGE BODY: APPS.HXC_APPROVAL_WF_PKG
12.1.1
-
PACKAGE BODY: APPS.HXC_APPROVAL_WF_PKG
12.2.2
-
APPS.HXC_APPROVAL_WF_PKG dependencies on FND_MESSAGE
12.1.1
-
APPS.ERROR_HANDLER dependencies on FND_FILE
12.2.2
-
APPS.ERROR_HANDLER dependencies on FND_FILE
12.1.1
-
APPS.ERROR_HANDLER dependencies on MTL_INTERFACE_ERRORS
12.1.1
-
APPS.ERROR_HANDLER dependencies on MTL_SYSTEM_ITEMS_INTERFACE_S
12.1.1
-
APPS.ERROR_HANDLER dependencies on MTL_INTERFACE_ERRORS
12.2.2
-
APPS.ERROR_HANDLER dependencies on MTL_SYSTEM_ITEMS_INTERFACE_S
12.2.2
-
APPS.HXC_APPROVAL_WF_PKG dependencies on FND_MESSAGE
12.2.2
-
APPS.HXC_APPROVAL_WF_PKG dependencies on HXC_SELF_SERVICE_TIME_DEPOSIT
12.2.2
-
APPS.HXC_APPROVAL_WF_PKG dependencies on HXC_SELF_SERVICE_TIME_DEPOSIT
12.1.1
-
APPS.ERROR_HANDLER dependencies on ERROR_HANDLER
12.1.1
-
APPS.ERROR_HANDLER dependencies on ERROR_HANDLER
12.2.2
-
APPS.EAM_ERROR_MESSAGE_PVT dependencies on EAM_ERROR_MESSAGE_PVT
12.1.1
-
APPS.EAM_ERROR_MESSAGE_PVT dependencies on EAM_ERROR_MESSAGE_PVT
12.2.2
-
APPS.EAM_ERROR_MESSAGE_PVT dependencies on EAM_PROCESS_WO_PVT
12.1.1
-
APPS.HXC_APPROVAL_WF_PKG dependencies on FND_DATE
12.1.1
-
APPS.BOM_RTG_ERROR_HANDLER dependencies on BOM_BO_PUB
12.1.1
-
APPS.BOM_RTG_ERROR_HANDLER dependencies on BOM_BO_PUB
12.2.2
-
APPS.EAM_ERROR_MESSAGE_PVT dependencies on EAM_PROCESS_WO_PVT
12.2.2
-
APPS.HXC_APPROVAL_WF_PKG dependencies on FND_DATE
12.2.2
-
PACKAGE BODY: APPS.BOM_RTG_ERROR_HANDLER
12.1.1
-
PACKAGE BODY: APPS.BOM_RTG_ERROR_HANDLER
12.2.2
-
APPS.HXC_APPROVAL_WF_PKG dependencies on HR_UTILITY
12.1.1
-
APPS.HXC_APPROVAL_WF_PKG dependencies on HR_UTILITY
12.2.2
-
APPS.BOM_RTG_ERROR_HANDLER dependencies on ERROR_HANDLER
12.1.1
-
APPS.BOM_RTG_ERROR_HANDLER dependencies on ERROR_HANDLER
12.2.2
-
APPS.EAM_ERROR_MESSAGE_PVT dependencies on EAM_PROCESS_WO_PUB
12.1.1
-
APPS.EAM_ERROR_MESSAGE_PVT dependencies on EAM_PROCESS_WO_PUB
12.2.2
-
APPS.ERROR_HANDLER dependencies on BOM_BO_PUB
12.1.1
-
APPS.ERROR_HANDLER dependencies on BOM_BO_PUB
12.2.2
-
PACKAGE BODY: APPS.ECO_ERROR_HANDLER
12.2.2
-
PACKAGE BODY: APPS.ECO_ERROR_HANDLER
12.1.1
-
APPS.ECO_ERROR_HANDLER dependencies on ENG_ECO_PUB
12.2.2
-
APPS.ECO_ERROR_HANDLER dependencies on ENG_ECO_PUB
12.1.1
-
APPS.ECO_ERROR_HANDLER dependencies on ERROR_HANDLER
12.1.1
-
APPS.ECO_ERROR_HANDLER dependencies on ERROR_HANDLER
12.2.2