G
Graeme at Raptup
Hi,
I seem to be having some problems designing these days, mental block or
something.
I have the following scenario for a small painting/building business;
Each Job can have many Quotes.
Quotes are based on prices from a number of suppliers and each quote can
include many products.
I have got the following table relationships:
1 Job => Many Quote
1 Quote => Many For 1 <= Product
1 Product => Supplier
1 Job => Many Cost
1 Cost => Many Product
I am now thinking that I don't need the Cost table.
In the Product table each item has a CostPrice and a DateofPrice.
What we had in the Cost table was a PriceCharged field - this would help us
identify if the supplier was charging differently to the cost price.
Similarly in the For table we have a Discount field so that the CostPrice
could be discounted. (Note: we would have a calculated field to generate a
margin adjusted quote price)
I would welcome any suggestions as to how I should be structuring this!
Thanks,
Graeme
I seem to be having some problems designing these days, mental block or
something.
I have the following scenario for a small painting/building business;
Each Job can have many Quotes.
Quotes are based on prices from a number of suppliers and each quote can
include many products.
I have got the following table relationships:
1 Job => Many Quote
1 Quote => Many For 1 <= Product
1 Product => Supplier
1 Job => Many Cost
1 Cost => Many Product
I am now thinking that I don't need the Cost table.
In the Product table each item has a CostPrice and a DateofPrice.
What we had in the Cost table was a PriceCharged field - this would help us
identify if the supplier was charging differently to the cost price.
Similarly in the For table we have a Discount field so that the CostPrice
could be discounted. (Note: we would have a calculated field to generate a
margin adjusted quote price)
I would welcome any suggestions as to how I should be structuring this!
Thanks,
Graeme