Hello,
We are a vitamin supplement company and we buy ingredients from all over the world. We have 178 different ingredients which are used to create 17 products. Sometime the same ingredients will be used for five different products.
We want to create an inventory table that we will update manually when we receive or buy new ingredients, but decrease automatically when we dispatch ingredients that will be used to manufacture the product.
For example, if we bought 20kg of magnesium, we need to add this to the existing stock on hand, ie. 10kg. A new total of 30kg in stock. When we manufacture the product SleepEeze we'll send 25kg to our manufacturer, and the stock should automatically decrease to 5kg left as stock on hand. But I'll also take 2.5kg to manufacture CalmEeze, which should remove from stock on hand. And so on.
I feel like this is so easy but I can't wrap my head around it. Thanks for your help in advance!