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 Purchase Price Variance


Report for Purchase Price Variance accounting entries for external inventory purchases, external outside processing purchases, (internal) intransit shipments, (internal) direct organization transfers and transfer to regular (consignment) transactions. The FOB point indicates when title passes to the receiving organization and it also determines which internal transfer transaction gets the PPV. With FOB Shipment, PPV happens on the Intransit Shipment transaction. With FOB Receipt, PPV happens on the Intransit Receipt transaction. And if you enter PO receipts by lot numbers this report splits out the PPV variances by lot number.

/* +=============================================================================+ – | Copyright 2010-23 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 ( – | – | Parameters: – | p_trx_date_from – starting transaction date for ppv related transactions – | p_trx_date_to – ending transaction date for ppv related transactions – | 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 – | p_item_number – Enter the specific item number you wish to report (optional) – | p_org_code – Specific inventory organization you wish to report (optional) – | p_operating_unit – Operating_Unit you wish to report, leave blank for all – | operating units (optional) – | p_ledger – general ledger you wish to report, leave blank for all – | ledgers (optional) – | – | Version Modified on Modified by Description – | ======= =========== ============== ========================================= – | 1.0 26 Jan 2010 Douglas Volz Initial Coding
– | 1.16 30 Dec 2020 Douglas Volz Revise calculations for Percent Difference, to: – | when difference = 0 then 0 – | when standard = 0 then 100% – | when PO unit price = 0 then -100% – | else PO - std / std – | Performance improvements for Sections 3 and 4. – | 1.17 01 Jan 2021 Douglas Volz Added Section 5 PPV for Transfer to Regular transactions. – | 1.18 08 Jan 2021 Douglas Volz Removed redundant joins and tables to improve performance. – | 1.19 14 Dec 2021 Douglas Volz Bug fix, Section I and V were both picking up – | Transfer to Regular PPV transactions – | 1.20 21 Jun 2022 Douglas Volz Add PO Line and PO Shipment Line Creation Date. – | 1.21 04 Apr 2022 Andy Haack Added organization security restriction by org_access_view oav. – | 1.22 10 May 2023 Douglas Volz Fix PPV calculations for RTV and Receipt Adjustment transactions.. +=============================================================================+*/


Transaction Date From, Transaction Date To, Category Set 1, Category Set 2, Item Number, Organization Code, Operating Unit, Ledger

Used tables




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 Purchase Price Variance 07-Jul-2022 173826.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 PublisherAdvanced Pricing
CapacityLegal Entity Configurator
ProjectsService Contracts
Subledger AccountingApplications DBA
Enterprise Asset ManagementInstalled Base
E-Business TaxEnterprise Command Center
Advanced Supply Chain PlanningProperty Manager
Bills of MaterialMaster Scheduling/MRP
Work in ProcessHuman Resources
Order ManagementCash Management
Cost ManagementDiscoverer
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