# Production Voucher

<p class="doc-lead">A Production Voucher records the actual production run — gross and net quantity produced, raw materials consumed, overheads applied, by-products generated, and employee wages. On approval it posts inventory consumption and finished-goods WIP at the production center, allocates cost across the main product and by-products, and optionally creates Employee Production Wage entries for payroll.</p>

<div class="doc-toc">
<p class="doc-toc-title">On this page</p>
<div class="doc-toc-links">
<a href="#/production/production-voucher?id=overview">Overview &amp; List View</a>
<a href="#/production/production-voucher?id=quick-start">Quick Start</a>
<a href="#/production/production-voucher?id=header-fields">Header Fields</a>
<a href="#/production/production-voucher?id=product-obtained">Product Obtained</a>
<a href="#/production/production-voucher?id=raw-materials">Raw Materials Consumed</a>
<a href="#/production/production-voucher?id=overheads">Overhead Charges</a>
<a href="#/production/production-voucher?id=by-products">By Products &amp; Cost Split</a>
<a href="#/production/production-voucher?id=employee-wages">Employee Wages</a>
<a href="#/production/production-voucher?id=cost-summary">Cost Summary</a>
<a href="#/production/production-voucher?id=variance-approval">Variance &amp; Approval</a>
<a href="#/production/production-voucher?id=actions-status">Actions &amp; Status</a>
<a href="#/production/production-voucher?id=faq">FAQ</a>
</div>
</div>

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

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

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

<b>List columns:</b> Id, Number #, Item, Item Group, Variant, Center, Quantity, unit, Batch, Order Id, Date, Branch, Status.

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

<b>Advanced Filters:</b> Id, Bill No, Production Order Id, Item, Item Group, Center, Employee, Raw Material, Batch, Machine, Notes, Status, date, Created date.

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

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

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

<ol>
<li>Create from an approved <a href="#/production/production-order">Production Order</a> or <a href="#/production/issue-for-production">Issue For Production</a>.</li>
<li>Enter <b>Date</b>, <b>Center</b>, finished <b>Item</b>, <b>Gross Quantity</b>, <b>Wastage Quantity</b>, and <b>Net Quantity</b>.</li>
<li>Review <b>Raw Materials Consumed</b>, <b>Overhead Charges</b>, <b>By Products Obtained</b>, and <b>Employee Wages</b> lines pulled from the BOM.</li>
<li><b>Save And Approve</b>. If output or material variance exceeds limits, multi-level approval may be required before the voucher posts.</li>
<li>Create <a href="#/production/receipt-from-production">Receipt From Production</a> to move finished goods to net stock.</li>
</ol>

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

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

| **Field** | **Description** |
|-----------|-----------------|
| Date * | Voucher date. |
| Number | Voucher bill number. |
| Production Order | Linked order. Drives expected output quantity for variance checks. |
| Production Order Stage | Stage for multi-stage production. |
| Center * | Production center where WIP is posted. |
| Employee In charge | Responsible employee. Used when matching variance approval templates. |
| Branch | Branch. |
| Machine | Machine used. Appears on <a href="#/production/reports/machine-wise-report">Machine Wise Report</a>. |
| Notes | Remarks. |

The finished item, quantities, batch, and bin are entered in the <b>Product Obtained</b> section below.

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

<h2 id="product-obtained">Product Obtained</h2>

This section records the main finished good produced on the voucher.

| **Field** | **Description** |
|-----------|-----------------|
| Item * | Finished item produced. |
| Variant | Item variant when applicable. |
| Gross Quantity * | Total physical output before wastage. |
| Wastage Quantity | Rejected or lost quantity subtracted from gross. |
| Net Quantity * | Usable output (`Gross − Wastage`). Drives order completion, costing denominator, and piece-rate wage quantity. |
| Unit * | Unit of measure. |
| Batch | Output batch. Required when the item is batch-tracked. |
| SerialNumbers | Serial numbers when the item is serial-tracked. Count must match net quantity. |
| Inv Bin | Inventory bin at the production center. |

<h3 id="batch-split">Batch wise Quantity split up</h3>

Use this sub-table when a single voucher produces the same item across <b>multiple batches</b> (for example, one run split into two batch numbers).

| **Column** | **Description** |
|------------|-----------------|
| Batch | Batch for this portion of output. Each batch may appear only once. |
| Quantity / Net Quantity | Quantity assigned to that batch. |
| Serial Numbers | Serial numbers for that batch row when tracked. |

