Hi Folks. I've been configuring multiple warehouses supplied from a single source warehouse and setting up re-order rules. Everything seemed to be working well. Then I added some extra complexity by creating a manufacturing process to package products in the source warehouse. In this case, the "raw" product and the packaging is procured by way of purchase orders (which works fine). The two products (raw product and packaging) form the bill of materials to produce the final packaged product that will sit in stock in the source warehouse until a procurement is created to resupply the downstream warehouses. Procurement is creating a manufacturing order, and purchase orders (as draft quotations) are being created for the raw materials. All as I would expect.
The problem I have is that I'm seeing stock moves for the finished product from Virtual Locations/Production to Warehouse/Stock with a status of "Available" when the raw products have not yet been moved to Virtual Locations/Production let alone the production process completed. The moves to Virtual Locations/Production are still with a status of "Waiting Availability".
I suspect that I've missed something in my understanding somewhere. I would have expected the move for the finished product to have a status of "Waiting Availability" or "Waiting Another Move". The current situation allows for an impossible move to take place. I've also taken a look at what happens on the stock_quant table if I process the suspect stock move. I see stock magically appear in the destination, with no decrease of the product or the raw materials from any other location. Clearly NOT double entry.
What am I missing?