Search Results c_structure_id
Overview
GL_RGXRPTD_XMLP_PKG is the PL/SQL package body that backs the Oracle E-Business Suite General Ledger XML Publisher report commonly identified as RGXRPTD. The package encapsulates the report-level logic that Oracle Reports previously implemented through SRW user exits, adapting that behavior to the XML Publisher execution model used in EBS 12.1.1 and 12.2.2. Its principal responsibility is to resolve the accounting structure context in which a General Ledger report runs, then expose that context to the report template as bind or placeholder values.
The most significant output of the package is the C_STRUCTURE_ID value. When the report is launched against an access set, the package derives C_STRUCTURE_ID from the chart of accounts associated with that access set. When no access set is supplied, the value remains unset. This variable, together with the flexfield code, drives the delimiter resolution and segment-override behavior used when the report renders accounting flexfield segment values. C_STRUCTURE_ID therefore acts as the link between the report request parameters and the underlying chart of accounts metadata.
Key Procedures and Functions
- BeforeReport — The main initialization routine. It declares local variables for the chart of accounts identifier and functional currency, resolves the chart of accounts from
GL_ACCESS_SETSwhen an access set parameter is provided, assigns that value toC_STRUCTURE_ID, and setsC_ID_FLEX_CODEto the accounting flexfield codeGLLE. It also conditionally switches the flexfield code toGLATwhen the industry type is General Ledger and attribute reporting is enabled, and finally initializesP_DELIMITERusing the FND flexfield extension utility. The routine returns a boolean success indicator. - AfterReport — The terminating routine. It performs the symmetric teardown step corresponding to report startup and returns a boolean success indicator.
- C_SEGMENT_OVERIRDEFORMULA — A wrapper that accepts a segment override value and delegates to
F_OVERRIDE_SEGMENT, returning the overridden segment text as a character value. - F_OVERRIDE_SEGMENT — Resolves the leading portion of an accounting flexfield segment. It parses the segment string using the configured delimiter, extracts the leading numeric component, and looks up the corresponding ledger short name from
GL_LEDGERS. The ledger short name is then concatenated with the remaining segment text, substituting a ledger name for a ledger identifier in the rendered output. - C_STRUCTURE_ID_P — Returns the package-level
C_STRUCTURE_IDvalue to the report. - C_ID_FLEX_CODE_P — Returns the resolved key flexfield code (
GLLEorGLAT) to the report. - C_INDUSTRY_TYPE_P — Returns the industry type profile value captured for the report session.
- C_ATTRIBUTE_FLAG_P — Returns the attribute reporting profile flag used to determine whether the attribute flexfield code applies.
Tables Accessed
- GL_ACCESS_SETS — Read during
BeforeReportto resolve the chart of accounts identifier from the supplied access set identifier. This is the source ofC_STRUCTURE_ID. - GL_LEDGERS — Read by
F_OVERRIDE_SEGMENTto convert a ledger identifier embedded in a segment value into the ledger short name. The query uses an outer join, so segments that do not resolve to a ledger still return the remaining segment text.
Both tables are referenced through APPS synonyms. The package performs read-only access and does not insert, update, or delete data.
Usage Notes
The package is invoked automatically by the XML Publisher report RGXRPTD rather than being called directly by application users. BeforeReport executes at report initialization and AfterReport at completion, while the getter functions serve as placeholders consumed by the report template. Custom code and concurrent program definitions reference C_STRUCTURE_ID indirectly through the report data model, and the ETRM metadata records no other packages as callers. Because the package resolves structure and delimiter information at runtime, any customization that changes access set configuration or ledger assignments immediately affects the report output, including the segment override substitution performed by F_OVERRIDE_SEGMENT.
-
APPS.PA_XC_PROJECT_PUB SQL Statements
12.1.1
-
APPS.PA_XC_PROJECT_PUB SQL Statements
12.2.2
-
PACKAGE BODY: APPS.GL_RGXRPTD_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.GL_RGXRSETD_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.GL_RGXRPTD_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.GL_RGXRSETD_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.GL_RGXRPTS_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.GL_RGXRPTS_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.GL_RGXCOLS_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.GL_RGXRORDD_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.GL_RGXCOLS_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.GL_RGXCONS_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.GL_RGXROWS_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.GL_RGXRORDD_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.GL_RGXCONS_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.GL_RGXROWS_XMLP_PKG
12.2.2
-
PACKAGE: APPS.GL_RGXCOLS_XMLP_PKG
12.1.1
-
PACKAGE: APPS.GL_RGXROWS_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.GL_RGXRSETS_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.GL_RGXRSETS_XMLP_PKG
12.1.1
-
APPS.PA_PROJECT_DATES_UTILS SQL Statements
12.1.1
-
PACKAGE: APPS.GL_RGXCONS_XMLP_PKG
12.2.2
-
PACKAGE: APPS.GL_RGXCOLS_XMLP_PKG
12.2.2
-
PACKAGE: APPS.GL_RGXCONS_XMLP_PKG
12.1.1
-
PACKAGE: APPS.GL_RGXRORDD_XMLP_PKG
12.2.2
-
PACKAGE: APPS.GL_RGXRORDD_XMLP_PKG
12.1.1
-
PACKAGE: APPS.GL_RGXROWS_XMLP_PKG
12.2.2
-
PACKAGE: APPS.GL_RGXRPTD_XMLP_PKG
12.2.2
-
PACKAGE: APPS.GL_RGXRPTD_XMLP_PKG
12.1.1
-
PACKAGE: APPS.GL_RGXRSETD_XMLP_PKG
12.1.1
-
APPS.PA_PROJECT_DATES_PUB SQL Statements
12.1.1
-
APPS.PA_PROJECT_DATES_UTILS SQL Statements
12.2.2
-
PACKAGE: APPS.GL_RGXRSETD_XMLP_PKG
12.2.2
-
PACKAGE: APPS.GL_RGXRPTS_XMLP_PKG
12.2.2
-
APPS.PA_PROJECT_DATES_PUB SQL Statements
12.2.2
-
PACKAGE: APPS.GL_RGXRPTS_XMLP_PKG
12.1.1
-
PACKAGE: APPS.GL_RGXRSETS_XMLP_PKG
12.1.1
-
PACKAGE: APPS.GL_RGXRSETS_XMLP_PKG
12.2.2
-
APPS.AS_CATALOG_MIGRATION SQL Statements
12.1.1
-
APPS.AS_CATALOG_MIGRATION SQL Statements
12.2.2
-
PACKAGE BODY: APPS.PA_XC_PROJECT_PUB
12.2.2
-
PACKAGE BODY: APPS.PA_XC_PROJECT_PUB
12.1.1
-
APPS.PA_PROJECT_STRUCTURE_PVT1 SQL Statements
12.1.1
-
PACKAGE BODY: APPS.PA_PROJECT_DATES_UTILS
12.1.1
-
PACKAGE BODY: APPS.PA_PROJECT_DATES_PUB
12.2.2
-
PACKAGE BODY: APPS.PA_PROJECT_DATES_PUB
12.1.1
-
APPS.PA_PROJECT_STRUCTURE_PVT1 SQL Statements
12.2.2
-
APPS.PA_TASK_PUB1 SQL Statements
12.1.1
-
APPS.PA_TASK_PUB1 SQL Statements
12.2.2
-
PACKAGE BODY: APPS.PA_PROJECT_DATES_UTILS
12.2.2