I am trying to come up with a calculation of the parts I need to batch-produce a product.
I currently Have tables for: Products, Product Variations, Parts, and Production Plan.
For example, If I need to make the product "Tea Light", this comes in small, medium, and large sizes, two different patterns, and two different wood types. These are in the Product Variations table.
Each tea light has the following parts: one bottom piece, two different top pieces, and then eight sides. These are in the Parts table.
In the Production Plan table, the "Quantity to Produce" field should take into account the current stock of that product which is in the "Product Variations" table.
I've used ChatGPT to get 90% of the way there. But for some reason, it can't figure out the formula needed to calculate the numbers of each part to produce given the quantity of product needed.
Hopefully, that makes sense. Thanks!