CAC Calculate ICP PII Item Costs
Description:
Report to identify the intercompany “To Org” profit in inventory (also known as PII or ICP) for each inventory organization and item. Report gets the PII item costs across organizations, by joining the sourcing rule information from the first “hop” to the sourcing rule information to the second “hop”. In addition, if an item has a source organization in the item master, but the sourcing rule does not exist, this item relationship will still be reported. This report also assumes that the first hop may have profit in inventory from another source organization and will not include any profit in inventory from the source org for the “To Org” profit in inventory calculations. Likewise for the “To Org”, any this level material overheads, resources, outside processing or overhead costs are ignored for the profit in inventory calculations. In addition, inactive items and disabled organizations are ignored.
Note: there is one hidden parameter: 1) Numeric Sign for PII which allows you to set the sign of the profit in inventory amounts. You can specify positive or negative values based on how you enter PII amounts. Defaulted as positive (+1).
Displayed Parameters: 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). PII Cost Type: the profit in inventory cost type you wish to report (mandatory). May or may not be the same as the Cost Type parameter. PII Sub-Element: the sub-element or resource for profit in inventory, such as PII or ICP (mandatory). Currency Conversion Date: the exchange rate conversion date that was used to set the standard costs (mandatory). Currency Conversion Type: the exchange rate conversion type that was used to set the standard costs (mandatory). Period Name: the accounting period you wish to report for; this value does not change any PII or item costs, it is merely a reference value for reporting purposes (mandatory). Include Transfers to Same OU: allows you to include or exclude transfers within the same Operating Unit (OU). Defaulted to include these internal transfers. From Organization: the shipping from inventory organization you wish to report (optional). To Organization: the shipping to inventory organization you wish to report (optional). Category Set 1: the first item category set to report, typically the Cost or Product Line Category Set. Category Set 2: the second item category set to report, typically the Inventory Category Set. Item Number: enter a specific item number you wish to report (optional).
/* +=============================================================================+ – | Copyright 2009-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. – +=============================================================================+ – | Version Modified on Modified by Description – | ======= =========== ============== ========================================= – | 1.0 26 Sep 2009 Douglas Volz Initial Coding – | 1.34 05 May 2021 Douglas Volz Add Make Buy Code. – | 1.35 26 Feb 2022 Douglas Volz Add category sets and To Org and From Org – | parameters. Add two hidden parameters, – | Include Same OU Transfers and set Sign – | for PII Amounts (p_sign_pii), to determine – | if PII is entered as a positive or negative. – | 1.36 28 Nov 2023 Andy Haack Remove tabs, add org access controls, fix for G/L Daily Rates, outer joins – | 1.37 28 Jan 2024 Douglas Volz Make Include Transfers to Same OU a displayed parameter. +=============================================================================+*/
Parameters
Assignment Set, Cost Type, PII Cost Type, PII Sub-Element, Currency Conversion Date, Currency Conversion Type, Period Name, Include Transfers to Same OU, From Organization, To Organization, Category Set 1, Category Set 2, Category Set 3, Item Number
Used tables
gl_ledgers, mrp_sourcing_rules, mrp_sr_receipt_org_v, mrp_sr_source_org_v, mrp_sr_assignments, mrp_assignment_sets, mtl_system_items_vl, mtl_item_status_vl, org_organization_definitions, mtl_parameters, mrp_sr_receipt_org, mrp_sr_source_org
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
CAC Calculate ICP PII Item Costs 26-Jun-2023 171332.xlsx
Report SQL
www.enginatics.com/reports/cac-calculate-icp-pii-item-costs/
Blitz Report™ import options
CAC_Calculate_ICP_PII_Item_Costs.xml
Case Study & Technical Analysis: CAC Calculate ICP PII Item Costs
Executive Summary
The CAC Calculate ICP PII Item Costs report is a specialized financial tool designed for multinational corporations with complex intercompany supply chains. It calculates the Profit in Inventory (PII), also known as Intercompany Profit (ICP), embedded in the standard costs of items as they move between inventory organizations. By analyzing sourcing rules and cost structures across “hops” (transfer points), this report enables finance teams to accurately eliminate intercompany profits for consolidated financial reporting and ensure transfer pricing compliance.
Business Challenge
In multi-entity organizations, goods are often transferred between subsidiaries at a markup (transfer price). While this markup is recognized as revenue for the selling entity, it represents an unrealized profit for the consolidated group until the goods are sold to an external customer. Challenges include:
- Unrealized Profit Tracking: Difficulty in identifying how much of an item’s standard cost is actually intercompany profit.
- Currency Fluctuations: Complexity in converting costs from source to destination currencies using specific historical rates.
- Multi-Leg Transfers: Tracking costs through multiple layers of the supply chain (e.g., Factory -> Hub -> Distribution Center).
- Compliance: Ensuring that inventory valuations exclude internal profits for regulatory reporting.
The Solution
The CAC Calculate ICP PII Item Costs report provides a granular view of intercompany profit at the item level. It allows users to:
- Trace Sourcing: Automatically identifies the source organization for each item based on MRP Sourcing Rules and Assignment Sets.
- Calculate PII: Computes the PII amount by comparing the source organization’s cost (minus its own upstream PII) with the destination organization’s cost.
- Handle Currencies: Applies specific currency conversion rates (e.g., corporate rates at the time of standard setting) to ensure accurate cross-border cost comparisons.
- Simulate Adjustments: Helps in calculating the necessary adjustments to the “PII” cost element to align with the calculated values.
Technical Architecture (High Level)
The report logic is built around the concept of “hops” in the supply chain.
- Sourcing Logic: It queries
MRP_SOURCING_RULES,MRP_SR_ASSIGNMENTS, and related views to determine the flow of goods (Source Org $\rightarrow$ Destination Org). - Cost Extraction: It retrieves item costs from
CST_ITEM_COSTSfor both the source and destination organizations. - PII Calculation:
- Source Cost Basis: Takes the Source Org’s total cost and subtracts any existing PII (to avoid cascading profit on profit).
- Currency Conversion: Converts the Source Cost Basis to the Destination Org’s currency using
GL_DAILY_RATES. - Comparison: Compares the converted source cost with the destination’s standard cost components to isolate the profit margin.
- Sign Handling: Uses a hidden parameter (
p_sign_pii) to handle different conventions for storing PII (positive or negative values).
Parameters & Filtering
The report requires specific configuration to yield accurate results:
- Assignment Set: The specific set of sourcing rules to use for determining the supply chain network.
- Cost Types:
- Cost Type: The main standard cost type (e.g., Frozen).
- PII Cost Type: The specific cost type where PII values are stored/reported.
- PII Sub-Element: The specific cost sub-element (resource or overhead) used to track PII.
- Currency Settings: Conversion Date and Type to align with the organization’s standard setting policy.
- Include Transfers to Same OU: A toggle to include or exclude transfers within the same Operating Unit (often treated differently for tax purposes).
Performance & Optimization
- Materialized Views: Relies on MRP views (
MRP_SR_RECEIPT_ORG_V,MRP_SR_SOURCE_ORG_V) which abstract complex sourcing logic but require efficient indexing on assignment sets. - Organization Filtering: Filters out disabled organizations and inactive items early in the process to reduce processing overhead.
- Outer Joins: Uses outer joins for sourcing rules to ensure that items with defined source orgs in the item master (but no specific sourcing rule) are still captured if applicable.
FAQ
Q: What is “PII” or “ICP”? A: PII stands for Profit in Inventory, and ICP stands for Intercompany Profit. They refer to the profit margin added by a selling entity within the same corporate group, which must be eliminated for consolidated reporting.
Q: How does the report handle currency conversion? A: It uses the Currency Conversion Date and Type parameters to look up rates in the General Ledger. This is crucial because standard costs are often set using a fixed exchange rate for the year.
Q: Does this report update the costs? A: No, it is a calculation and reporting tool. The results are typically used to create a mass update (e.g., via an interface or API) to adjust the PII cost elements in the system.
Q: Why is there a “Sign for PII” parameter? A: Different implementations track PII differently—some as a positive cost element (additive) and others as a contra-asset (negative). This parameter ensures the math works correctly for your specific setup.
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