D
Doc
A simplified version of this problem for a picture framers is as
follows:
One customer makes many orders.
One order can be EITHER for a new picture frame - needing fields like
size, wood used, glasing etc OR for a repair - needing fields like
fault, damage report, materials used.
PK in customers is cust ID
PH in orders is orderID
This should be a simple three table design. one cust makes many orders,
one order contains many order lines
Qn, how do I implement the order lines when the number and type of
fields required is different for sales and repairs?
Doc
follows:
One customer makes many orders.
One order can be EITHER for a new picture frame - needing fields like
size, wood used, glasing etc OR for a repair - needing fields like
fault, damage report, materials used.
PK in customers is cust ID
PH in orders is orderID
This should be a simple three table design. one cust makes many orders,
one order contains many order lines
Qn, how do I implement the order lines when the number and type of
fields required is different for sales and repairs?
Doc