GL Code Combinations
Description:
Parameter ‘Show Misclassified Accounts’ can be used to identify code combinations, which have a different account type than their flexfield value setup. There is an Oracle note explaining the implications of correcting these: R12: Troubleshooting Misclassified Accounts in General Ledger (Doc ID 872162.1) https://support.oracle.com/rs?type=doc&id=872162.1
Parameters
Chart of Accounts, Ledger, Show Balance and Posted Date, Account Type, Show Misclassified Accounts, Child Accounts Only, Segment1 like, Segment1 From, Segment1 To, Segment2 like, Segment2 From, Segment2 To, Segment3 like, Segment3 From, Segment3 To, Segment4 like, Segment4 From, Segment4 To, Segment5 like, Segment5 From, Segment5 To
Used tables
gl_summary_templates, gl_code_combinations_kfv, fnd_flex_values, fnd_segment_attribute_values, fnd_id_flex_structures_vl, fnd_id_flex_segments, gl_balances, gl_ledgers, gl_periods, gl_je_headers, gl_je_lines
Categories
Related reports
Dependencies
If you would like to try one of these Oracle EBS SQLs without having Blitz Report installed, note that some of the reports require functions from utility package xxen_util.
Example Report
GL Code Combinations 31-May-2025 130542.xlsx
Report SQL
www.enginatics.com/reports/gl-code-combinations/
Blitz Report™ import options
GL Code Combinations - Case Study & Technical Analysis
Executive Summary
The GL Code Combinations report is a master data management tool designed to audit, analyze, and maintain the Chart of Accounts structure. It lists valid accounting flexfield combinations, their attributes (such as account type and enabled status), and helps identify misclassified accounts or setup inconsistencies. This report is critical for maintaining the integrity of the financial reporting structure and ensuring that data entry adheres to corporate governance standards.
Business Use Cases
- Master Data Governance: Ensures all created account combinations adhere to corporate naming conventions and validation rules, preventing the proliferation of invalid or duplicate accounts.
- Misclassification Audit: Identifies accounts with incorrect types (e.g., an Asset account incorrectly flagged as an Expense), which can severely distort financial statements and trial balances.
- Cleanup Initiatives: Assists in identifying disabled, end-dated, or unused code combinations to streamline the chart of accounts and improve system performance.
- Cross-Validation Rule Testing: Verifies that existing combinations comply with newly defined cross-validation rules (CVRs) and security rules.
- Revaluation Setup: Validates that revaluation tracking is enabled for the correct foreign currency accounts.
Technical Analysis
Core Tables
GL_CODE_COMBINATIONS(often aliased asGCC): The central table storing every unique combination of segment values used in the system.FND_FLEX_VALUES: Stores the definitions and attributes of individual segment values.FND_ID_FLEX_STRUCTURES_VL: Provides metadata about the Chart of Accounts structure.
Key Joins & Logic
- Segment Validation: The report iterates through
GL_CODE_COMBINATIONS. It joins toFND_FLEX_VALUESfor each segment to retrieve descriptions and attributes. - Misclassification Logic: A critical feature is the detection of misclassified accounts. The logic typically compares the
ACCOUNT_TYPEon theGL_CODE_COMBINATIONSrecord (which is stamped upon creation) against theCOMPILED_VALUE_ATTRIBUTE1(Account Type) of the natural account segment value inFND_FLEX_VALUES. If they differ (e.g., the natural account is now an ‘Asset’ but the combination remains ‘Expense’), it flags the record for correction. - Flexfield Hierarchy: The query dynamically handles the number of segments defined in the user’s Chart of Accounts (COA) structure.
Key Parameters
- Chart of Accounts: The specific accounting structure to analyze.
- Account Type: Filter to view only Assets, Liabilities, Expenses, Revenue, or Equity.
- Show Misclassified Accounts: A boolean flag to trigger the logic that identifies discrepancies between segment attributes and combination attributes.
- Segment Ranges: Allows filtering by specific companies, cost centers, or natural accounts.
Oracle E-Business Suite Reporting Library
We provide an open source Oracle EBS SQLs as a part of operational and project implementation support toolkits for rapid Excel reports generation.
Blitz Report™ is based on Oracle EBS forms technology, and hence requires minimal training. There are no data or performance limitations since the output files are created directly from the database without going through intermediate file formats such as XML.
Blitz Report can be used as BI Publisher and Oracle Discoverer replacement tool. Standard Oracle BI Publisher and Discoverer reports can also be imported into Blitz Report for immediate output to Excel. Typically, reports can be created and version tracked within hours instead of days. The concurrent request output automatically opens upon completion without the need for re-formatting.
The Filters, Columns, Rows and Values fields are used to create and deliver the data in pivot table format with full drill down to details.

The Excel template upload functionality in Blitz Report allows users to create their own layouts by uploading an Excel template with additional sheets and charts, automatically refreshed when the report runs again. This allows to create custom dashboards and more advanced visualizations of report data.

You can download and use Blitz Report free of charge for your first 30 reports.
The installation and implementation process usually takes less than 1 hour; you can refer to our installation and user guides for specific details.
If you would like to optimize your Oracle EBS implementation and or operational reporting you can visit www.enginatics.com to review great ideas and example usage in blog. Or why not try for yourself in our demo environment.
Useful Links
Blitz Report™ – World’s fastest data upload and reporting for Oracle EBS
Oracle Discoverer replacement – importing worksheets into Blitz Report™
Blitz Report™ Questions & Answers
Supply Chain Hub by Blitz Report™
© 2025 Enginatics