# Plan Wise Raw Materials

<p class="doc-lead">Raw material requirements vs requested, received, and stock availability per Production Plan. Default view consolidates by plan; use Show Detailed for finished-item breakdown. Select rows and create Material Requests from the bottom action bar.</p>

<div class="doc-toc">
<p class="doc-toc-title">On this page</p>
<div class="doc-toc-links">
<a href="#/production/reports/plan-wise-raw-materials?id=overview">Overview</a>
<a href="#/production/reports/plan-wise-raw-materials?id=views">Summary vs Detailed</a>
<a href="#/production/reports/plan-wise-raw-materials?id=use-cases">Use Cases</a>
<a href="#/production/reports/plan-wise-raw-materials?id=filters">Filters</a>
<a href="#/production/reports/plan-wise-raw-materials?id=columns">Columns</a>
<a href="#/production/reports/plan-wise-raw-materials?id=row-colors">Row colors</a>
<a href="#/production/reports/plan-wise-raw-materials?id=actions">Actions</a>
<a href="#/production/reports/plan-wise-raw-materials?id=faq">FAQ</a>
</div>
</div>

<hr class="doc-section-divider">

<h2 id="overview">Overview</h2>

Go to <b>Production → Reports → Plan Wise Raw Material</b>.

<p><b>What it shows.</b> For each approved or in-progress Production Plan, raw materials are calculated from each plan line's BOM (or multi-stage BOM), scaled by planned quantity. By default, the same raw item on multiple lines of one plan is merged into a single row with summed required, requested, and received quantities, plus current stock. A <b>Total</b> row at the bottom sums Required, Requested, and Received for the rows on screen.</p>

<p><b>When to use it.</b> Use while planning or before creating Production Orders — see total material demand for a plan, spot shortages against stock, and raise Material Requests. For order-level fulfillment after POs exist, use <a href="#/production/reports/order-wise-raw-materials">Order Wise Raw Materials</a>.</p>

<hr class="doc-section-divider">

<h2 id="views">Summary vs Detailed</h2>

| **View** | **How to open** | **Rows** |
|----------|-----------------|----------|
| **Summary** (default) | Open the report or click <b>Hide Detailed</b> | One row per plan + raw material (same raw on different plan lines is merged) |
| **Detailed** | Click <b>Show Detailed</b> in the filter bar (left of Generate) | One row per plan line + raw material; shows finished item name, quantity, and unit |

<p><b>Show Detailed</b> refetches the report. Finished-item columns appear only in detailed view.</p>

<hr class="doc-section-divider">

<h2 id="use-cases">Use Cases</h2>

<ul>
<li><b>Planner</b> — Review consolidated raw material demand for a Production Plan before creating orders.</li>
<li><b>Store keeper</b> — Compare required qty to stock and raise Material Requests for short materials.</li>
<li><b>Buyer</b> — Filter by Raw Item, Raw Item Type, or Raw Item Group to focus on specific materials.</li>
</ul>

<hr class="doc-section-divider">

<h2 id="filters">Filters</h2>

<b>Quick filters:</b> Date range (plan start date).

<b>Advanced Filter</b> (in order):

| **Filter** | **What it applies to** |
|------------|------------------------|
| Raw Item | Specific raw material on the report |
| Raw Item Type | Type of raw material (e.g. raw material, packing) |
| Raw Item Group | Item group of the raw material |
| Center | Production plan center |
| Finished Item | Finished item on the plan line |
| Batch | Batch on the plan line |
| Finished Item Group | Item group of the finished item |
| Variant | Variant on the plan line |
| Branch | Plan branch |
| Brand | Brand of the finished item |
| Production Plan Id | Exact plan id |

<p>Date range is limited to 12 months. Default plans shown are <b>Approved</b> and <b>In Progress</b>.</p>

<hr class="doc-section-divider">

<h2 id="columns">Columns</h2>

<b>Summary view</b>

