# Production Plan

<p class="doc-lead">A Production Plan schedules multiple items for production over a date range at a center. Create a plan from scratch, from a Sale Order, or from selected items on the Item Wise Sale Orders report, then generate Production Orders from plan lines — linking back to the plan for tracking.</p>

<div class="doc-toc">
<p class="doc-toc-title">On this page</p>
<div class="doc-toc-links">
<a href="#/production/production-plan?id=overview">Overview &amp; List View</a>
<a href="#/production/production-plan?id=quick-start">Quick Start</a>
<a href="#/production/production-plan?id=from-sale-order">Create from Sale Order</a>
<a href="#/production/production-plan?id=from-item-wise-sale-orders">Create from Item Wise Sale Orders</a>
<a href="#/production/production-plan?id=header-fields">Header Fields</a>
<a href="#/production/production-plan?id=line-table">Item Lines</a>
<a href="#/production/production-plan?id=create-orders">Create Orders from Plan Lines</a>
<a href="#/production/production-plan?id=actions-status">Actions &amp; Status</a>
<a href="#/production/production-plan?id=faq">FAQ</a>
</div>
</div>

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

<h2 id="overview">Overview &amp; List View</h2>

Go to <b>Production → Production Plan</b>.

<b>List columns:</b> Id, Number #, Plan Name, Start Date, End Date, Center, Branch, Status.

<b>Quick filter tabs:</b> Default (excludes Cancelled), Draft, Approved, In Progress, Completed, Closed, Cancelled.

<b>Advanced Filters:</b> Id, Bill No, Plan Name, Center, Branch, Item, Status, Start Date, End Date, Created date.

<b>List row actions:</b> Edit (Draft, Sent for Revisal), Delete (Draft), View.

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

<h2 id="quick-start">Quick Start</h2>

<ol>
<li>Click <b>New</b>.</li>
<li>Enter <b>Plan Name</b>, <b>Start Date</b>, <b>End Date</b>, and <b>Production Center</b>.</li>
<li>Add item lines with quantity, unit, BOM or Multi Stage BOM, batch, start date, due date, and priority.</li>
<li><b>Save And Approve</b> the plan.</li>
<li>Use <b>Update Plan</b> or create Production Orders from each line as your process requires.</li>
</ol>

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

<h2 id="from-sale-order">Create from Sale Order</h2>

You can build a plan directly from a confirmed Sale Order instead of entering lines manually.

<ol>
<li>Open an <b>Approved</b> Sale Order and go to <b>more</b> (⋮) → <b>Create Production Plan</b>.</li>
<li>The plan opens pre-filled: <b>Plan Name</b> from the sale order number, <b>Branch</b>, a default <b>Start Date</b> of today, and an <b>End Date</b> from the sale order delivery date.</li>
<li>Item lines are copied from the sale order — only <b>producible</b> items are included, with their item, variant, unit, quantity, and due date.</li>
<li>Adjust dates, add BOM / Multi Stage BOM per line, then <b>Save</b> or <b>Save And Approve</b>.</li>
</ol>

<p><b>Note:</b> Only producible items from the sale order are carried over. Review quantities and dates before saving.</p>

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

<h2 id="from-item-wise-sale-orders">Create from Item Wise Sale Orders</h2>

Use the <a href="#/sales/reports/item-wise-sale-order">Item Wise Sale Orders</a> report when you want a plan from ordered demand across many sale orders, not from a single order.

<ol>
<li>Go to <b>Sales → Order Reports → Item Wise Sale Orders</b> and run the report for the period you need.</li>
<li>Select the item rows to produce.</li>
<li>Click <b>Create Production Plan</b> on the selection action bar.</li>
<li>The plan opens pre-filled with <b>Plan Name</b>, today's <b>Start Date</b>, the selected items and quantities, and each item's default active <b>BOM</b> (when one exists).</li>
<li>Set <b>End Date</b> and <b>Production Center</b>, review or change BOMs, then <b>Save</b> or <b>Save And Approve</b>.</li>
</ol>

<p><b>Note:</b> Only <b>producible</b> items are included. Non-producible selections are skipped; if none of the selected items are producible, a warning is shown and no plan is opened.</p>

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

<h2 id="header-fields">Header Fields</h2>

