# Packing Production Order

<p class="doc-lead">A Packing Production Order converts a bulk <b>Semi-Finished Good (SFG)</b> into one or more packed <b>Finished Goods (FG)</b> in a single transaction. You enter the SFG and its quantity, then allocate that quantity across different pack formats (for example 500 g and 1 kg packs). Each pack line becomes its own Production Order under the group, so aggregated issue and receipt still work as one action.</p>

<div class="doc-toc">
<p class="doc-toc-title">On this page</p>
<div class="doc-toc-links">
<a href="#/production/packing-production-order?id=overview">Overview &amp; List View</a>
<a href="#/production/packing-production-order?id=quick-start">Quick Start</a>
<a href="#/production/packing-production-order?id=how-it-works">How It Works</a>
<a href="#/production/packing-production-order?id=example">Worked Example</a>
<a href="#/production/packing-production-order?id=header-fields">Header Fields</a>
<a href="#/production/packing-production-order?id=pack-lines">Finished Good Pack Lines</a>
<a href="#/production/packing-production-order?id=actions-status">Actions &amp; Status</a>
<a href="#/production/packing-production-order?id=faq">FAQ</a>
</div>
</div>

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

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

Go to <b>Production → Packing Production Order</b>.

<b>List columns:</b> Id, Number #, Date, Semi-Finished Good, SFG Quantity, Status.

<b>Quick filter tabs:</b> Default, Approved, Draft, Cancelled, Closed.

<b>Advanced Filters:</b> Id, Item, Notes, Status, date, Created date.

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

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

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

<ol>
<li>Click <b>New</b>.</li>
<li>Set <b>Date</b> and <b>Center</b>.</li>
<li>Select the <b>Semi-Finished Good</b> and enter the <b>SFG Quantity</b> (for example 100 kg).</li>
<li>In <b>Finished Good Packs</b>, pick a <b>Finished Good</b> — only FGs that can be produced from the chosen SFG are listed.</li>
<li>Choose the <b>Pack (BOM)</b> for that FG, then enter the <b>Allocated SFG</b> for the line. <b>Pack Qty</b> is calculated automatically from the BOM.</li>
<li>Add more pack lines until the total <b>Allocated SFG</b> equals the header <b>SFG Quantity</b>.</li>
<li>Click <b>save</b> or <b>Save And Approve</b>.</li>
</ol>

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

<h2 id="how-it-works">How It Works</h2>

<ul>
<li><b>SFG → FG connection:</b> The Finished Good list is driven by your <a href="#/production/bill-of-materials">Bill Of Materials</a>. Only FGs whose BOM consumes the selected SFG as a raw material appear, so you always pick a valid pack for the chosen bulk material.</li>
<li><b>Allocation → Pack Qty:</b> Enter the SFG quantity you want to send to each pack format. The number of packs is derived from the pack BOM's raw-material ratio, so you don't calculate it by hand.</li>
<li><b>One child order per pack line:</b> Each pack line becomes a separate Production Order. This keeps each pack format's packing material and cost distinct, while the group still lets you issue and receive in one step.</li>
<li><b>Validation:</b> The sum of <b>Allocated SFG</b> across all pack lines must equal the header <b>SFG Quantity</b> before the order can be saved.</li>
</ul>

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

<h2 id="example">Worked Example</h2>

<p><b>Scenario:</b> You produced <b>100 kg</b> of bulk <b>Coconut Oil (SFG)</b> and want to pack it into two retail formats — a <b>500 ml</b> pack and a <b>1 litre</b> pack.</p>

<p><b>Prerequisite — BOMs (created once in <a href="#/production/bill-of-materials">Bill Of Materials</a>):</b></p>

| **Finished Good** | **Pack BOM** | **SFG consumed per pack** |
|-------------------|--------------|---------------------------|
| Coconut Oil 500 ml | Coconut Oil 500 ml BOM | 0.5 kg |
| Coconut Oil 1 L | Coconut Oil 1 L BOM | 1 kg |

<p>Because both BOMs list <b>Coconut Oil (SFG)</b> as a raw material, both Finished Goods appear once you select that SFG on the order.</p>

<p><b>On the Packing Production Order:</b></p>

<ol>
<li>Header — <b>Semi-Finished Good</b> = Coconut Oil, <b>SFG Unit</b> = kg, <b>SFG Quantity</b> = <b>100</b>.</li>
<li>Line 1 — <b>Finished Good</b> = Coconut Oil 500 ml, <b>Pack (BOM)</b> = Coconut Oil 500 ml BOM, <b>Allocated SFG</b> = <b>70</b>. Pack Qty auto-calculates to <b>70 ÷ 0.5 = 140</b> packs.</li>
<li>Line 2 — <b>Finished Good</b> = Coconut Oil 1 L, <b>Pack (BOM)</b> = Coconut Oil 1 L BOM, <b>Allocated SFG</b> = <b>30</b>. Pack Qty auto-calculates to <b>30 ÷ 1 = 30</b> packs.</li>
</ol>

