I need to develop an inventory and sales system.
For inventory, I need to be able to track ideal inventory levels, current inventory levels, point of order, value, selling price, etc.
Not every item in your inventory is “for sale.” For example, I can keep an inventory of plastic cups used for soda. Meaning, every time I sell soda, I need to subtract it from the stock count of the plastic cup. Thus, the “middle coke” is actually a plastic cup, some wipes and liquid, each element has its own current stock levels, cost, etc.
Then there is the concept of "combo". Perhaps the average Coke dollar and a $ 3 hamburger are sold together as combos for only $ 3.50 (saving $ 0.50). It was mentioned that Coca-Cola contains some wipes. Let's say a hamburger also includes napkins on its own. However, as a combo, the buyer does not receive a napkin for coke and a hamburger; rather, the buyer receives as many napkins as if he were buying only Coke.
For the sales system, I need to track every sale and, possibly, maintain relationships with inventory records (this would mean that I could never really delete an item in my inventory after the sale - for historical purposes). When I sell “medium coke” for $ 1, maybe I should break it down into $ 0.90 for a fluid and $ 0.10 for a plastic cup.
And when I sell "combos", maybe I will need to indicate that the hamburger really sells for $ 3, and the average coke is only $ 0.50 (only soda was reduced to make combos more attractive).
This may not be a new problem. Does anyone have any ideas (or examples) that I can look at to solve this problem? I’m not sure how to simulate inventory, goods sold (especially combos) and how to record sales,