Skip to the content.

CAC ICP PII Material Account Detail – Oracle EBS SQL Report

Oracle E-Business Suite SQL report from the Enginatics Library powered by Blitz Report™. Oracle EBS module: Cost Accounting · all Cost Accounting reports

Overview

Report to get the Material accounting distributions, in detail, for each item, organization and individual transaction. Including profit in inventory amounts based on your PII cost type. With the Show SLA Accounting parameter you can choose to use the Release 12 Subledger Accounting (Create Accounting) account setups by selecting Yes. And if you have not modified your SLA accounting rules, select No to allow this report to run a bit faster. Use Show Projects to display or not display the project information (project number, name, task and project cost collection status) and use Show WIP Job to display or not display the WIP job information (WIP class, class type, WIP job, description, assembly number and assembly description). To get all positive and negative amounts above a threshold value, use the Absolute Transaction Amount parameter. For Discrete, Flow and Workorderless WIP (but not Repetitive Schedules). Both Flow and Workorderless show up as the WIP Type “Flow schedule”.

Note: The SQL logic and code for this report is identical to the CAC Material Account Summary report.

Hidden Parameters:

Numeric Sign for PII: allows you to set the sign of the profit in inventory amounts, defaulted to “1” (mandatory).

/* +=============================================================================+ – | Copyright 2009- 2022 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. – | 1.32 24 Oct 2026 Andy Haack Rebuilt to the Blitz Report SQL standards. – +=============================================================================+ – | – | Version Modified on Modified by Description – | ======= =========== ============== ========================================= – | 1.0 06 Nov 2009 Douglas Volz Initial Coding – | 1.30 21 Oct 2022 Douglas Volz Logic change for Internal RMA order numbers. – | 1.31 28 Jul 2025 Douglas Volz Added Reason Codes and GL & OU Security Profiles.

Run this report in Excel in seconds: download Blitz Report™ free (your first 30 reports are free) or try it in the online demo.

Report Parameters

PII Cost Type, PII Sub-Element, Transaction Date From, Transaction Date To, Show SLA Accounting, Show Projects, Show WIP Job, Category Set 1, Category Set 2, Category Set 3, Accounting Line Type, Transaction Type, Transaction Source Type, Transaction Id, Minimum Absolute Amount, Only Zero Amounts, Organization Code, Item Number, Operating Unit, Ledger

Oracle EBS Tables Used

mtl_parameters, cst_item_cost_details, cst_cost_types, bom_resources, xxen_report_org_access, wip_discrete_jobs, wip_requirement_operations, mtl_material_transactions, mtl_item_status_vl, oe_order_lines_all, oe_order_headers_all, oe_transaction_types_tl, mtl_transaction_accounts, wip_entities, wip_flow_schedules, wip_accounting_classes, mtl_system_items_vl, org_acct_periods, mtl_transaction_types, mtl_txn_source_types, hr_organization_information, hr_all_organization_units_vl, gl_ledgers, gl_code_combinations, mtl_secondary_inventories, mtl_transaction_reasons, cst_cost_groups, cst_cost_elements

Report Categories

Enginatics

CAC Material Account Detail, CAC Material Account Summary, CAC ICP PII Material Account Summary, CAC ICP PII WIP Material Usage Variance, CAC Manufacturing Variance, CAC WIP Resource Efficiency, CAC ICP PII WIP Pending Cost Adjustment, CAC WIP Material Relief, CAC WIP Material Usage Variance

Running This SQL Without Blitz Report

The SQL source can be run in any SQL client. Some Oracle EBS SQL reports in this library use functions from the utility package xxen_util – install it first. Blitz Report™ adds parameters, Excel output with pivots, scheduling and security on top.

Download & Import Options

Resource Link
Excel Example Output CAC ICP PII Material Account Detail 14-Oct-2022 070903.xlsx
Blitz Report™ XML Import CAC_ICP_PII_Material_Account_Detail.xml
SQL Source CAC ICP PII Material Account Detail.sql
Full Report on Enginatics www.enginatics.com/reports/cac-icp-pii-material-account-detail/

Case Study & Technical Analysis: CAC ICP PII Material Account Detail

Executive Summary

The CAC ICP PII Material Account Detail report is a forensic accounting tool that bridges the gap between operational inventory transactions and financial profit elimination. It provides a granular, transaction-by-transaction view of material movements, overlaid with the specific Intercompany Profit (ICP) or Profit in Inventory (PII) value associated with each item. This allows finance teams to audit exactly which transactions contributed to the PII balance in the General Ledger.

Business Challenge

Eliminating intercompany profit is often done at a high level (e.g., “Total Inventory * Margin %”). However, this approach fails when:

The Solution

This report solves the reconciliation challenge by attaching the PII value to every single material transaction.

Technical Architecture (High Level)

The query combines a specialized PII calculation with a massive transaction detail extract.

Parameters & Filtering

Performance & Optimization

FAQ

Q: Why does the report show PII for “Issue to WIP” transactions? A: When raw materials are issued to a job, the profit embedded in those materials moves from “Raw Material Inventory” to “WIP Inventory.” This report tracks that movement to ensure the PII isn’t accidentally written off or lost during production.

Q: Can I use this to reconcile my PII GL Account? A: Yes. By filtering for your PII GL Account in the output (using Excel filters on the account segments), you can sum the “PII Amount” column and compare it to the “Transaction Amount” to see if the manual or automated entries match the theoretical PII movement.

Q: What is the “Numeric Sign for PII” parameter? A: Some companies store PII as a negative cost element (contra-asset) to net it out, while others store it as a positive statistical element. This parameter ensures the report sums the values correctly regardless of the setup.


© Enginatics GmbH