# Issue For Subcontracting

<p class="doc-lead">Issue For Subcontracting sends raw materials from your inventory to a supplier center for subcontracted processing. It is created from an approved subcontracting Purchase Order and reduces stock at the source center while increasing stock at the supplier center.</p>

<div class="doc-toc">
<p class="doc-toc-title">On this page</p>
<div class="doc-toc-links">
<a href="#/production/issue-for-subcontracting?id=overview">Overview &amp; List View</a>
<a href="#/production/issue-for-subcontracting?id=quick-start">Quick Start</a>
<a href="#/production/issue-for-subcontracting?id=header-fields">Header Fields</a>
<a href="#/production/issue-for-subcontracting?id=line-table">Item Lines</a>
<a href="#/production/issue-for-subcontracting?id=actions-status">Actions &amp; Status</a>
<a href="#/production/issue-for-subcontracting?id=faq">FAQ</a>
</div>
</div>

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

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

Go to <b>Production → Issue For Subcontracting</b>.

<p>Subcontracting setup requires items marked as subcontracted, a BOM for raw materials, a supplier center, and a Purchase Order with order type <b>Subcontracting</b>. See also the <a href="#/subcontract/">Subcontracting overview</a>.</p>

<b>List columns:</b> Id, Source Center, Destination Center, Order Id, Date, Status.

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

<b>Advanced Filters:</b> Id, Purchase Order, Source Center, Destination Center, 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>Approve a subcontracting <a href="#/purchase/purchase-order">Purchase Order</a>.</li>
<li>From the PO view, click <b>Create Issue</b>, or create manually under Production → Issue For Subcontracting.</li>
<li>Confirm <b>Purchase Order</b>, <b>From Center</b>, and <b>Supplier Center</b>.</li>
<li>Review raw material lines auto-populated from the subcontracted item BOM.</li>
<li><b>Save And Approve</b> to move materials to the supplier center.</li>
</ol>

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

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

| **Field** | **Description** |
|-----------|-----------------|
| Date * | Issue date. |
| Purchase Order | Subcontracting purchase order. |
| From Center * | Your inventory center issuing materials. |
| Supplier Center * | Supplier's tracking center (center type Supplier Center). |
| Employee In charge | Responsible employee. |
| Notes | Remarks. |

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

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

| **Column** | **Description** |
|------------|-----------------|
| Sl Num | Line number. |
| Item | Raw material issued. |
| Variant | Variant. |
| Quantity | Issue quantity. |
| Unit | Unit of measure. |
| Serial Number | Serial numbers when tracked. |
| Batch | Batch. |
| Inv Bin | Inventory bin. |

<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 |
| Cancel | Approved, Sent for Revisal, Closed |
| Master Update | Approved, Closed |
| Add/Update Note | All |
| Print | All |

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

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

<p><b>Where is stock after issue?</b><br>Raw materials sit at the Supplier Center until <a href="#/production/receipt-from-subcontracting">Receipt From Subcontracting</a> brings finished goods back and consumes the issued inputs.</p>

<p><b>How are raw materials determined?</b><br>From the BOM configured on the subcontracted item in Production → Bill Of Materials.</p>

<p><b>Does issuing material change its cost?</b><br>No. Issue moves material at its existing weighted-average value from your center to the supplier center; the value is only used later when the material is consumed on <a href="#/production/receipt-from-subcontracting">Receipt From Subcontracting</a>.</p>

<p><b>Can I issue without a Purchase Order?</b><br>The Purchase Order links the subcontract job to the supplier and pricing — create the PO first with order type Subcontracting.</p>
<p><b>Same supplier and source center?</b><br>Source center and subcontractor destination center cannot be the same.</p>
<p><b>Purchase order link?</b><br>Subcontracting ties to purchase order for the subcontractor.</p>

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

## Errors and warnings

Exact messages for Issue For Subcontracting 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.
- **Example message:** *Serial Number missing*
- **Outcome:** Not approved.
- **Solution:** Select one serial number 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 (or out quantity).
- **Example message:** *Serial Number Quantity Mismatch for  Item <b>Widget ( ItemId 1160 ) </b> in line 2*
- **Outcome:** Not approved.
- **Solution:** Enter exactly as many unique serials as the line quantity.

### Inventory not available

- **Type:** Error (blocks the action)
- **Action:** Approve, Cancel
- **When:** On approve, normal stock is short at the source center. On cancel, normal stock is short at the destination center.
- **Example message:** *Inventory not available* or *Inventory Not Found for Item … in line N*
- **Outcome:** Not posted.
- **Solution:** Approve checks <b>normal stock</b> (WIP blank) at the <b>source</b> center. Cancel checks <b>normal stock</b> (WIP blank) at the <b>destination</b> center. 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, issuing from normal stock at the source would leave a negative stock value. On cancel, taking the quantity back from normal stock at the destination 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.

### Supplier center must be a subcontractor

- **Type:** Error
- **Action:** Save, Approve
- **When:** Source and supplier center are the same, or the supplier center is not a valid subcontractor center.
- **Example message:** *Source center and supplier center cannot be same* (ERP) or *Supplier center is not a valid subcontractor center.*
- **Outcome:** Not saved / not approved.
- **Solution:** Issue from your center to a valid subcontractor center.
### Cancel blocked by receipt

- **Type:** Error
- **Action:** Cancel
- **When:** A Receipt From Subcontracting still exists.
- **Example message:** *Cancel Receipt before cancelling this transaction.*
- **Outcome:** Not cancelled.
- **Solution:** Cancel the receipt first.

</section>
