C
Chris
Working on a database to track "quotes" created for a project, "orders"
created for a project and 'change orders" created for orders of the project
the quote, order and change order whilst different purpose all have the same
format. They each consist of the main table ie quote,order and change order
with linked tables for expenses, labour and details I therefore have the
follwoing tables
Projecttable (ProjectID key)
Quotetable (QuuteID key)
Quoteexpenses (Quoteexpid key)
Quototelabour (Quotelabid key)
Quotedetails (Quotedetailsid key)
Ordertable (OrderID key)
Orderexpenses (Orderexpid key)
Orderlabour (Orderlabid key)
Orderdetails (Orderdetailsid key)
ChangeOrdertable (ChangeOrderID key)
ChangeOrderexpenses (ChangeOrderexpid key)
ChangeOrderlabour (ChangeOrderlabid key)
ChangeOrderdetails (ChangeOrderdetailsid key)
Relationships
Projecttalbe linked to Quote and Order table by ProjectID
Quotetable linked to Quotelabour, Quoteexpenses and Quotedetails by QuoteID
Ordertable linked to Orderlabure, Orderexpenses, Orderdetails and
ChangeOrdertable by OrderID
ChangeOrdertable linked to ChangeOrderlabure, ChangeOrderexpenses nad
ChangeOrderdetails by ChangeOrderID
Aside from the key fields the data is otherwise all the same and being
supplied from the same other linked tables such as Products, expense type
etc.
Question, Is it correct to have a differnent table for each of the expenses,
labour and details or should I have one table for each and have three
differenet key fields to identify them with the corresponding tables.
Hope someone can clarify
Thanks
Chris
created for a project and 'change orders" created for orders of the project
the quote, order and change order whilst different purpose all have the same
format. They each consist of the main table ie quote,order and change order
with linked tables for expenses, labour and details I therefore have the
follwoing tables
Projecttable (ProjectID key)
Quotetable (QuuteID key)
Quoteexpenses (Quoteexpid key)
Quototelabour (Quotelabid key)
Quotedetails (Quotedetailsid key)
Ordertable (OrderID key)
Orderexpenses (Orderexpid key)
Orderlabour (Orderlabid key)
Orderdetails (Orderdetailsid key)
ChangeOrdertable (ChangeOrderID key)
ChangeOrderexpenses (ChangeOrderexpid key)
ChangeOrderlabour (ChangeOrderlabid key)
ChangeOrderdetails (ChangeOrderdetailsid key)
Relationships
Projecttalbe linked to Quote and Order table by ProjectID
Quotetable linked to Quotelabour, Quoteexpenses and Quotedetails by QuoteID
Ordertable linked to Orderlabure, Orderexpenses, Orderdetails and
ChangeOrdertable by OrderID
ChangeOrdertable linked to ChangeOrderlabure, ChangeOrderexpenses nad
ChangeOrderdetails by ChangeOrderID
Aside from the key fields the data is otherwise all the same and being
supplied from the same other linked tables such as Products, expense type
etc.
Question, Is it correct to have a differnent table for each of the expenses,
labour and details or should I have one table for each and have three
differenet key fields to identify them with the corresponding tables.
Hope someone can clarify
Thanks
Chris