On approval, the system splits the main product's unit cost across batch rows proportionally. Duplicate batches in the split-up are blocked.

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

<h2 id="raw-materials">Raw Materials Consumed</h2>

Materials consumed during the run. Lines are typically copied from the BOM and scaled to the voucher quantity.

| **Column** | **Description** |
|------------|-----------------|
| Sl Num | Line serial number. |
| Item * | Raw material item. |
| Variant | Item variant. |
| Quantity * | Quantity consumed. |
| Unit * | Unit of measure. |
| Serial Numbers | Serial numbers issued/consumed when tracked. |
| Batch | Batch consumed when batch-tracked. |
| Inv Bin | Source bin at the production center. |

<b>Inventory effect on approve:</b> each line posts an inventory <b>out</b> movement from the production center at its unit cost. The sum of raw material values forms the base production cost before overheads, wages, and by-product allocation.

<b>Locked lines:</b> when <b>Lock raw materials in Production Vouchers created over Production Order</b> is enabled in <a href="#/production/production-settings-config">Production Settings</a>, consumption on order-linked vouchers matches issued material and cannot be freely edited.

<b>Variance check:</b> on approve, each line is compared to the BOM-scaled expected quantity. If deviation exceeds the BOM line's <b>Deviation Limit (%)</b> or the workspace <b>Default raw material deviation limit (%)</b>, approval may require multi-level sign-off (see <a href="#/production/production-voucher?id=variance-approval">Variance &amp; Approval</a>).

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

<h2 id="overheads">Overhead Charges</h2>

Indirect production costs applied on top of raw materials.

| **Column** | **Description** |
|------------|-----------------|
| Sl Num | Line serial number. |
| Expense account | Overhead expense account from the chart of accounts. |
| Rate | Rate per BOM unit (when charge type is Unit Charge) or fixed amount basis. |
| Quantity | Quantity multiplier for unit charges. |
| Total | Calculated charge amount added to production cost. |

Overhead charge types on the BOM (and copied to the voucher):

| **Type** | **How it calculates** | **Example** |
|----------|----------------------|-------------|
| Unit Charge | `Rate × quantity` scaled to voucher output | Electricity ₹2 per kg produced → 500 kg run = ₹1,000 |
| Fixed Charge | Fixed amount for the run regardless of output | Setup cost ₹500 per voucher |

Overhead totals are included in total production cost and appear on the <a href="#/production/reports/overhead-charge-wise-report">Overhead Charge Wise Report</a> and dashboard pie chart.

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

<h2 id="by-products">By Products Obtained &amp; Cost Split</h2>

Secondary outputs produced alongside the main item. By-products receive inventory <b>in</b> at an allocated cost, which reduces the cost left for the main product.

| **Column** | **Description** |
|------------|-----------------|
| Sl Num | Line serial number. |
| Item | By-product item. |
| Variant | Item variant. |
| Quantity | Gross quantity of by-product. |
| Unit | Unit of measure. |
| SerialNumbers / Batch / Inv Bin | Tracking fields when applicable. |
| % of cost Allocation | Percentage of total production cost assigned to this by-product. |
| Per unit cost | Fixed cost per unit of by-product (alternative to percentage). |

<h3 id="cost-split-logic">How cost is split</h3>

<p>Total production cost is calculated as:</p>

<p><b>Total cost = Raw material cost + Overhead charges + Employee wages</b></p>

<p>Each by-product line is costed using <b>one</b> of these methods (defined on the BOM and copied to the voucher):</p>

| **Method** | **Formula** | **Example** |
|------------|---------------|-------------|
| Per unit cost | By-product quantity × per unit cost | Scrap metal 50 kg × ₹10/kg = ₹500 credited to scrap |
| % of cost Allocation | Total cost × (percentage ÷ 100) | 10% of ₹20,000 total cost = ₹2,000 to by-product |

<p>The main finished item receives the <b>remaining balance</b> divided by its net quantity:</p>

<p><b>Main product unit cost = (Total cost − sum of by-product costs) ÷ Main net quantity</b></p>

<p><b>Example:</b> Total cost ₹10,000. By-product A gets 15% (₹1,500). By-product B has per unit cost ₹20 × 10 units = ₹200. Main product net qty 100 → unit cost = (10,000 − 1,500 − 200) ÷ 100 = <b>₹83.00</b>.</p>

<p>Configure allocation on the BOM under <b>By Products Generated</b>. The voucher inherits the same rules. You must choose either percentage or per unit cost for each by-product line — not both.</p>

