MRP / Subcontracting MRP

Subcontracting MRP - Operational Workflows & State Machines

Subcontracting lifecycle, component dispatch, finished goods receipt, and state transition tables for SCO and dispatch documents.

Operational Workflows & State Machines

The Subcontracting domain defines explicit workflows and state machines to ensure that every order, dispatch, and receipt moves through a controlled, auditable lifecycle from authorization to cost settlement.


1. Subcontracting Order Creation & Approval

flowchart LR
    A[Service PO / Procurement Commitment] --> B[Create SCO]
    B --> C[Select Approved BOM]
    C --> D[Populate Yield & Conversion Rates]
    D --> E{Approve SCO?}
    E -->|Yes| F[SCO Confirmed]
    E -->|No| G[SCO Rejected]
    F --> H[Component Dispatch Planning]
StageBusiness Responsibility
Service PO / Procurement CommitmentProcurement issues the commercial commitment to the subcontractor for processing services.
Create SCOOperations creates the operational order, linking the service PO and selecting the subcontractor.
Select Approved BOMThe approved, versioned BOM for the finished SKU is attached and frozen on the SCO.
Populate Yield & Conversion RatesPlanned input quantities per finished unit are captured, including expected scrap.
Approve SCOThe order is routed through an approval matrix based on value, material exposure, and subcontractor risk.
SCO ConfirmedThe order becomes binding for component dispatch and finished-goods receipt.

2. Raw Component Transfer to Subcontractor Location

flowchart LR
    A[SCO Confirmed] --> B[Reserve Components]
    B --> C[Create Transfer Note]
    C --> D[Physical Shipment]
    D --> E[Subcontractor Acknowledges Receipt]
    E --> F[Components in Virtual Location]
StageBusiness Responsibility
Reserve ComponentsInventory/WMS reserves the required component quantities against the SCO in the source warehouse.
Create Transfer NoteA Component Transfer Note is generated to record the internal custody movement.
Physical ShipmentComponents are physically shipped to the subcontractor, with carrier tracking and documentation.
Subcontractor Acknowledges ReceiptThe subcontractor confirms physical receipt; the principal updates the virtual location balance.
Components in Virtual LocationComponents are now available for backflushing when finished goods are received.

3. Finished Goods Receipt, Inspection & Backflushing

flowchart TB
    A[Finished Goods Arrive] --> B[Create Subcontracting GRN]
    B --> C[Quality Inspection]
    C --> D{Acceptable?}
    D -->|Yes| E[Accept into Quarantine]
    D -->|No| F[Reject / Return to Subcontractor]
    E --> G[Confirm Receipt]
    G --> H[Backflush Components]
    H --> I[Capitalize Costs]
    I --> J[Move to Sellable Stock]
StageBusiness Responsibility
Finished Goods ArriveThe subcontractor delivers finished output to the principal or designated inbound location.
Create Subcontracting GRNOperations initiates a receiving document linked to the SCO.
Quality InspectionQuality teams inspect physical output against specifications, sampling plans, and certificates.
AcceptableConforming output is accepted into quarantine pending final release.
Reject / ReturnNon-conforming output is rejected, documented, and returned or scrapped per agreement.
Confirm ReceiptThe accepted quantity is confirmed and locked for backflushing.
Backflush ComponentsComponent quantities are automatically deducted from the subcontractor virtual location per BOM.
Capitalize CostsMaterial value and tolling fees are combined into the finished inventory cost.
Move to Sellable StockAfter quarantine release, finished goods become available for sales or internal use.

4. Cost Settlement & Vendor Service Invoice Clearing

flowchart LR
    A[SubcontractProductionCompleted] --> B[Procurement Receives Completion Evidence]
    B --> C[Capture Vendor Service Bill]
    C --> D{Match Bill to SCO?}
    D -->|Yes| E[Approve for Payment]
    D -->|No| F[Discrepancy Workflow]
    F -->|Resolved| E
    F -->|Rejected| G[Debit Note / Dispute]
StageBusiness Responsibility
Completion EvidenceSubcontracting emits the production completion event with quantities and service references.
Capture Vendor Service BillProcurement records the subcontractor’s invoice for tolling, setup, and ancillary services.
Match Bill to SCOQuantities and rates are matched against the SCO and accepted GRN within tolerance.
Approve for PaymentThe matched bill is approved and passed to Treasury for settlement.
Discrepancy WorkflowRate or quantity mismatches trigger renegotiation, debit note, or dispute resolution.

5. State Transition Tables

Subcontracting Order (SCO)

Current StateTrigger / EventNext StateBusiness Validation Rule
DraftSelect approved BOM and subcontractorPending BOM LockBOM is approved and versioned; subcontractor is qualified.
Pending BOM LockConfirm BOM and yield ratesPending ApprovalConversion ratios are populated and within tolerance.
Pending ApprovalApprover approvesConfirmedApproval tier matches SCO value and material exposure.
Pending ApprovalApprover rejectsRejectedRejection reason is mandatory.
ConfirmedComponents fully dispatchedReady for ReceiptRequired component balances exist in subcontractor virtual location.
Ready for ReceiptPartial GRN acceptedPartially ReceivedAccepted quantity is within SCO tolerance and component balances are sufficient.
Partially ReceivedAdditional GRN acceptedPartially Received / Fully ReceivedCumulative received quantity does not exceed SCO quantity plus tolerance.
Partially ReceivedFinal GRN acceptedFully ReceivedCumulative accepted quantity equals or exceeds planned SCO quantity within tolerance.
Fully ReceivedVendor bill matched and settledClosedAll variances resolved and no open commitments remain.
Confirmed / Ready for ReceiptCancelCancelledNo components have been dispatched, or a formal return is completed.

Component Transfer Note / Dispatch

Current StateTrigger / EventNext StateBusiness Validation Rule
DraftSelect SCO and source warehousePending ShipmentSource warehouse has sufficient available balance.
Pending ShipmentGoods physically loadedIn TransitShipment carrier and tracking reference are recorded.
In TransitSubcontractor acknowledges receiptReceivedAcknowledged quantities are within tolerance of dispatched quantities.
ReceivedInventory/WMS updates virtual locationCompletedVirtual location balance is incremented by accepted quantity.
In TransitShipment lost or damagedDiscrepancyVariance reason and scrap/claim documentation are captured.
DiscrepancyClaim resolved or replacement dispatchedCompleted / CancelledAdjusted quantity is reconciled or SCO is amended.

Our Premium Sponsors

Obelaw is proudly open-source. Continued development, bug fixes, and community support are made possible by the generosity of our sponsors.

Sponsor Obelaw