| **Column** | **Description** |
|------------|-----------------|
| *(checkbox)* | Select row for Material Request. |
| Plan # | Production Plan number. Click to open. |
| Plan Name | Plan name. |
| Start Date | Plan start date. |
| Raw Item Name | Raw material required. |
| Type | Raw item type. |
| UOM | Raw material unit. |
| Required Qty | Quantity required from plan line BOMs (consolidated per plan). |
| Requested Qty | Quantity already requested via Material Requests on linked Production Orders. |
| Received Qty | Quantity already received against those requests. |
| Stock | Current stock available. |

<b>Detailed view</b> — adds these columns after Start Date:

| **Column** | **Description** |
|------------|-----------------|
| Item | Finished item on the plan line. |
| Quantity | Planned quantity of the finished item. |
| UOM | Unit of the finished item. |

<b>Total row</b> — at the bottom of the table; sums Required, Requested, and Received for displayed rows. Stock is not totaled (the same stock can appear on multiple rows).

<hr class="doc-section-divider">

<h2 id="row-colors">Row colors</h2>

Rows use background color and a left border to show fulfillment status.

<b>Background</b>

| **Color** | **Meaning** |
|-----------|-------------|
| Light green | Fully received (received ≥ required) |
| Light yellow | Partially received |
| Amber | Requested via Material Request, nothing received yet |
| Light pink | Stock insufficient for remaining requirement |
| Light peach | Not yet requested; stock appears sufficient |

<b>Left border</b>

| **Border** | **Meaning** |
|------------|-------------|
| Orange | Additional raw-material line for the same plan (summary) or same plan line (detailed) — visual grouping only |
| Red | Stock insufficient — same as the pink background row |

<p>Status is evaluated in order: fully received → partially received → requested pending → stock insufficient → not requested.</p>

<hr class="doc-section-divider">

<h2 id="actions">Actions</h2>

<b>Filter bar</b> (left side)

<ul>
<li><b>Advanced Filter</b> — open additional filter fields</li>
<li><b>Clear</b> — reset active advanced filters</li>
<li><b>Show Detailed / Hide Detailed</b> — switch summary and detailed views</li>
</ul>

<b>Report actions</b> (right side)

<ul>
<li><b>Generate</b> — run the report</li>
<li><b>Export</b> — export to Excel</li>
<li><b>Print</b> — print the report</li>
</ul>

<b>Selection footer</b> (bottom of screen when rows are selected)

<ul>
<li><b>Create Material Request</b> — create a Material Request for selected rows *(requires Material Request create access)*. The bar stays fixed at the bottom so you do not need to scroll past the table. Remaining qty is taken from Required minus Requested. When linked Production Orders exist, lines are tied to those orders; otherwise the request is created for issue for production without an order link.</li>
</ul>

<p>When rows are selected, pagination is hidden and the selection footer replaces it. Clear the selection to return to pagination.</p>

<hr class="doc-section-divider">

<h2 id="faq">FAQ</h2>

<p><b>How is this different from Order Wise Raw Materials?</b><br>Plan Wise consolidates material demand from Production Plan lines (planning view). Order Wise shows requirements and fulfillment per Production Order after orders exist.</p>

<p><b>Why are Requested and Received zero?</b><br>Those quantities come from Material Requests on Production Orders linked to the plan. If no orders have been created yet, Requested and Received stay zero — Required and Stock still show planned demand vs availability.</p>

<p><b>Can I create one Material Request for multiple plans?</b><br>Yes — select the required rows across plans and click <b>Create Material Request</b> in the bottom footer.</p>

<p><b>Why is the same raw item only listed once per plan?</b><br>By default the report consolidates the same raw item (and variant) across all lines of a plan into one row with summed quantities. Use <b>Show Detailed</b> to see separate rows per finished plan line.</p>

<p><b>Can I export this report?</b><br>Yes — use Export from report actions for Excel analysis.</p>

<p><b>Where do plans come from?</b><br>See <a href="#/production/production-plan">Production Plan</a> for creating plans and generating Production Orders from plan lines.</p>