<p>When <b>Exclude By Product Quantity in yield calculation</b> is enabled in Production Settings, by-product quantity is excluded from yield % on the voucher view.</p>

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

<h2 id="employee-wages">Employee Wages</h2>

<p>Labour cost for employees who worked on the run. This section appears only when <b>Enable Piece-Rate/Hourly-Rate Wages in Production</b> is turned on in <a href="#/payroll/payroll-settings">Payroll Settings</a>.</p>

| **Column** | **Description** |
|------------|-----------------|
| Sl Num | Line serial number. |
| Employee | Employee who performed the work. |
| Type | Wage type — Piece Rate or Hourly Rate (from BOM). |
| Rate per unit | Rate applied per unit or per hour. |
| Quantity | Units produced (for piece rate). |
| Hours | Hours worked (for hourly rate). |
| Total | Calculated wage amount (`Quantity × Rate` or `Hours × Rate`). |

<h3 id="wage-types">Wage types</h3>

| **Type** | **Rate source** | **Example** |
|----------|-----------------|-------------|
| Piece Rate | BOM <b>Piece Rate</b> field, editable on the voucher line | Worker sews 200 shirts at ₹15/shirt → ₹3,000 |
| Hourly Rate | Employee's <b>Hourly Rate</b> from their Payroll Group | Worker 8 hours at ₹120/hour → ₹960 |

<p>Set the default wage type and piece rate on the BOM (<b>Wage Type</b> and <b>Piece Rate</b>). When you create a voucher from an order, employee wage lines are pre-filled from the BOM and scaled to net quantity.</p>

<h3 id="payroll-connection">Connection to payroll</h3>

<ol>
<li>On voucher <b>approve</b>, each employee wage line creates an <b>Employee Production Wage</b> record (Payroll → Production Wage) with status <b>Approved</b> (unpaid).</li>
<li>When you run <b>Payrun</b>, approved production wages in the pay period are included as a production-wage payment line.</li>
<li>On payrun approve, linked production wages move to <b>Paid</b> status.</li>
<li>Canceling a payrun reverts wages to approved/unpaid. Canceling a voucher is blocked if any linked wage is already paid.</li>
</ol>

<p>See <a href="#/payroll/production-wage">Production Wage</a> and <a href="#/payroll/reports/employee-piece-rate-report">Employee Piece Rate Report</a> for verification before payrun.</p>

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

<h2 id="cost-summary">Cost Summary (View)</h2>

<p>After approval, the voucher view shows calculated costing and variance metrics:</p>

| **Field** | **Description** |
|-----------|-----------------|
| Unit Cost | Cost per unit of the main finished item after by-product allocation. |
| Total Cost | Full production cost (materials + overheads + wages). |
| Yield % | Net quantity as a percentage of gross quantity. |
| Loss % | Wastage as a percentage of gross quantity. |
| Output Variance % | Difference between actual net output and expected order/BOM quantity. |
| Output Variance Qty | Absolute quantity difference from expected output. |

<h3 id="production-cost-tab">Production Cost tab</h3>

<p>The <b>Production Cost</b> tab on the voucher view shows how the unit cost is built up. Click the expand icon for the full breakdown, and use the <b>Export</b> button in the summary header to download it to Excel.</p>

<p>The top summary shows totals and a <b>Per Unit Cost Breakdown</b> — each cost bucket expressed per produced unit:</p>

| **Field** | **Description** |
|-----------|-----------------|
| Produced Item | Main finished item. |
| Total Quantity | Net quantity produced. |
| Total Cost | Full production cost (raw materials + overhead + employee wages). |
| Raw Material Cost | Raw material cost per produced unit. |
| Labour Charge | Employee wage cost per produced unit. |
| Overhead Charge | Overhead charge per produced unit. |
| Avg Unit Cost | Final cost per unit after by-product allocation. |

<p>Below the summary, detailed sections list <b>Raw Material Cost</b>, <b>Overhead Charges</b>, and <b>Employee Cost</b> line by line. When by-products exist, a <b>Less: By-Products Value</b> line shows the value deducted from total cost, because by-products absorb a share of the production cost.</p>

<p>The <b>Employee Cost</b> section lists each wage line:</p>

| **Column** | **Description** |
|------------|-----------------|
| Employee | Employee who performed the work. |
| Type | Piece Rate or Hourly Rate. |
| Hours | Hours worked (hourly-rate lines). |
| Rate/Hr | Effective hourly rate (`Amount ÷ Hours`). |
| Amount | Wage amount for the line. |

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

