Viindoo demo handbook for manufacturing and assembly
Part VII. Subcontracting
Lessons in this part
- Lesson 50. Subcontracting configuration in use
- Lesson 51. Prepare subcontracting data
- Lesson 52. Subcontracting request and approval
- Lesson 53. Place the subcontracting order, supply materials and receive finished goods
- Lesson 54. Settle materials with the subcontractor
- Lesson 55. Subcontracting fee bills
- Lesson 56. Subcontracting reports
- Lesson 57. Exercise: a complete subcontracting order
This part answers these questions: when you hand part of production to an outside workshop, how do you supply materials, how do you receive the finished goods, and in the end how is the material left over at the outside workshop accounted for? It is written for purchasing staff, storekeepers and accountants.
Every hands-on lesson starts with your company creating its own data: a subcontractor, a subcontracted product, a raw material and a bill of materials of type Subcontracting. Your company does not need to edit any existing record.
Lesson 50. Subcontracting configuration in use
About 10 minutes. By the end of this lesson your company knows which warehouse may supply materials to a subcontractor, which location the materials pass through, and which transfer does it.
Step 1 - Read the warehouse configuration
Open the warehouse Nhà máy Yên Mỹ (Yen My Factory). Look at the Resupply group.
Inventory > Configuration > Warehouse Management > Warehouses
What you should see: the Resupply Subcontractors box is ticked. Thanks to this box the warehouse has the transfer type Resupply Subcontractor (prefix RES), which moves materials from NM1/Tồn kho (NM1/Stock) to Vị trí gia công (Subcontracting location).
Step 2 - Read what the data must have
The system supplies materials by itself only when three conditions are met; your company checks them in the lesson Prepare subcontracting data:
| Condition | What you lose without it |
|---|---|
| The product has a bill of materials of type Subcontracting attached to a subcontractor | A purchase order sent to the subcontractor is just an ordinary purchase order and does not generate a material supply need |
| The raw material has the route Resupply Subcontractor on Order | After confirming the purchase order there is no automatically generated material supply transfer; you have to supply by hand, and receiving the goods will be blocked as "not delivered enough" |
| The warehouse has Resupply Subcontractors ticked | There is no transfer type for supplying materials to an outside workshop |
Step 3 - Read the list of subcontracting requests
Manufacturing > Operations > Subcontracting Requests
What you should see: the list has the columns Reference, Manufacturing Order, Product, Product Unit of Measure and Subcontracting Quantity (for example SR00001 for NM1/MO/01245, quantity 10.00). If there is no request yet, the screen invites you to create one.
Lesson 51. Prepare subcontracting data
About 20 minutes. By the end of this lesson your company has a subcontractor, a subcontracted product, a raw material and a Subcontracting bill of materials to run the next lessons.
Step 1 - Create the subcontractor
Open Vendors, click New, type the name Xưởng gia công cơ khí Hòa Bình (demo), click save.
Purchase > Orders > Vendors
What you should see: the partner is created and belongs to the vendor group.
Step 2 - Create the subcontracted product
Open Products, click New. Name Outsourced Battery Bracket MK-GC-01, tick Track Inventory (by quantity), Reference MK-GC-01, Category Linh kiện và vật tư (Components and supplies), Cost 150,000. Click save.
Purchase > Products > Products
What you should see: the product has a Bill of Materials smart button that counts its bills of materials (0 until you create one in step 4).
Step 3 - Create the raw material with a resupply route
Create a new product Pre-Cut Steel Plate MK-LK-01, tracked in inventory, cost 50,000. Open the Inventory tab and, under Routes, also tick Resupply Subcontractor on Order (the Buy route is already ticked). Click save.
Purchase > Products > Products
What you should see: both the Buy and Resupply Subcontractor on Order boxes are ticked. To have stock to supply, your company buys this raw material into the warehouse as in the lesson Domestic receipt with incoming inspection (for example 100 units at 50,000).
Step 4 - Create the Subcontracting bill of materials
Open Bills of Materials, click New. Product MK-GC-01; in BoM Type choose Subcontracting; in Subcontractors choose the workshop you just created; on the Components tab add the component MK-LK-01 with Standard Quantity 2 and Loss Rate 5. Click save.
Manufacturing > Products > Bills of Materials
What you should see: BoM Type is Subcontracting, the Subcontractors field holds the workshop name, and the Components tab has the steel plate line with Standard Quantity 2.00, Loss Rate 5.00 and Quantity 2.10.
Lesson 52. Subcontracting request and approval
About 20 minutes. By the end of this lesson your company creates a subcontracting request tied to a manufacturing order, sends it for approval and gets it approved.
Prerequisite: you need a confirmed manufacturing order for the very product that has the Subcontracting bill of materials (create the order as in the lesson Check material availability and buy the shortfall for a manufacturing order, and confirm it).
Step 1 - Create the subcontracting request
Open Subcontracting Requests, click New. In Manufacturing Order choose the confirmed order; Subcontracting BOM and Subcontractors fill in automatically; in Subcontracting Qty enter 10.
Manufacturing > Operations > Subcontracting Requests
What you should see: the bill of materials field and the subcontractor field fill in after you choose the order.
Step 2 - Save the request
Manufacturing > Operations > Subcontracting RequestsClick save.
Manufacturing > Operations > Subcontracting Requests
What you should see: the request carries a code of the form SR00001. Once it has been approved (see the next steps) it shows the green Fully Approved ribbon and an Apply button.
Step 3 - Send it for approval
Go back to the list, tick the request, click Actions and choose Get Approved.
Manufacturing > Operations > Subcontracting Requests
What you should see: the Submit for Approval box appears.

