Search Results get_function_id
Overview
XLA_UTIL is a utility package owned by the APPS schema within the Oracle E-Business Suite Subledger Accounting (XLA) architecture. Its purpose is to provide shared, low-level helper routines that other XLA components call rather than to implement business accounting logic itself. The package is classified as a UTIL (utility) API, indicating that it is intended for internal framework use and for controlled invocation by dependent Subledger Accounting code, rather than as a public, user-facing integration interface.
The package addresses two distinct internal concerns. The first is diagnostic logging support, exposed through a set of debug procedures that allow XLA processing code to emit trace information during development and troubleshooting. The second is query context management, a performance mechanism that lets XLA views resolve union queries against the appropriate product transaction class, and a related function that resolves the internal identifier of a Subledger Accounting function. The ETRM 12.2.2 metadata records that the package is referenced by twenty-two other packages, confirming its position as a widely depended-upon support utility across the Subledger Accounting module.
Key Procedures and Functions
The documented interface exposes eight procedures and functions:
- ENABLE_DEBUG — Enables diagnostic trace output. Evidence in the source shows overloaded forms, including a variant that accepts a buffer size, and a variant that accepts a path name and an optional file name defaulting to 'DEFAULT'. These overloads allow output to be directed to a file rather than the default destination.
- DISABLE_DEBUG — Turns off diagnostic trace output previously enabled by ENABLE_DEBUG.
- DEBUG — Writes a caller-supplied text message to the enabled debug output. It accepts the text to be logged as its argument.
- SET_QUERY_CONTEXT — Stores a query context value (for example, AR_TRANSACTION) in a package variable. The documentation states this is an input Varchar2(100) context and that XLA uses the mechanism within the View Accounting Lines and Drilldown product views to access union views more efficiently based on product transaction class or group.
- GET_QUERY_CONTEXT — Retrieves the context previously established by SET_QUERY_CONTEXT. It is explicitly designed to be used as a SQL function, allowing the stored context to be referenced directly in SQL statements. Documentation notes it works in tandem with SET_QUERY_CONTEXT.
- GET_FUNCTION_ID — Returns the internal identifier associated with a Subledger Accounting function. This is the object that users reach when searching for "get_function_id"; it supports resolution of the function identifier used across XLA processing.
Tables Accessed
The package metadata records only UTL_FILE among referenced objects, accessed through APPS synonyms. UTL_FILE is the Oracle-supplied PL/SQL file I/O package, not an application table, and it is referenced to support the file-based variants of the debug procedures — writing trace output to an operating-system file specified by path and file name. No application tables are documented as read or written by XLA_UTIL, consistent with its role as a stateless utility layer. The query context itself is held in a session-level package variable rather than persisted to a database table.
Usage Notes
XLA_UTIL is not exposed through standard EBS forms or concurrent programs; it is invoked programmatically. The debug procedures are typically called during development or targeted troubleshooting of Subledger Accounting programs, with ENABLE_DEBUG and a matching DISABLE_DEBUG wrapping the code under investigation. The query context procedures are called in pairs, with SET_QUERY_CONTEXT invoked before a query and GET_QUERY_CONTEXT used inside the SQL to retrieve it, a pattern the documentation ties specifically to the View Accounting Lines and Drilldown views. GET_FUNCTION_ID is called by XLA processing code that needs the identifier of a Subledger Accounting function. Because the package is referenced by twenty-two other packages, customizations should treat it as an internal dependency and avoid altering its behavior.
-
PACKAGE: APPS.XLA_UTIL
12.1.1
-
PACKAGE: APPS.XLA_UTIL
12.2.2
-
PACKAGE BODY: APPS.XLA_UTIL
12.2.2
-
PACKAGE BODY: APPS.XLA_UTIL
12.1.1
-
PACKAGE: APPS.FND_FUNCTION
12.2.2
-
PACKAGE: APPS.FND_FUNCTION
12.1.1
-
PACKAGE BODY: APPS.IRC_PARTY_SWI
12.2.2
-
PACKAGE BODY: APPS.IEX_CHECKLIST_UTILITY
12.1.1
-
PACKAGE BODY: APPS.IRC_PARTY_SWI
12.1.1
-
PACKAGE: OLAPSYS.CWM$UTILITY
12.1.1
-
PACKAGE BODY: APPS.IEX_CHECKLIST_UTILITY
12.2.2
-
PACKAGE BODY: APPS.QP_SECURITY
12.1.1
-
PACKAGE BODY: APPS.QP_SECURITY
12.2.2
-
PACKAGE BODY: APPS.AMW_SECURITY_PUB
12.1.1
-
APPS.XLA_UTIL dependencies on FND_FUNCTION
12.2.2
-
APPS.XLA_UTIL dependencies on FND_FUNCTION
12.1.1
-
APPS.PO_REQAPPROVAL_INIT1 dependencies on FND_FORM_FUNCTIONS
12.1.1
-
APPS.IRC_PARTY_SWI dependencies on FND_MENU_ENTRIES
12.2.2
-
APPS.IRC_PARTY_SWI dependencies on FND_MENUS
12.1.1
-
APPS.IRC_PARTY_SWI dependencies on FND_MENUS
12.2.2
-
APPS.IRC_PARTY_SWI dependencies on FND_MENU_ENTRIES
12.1.1
-
APPS.POS_SPM_WF_PKG1 dependencies on FND_FORM_FUNCTIONS
12.1.1
-
PACKAGE BODY: APPS.POS_SPM_WF_PKG1
12.1.1
-
APPS.IEX_CHECKLIST_UTILITY dependencies on IEX_DEBUG_PUB
12.1.1
-
APPS.POS_SPM_WF_PKG1 dependencies on FND_FORM_FUNCTIONS
12.2.2
-
APPS.PO_REQAPPROVAL_INIT1 dependencies on FND_FORM_FUNCTIONS
12.2.2
-
PACKAGE BODY: APPS.FND_DATA_SECURITY
12.1.1
-
PACKAGE BODY: APPS.POS_SPM_WF_PKG1
12.2.2
-
APPS.IEX_CHECKLIST_UTILITY dependencies on FND_FORM_FUNCTIONS
12.1.1
-
APPS.IEX_CHECKLIST_UTILITY dependencies on FND_FORM_FUNCTIONS
12.2.2
-
PACKAGE BODY: APPS.FND_DATA_SECURITY
12.2.2
-
PACKAGE BODY: APPS.FND_FUNCTION
12.1.1
-
APPS.FND_DATA_SECURITY dependencies on FND_FORM_FUNCTIONS
12.1.1
-
PACKAGE BODY: APPS.FND_FUNCTION
12.2.2
-
APPS.FND_DATA_SECURITY dependencies on FND_FORM_FUNCTIONS
12.2.2
-
APPS.PO_REQAPPROVAL_INIT1 dependencies on PO_MESSAGE_S
12.2.2
-
APPS.QP_SECURITY dependencies on QP_GRANTS
12.2.2
-
APPS.QP_SECURITY dependencies on QP_GRANTS
12.1.1
-
APPS.IEX_CHECKLIST_UTILITY dependencies on IEX_DEBUG_PUB
12.2.2
-
APPS.POS_SPM_WF_PKG1 dependencies on WF_DIRECTORY
12.1.1
-
APPS.POS_SPM_WF_PKG1 dependencies on WF_DIRECTORY
12.2.2
-
APPS.FND_DATA_SECURITY dependencies on FND_MESSAGE
12.2.2
-
APPS.FND_DATA_SECURITY dependencies on FND_MESSAGE
12.1.1
-
PACKAGE BODY: APPS.PO_REQAPPROVAL_INIT1
12.1.1
-
PACKAGE BODY: APPS.CZ_SECURITY_PVT
12.1.1
-
PACKAGE BODY: APPS.PO_REQAPPROVAL_INIT1
12.2.2
-
PACKAGE BODY: APPS.CZ_SECURITY_PVT
12.2.2
-
APPS.FND_FUNCTION dependencies on FND_LOG
12.2.2
-
APPS.FND_FUNCTION dependencies on FND_LOG
12.1.1
-
APPS.FND_DATA_SECURITY dependencies on FND_LOG
12.1.1