Point of Sale and Inventory database schema
I’m trying to create a basic Point of Sale and Inventory management system. Some things to take into account: The products are always the same (same ID) through the whole system, but inventory (available units for sale per product) is unique per location. Location Y and Z may both have for sale units of product X, but if, for example, two units are sold from location Y, location Z’s inventory should not be affected. Its stocked units are still intact. Selling one (1) unit of product X from location Y, means inventory of location Y should subtract one unit from its inventory. From that, I