N
Nanette
One to Many or Many to Many Relationship, and how do I connect the data?
After many attempts, I'm still not sure, so...
I have a Requisition Table and a Reqisition Detail Table. Each Reqisition
will contain many parts numbers and many of the same part numbers will be on
multiple Requisitions.
I also have a Purchase Order Table and a Purchase Order Detail Table. Each
Purchase Order will contain many part numbers and many of the same part
numbers will be on multiple Purchase Orders. (The Purchase Order Table
contains a Line Item Number, that, when combined with the Purchase Order
Number creates a unique number for that specific part instance.)
I also have a Parts Table and a Part Details Table. This was created at the
beginning after acceptance of the proposal. It contains all the part numbers
and their details and is used as a baseline so we can track changes in
pricing and quantities in conjunction with the Purchase Orders and
Reqisitions.
The process is to create a reqisition first, followed by creating a Purchase
Order second. Although, sometimes a Requisition is not created and there will
only be a Purchase Order.
Question One: Do I really have a many to many relationship between the
Requisition and Parts Tables and a many to many relationship between the
Purchase Order Table and the Parts Table?
Question Two: How do I connect/keep track of each Part Number in conjunction
with its respective Requisition Number and Purchase Order Number?
After many attempts, I'm still not sure, so...
I have a Requisition Table and a Reqisition Detail Table. Each Reqisition
will contain many parts numbers and many of the same part numbers will be on
multiple Requisitions.
I also have a Purchase Order Table and a Purchase Order Detail Table. Each
Purchase Order will contain many part numbers and many of the same part
numbers will be on multiple Purchase Orders. (The Purchase Order Table
contains a Line Item Number, that, when combined with the Purchase Order
Number creates a unique number for that specific part instance.)
I also have a Parts Table and a Part Details Table. This was created at the
beginning after acceptance of the proposal. It contains all the part numbers
and their details and is used as a baseline so we can track changes in
pricing and quantities in conjunction with the Purchase Orders and
Reqisitions.
The process is to create a reqisition first, followed by creating a Purchase
Order second. Although, sometimes a Requisition is not created and there will
only be a Purchase Order.
Question One: Do I really have a many to many relationship between the
Requisition and Parts Tables and a many to many relationship between the
Purchase Order Table and the Parts Table?
Question Two: How do I connect/keep track of each Part Number in conjunction
with its respective Requisition Number and Purchase Order Number?