Search Results debug_mode
Overview
APPS.GL_RX_TRIAL_BALANCE_PKG is a General Ledger utility package body that supports the generation and population of trial balance extract data within Oracle E-Business Suite Release 12.1.1 and 12.2.2. The package belongs to the Oracle General Ledger product family (application identifier 101) and is classified as an OTHER API in the ETRM metadata, meaning it is an internal supporting package rather than a published, supported public API. Its principal responsibility is to resolve ledger configuration, Accounting Key Flexfield structure, and account segment information, then build the rows required for a trial balance report. The package name prefix "RX" together with the interface table GL_RX_TRIAL_BALANCE_ITF indicates that it drives a Reporting/Extract (RX) style trial balance process, populating an interface table that downstream report logic or concurrent output consumes.
Key Procedures and Functions
The ETRM metadata documents a single procedure: CREATE_ROWS. It is a standard concurrent-program entry point, evidenced by the leading errbuf and retcode OUT NOCOPY parameters, which are the conventional signatures required by the Oracle Concurrent Manager (FND_CONCURRENT_REQUESTS) request framework.
- CREATE_ROWS — The primary routine. It accepts the ledger, period, and optional account range, balancing value, and currency selections, together with flags controlling translated amounts, summary behavior, summary digits, and statutory reporting. It resolves the ledger definition and its functional currency, determines the accounting flexfield segments and their value sets, and assembles dynamic WHERE clauses for balancing, account range, and translation filtering. It then drives the creation of trial balance rows into the interface table. A notable internal variable, l_request_id, ties the execution to a specific concurrent request.
The user-visible runtime control frequently described as the "debug_mode" setting governs the verbosity of diagnostic output produced while CREATE_ROWS executes. When enabled, the routine emits additional informational messages through the concurrent request log, allowing the account range, balancing segment, and translation predicates being assembled to be reviewed. Because the package is classified as OTHER and is not a published API, debug output is intended for support and diagnostic use rather than for end-user operation.
Tables Accessed
The package reads configuration and reference data from several Oracle Applications foundation and General Ledger tables through APPS synonyms:
- GL_LEDGERS — Supplies the ledger identifier, functional currency, and chart of accounts identifier for the specified ledger name.
- GL_PERIOD_STATUSES — Provides fiscal year, first period name, and adjustment-period flag used to resolve the requested accounting period.
- GL_CODE_COMBINATIONS — The account combination source used to match account ranges and balancing segment values.
- FND_ID_FLEXS, FND_ID_FLEX_SEGMENTS, FND_ID_FLEX_SEGMENTS_TL — Deliver Accounting Key Flexfield structure, segment numbers, segment names, prompts, and application column names.
- FND_FLEX_VALUE_SETS, FND_FLEX_VALUES_TL — Provide the value set names and translated descriptions for balancing and account segments.
- FND_APPLICATION — Used to resolve the General Ledger application identifier (101).
- FND_CONCURRENT_REQUESTS — Anchors the request identifier for concurrent execution.
- GL_RX_TRIAL_BALANCE_ITF — The interface table into which generated trial balance rows are written.
- DBMS_SQL — Utilized for dynamic SQL construction and execution.
Usage Notes
GL_RX_TRIAL_BALANCE_PKG is not referenced by any other documented package, indicating it is invoked directly rather than as a shared dependency. In practice, CREATE_ROWS is called from the associated trial balance concurrent program registered in Oracle General Ledger, with the Concurrent Manager supplying errbuf and retcode and passing the ledger, period, and filter parameters gathered from the submission form. Custom code should treat this package as internal and unsupported; direct invocation is discouraged because the interface relies on a fixed concurrent request context and segment resolution logic. When diagnosing unexpected report output, enabling debug mode is the recommended first step, as it surfaces the dynamically assembled balancing, account range, and translation predicates prior to execution.
-
PACKAGE BODY: APPS.GL_RX_TRIAL_BALANCE_PKG
12.2.2
-
VIEW: XDP.XDP_ADAPTER_REG#
12.2.2
-
PACKAGE BODY: APPS.GL_RX_TRIAL_BALANCE_PKG
12.1.1
-
PACKAGE BODY: APPS.OKE_DEBUG
12.2.2
-
PACKAGE BODY: APPS.PJM_DEBUG
12.2.2
-
PACKAGE: APPS.GL_PARENT_SEGMENT_PKG
12.1.1
-
PACKAGE BODY: APPS.OKE_DEBUG
12.1.1
-
PACKAGE BODY: APPS.PJM_DEBUG
12.1.1
-
PACKAGE: APPS.GL_PARENT_SEGMENT_PKG
12.2.2
-
VIEW: XDP.XDP_ADAPTER_REG#
12.2.2
owner:XDP, object_type:VIEW, object_name:XDP_ADAPTER_REG#, status:VALID,
-
PACKAGE: APPS.OKE_DEBUG
12.2.2
-
PACKAGE: APPS.PJM_DEBUG
12.1.1
-
PACKAGE BODY: APPS.PAY_INS_CUSTOM_TEMPLATE
12.1.1
-
TYPE: SYSTEM.ECX_INENGOBJ
12.1.1
owner:SYSTEM, object_type:TYPE, object_name:ECX_INENGOBJ, status:VALID,
-
PACKAGE: APPS.OKE_DEBUG
12.1.1
-
PACKAGE: APPS.PJM_DEBUG
12.2.2
-
TYPE: SYSTEM.ECX_INENGOBJ
12.2.2
owner:SYSTEM, object_type:TYPE, object_name:ECX_INENGOBJ, status:VALID,
-
PACKAGE BODY: APPS.PAY_INS_CUSTOM_TEMPLATE
12.2.2
-
PACKAGE BODY: APPS.GL_CRM_UTILITIES_PKG
12.1.1
-
PACKAGE: APPS.GMS_STREAMLINE_PROC
12.1.1
-
PACKAGE BODY: APPS.GL_PARENT_SEGMENT_PKG
12.1.1
-
PACKAGE BODY: APPS.GL_PARENT_SEGMENT_PKG
12.2.2
-
PACKAGE: APPS.GMS_STREAMLINE_PROC
12.2.2
-
PACKAGE: APPS.ECX_DOCUMENT
12.1.1
-
PACKAGE: APPS.ECX_DOCUMENT
12.2.2
-
PACKAGE BODY: APPS.GL_CRM_UTILITIES_PKG
12.2.2
-
PACKAGE BODY: APPS.GCS_LEX_MAP_GL_APPLY_PKG
12.1.1
-
PACKAGE BODY: APPS.FND_VSET
12.2.2
-
TABLE: XDP.XDP_ADAPTER_REG
12.1.1
owner:XDP, object_type:TABLE, fnd_design_data:XDP.XDP_ADAPTER_REG, object_name:XDP_ADAPTER_REG, status:VALID,
-
PACKAGE BODY: APPS.FND_VSET
12.1.1
-
PACKAGE: APPS.PA_ONESTEP_STREAMLINE_PKG
12.2.2
-
TABLE: XDP.XDP_ADAPTER_REG
12.2.2
owner:XDP, object_type:TABLE, fnd_design_data:XDP.XDP_ADAPTER_REG, object_name:XDP_ADAPTER_REG, status:VALID,
-
PACKAGE: APPS.PA_ONESTEP_STREAMLINE_PKG
12.1.1
-
PACKAGE: APPS.GL_CRM_UTILITIES_PKG
12.2.2
-
PACKAGE: APPS.GL_CRM_UTILITIES_PKG
12.1.1
-
PACKAGE BODY: APPS.PA_ONESTEP_STREAMLINE_PKG
12.2.2
-
PACKAGE BODY: APPS.PA_ONESTEP_STREAMLINE_PKG
12.1.1
-
PACKAGE BODY: APPS.ECX_DOCUMENT
12.2.2
-
PACKAGE: XDB.DBMS_XDBREPOS
12.1.1
-
PACKAGE: XDB.DBMS_XDBREPOS
12.2.2
-
PACKAGE BODY: APPS.ECX_DOCUMENT
12.1.1
-
PACKAGE BODY: APPS.ECX_STANDARD
12.2.2
-
PACKAGE BODY: APPS.ECX_STANDARD
12.1.1
-
PACKAGE: APPS.EGO_CHANGE_PEOPLE_IMPORT_PKG
12.1.1
-
PACKAGE: APPS.EGO_CHANGE_PEOPLE_IMPORT_PKG
12.2.2
-
PACKAGE BODY: APPS.IBE_WF_MSG_MAPPING_PVT
12.1.1
-
PACKAGE: APPS.EGO_ITEM_PEOPLE_IMPORT_PKG
12.1.1
-
PACKAGE BODY: APPS.IBE_WF_MSG_MAPPING_PVT
12.2.2
-
PACKAGE: APPS.EGO_ITEM_PEOPLE_IMPORT_PKG
12.2.2
-
PACKAGE: APPS.OKE_UTILS
12.2.2