Comment 1 for bug 1234004

Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Ronald,

This is the desired behavior for the business flow because when we confirm the sale order it will generate the procurement and when you run the procurement it will create and confirm the respective MO. because we have to manage our virtual stock as well.

Let me explain the virtual stock here.
Virtual stock :- Incoming stock move (which is on draft and waiting state) - Outgoing stock move(which is on draft and waiting state) + real stock

So when we run the scheduler, our plan is to manage the virtual stock 0.0. So when manufacturing order confirms it will creates the stock move from production to stock location, So our virtual stock satisfy and this is clearly an intensional behavior not the bug. Here we are not only take the case as "Make to Order" because consider the same behavior for the "Make to Stock" .
Once MO confirmed then it will creates the stock move and virtual stock satisfied. Take the example for the make to stock and automated order point , on this condition (for automated order point) procurement order will be created based on the virtual stock. If MO will not confirmed > stock move won't created then run the scheduler again and again then it will create a manufacturing order more times which doesn't make sense;-)

You have also ask about the purchase order behavior for this, also you can see when draft purchase order created when you run the procurement/scheduler as well as at the same time virtual stock also will updated without the stock move. So that will be fine here . And we have done much of the conversation on lp:921866, would you please check it this will help.

*About your issue which is for the multiple BOM for the same product*
We can define the BOM property on the Bill of material , when you have created the BoM. So this property field is also linked on sale order . You can see on sale order line on at there you can add the BOM property, So If you have multiple BoM for the same product , you can enter the BoM property for all the BoMS and select the BoM property on sale order line. Based on this BoM property relavent BoM will be link with the Manufacturing order.

Hope this will help.

Let me know your point of view.

Thank you!