Skip to the content.

CST COGS Revenue Matching – Oracle EBS SQL Report

Oracle E-Business Suite SQL report from the Enginatics Library powered by Blitz Report™.

Overview

Imported from Concurrent Program Application: Bills of Material Source: COGS Revenue Matching Report Short Name: CSTRCMRX

The COGS/Revenue Matching Report displays earned and unearned (deferred) revenue, and cost of goods sold amounts for sales orders issues specified in the report’s run-time parameters. The report displays shipped sales order and associated sales order lines and shows the accounts where the earned and deferred COGS were charged.

The report is based on the Revenue and COGS Matching functionality delivered in Oracle EBS R12. Please refer to the following documentation regarding this functionality:

Revenue / COGS Recognition Process Flow

When you ship confirm one or more order lines in Oracle Order Management and then run the applicable Cost Management cost and accounting processes, the cost of goods sold associated with the sales order line is immediately debited to a Deferred COGS account pending the invoicing and recognition of the sales order revenue in Oracle Receivables.

When Oracle Receivables recognizes all or part of the sales revenue associated with a sales order line, you run a cost process that calculates the percentage of total billed revenue recognized. Oracle Inventory then creates a cost recognition transaction that adjusts the Deferred COGS and regular COGS amount for the order line. The proportion of total shipment cost that is recognized as COGS will always match the proportion of total billable quantity that is recognized as revenue.

Revenue / COGS Recognition Concurrent Processes

It is recommended the Revenue and COGS concurrent processes be run in the following order:

Run the AR Concurrent Processes first:

Then the COGS Concurrent Processes:

Report Parameters

Ledger, Operating Unit, Period, Order Number, Sales Order Issue Date From, Sales Order Issue Date To, Ship From Warehouse, Organization, Display Matched Lines, Tolerance Amount, Display Cost Type, Category Set 1, Category Set 2, Category Set 3

Oracle EBS Tables Used

cst_revenue_cogs_match_lines, cst_cogs_events, oe_order_lines_all, oe_order_headers_all, mtl_transaction_accounts, gl_ledgers, hr_all_organization_units, perpetual_qry_1, mtl_system_items_vl, mtl_parameters, gl_code_combinations_kfv, ra_customer_trx_lines_all, hz_cust_accounts, hz_parties, perpetual_qry_2, ra_customer_trx_all, perpetual_qry

Report Categories

Enginatics, Nidec changes, R12 only

Running This SQL Without Blitz Report

Some Oracle EBS SQL reports in this library require functions from the utility package xxen_util. Install it before running the SQL directly against your Oracle EBS database.

Download & Import Options

Resource Link
Excel Example Output CST COGS Revenue Matching - Pivot Summary by COGS Account Deferred COGS Account 14-Feb-2024 152412.xlsx
Blitz Report™ XML Import CST_COGS_Revenue_Matching.xml
Full SQL on Enginatics www.enginatics.com/reports/cst-cogs-revenue-matching/

Executive Summary

The CST COGS Revenue Matching report is essential for complying with the matching principle of accounting, which states that expenses (Cost of Goods Sold) should be recognized in the same period as the related revenue. In Oracle R12, this is handled by the “Deferred COGS” functionality. This report analyzes the synchronization between Revenue Recognition events in AR and the corresponding COGS Recognition events in Costing, ensuring that margins are reported accurately.

Business Challenge

When a product is shipped, the revenue might not be recognized immediately (e.g., due to acceptance clauses).

Solution

This report displays the earned and unearned (deferred) portions of both Revenue and COGS for sales orders.

Key Features:

Architecture

The report queries CST_REVENUE_COGS_MATCH_LINES and CST_COGS_EVENTS, linking them to Order Management (OE_ORDER_LINES_ALL) and AR (RA_CUSTOMER_TRX_LINES_ALL).

Key Tables:

Impact


© 2026 Enginatics