Library of Oracle EBS SQLs for operational Excel and ECC reporting, Discoverer replacement, Oracle EBS performance tuning and rapid report development.

View the Project on GitHub Enginatics/Oracle-EBS-SQL

CAC Item Cost Comparison


Report to compare the item costs from two cost types in any two inventory orgs, converting the Org Code 1 (Source Org) into the currency of Org Code 2 (To Org). Put the smallest cost type into Cost Type 1, as the values for cost type 1 are always reported even if not in cost type 2. Note that the Source Org and the Compared To Org default from the inventory organization as set for your session.

/* +=============================================================================+ – | Copyright 2006 - 2020 Douglas Volz Consulting, Inc. | – | All rights reserved. | – +=============================================================================+ – | – | Original Author: Douglas Volz ( – | – | Parameters: – | p_org_code1 – The inventory organization that is the source – | p_org_code2 – The inventory organization that is the target – | p_cost_type1 – The source comparison cost type – | p_cost_type2 – The target comparison cost type – | p_curr_conv_type – Conversion conversion type, to convert the Source – | org, org_code1, into the currency of the To_Org, – | org_code2 – | p_curr_conv_date – The currency conversion date, typically a month-end – | date – | p_min_cost_diff – Minimum material cost diff. to show on the report – | p_category_set1 – The first item category set to report, typically the – | Cost or Product Line Category Set – | p_category_set2 – The second item category set to report, typically the – | Inventory Category Set – | – | Description: – | Report to compare the item costs from two cost types in any two inventory orgs, – | converting the Org_Code 1 (Source_Org) into the currency of Org_Code 2 (To_Org). – | – | Version Modified on Modified by Description – | ======= =========== ============== ========================================= – | 1.0 02 APR 2006 Douglas Volz Initial Coding – | 1.1 14 Apr 2006 Douglas Volz Final Coding for client – | 1.4 13 JUN 2006 Douglas Volz Added nvl to all material costs columns – | 1.5 02 NOV 2009 Douglas Volz Changed to compare the item costs for two orgs – | across different currencies – | 1.6 21 Nov 2016 Douglas Volz Take out currencies, allow comparison within – | the same inventory org but using different – | cost types – | 1.7 18 Dec 2018 Douglas Volz Add currencies back in – | 1.8 30 Aug 2019 Douglas Volz Add cost and inventory item categories, – | item type and item status. – | 1.9 01 Sep 2020 Douglas Volz Added costs by cost element. – | 1.10 11 Sep 2020 Douglas Volz Added ability to report cost type1 even when – | the item is not in cost type1. Made cic2 a – | table select to avoid sql outer join errors. – | 1.11 24 Oct 2020 Douglas Volz Fix bug to convert into any currency, not just USD. – | 1.12 02 Nov 2020 Douglas Volz Again, fix to report cost type 1 even when the – | item is not in cost type 2. – | 1.13 05 Jan 2022 Douglas Volz Add lot size, shrinkage rate, based on rollup – | flags. Change calc. for percent difference. +=============================================================================+*/


Cost Type 1, Compared to Cost Type 2, Source Org (Org Code 1), Compared to Org (Org Code 2), Minimum Cost Difference, Currency Conversion Type, Currency Conversion Date, Category Set 1, Category Set 2, Item Number

Used tables

gl_daily_rates, gl_daily_conversion_types, cst_item_costs, org_organization_definitions, gl_ledgers, cst_cost_types, mtl_system_items_vl, mtl_item_status_vl, mtl_units_of_measure_vl, mtl_parameters, fnd_common_lookups, mfg_lookups, hr_organization_information, hr_all_organization_units_vl




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

CAC Item Cost Comparison 23-Jun-2022 212444.xlsx

Report SQL

Blitz Report™ import options


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.

Blitz Report Pivots

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.

Blitz Report Dashboard

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 to review great ideas and example usage in blog. Or why not try for yourself in our demo environment.

CRM FoundationContracts Core
Lease and Finance ManagementPayments
Process ManufacturingProcess Manufacturing Inventory
Public Sector FinancialsShipping Execution
XML PublisherCapacity
Legal Entity ConfiguratorProjects
Service ContractsSubledger Accounting
Advanced PricingApplications DBA
Enterprise Asset ManagementInstalled Base
E-Business TaxEnterprise Command Center
Advanced Supply Chain PlanningBills of Material
Property ManagerMaster Scheduling/MRP
Work in ProcessHuman Resources
Order ManagementCash Management
Cost ManagementPurchasing
PayablesGeneral Ledger
Blitz ReportDatabase Administration
Application Object LibraryCost Accounting

Useful Links

Blitz Report™ – World’s fastest reporting and data upload for Oracle EBS

Oracle Discoverer replacement – importing worksheets into Blitz Report™

Blitz Report™ Toolkits

Supply Chain Hub by Blitz Report™

Blitz Report™ customers

Oracle EBS Reporting Blog

Oracle EBS Reporting

© 2024 Enginatics