| **Field** | **Description** |
|-----------|-----------------|
| Plan Name * | Name of the production plan. |
| Number | Plan reference number. |
| Start Date * | Plan period start. |
| End Date * | Plan period end. |
| Production Center | Default center for plan lines. |
| Branch | Branch when multi-branch is enabled. |
| Notes | Remarks. |

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

<h2 id="line-table">Item Lines</h2>

| **Column** | **Description** |
|------------|-----------------|
| Sl Num | Line number. |
| Item * | Item to produce. |
| Variant | Variant. |
| BOM | Bill of Materials (single-stage). |
| Multi Stage BOM | Multi stage Bill of Materials — use instead of BOM when the item is produced through multiple stages. |
| Quantity * | Planned quantity. |
| Unit * | Unit of measure. |
| Batch | Batch. |
| Start Date | Line start date. |
| Due Date | Line due date. |
| Priority | Planning priority. |
| Notes | Line remarks. |

<p><b>Note:</b> A line can use either a <b>BOM</b> or a <b>Multi Stage BOM</b>, not both. Choose the one that matches how the item is manufactured.</p>

<b>View — Item Lines</b> also shows an <b>Ordered</b> column (quantity already covered by Production Orders) and a <b>PO</b> column with a <b>Create PO</b> action per line.

<b>View — Linked Production Orders</b> table shows Id, Number #, Item, Quantity, Due Date, Status for orders created from the plan.

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

<h2 id="create-orders">Create Orders from Plan Lines</h2>

On an <b>Approved</b> (or <b>In Progress</b>) plan, each item line in the <b>View</b> shows a <b>Create PO</b> button in the <b>PO</b> column.

<ol>
<li>Open the approved plan.</li>
<li>In the item line, click <b>Create PO</b>. A new Production Order opens pre-filled with the item, variant, unit, BOM or Multi Stage BOM, center, branch, due date, and the line's remaining quantity.</li>
<li>Save the Production Order — it links back to the plan and its line.</li>
</ol>

<b>Partial ordering &amp; remaining balance:</b> the quantity already covered by non-cancelled Production Orders shows in the <b>Ordered</b> column. If only part of a line has been ordered, the <b>Create PO</b> button stays available and shows the balance, e.g. <b>Create PO (Bal: 10)</b>. Clicking it starts a new order pre-filled with just the remaining quantity. Once the full planned quantity is ordered, the button disappears for that line.

<p><b>Example:</b> A line planned for 20 with a Production Order already created for 10 shows <b>Ordered 10</b> and <b>Create PO (Bal: 10)</b> — create another order for the remaining 10.</p>

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

<h2 id="actions-status">Actions &amp; Status</h2>

| **Action** | **Available when status is** |
|------------|------------------------------|
| Approve | Draft |
| Edit | Draft, Sent for Revisal |
| Delete | Draft |
| Cancel | Approved, Closed, In Progress, Completed |
| Send for Revisal | Approved |
| Send for Approval | Sent for Revisal |
| Mark As Closed | Approved, In Progress, Completed |
| Update Plan | Approved |
| Add/Update Note | All |
| Print | All |

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

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

<p><b>How do Production Orders link to a plan?</b><br>Orders created from plan lines show the Production Plan reference on the Production Order view.</p>

<p><b>What does Update Plan do?</b><br>Lets you adjust approved plan lines or generate/update linked orders per your configured workflow.</p>

<p><b>Can one plan span multiple centers?</b><br>The header center is the default; individual lines can specify different centers when creating orders from lines.</p>
<p><b>Can I edit plan lines after PO created?</b><br>Lines linked to production orders lock — cannot edit or delete those lines.</p>
<p><b>Plan date rules?</b><br>End date must be on or after start date; line dates must fall within plan period.</p>
<p><b>How do I create a plan from a Sale Order?</b><br>Open an approved Sale Order → <b>more</b> (⋮) → <b>Create Production Plan</b>. The plan opens pre-filled with the sale order's producible items; adjust and save.</p>
<p><b>How do I create a plan from Item Wise Sale Orders?</b><br>Run <a href="#/sales/reports/item-wise-sale-order">Item Wise Sale Orders</a>, select items → <b>Create Production Plan</b>. Lines are pre-filled with quantities and default BOMs; set center and end date, then save.</p>
<p><b>What BOM is filled from Item Wise Sale Orders?</b><br>The first active BOM for each item. Change it on the plan if the item has more than one BOM. Items without an active BOM are left blank for you to choose.</p>
<p><b>When do I use Multi Stage BOM instead of BOM?</b><br>Use Multi Stage BOM for items produced through multiple stages; use the single BOM for single-stage items. A line can use only one of the two.</p>
<p><b>A line is only partly ordered — how do I order the rest?</b><br>The line keeps a <b>Create PO</b> button showing the balance (e.g. <b>Create PO (Bal: 10)</b>). Click it to create another order for just the remaining quantity. The button disappears once the full planned quantity is ordered.</p>
<p><b>How do I see raw material demand for a plan?</b><br>Use <a href="#/production/reports/plan-wise-raw-materials">Plan Wise Raw Materials</a> under Production → Reports. It consolidates BOM requirements across plan lines (or use <b>Show Detailed</b> per plan line), shows totals, and can create Material Requests from the bottom selection bar.</p>