<h2 id="variance-approval">Variance &amp; Approval</h2>

<p>Production Settings and BOM limits control when a voucher can be approved directly versus when multi-level approval is required.</p>

<h3 id="variance-limits">Limits checked on approve</h3>

| **Check** | **Limit source** | **What is compared** |
|-----------|-------------------|----------------------|
| Output variance | BOM <b>Output Variance Limit (%)</b>, else workspace <b>Default output variance limit (%)</b> | Voucher net quantity vs Production Order / BOM expected quantity |
| Raw material deviation | BOM raw material line <b>Deviation Limit (%)</b>, else workspace <b>Default raw material deviation limit (%)</b> | Each consumed material vs BOM-scaled expected quantity |

<p>If a limit is <b>zero or blank</b>, that check is skipped.</p>

<h3 id="variance-workflow">What happens when variance exceeds the limit</h3>

<ol>
<li>Approve is blocked with a variance message that ends in <b>Multi level approval is required</b> — for example <b>Finished goods wastage (…%) exceeds the allowed limit (…%). Multi level approval is required.</b>, <b>Finished goods output variance (over-production …%) exceeds the allowed limit (…%). Multi level approval is required.</b>, or <b>Raw material deviation exceeds the allowed limit for: …. Multi level approval is required.</b></li>
<li>The system stores <b>Output Variance %</b>, <b>Output Variance Qty</b>, and detailed variance notes on the voucher.</li>
<li>If an <b>Approval Template</b> exists for document type <b>Production Voucher</b> with approval condition <b>Variance Exceeded</b>, it is attached automatically.</li>
<li>Complete the approval workflow (Settings → Approval Template). Stage actions use the same messages as <a href="#/features/multiapproval?id=action-errors">Multi Approval — Action error messages</a>. Once approved through all stages, the voucher can be approved and inventory posts normally.</li>
</ol>

<p>Review variance trends on <a href="#/production/reports/order-wise-variance">Order Wise Variance</a>, <a href="#/production/reports/material-usage-variance">Material Usage Variance</a>, and the Production Dashboard variance charts (when enabled).</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, Sent for Revisal |
| Clone | All |
| Create Receipt From Production | Approved |
| Cancel | Approved, Closed |
| Update Serial Numbers | Approved, Closed |
| Mark As Closed | Approved |
| Undo Close | Closed |
| Master Update | Approved, Closed |
| Print Labels | All |
| Add/Update Note | All |
| Print | All |

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

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

<p><b>Can I create a voucher without raw materials?</b><br>When <b>Provision for Production Voucher without raw materials</b> is enabled in Production Settings, raw material lines are optional.</p>

<p><b>What is Yield %?</b><br>Net quantity as a percentage of gross quantity. By-product quantity may be excluded per Production Settings.</p>

<p><b>Why are raw materials locked?</b><br>When <b>Lock raw materials in Production Vouchers created over Production Order</b> is on, consumption lines match issued material and cannot be freely edited.</p>

<p><b>Why don't I see Employee Wages?</b><br>Enable <b>Enable Piece-Rate/Hourly-Rate Wages in Production</b> in Payroll Settings and set <b>Wage Type</b> on the BOM.</p>

<p><b>Can I use both cost percentage and per unit cost on a by-product?</b><br>No — choose one method per by-product line. Per unit cost takes precedence when both values are present during costing.</p>

<p><b>Where do I see voucher detail in reports?</b><br><a href="#/production/reports/production-report">Production Report</a> lists every voucher with cost breakdown.</p>

<p><b>Why was variance approval required?</b><br>Output quantity or raw material consumption exceeded limits set in <a href="#/production/production-settings-config">Production Settings</a>. Complete multi-level approval before the voucher can post.</p>

<p><b>Why is batch or serial required?</b><br>Batch-tracked items need batch on lines; serial-tracked items need serial numbers matching output quantity with no duplicates.</p>

<p><b>Why do I see a prompt after changing Gross Quantity?</b><br>If gross quantity changes after raw materials were fetched from the BOM, the system asks whether to continue without refetching. Refetch scales consumption to the new output — skipping may leave material lines out of sync with production.</p>

<p><b>Why was batch split approve blocked?</b><br>When <b>Batch wise Quantity split up</b> is used, the sum of split quantities must equal <b>Gross Quantity − Wastage Quantity</b>. The same batch cannot appear twice in the split table.</p>