What you should see: Approval Request Type is Subcontracting Request, and the Source Records table holds the request you selected. The title is filled in automatically (for example "Subcontracting Request for SR00002 from Administrator"); choose the Employee (required), then click Create Approval Request.
Step 4 - Submit and approve
The approval request is created and submitted automatically. Open it, then a user with approval rights approves it.
Approval > Approval Request > Request
What you should see: the status is To Approve, with the Refuse, Cancel, Force Approval and View Subcontracting Request buttons; Next Approver(s) names the approver.

What you should see: the status is Approved, Approval Progress 100%, with the Mark as Done and View Subcontracting Request buttons.
Lesson 53. Place the subcontracting order, supply materials and receive finished goods
About 30 minutes. By the end of this lesson your company sends a subcontracting order, the system generates the material supply transfer to the outside workshop by itself, and your company receives the finished goods into the warehouse.
Step 1 - Create the purchase order sent to the subcontractor
Create a Request for Quotation for Xưởng gia công cơ khí Hòa Bình (demo), vendor reference MK-VII-02, line MK-GC-01 quantity 10, unit price 150,000. Save.
Purchase > Orders > Requests for Quotation
What you should see: an ordinary purchase order: 1,500,000 VND untaxed plus 150,000 VND of VAT, total 1,650,000 VND.
Step 2 - Confirm the order and look at the Resupply button
Purchase > Orders > Requests for QuotationClick Confirm Order, Validate in the date dialog.
Purchase > Orders > Requests for Quotation
What you should see: the buttons at the top of the order: Resupply shows 1, Receipt shows 1, and Settlement counts the settlement documents (0 at first, 1 once the goods are received); the button bar has Receive Products and Add Resupply (and Create Bill after the goods are received). The material supply transfer has been generated automatically because the raw material has the resupply route.
Step 3 - Validate the material supply transfer
Click Resupply, open the transfer NM1/RES/xxxxx, click Validate, then Validate in the date dialog.
Purchase > Orders > Requests for Quotation
What you should see: the transfer moves from NM1/Tồn kho (NM1/Stock) to Physical Locations/Vị trí gia công (Physical Locations/Subcontracting location), the quantity is the number of brackets times the quantity per bracket in the bill of materials (10.50 steel plates for an order of 5 brackets, 5 x 2.10); the Contact is the subcontractor and the Source Document is the receipt of the order.

What you should see: the status is Done. The entry follows Vietnamese accounting standards: debit 154 / credit 152 for the value of the material supplied (quantity x 50,000 VND).
Step 4 - Receive the subcontracted finished goods
Click Receipt, open the transfer NM1/IN/xxxxx of the order, click Validate, then Validate in the date dialog.
Purchase > Orders > Requests for Quotation
What you should see: a receipt from the subcontractor; the button bar has Record components.

What you should see: the status is Done; the product line carries the Subcontracting label; the system has created the subcontracting production order by itself and deducted the materials already supplied. The receipt entry: debit 152 for the finished goods (materials consumed plus the fee); credit 154 for the materials consumed (quantity consumed x 50,000 VND); credit 151 for the subcontracting fee (quantity x 150,000 VND, waiting for the bill). After that, do the STOR transfer to move the finished goods from Input to Stock.
The system blocks: if the materials supplied are not enough for the finished goods to be received, clicking Validate on the receipt shows "You need to provide enough raw materials to produce the finished products. Please check your Resupply pickings", together with the figures Need to consume, Delivered, Consumed and Remaining.
Step 5 - Supply extra materials before receiving the goods
For another order (5 brackets, vendor reference MK-VII-03), after confirming the order click Add Resupply, on the material line change Quantity Needed Resupply to 4, click Confirm.
Purchase > Orders > Requests for Quotation
What you should see: the Generate Subcontracting Resupply box shows the Subcontracting Order and the Date, and its Subcontracting Resupply Detail tab lists the raw material and the Quantity Needed Resupply you entered.