<section class="ai-index-only">

## Errors and warnings

Exact messages for Production Plan from the ERP screen and `fs_api`. Visitors do not see this section; Vertex AI Search uses it to answer questions about on-screen errors.


### Future or back-dated date

- **Type:** Error (blocks save)
- **Action:** Save, Save And Approve
- **When:** Date is in the future and future-date transactions are off, or the user cannot enter previous dates, or the date is before the allowed cutoff.
- **Example message:** *Future date transactions are not allowed.* or *Previous date transaction entries are not allowed.* or *Transaction date cannot be before YYYY-MM-DD.*
- **Outcome:** The document is not saved.
- **Solution:** Set Date to an allowed date, then save.

### Accounts closed for the date

- **Type:** Error
- **Action:** Approve, Save And Approve, Master Update
- **When:** The document date is in a closed accounting period.
- **Example message:** *Accounts closed for the date*
- **Outcome:** Not posted, or the date is not changed.
- **Solution:** Use a date after the accounts closing date.

### Multi-level approval required

- **Type:** Error / workflow
- **Action:** Approve, Save And Approve
- **When:** An active multi-level approval template matches this document.
- **Example message:** *Multi level approval is required*
- **Outcome:** Direct approve is blocked.
- **Solution:** Use Send Request on the first stage. For Send Request, stage Approve, Reject, Send For Revise, and Cancel Request messages, see <a href="#/features/multiapproval?id=action-errors">Multi Approval — Action error messages</a>.

### Edit or delete not allowed

- **Type:** Error
- **Action:** Edit, Delete
- **When:** Status is not Draft or For Revisal, or auto bill-number is on for delete.
- **Example message:** *Edit not allowed in the current status* or *Invalid status* or *Delete prevented..*
- **Outcome:** Posted documents stay in the ledger.
- **Solution:** Cancel a posted document after unlinking related records. Delete only drafts.

### Cancel date restriction

- **Type:** Error
- **Action:** Cancel
- **When:** User cannot cancel previous-date transactions, or the date is before the cancel cutoff.
- **Example message:** *Cancelling previous date transactions are not allowed* or *Cancelling transactions before YYYY-MM-DD is not allowed.*
- **Outcome:** Not cancelled.
- **Solution:** Cancel only dates the user is allowed to cancel.

### Dates and lines

- **Type:** Error
- **Action:** Save
- **When:** Start/end missing, end before start, no lines, both BOM types on a line, or line dates outside the plan.
- **Example message:** *Start date and end date are required*; *End date must be on or after start date*; *At least one item line is required*; *A line cannot have both a BOM and a Multi Stage BOM. Choose one.*; *Each line due date must fall within the plan period*
- **Outcome:** Not saved.
- **Solution:** Set a valid period, one BOM type per line, and line dates inside the plan.
### Cannot cancel while orders exist

- **Type:** Error
- **Action:** Cancel
- **When:** Production orders are still linked.
- **Example message:** *Cannot cancel: production orders are still linked to this plan*
- **Outcome:** Not cancelled.
- **Solution:** Cancel the production orders first.
### Cannot edit lines that already have orders

- **Type:** Error
- **Action:** Update Plan
- **When:** A line already has a production order.
- **Example message:** *Cannot delete plan line(s) [#ids]: production order already created* or *Cannot edit plan line(s) [#ids]: production order already created*
- **Outcome:** The line is not changed.
- **Solution:** Cancel the production order first, or add a new plan line.

</section>
