Jump to content

Multiple Distributors of one item


This topic is 6196 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I have a Point of Sale System that has a table of inventory items. I buy these items from different distributors. Sometimes I have 1 item manufactured by 1 company but I cannot buy it from the manufacturer, so I buy it from a distributor. Sometimes I have more than one distributor though

How can I relate my Inventory Item to many distributors and the distributors to the one manufacturer item?

I thought the simple one to many relationship would work but I feel like there is a better way to do it...

onetomanycs1.png

Edited by Guest
Link to comment
Share on other sites

You can have a join table that is used as a many to many relationship between the Items table and the Supplier table. I said supplier table because I dont think there is a need for a seperate distributer and manufacturer table. You can have a supplier table with a type field that you can desginate as a supplier / distributer. Then you can create another join table to have many to many supplies related to distributers that would be in between two table occurence of the supplier table.

Link to comment
Share on other sites

This topic is 6196 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.