Jump to content
Sign in to follow this  
Joel Saltzman

Multiple Distributors of one item

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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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