<p><b>Can the finished item appear on raw material lines?</b><br>No. The same item cannot be both the main product (or by-product) and a raw material on the same voucher.</p>

<p><b>Can I add the same by-product twice?</b><br>No. Each by-product item may appear only once on the voucher.</p>

<p><b>Why was hourly wage approve blocked?</b><br>For hourly-rate lines, each employee must have an hourly rate in payroll salary configuration. Update the employee's payroll group before approving.</p>

<p><b>Variance exceeded but no approval workflow started?</b><br>An approval template for <b>Production Voucher</b> with condition <b>Variance Exceeded</b> must exist. Without it, approve stays blocked after the variance warning.</p>

<p><b>Why is Direct Approve hidden after variance?</b><br>When a variance attaches an approval template, use <b>Request Approval</b> and complete all approval stages before final approve.</p>

<p><b>Does approving post finished goods to warehouse stock?</b><br>Approve posts WIP and consumption at the production <b>Center</b>. Use <b>Create Receipt From Production</b> on an approved voucher to move finished goods into net stock at the receipt center.</p>

<p><b>Why can I not cancel this voucher?</b><br>Cancel linked <a href="#/production/receipt-from-production">Receipt From Production</a> documents first. If employee piece-rate wages were paid in a payrun, cancel that payrun before cancelling the voucher.</p>

<p><b>How is raw material deviation limit chosen?</b><br>Each BOM raw material line can have its own <b>Deviation Limit (%)</b>. If blank, the workspace <b>Default raw material deviation limit (%)</b> in Production Settings applies.</p>

<p><b>When is output batch auto-generated?</b><br>When the BOM has <b>Auto generate batch</b> enabled, the system can create output batch numbers from the BOM prefix on approve — including one batch per row in batch-wise split.</p>

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

## Errors and warnings

Exact messages for Production Voucher 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.

### Items missing or invalid

- **Type:** Error (blocks save)
- **Action:** Save, Save And Approve
- **When:** Item lines are empty, a required field is missing, or line totals do not match.
- **Example message:** *items not found* or *Invalid Data in lines {N}* (`fs_api`). ERP: *Items contains invalid data* or *Items required*.
- **Outcome:** Not saved.
- **Solution:** Add valid item lines, then save.

### Serial Number missing

- **Type:** Error
- **Action:** Approve, Save And Approve
- **When:** A serial-tracked item line has no serial numbers when stock posts (gain create or loss select, depending on document).
- **Example message:** *Serial Number missing*
- **Outcome:** Not approved.
- **Solution:** Enter or select one serial per unit for the line quantity. Shared catalog: <a href="#/inventory/serial-numbers">Serial Numbers</a>.

### Duplicate Serial Number found

- **Type:** Error
- **Action:** Save, Approve, Save And Approve
- **When:** The same serial name or id appears more than once on a line, or approve stock posting finds duplicate serial ids.
- **Example message:** *Duplicate Serial Number found <b>SN-001</b> for Item <b>Widget</b> ( ItemId 1160 ) in line 2* or *Duplicate Serial Number found for  Item <b>Widget ( ItemId 1160 ) </b> in line 2*
- **Outcome:** Not saved / not approved.
- **Solution:** Enter each serial only once on the line.

### Serial Number Quantity Mismatch

- **Type:** Error
- **Action:** Approve, Save And Approve
- **When:** The count of serial numbers differs from the line quantity.
- **Example message:** *Serial Number Quantity Mismatch for  Item <b>Widget ( ItemId 1160 ) </b> in line 2* or *Serial Number Quantity Mismatch for  Item <b>Widget ( ItemId 1160 ) </b>*
- **Outcome:** Not approved.
- **Solution:** Enter exactly as many unique serials as the line quantity.

### SerialNumber not found

- **Type:** Error
- **Action:** Save, Save And Approve
- **When:** On a select/issue path, a serial name (or name in a range) is missing or cancelled for that item.
- **Example message:** *SerialNumber <b>SN-999</b> in line 2 not found*
- **Outcome:** Not saved.
- **Solution:** Pick serials that exist in stock for the item, or correct the range.

### SerialNumber already exist

- **Type:** Error
- **Action:** Approve, Save And Approve
- **When:** On an add/create path, approving creates serials and the name already exists for the item.
- **Example message:** *SerialNumber <b>SN-001</b> in line 2 already exist*
- **Outcome:** Not approved. New serials are not created.
- **Solution:** Use a unique serial name for each new unit.

### Invalid Number of Serial Numbers