| **Finished Good** | **Pack (BOM)** | **Allocated SFG (kg)** | **Pack Qty** |
|-------------------|----------------|------------------------|--------------|
| Coconut Oil 500 ml | Coconut Oil 500 ml BOM | 70 | 140 |
| Coconut Oil 1 L | Coconut Oil 1 L BOM | 30 | 30 |
| **Total** | | **100** | |

<p>The total Allocated SFG (70 + 30 = <b>100 kg</b>) equals the header SFG Quantity, so the order saves. If you had entered 70 + 40 = 110, saving would be blocked with a message that the allocations must equal the SFG Quantity.</p>

<p><b>Then the flow completes as one set of actions:</b></p>

<ol>
<li><b>Approve</b> — two child Production Orders are created (500 ml pack and 1 L pack).</li>
<li><b>Create Issue For Production</b> — a single issue covers the raw materials for <i>both</i> pack lines (the 100 kg of Coconut Oil plus each pack's packing material).</li>
<li>Record a <b>Production Voucher</b> per pack line, so each format carries its own packing material and cost.</li>
<li><b>Create Receipt From Production</b> — receive 140 × 500 ml and 30 × 1 L into stock in one receipt. If only the 500 ml packs are done, receive those now and receive the 1 L packs later (partial receipt); the group stays open until everything is received.</li>
</ol>

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

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

| **Field** | **Description** |
|-----------|-----------------|
| Date * | Transaction date. |
| Center * | Production center. Applied to every pack line. |
| Semi-Finished Good * | The bulk SFG being packed. |
| SFG Unit * | Unit of measure for the SFG quantity. |
| SFG Quantity * | Total bulk quantity to pack (must equal the sum of allocations). |
| Source Production Order | Optional link to the originating SFG Production Order for traceability. |

<b>Other Details</b>

| **Field** | **Description** |
|-----------|-----------------|
| Branch | Branch when multi-branch is enabled. |
| Employee | Employee in charge. Applied to every pack line. |
| Notes | Remarks. |

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

<h2 id="pack-lines">Finished Good Pack Lines</h2>

| **Column** | **Description** |
|------------|-----------------|
| Finished Good * | Packed FG to produce. Only FGs producible from the selected SFG are listed. Use the info button to view item enquiry. |
| Pack (BOM) * | The pack format's BOM. Filtered by the selected Finished Good. Use the info button to view the BOM. |
| Allocated SFG * | Portion of the header SFG quantity assigned to this pack format. |
| Pack Qty * | Number of packs produced — auto-calculated from the pack BOM and Allocated SFG. |

<b>View line table</b> shows each created Production Order with Number [Id], Finished Good, Pack (BOM), Allocated SFG, Pack Qty, Unit, and Status.

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

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

| **Action** | **Available when status is** |
|------------|------------------------------|
| Approve | Draft |
| Edit | Draft |
| Delete | Draft |
| Create Issue For Production | Approved, Inventory Issued, Partially Finished |
| Create Receipt From Production | Approved, Inventory Issued, Partially Finished |
| Cancel | Approved, Closed |
| Add/Update Note | All |

<b>Aggregated issue:</b> A single Issue For Production covers the raw materials for all pack lines, so you don't issue per pack.

<b>Aggregated &amp; partial receipt:</b> A single Receipt From Production receives the packed goods. You can receive whatever pack lines are completed so far; a later receipt handles the remaining lines. The group stays open until all pack lines are received and in a terminal state.

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

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

<p><b>Why is my Finished Good not in the list?</b><br>The FG must have a <a href="#/production/bill-of-materials">BOM</a> that consumes the selected Semi-Finished Good. Add the SFG as a raw material in that pack's BOM.</p>

<p><b>Why can't I save?</b><br>The total of all <b>Allocated SFG</b> values must equal the header <b>SFG Quantity</b>. Adjust the allocations so they add up.</p>

<p><b>How is Pack Qty calculated?</b><br>From the pack BOM's raw-material ratio for the SFG. Enter Allocated SFG and the packs are derived automatically — for example, 70 kg allocated to a 500 ml pack that uses 0.5 kg each gives 70 ÷ 0.5 = 140 packs.</p>

<p><b>How do different packs carry different packing materials and cost?</b><br>Each pack line is its own Production Order and Production Voucher, so each pack format absorbs its own packing material and cost correctly.</p>

<p><b>Can I issue and receive once for the whole order?</b><br>Yes — the group provides a single Issue For Production and a single Receipt From Production. Receipts can also be partial.</p>

<p><b>Which production setting affects this?</b><br>Review <a href="#/production/production-settings-config">Production Settings</a> for variance, quantity, and BOM rules.</p>
