Skip to main content

Manufacturing & distribution

ERPNext Subcontracting Consumes Transferred Qty, Not the BOM (2026)

Send a job worker more raw material than the BOM needs and ERPNext can consume all of it into the finished good. The setting that decides it, and the fix.

Updated 12 Oct 20268 min readBy ManojFirst published 30 Jul 2026

You send a job worker 20 kg of raw material for a job the BOM says needs 10, because that's how the drum ships. The finished goods come back, and ERPNext records that the job consumed 20 kg, not the 10 the BOM specifies. The extra 10 kg is now in your finished-goods cost, though the product never used it and the surplus is still with the supplier. One setting decides this. This guide shows how to confirm you're hitting it, how to make consumption follow the BOM, and how to correct the receipts that already over-consumed.

Over-consumption in subcontracting is invisible on the shop floor and loud in the costing report, by which time months of finished goods carry a cost they never incurred. I lead ERPNext and Frappe programmes at MithTech, a team of Frappe specialists in Bengaluru. This is one of the more expensive subcontracting misconfigurations because nothing errors.

What actually happens

When a subcontractor finishes a job, ERPNext records the raw material consumed against the finished goods produced. How much it records depends on the backflush method: the "Backflush Raw Materials of Subcontract Based On" setting in Buying Settings. Set to BOM, it consumes the BOM quantity for the finished quantity produced. Set to Material Transferred for Subcontract, it consumes whatever you transferred to the supplier. (Work orders have their own setting, "Backflush Raw Materials Based On" in Manufacturing Settings, with the same two choices.)

The behaviour reported in #45075 is the second mode surprising people: with the finished quantity at 10 and a BOM need of 10, transferring 20 leads to a consumption ratio of 20 ÷ 10 = 2: the system consumes 2 units of raw material per finished unit instead of the 1 the BOM specifies. The extra is loaded into the finished good's cost. The behaviour most manufacturers expect is that consumption follows the BOM regardless of what was transferred, with any surplus remaining as stock at the supplier.

The issue is closed without a linked fix, which is why this post treats it as a behaviour to verify and configure rather than a bug to wait out. What you do (set backflush to BOM, keep transfers aligned to the BOM) is right on any version, so the patch status doesn't change it.

Calculator

Consumption Calculator

Enter your finished quantity, BOM rate and transferred quantity, and toggle the backflush method to see exactly what consumption ERPNext posts under each.

Currently: Material Transferred for Manufacture

BOM says consume10
ERPNext will post20
Over / under consumed10

With backflush on Material Transferred, consumption follows what you sent the job worker, not the BOM. Transferring 20 against a BOM need of 10 posts a consumption ratio of 2.00× — your finished-goods valuation absorbs raw material the product never actually used.

Models the behaviour described in frappe/erpnext #45075 (closed, no linked fix; reported on v15.47.3). Verify against your own instance and version before relying on it.

Which backflush behaviour do you want?

For most manufacturers the answer is BOM, but be deliberate: there are real cases for the other mode.

Interactive

Backflush Method Decider

Choose how consumption should behave for your process to see the exact setting and its trade-offs.

Pick how consumption should behave for your process.

Consuming by BOM keeps finished-goods costing honest: the product carries the material the BOM says it uses, and an over-transfer stays as your stock at the supplier, reconciled separately. Consuming by transferred quantity is only correct when the transferred amount really is consumed, for instance where setup scrap or process loss happens at the supplier, and even then it raises the unit cost, so it should be a conscious choice rather than a default nobody set. The costing consequences flow straight into the numbers covered in our finished-goods costing guide.

How do you fix it?

Code recipe

Diagnose · Set · Correct · Prevent

Copy the diagnosis, the backflush setting change, the correction steps for over-consumed history, and the habits that keep transfers aligned to the BOM.

Confirm consumption is following transferred quantity rather than the BOM before you change any setting.

text
1. Open a completed Subcontracting Receipt where you
   transferred MORE (or less) raw material than the BOM
   needs for the finished quantity.

2. Check the "Supplied Items" / consumed quantities on
   the receipt against:
     BOM qty per FG unit  ×  finished qty received

3. If consumed = transferred (not the BOM figure), your
   backflush is set to "Material Transferred for
   Subcontract" and you are seeing #45075.

4. Confirm the setting:
     Buying Settings  →  Backflush Raw Materials of
       Subcontract Based On
   (and/or the Subcontracting BOM / order level, which
    overrides for that order).

0 of 5 steps done

Tick a step’s number when it is done; the ticks stay on this device.

Confirm the behaviour

Open a completed Subcontracting Receipt where you transferred more raw material than the BOM needs, and compare the consumed quantity against BOM-qty-per-unit × finished-qty-received. If consumed equals the transferred quantity rather than the BOM figure, your backflush is set to Material Transferred for Subcontract and you are seeing #45075.

Set backflush to BOM

In Buying Settings, set "Backflush Raw Materials of Subcontract Based On" to BOM. Consumption then posts the BOM quantity for the finished quantity received, and any excess transferred stays your stock in the supplier warehouse. The setting is global, so it applies to every subcontracting receipt from then on.

Test one full cycle

Before trusting it across the register, run one subcontracting order end to end: transfer more than the BOM needs, receive the finished goods, and confirm two things: consumed equals the BOM quantity, and the excess shows as stock at the supplier warehouse. The base flow is in how to set up subcontracting.

