In my latest test, I picked a raw coffee I hadn't made an order for. Each potential sku evidently carries it's own inventory value.. of which will likely not be used during the early phases of production. We'll go directly from raw material --to-> roasting with not a shelf that has already made up bags of coffee.
Prior to the order the raw coffee had a ficticious 10 lbs in stock. All raw materials are set (at the variable product level) is per how much 1 unit of that bag is needed to fill the bag with roasted coffee. For a 2 oz sample size, that is 2.4 oz (because there is 20% that is waste from the roasting of the coffee beans). 2.4 oz is 0.15 lbs to be reduced from any coffee that has a sample size.
The quantity sold was 1 sample bag. The raw materials used was 0.15 lbs (2.4 oz) of coffee). After refund and cancellation of this order... the free-to-sell raw materials was still 9.85 lbs with the stock-inventory value of just THAT sample bag of coffee variation product item going up by 1 (which should be returned to zero). That 1 in that variation product item in inventory, needs to be added back to raw product and taken out of the committed column.
At the time the order was placed, I think it is WC that adds the inventory note to the order...
Stock levels reduced: Sulawesi (SULA.2.DARK.WBEAN)Weight: Sample (2oz), Roast: Dark Roast, Grind: Whole Bean 0→-1(a negative 1 of stock)
At the time it was refunded/cancelled WC added this note...
Stock levels increased: Sulawesi (SULA.2.DARK.WBEAN)Weight: Sample (2oz), Roast: Dark Roast, Grind: Whole Bean 0→1
In this catalog, both the MANAGE STOCK checkbox is set at the Parent Variable Product Level AND the Variation Product. Plus the ATUM Control Switch is toggled to ON for all the variations products as well.
Sooo.. back to one of my original questions.. put back the previously committed values into the free-to-use slot when it was never fully committed?