|
assuming basic normalisation
Invoice Master would contain the overall details. inv_ref [PK], customer_ref, date etc maybe the number of items (lines) ordered.
line item would contain each line (refno [PK], product, qty, price etc) for the invoice with a reference (inv_ref [FK]) to the invoice table for join/union queries.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
|