This question has been flagged
1 Reply
6633 Views

Hi Folks,

I'm bringing this topic back on the table: it concerns v6.0.4 and may apply to V7 (not tested yet) discussed here with no solution : V6 Forum : Minimum quantity to produce in BOM

Question :
How can we force the minimum quantity to be produced in a production run ?
Here's the expected behavior for the same finished product :

  • BOM A : consumes 1 big roll > forces production of a lot of 10 small roles
  • BOM B : consumes 10 small rolls > forces production of a lot of 10 small roles
  • BOM C : consumes 1 small roll > produces 1 small role

Here's what I tried to no avail:

  • setting product_qty to 10 in BOM A has no effect, ex: procuring 7 finished rolls produces 7 not 10
  • setting product_rounding in the BOM properties: no effect, it's a division related info
  • defining min stock rules with qty_multiple for the finished product: problem: any procurement is rounded to 10

I'm running out of ideas, and am convinced this case happens anywhere in many industries. help ..

Avatar
Discard
Author Best Answer

After reading the code of MRP and Procurement modules, it seems that my question targets the wrong module.

The MO (Manufacturing Order) is generated from the OP (Procurement). And it is the OP that holds the quantity to be produced.

  • Selling a make to stock product (or with sale.order.line's procurement method set to 'from stock') the MSR (Minimum Stock Rule) will be checked. If that MSR has qty_multiple set, then it will be used to round the quantity manufactured by that number. (lots of 10 products in my case).
  • Make to Order products (or with sale.order.line's procurement method set to 'on order') the MSR is not used, leaving the Scheduler to create a MO for the exact quantity needed.

The BOM will only define how much of product(s) is required to produce such or such quantity.

Conclusion :

  • I cannot tell the ERP to produce with quantity_multiples according to BOMs.
  • I can only tell automatic procurement to replenish the stock with quantity_multiple option defined in MSR for one product. The same quantity_multiple applies whatever the BOM.

One more option I could explore would be to use multiple MSRs to define several quantity_multiple for different locations and playing with location chaining to land all product in the same location, but that sounds rather complex.

Avatar
Discard