Hi,
I'm currently in the middle of a system conversion and just starting to learn the ins and outs of Database development and wanted to see if someone could confirm whether I'm on the right track or not!
Our system gives a discount based on the the type of Product (Product Group) and the type of customer (Customer Price Group).
So a product can have a product group such as Belts, Fibre Discs, Wire Brushes, etc... to determine the discount given based on whether the customer Price group is Trade, Distributor, Reseller etc...
The following table might make this a little clearer...
So I came up with the following table design:
Product Table: Product Code, Product Group (Key: Product Code)
Customer Table: Customer Code, Price Group (Key: Customer Code)
Price Table: Product Group, Price Group, Rate (Key: Product Group, Price Group). Is this the correct setup for this to be normalized?
I hope I'm on the right track. I just wanted to get some confirmation whether this is the correct design or if I've gone wrong somewhere before I go any further. Any advice or help would be greatly appreciated.
Cheers