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 Intercompany SO Price List vs. Item Cost Comparison


Report to show the internal SO price lists, source org item costs and compare against the “To Org” item costs and PII (profit in inventory) amounts. This report is used to ensure the profit in inventory (PII) cost model is working correctly.


Price Effective Date: the date the sales order list prices are effective (mandatory). Currency Conversion Date: the exchange rate conversion date to use to convert the sales price to the same currency as the item cost (mandatory). Currency Conversion Type: the desired currency conversion type to use to convert the sales price to the same currency as the item cost (mandatory). PII Cost Type: the profit in inventory cost type you wish to report (mandatory). PII Sub-Element: the sub-element or resource for profit in inventory, such as PII or ICP (mandatory). Assignment Set: the set of sourcing rules to use with calculating the PII item costs (mandatory). Cost Type: the cost type to use for the item costs, such as Frozen or Pending (mandatory). Category Set 1: any item category you wish, typically the Cost or Product Line category set (optional). Category Set 2: any item category you wish, typically the Inventory category set (optional). Item Number: enter the specific item numbers(s) you wish to report (optional). Operating Unit: enter the specific operating unit(s) you wish to report (optional). To Org Ledger: enter the specific “To Org” ledger(s) you wish to report (optional). To Org Code: enter the specific To Org you wish to report (optional).

/* +=============================================================================+ – | Copyright 2010 - 2024 Douglas Volz Consulting, Inc. – | All rights reserved. – | Permission to use this code is granted provided the original author is – | acknowledged. No warranties, express or otherwise is included in this – | permission. – +=============================================================================+ – | – | Original Author: Douglas Volz ( – | – | Program Name: xxx_so_price_cost_pii_rept.sql – | – | Version Modified on Modified by Description – | ======= =========== ========================================= – | 1.0 26 Nov 2010 Douglas Volz Created initial Report – | 1.17 12 Dec 2018 Douglas Volz Added in the items which do not have sourcing rules but do – | have a source organization in the item master.
– | 1.18 13 Dec 2018 Douglas Volz Add Source Org OU to the InterCo_OUs inline table, to ensure – | uniqueness. Add Source Org joins for Src_Org item costs. – | Removed Release 11i edits. Replaced with gl.short_name. – | 1.19 17 Jun 2019 Douglas Volz Replace Oracle function apps.qp_price_list_pvt.get_product_uom_code – | with “and ucr.uom_code = qpa.product_uom_code”. Comment out Source – | and To Org Added Costs columns. – | 1.20 21 Aug 2019 Douglas Volz Removed client-specific SQL logic. – | 1.21 25 Oct 2019 Douglas Volz Correction to p_price_effective_date parameter – | 1.22 17 Jul 2022 Douglas Volz Changes for multi-language lookup values. Changed – | back to Oracle QP price packages, to get price list – | information based on both category or item-specific price lists. – | 1.23 28 Nov 2023 Andy Haack Added G/L security for the “To Org” G/L and removed tabs. – | 1.24 06 Feb 2024 Douglas Volz Fix for G/L Daily Rates and add “To Org” inventory security. – +=============================================================================+*/


Price Effective Date, Currency Conversion Date, Currency Conversion Type, PII Cost Type, PII Sub-Element, Assignment Set, Cost Type, Category Set, To Org Ledger, To Org Code

Used tables

hz_cust_site_uses_all, mtl_intercompany_parameters, hz_cust_acct_sites_all, hz_cust_accounts, qp_list_headers_b, qp_list_headers_tl, qp_list_lines, mtl_system_items_vl, mtl_uom_conversions_view, mtl_item_status_vl, cst_item_cost_details, cst_cost_types, bom_resources, cst_item_costs, mtl_parameters, mtl_categories_v, mtl_item_categories, mtl_category_sets_b, mtl_category_sets_tl, mrp_sr_source_org, mrp_sr_receipt_org, mrp_sr_assignments, mrp_assignment_sets, hr_organization_information, hr_all_organization_units_vl, gl_ledgers, mfg_lookups, fnd_common_lookups




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 Intercompany SO Price List vs Item Cost Comparison 11-Jul-2022 140147.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