- **Type:** Error
- **Action:** Approve, Save And Approve
- **When:** Stock posting finds a serial count that fails the line quantity check (wording used on Production Voucher and Inventory Conversion).
- **Example message:** *Invalid Number of Serial Numbers*
- **Outcome:** Not approved.
- **Solution:** Align the number of serials with the line quantity, then approve.

### Inventory not available

- **Type:** Error (blocks the action)
- **Action:** Approve, Cancel
- **When:** On approve, work-in-progress stock of the raw materials is short at the voucher center. On cancel, work-in-progress stock of the finished item or a by-product is short — those outputs were added to WIP, and cancel takes them back from WIP.
- **Example message:** *Inventory not available* or *Inventory Not Found for Item … in line N*
- **Outcome:** Not posted.
- **Solution:** Approve checks <b>WIP</b> of the raw materials at the voucher center. Cancel checks <b>WIP</b> of the finished item and by-products (not normal stock). If a Receipt from Production has already moved that output into normal stock, cancel cannot find it in WIP. Open <a href="#/inventory/reports/item-enquiry">Item Enquiry</a> and search the item for a basic view (<b>Item Stock</b>, and <b>In hand</b> versus <b>WIP</b> by center). For the exact layer, open <a href="#/inventory/reports/inventory-summary">Inventory Summary</a>, turn on every <b>Group by</b> button (<b>Item</b>, <b>WIP</b>, <b>Center</b>, <b>Variant</b>, <b>Batch</b>, <b>Inv Bin</b>), search the item, and match the center, batch, inventory bin, and variant on the line. The system does not allow negative stock, so that row must already hold the quantity.

### Value cannot be negative

- **Type:** Error (blocks the action)
- **Action:** Approve, Cancel
- **When:** On approve, consuming raw materials from WIP would leave a negative stock value on that WIP layer. On cancel, taking back the finished item or by-products from WIP would do the same.
- **Example message:** *Insufficient stock value of {amount} for item id {id}*
- **Outcome:** Not posted. Stock value is not changed.
- **Solution:** The action will result in a negative item value. Increase the item value through <a href="#/inventory/inventory-revaluation">Inventory Revaluation</a> on that same layer, then try again.

### Quality inspection pending

- **Type:** Error (blocks approve)
- **Action:** Approve
- **When:** QC is required and still pending (`qcStatus` pending).
- **Example message:** *Quality Inspection is Pending*
- **Outcome:** Approve fails.
- **Solution:** Complete Quality Inspection first, then Approve.

### Quantity, batch, serial, by-product cost

- **Type:** Error
- **Action:** Save
- **When:** Product qty missing, SN/batch missing, batch split ≠ net qty, or by-product has both cost fields.
- **Example message:** *Quantity is required*; *Serial numbers required*; *Batch required for product obtained*; *Batch wise quantity is not matching with actual quantity ( Gross qty - wastage quantity )*; *Duplicate batch … not allowed*; *Please choose either cost percentage or per unit cost in by products*
- **Outcome:** Not saved.
- **Solution:** Complete product qty, SN/batch, and one cost method on by-products.
### Variance exceeds limit — multi-level approval

- **Type:** Error
- **Action:** Approve
- **When:** Wastage, over-production, or raw-material deviation exceeds the BOM/settings limit.
- **Example message:** *Finished goods wastage (…%) exceeds the allowed limit (…%). Multi level approval is required.*; *Finished goods output variance (over-production …%) exceeds the allowed limit…*; *Raw material deviation exceeds the allowed limit for: {items}. Multi level approval is required.*; *No variance approval template is configured…*
- **Outcome:** Direct approve is blocked.
- **Solution:** Create a Production Voucher approval template with term Variance Exceeded, then use the stage panel.
### Hourly rate missing

- **Type:** Error
- **Action:** Approve
- **When:** A labour line has hours but the employee has no hourly rate.
- **Example message:** *Hourly rate not set for employee (…). Please update salary configuration.*
- **Outcome:** Not approved.
- **Solution:** Set the hourly rate on the employee salary configuration.
### Cancel blocked by receipt or pay run

- **Type:** Error
- **Action:** Cancel
- **When:** Receipt From Production or a paid piece-rate pay run still exists.
- **Example message:** *Cancel Receipt From Production with id = … before Cancelling Voucher.* or *Employee piece rate had already paid on this voucher. Cancel payrun before cancelling production voucher*
- **Outcome:** Not cancelled.
- **Solution:** Cancel the receipt or pay run first.

</section>