Correct over-consumed history

Changing the setting fixes new receipts only. For past receipts that over-consumed, quantify the excess (transferred minus BOM × finished qty), establish whether that stock was really used or is still at the supplier, and decide with your accountant whether to amend the affected receipts or post a stock adjustment moving the excess back. Don't just flip the setting and leave the historical over-consumption sitting in valuation.

Reconcile the supplier warehouse

Finish by reconciling the supplier warehouse to a physical count. The "Subcontracted Raw Materials To Be Transferred" report can lag component returns (#53547), so a count is the reliable truth, not the report.

When purchasing sets the transfer and costing owns the number

The person deciding how much to transfer is in purchasing or stores, and they transfer what's practical — a full drum, a minimum pack, a round number. The person who lives with the consequence is in costing, months later, staring at a finished-goods cost that's higher than the BOM implies and unable to explain why.

Neither is wrong on its own. Transferring a full drum is reasonable; expecting the product to carry only its BOM cost is reasonable. The setting reconciles them, and it is often left at whatever the implementation set, which nobody revisits. Make the backflush method a documented decision with a named owner, and give purchasing a rule: transfer to the BOM requirement for the order, and where a full pack must go, flag the excess so it's tracked as supplier stock rather than silently consumed.

Draft policy for your production and finance leads to ratify. "Backflush Raw Materials of Subcontract Based On" is set to BOM as standard, so finished-goods consumption reflects the BOM regardless of transfer quantity. Any item that needs transferred-based consumption is documented with the reason, and the receipt is adjusted for it, not the global default. Raw material is transferred to the BOM requirement for the order; where a minimum pack forces an over-transfer, the excess is recorded and reconciled as stock at the supplier warehouse, never left to be consumed. The supplier warehouse is reconciled to a physical count monthly. Confirm the costing treatment of any historical over-consumption with your auditor before restating.

Consume by BOM, or by transfer?

You want honest finished-goods costingTransferred material genuinely is all consumed
Over-transfers are common (pack sizes, drums)You transfer exactly what the job uses
Surplus should stay as supplier stockSetup scrap or loss legitimately lives at the supplier
Costing and standard-cost variance matterUnit cost is expected to absorb the transfer
Most manufacturersA specific, documented exception per item

FAQ

Why does ERPNext consume more raw material than the BOM in subcontracting?

Because "Backflush Raw Materials of Subcontract Based On" in Buying Settings is set to Material Transferred for Subcontract, so consumption follows what you sent the subcontractor rather than the BOM. Transfer 20 against a BOM need of 10 and it consumes 20. Setting backflush to BOM makes consumption follow the BOM regardless of transfer, which is what #45075 is about.

How do I make subcontracting consume the BOM quantity?

In Buying Settings, set "Backflush Raw Materials of Subcontract Based On" to BOM. Consumption then posts the BOM quantity for the finished quantity received, and any excess transferred stays as your stock at the supplier warehouse rather than being consumed into the finished good. Test one full cycle before rolling it out.

Which ERPNext version does this apply to?

It was raised on ERPNext v15.47.3 in #45075, which is closed without a linked fix, so rather than relying on a version, verify the behaviour on your own instance by comparing consumed quantity to the BOM on a receipt where you over-transferred. The backflush setting that controls it exists across v14, v15 and v16.

What happens to my costs if I leave it consuming the transferred quantity?

Every over-transfer loads raw material into finished-goods valuation that the product never used, so your unit costs are overstated and margins understated, and if you run standard costing you get a persistent unfavourable material variance. Over months it also leaves your supplier warehouse understated, because material that should be sitting there as stock was booked as consumed.

If I change the setting, does it fix the receipts I've already posted?

No. The setting governs new receipts only. Receipts that already over-consumed keep the excess in valuation until you correct them: quantify the over-consumption, decide with your accountant whether to amend the receipts or post a stock adjustment moving the excess back to the supplier warehouse, and reconcile against a count.

Should I ever consume by transferred quantity?

Only when the transferred material really is consumed, for example where setup scrap or process loss happens at the supplier and you want it in the unit cost. Even then it raises finished-goods cost, so make it a deliberate, documented choice for specific items, not a global default nobody chose.

What is the bottom line?

This is a configuration decision that looks like a bug: consumption follows whichever backflush mode is set, and the mode is usually left untouched from implementation. Set it to BOM so your products carry the cost the BOM specifies, keep transfers aligned to the order, and correct the history rather than only the setting. Then reconcile the supplier warehouse to a count, because the surplus you stop consuming has to live somewhere real.

Live demo

Your next step

Finished-goods costs higher than the BOM says and subcontracting is the suspect?

Work sent out and back

The job worker gets the order, material goes by train, and every gram comes back counted.

You end with job work received back · 4 screens · about 6 min

No sign-up, no card, no account.

Manufacturing & distribution

Now see how ERPNext runs a plant like yours

How we set up ERPNext for manufacturers, from bills of materials and job work to costing and the shop floor.

Comments & ratings

No comments yet. Start a new discussion.

0

Manoj · Published on 30 July 2026

Worked with us? Leave a Google review

Questions about this? Talk to the team.

Book a 30-minute Google Meet, WhatsApp us, or send a message. The engineer who works on this replies.

Send us a message

Your details go to our team's CRM and are used only to reply.