Production Order - Handling Under Production / Over Production

Picking up these threads
https://discuss.frappe.io/t/manufacturing-guidance-please/17916

https://discuss.frappe.io/t/updating-manufactured-quantity-in-production-order/22377/3

Need a way to handle over-production/ under-production.

  • Display a field allow_over_production and if selected, ignore max production qty.
  • Add a field in Production Order Item - loss_qty (any other name ?) that will track loss qty.
  • If mark as loss is selected, then make Stock Entry for raw material for the full quantity, for Finished Goods for the actual quantity produced
  • Use produced_qty + loss_qty in code where ever produced qty is being used currently.

Any suggestions?

I think is a better approach, where the existing process is not changed and Production Qty difference is handled separately through Stock Entry.