I've got two tables:
t_ORDER
t_QUOTE
t_QUOTE generates a quote number each time we make contact with a client - our products are customised for each client.
However the QUOTE will not always materialise into an ORDER (purchase order). About 50-60% of QUOTES turn into ORDERS.
My thoughts were I should have two separate tables, and relate them both in a one-to-one relationship. But I now think I should have a third table (foreign key table) with relationships to both t_ORDER and t_QUOTE.
I do not want to create a new ORDER number for a QUOTE that dies ie. no purchase order number from the Customer.
Is this the tidiest way to do this?
Should it look something like:
t_QUOTE
one
|
many
t_QUOTE_ORDER
many
|
one
t_ORDER
Any thoughts/help appreciated??
t_ORDER
t_QUOTE
t_QUOTE generates a quote number each time we make contact with a client - our products are customised for each client.
However the QUOTE will not always materialise into an ORDER (purchase order). About 50-60% of QUOTES turn into ORDERS.
My thoughts were I should have two separate tables, and relate them both in a one-to-one relationship. But I now think I should have a third table (foreign key table) with relationships to both t_ORDER and t_QUOTE.
I do not want to create a new ORDER number for a QUOTE that dies ie. no purchase order number from the Customer.
Is this the tidiest way to do this?
Should it look something like:
t_QUOTE
one
|
many
t_QUOTE_ORDER
many
|
one
t_ORDER
Any thoughts/help appreciated??