What you should see: the Resupply button shows 2 (one transfer of 10.50 per the bill of materials, one of 4 supplied extra). Validate both transfers, then receive the finished goods as in step 4.
Limit: you can supply extra only while the order still has an open resupply batch, that is, before the finished goods have been fully received. If you try to supply extra after everything is received, the system says "These materials have no open resupply on this subcontracting order, so there is no manufacturing order for a new delivery to feed".
Lesson 54. Settle materials with the subcontractor
About 20 minutes. By the end of this lesson your company has a settlement document showing the materials delivered, consumed and left at the outside workshop, and returns the surplus to the warehouse.
Step 1 - Create the settlement document
Open Subcontracting Settlement, click New. Choose the Subcontractor, and in Subcontracting Orders choose the order MK-VII-03. The Details table fills in automatically.
Accounting > Accounting > Subcontracting Settlement
What you should see: each supply transfer has one line with the columns Delivered, Consumed, Returned and Remain. In the example, the first line has Delivered 10.50, Consumed 10.50 and Remain 0.00, and the line for the extra supply has Delivered 4.00, Consumed 0.00 and Remain 4.00: four steel plates are still at the outside workshop. For an order that was supplied exactly, like MK-VII-02, Remain is 0.
Step 2 - Confirm the document
Accounting > Accounting > Subcontracting SettlementClick save, then Confirm.
Accounting > Accounting > Subcontracting Settlement
What you should see: the status is Confirmed, with the Done and Cancel buttons. The document can be confirmed only when the subcontracting order has a completed stock transfer.
Step 3 - Complete it and return the surplus
Accounting > Accounting > Subcontracting SettlementClick Done, then click Return. In the Return Resupply Wizard box choose, in Return Picking, the supply transfer that has a remainder, and click Confirm.
Accounting > Accounting > Subcontracting Settlement
What you should see: the status is Done; the Return button.

What you should see: the Return Resupply Wizard box lists, in Return Picking, only the supply transfers that still have an unconsumed part.

What you should see: a new transfer with the source document "Return of NM1/RES/...", moving 4 units from Vị trí gia công (Subcontracting location) back to NM1/Tồn kho (NM1/Stock). Click Validate so the goods come back into stock; the entry for the return: debit 152 / credit 154 200,000 VND (4 x 50,000).
Lesson 55. Subcontracting fee bills
About 10 minutes. By the end of this lesson your company records the subcontracting fee of the subcontractor.
Step 1 - Create the bill
Open the subcontracting order MK-VII-03, click Create Bill, enter the Bill Reference and the Bill Date.
Purchase > Orders > Purchase Orders > MK-VII-03
What you should see: one subcontracted product line, with the quantity already received.
Step 2 - Confirm the bill
Click Confirm.
Purchase > Orders > Purchase Orders
What you should see: the status is Posted, total 825,000 VND including VAT of 75,000 VND. The entry: debit 151 750,000 (matching the credit to 151 at receipt, so 151 returns to 0), debit 1331 75,000, credit 331 825,000.
Lesson 56. Subcontracting reports
About 10 minutes.
| Report | Path | Question it answers |
|---|---|---|
| Subcontracting Report | Purchase > Reporting > Subcontracting Report or Accounting > Reporting > Manufacturing Reports > Subcontracting Report |
For each subcontracted product: how much was ordered, how much received, how much remains; filter by subcontractor and product |
| Subcontracting Settlement | Accounting > Accounting > Subcontracting Settlement |
Settlement documents by subcontractor, and the status of each |
| Subcontracting Requests | Manufacturing > Operations > Subcontracting Requests |
The subcontracting requests tied to manufacturing orders |
| Aged Payable | Accounting > Reporting > Partner Reports > Aged Payable |
How much you still owe the subcontractor |
| Valuation | Inventory > Reporting > Valuation |
Value of the subcontracted finished goods received |
Purchase > Reporting > Subcontracting Report
What you should see: a report titled List of Subcontracting Products with filters for the date (As of), Subcontractors and Products, and one line per product with Unit of Measure, Subcontracting Quantity, Received and Remaining; here 85, 85 and 0.

What you should see: the SS... documents with Settle Date, Reference, Subcontractor, Subcontracting Orders and State.
Lesson 57. Exercise: a complete subcontracting order
About 40 minutes. There are no step-by-step images.
- Buy another 50 units of the raw material
MK-LK-01into the warehouse. - Create a subcontracting order for 8 brackets for the Hòa Bình workshop and confirm it. Check that the automatically generated material supply transfer has quantity 16.
- Click Add Resupply to supply 3 more steel plates. Validate both supply transfers.
- Receive the finished goods (validate the
INtransfer, thenSTOR). - Create the settlement document, check that Remain equals 3, complete it and return 3 steel plates to the warehouse.
- Create the subcontracting fee bill, compare the total with unit price times quantity times tax, then open Subcontracting Report to see the received quantity.
- Answer for yourself: if the resupply route is removed from the raw material, how would step 2 be different?