GL Account Analysis (Drilldown) (with inventory and WIP)
Description:
** This report is used by the GL Financial Statement and Drilldown report, to show Subledger details. **
Detail GL transaction report with one line per transaction including all segments and subledger data, with amounts in both transaction currency and ledger currency. This also has inventory and WIP details.
Parameters
Ledger, Ledger ID, Period, Journal Source, Journal Category, Batch, Status, Batch ID, Journal, Journal Header ID, Journal Line Num, Concatenated Segments, Balance Type, Budget Name, Encumbrance Type, Show Segments with Descriptions, Show Journal Line DFF Attributes
Used tables
gl_code_combinations_kfv, xla_event_types_tl, gl_daily_conversion_types, gl_budget_versions, gl_encumbrance_types, fnd_document_sequences, gl_je_lines_recon, fa_distribution_history, mtl_sales_orders, ra_rules, ra_customer_trx_lines_all, per_jobs_vl, hr_all_positions_f_tl
Categories
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
Report SQL
www.enginatics.com/reports/gl-account-analysis-drilldown-with-inventory-and-wip/
Blitz Report™ import options
GL_Account_Analysis_Drilldown_with_inventory_and_WIP.xml
GL Account Analysis (Drilldown) (with inventory and WIP) - Case Study & Technical Analysis
Executive Summary
The GL Account Analysis (Drilldown) (with inventory and WIP) report is an advanced extension of the standard drilldown capability, specifically enhanced for manufacturing and supply chain intensive organizations. In addition to the standard financial drilldown features, this report provides deep visibility into Inventory and Work in Process (WIP) transactions.
It is designed to support complex cost accounting analysis by linking General Ledger balances not just to subledger accounting entries, but all the way down to specific material transactions, job operations, and sales orders. This level of detail is essential for reconciling inventory value, analyzing manufacturing variances, and auditing cost of goods sold.
Business Challenge
For manufacturing companies, the link between the General Ledger and the shop floor is often opaque. Standard reports may show a “Material Overhead” or “WIP Variance” entry in the GL, but determining which specific job or material movement caused it can be difficult. Common pain points include:
- Opaque Cost Accounting: Difficulty in tracing GL entries back to specific discrete jobs or inventory adjustments.
- Reconciliation Gaps: Challenges in reconciling the Inventory Subledger (or WIP value) with the General Ledger.
- Variance Investigation: Inability to quickly identify the root cause of material usage or efficiency variances.
The Solution
This report bridges the gap between Finance and Operations by incorporating specific logic to decode Inventory and WIP transactions. It provides a unified view that speaks the language of both the accountant (Debits, Credits, Accounts) and the operations manager (Item Numbers, Job Names, Transaction Types).
Key Features:
- Enhanced Drilldown: Extends the standard drilldown to include
MTL_MATERIAL_TRANSACTIONSandWIP_TRANSACTIONS. - Operational Context: Displays Item Codes, Job Names, Sales Order Numbers, and Transaction Types alongside financial amounts.
- Cost Element Visibility: Helps analyze costs by element (Material, Labor, Overhead, etc.).
- Unified Reporting: Eliminates the need to run separate Inventory and WIP reports to explain GL balances.
Technical Architecture
This report builds upon the standard GL-SLA architecture but adds specialized joins for the Inventory (Application ID 401) and WIP (Application ID 706) applications.
Key Tables Involved:
- Standard GL/SLA Tables:
GL_JE_LINES,XLA_AE_LINES,GL_IMPORT_REFERENCES. - Inventory Tables:
MTL_MATERIAL_TRANSACTIONS: The core table for all inventory movements.MTL_SYSTEM_ITEMS_B: For item descriptions and details.MTL_TRANSACTION_TYPES: To identify the nature of the movement (e.g., PO Receipt, Misc Issue).
- WIP Tables:
WIP_TRANSACTIONS: For resource and overhead transactions.WIP_ENTITIES: To identify Discrete Jobs or Repetitive Schedules.WIP_LINES: For repetitive schedule details.
- Order Management:
MTL_SALES_ORDERSandOE_ORDER_HEADERS_ALLfor linking COGS to sales orders.
Critical Joins:
The report uses the SOURCE_DISTRIBUTION_ID_NUM_1 (and similar columns) in XLA_DISTRIBUTION_LINKS to join to MTL_MATERIAL_TRANSACTIONS.TRANSACTION_ID or WIP_TRANSACTIONS.TRANSACTION_ID. This precise linking ensures that the financial impact is correctly attributed to the physical event.
Parameters & Filtering
The report supports a comprehensive set of parameters to isolate specific cost activities:
- Standard GL Filters: Ledger, Period, Account Range.
- Inventory Filters: Organization, Subinventory, Item Category.
- WIP Filters: Job Name, Line Name, Department.
- Transaction Context: Transaction Type, Source Type.
Performance & Optimization
Querying high-volume inventory tables requires careful optimization:
- Partition Pruning: If the underlying tables are partitioned, the query is structured to take advantage of this (e.g., by Transaction Date).
- Materialized Views: In some environments, reliance on standard Oracle materialized views for inventory balances may be leveraged, though this report focuses on transactional detail.
- Selective Joins: The logic conditionally joins to Inventory or WIP tables only when the GL source indicates a relevant transaction type, preventing unnecessary processing overhead.
FAQ
Q: Does this report show the specific item that was sold? A: Yes, for Cost of Goods Sold (COGS) entries, the report links back to the material transaction to display the Item Number and Description.
Q: Can I see which Discrete Job generated a variance? A: Yes, for WIP variance accounts, the report displays the specific Job Name (WIP Entity Name) associated with the entry.
Q: Why do I see multiple lines for a single inventory transaction? A: A single material movement can generate multiple accounting entries (e.g., Inventory Valuation, Deferred COGS, COGS). This report displays each accounting line to provide a complete financial picture.
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