pirateprof
New member
- Local time
- Today, 10:52
- Joined
- Jun 4, 2009
- Messages
- 9
I need to set up a database to record invoices (only the # and total amt, no line item breakdown). I then need to apply payments against the invoice(s) and find the current balance. Thus far I have the following:
tblCustomer (CustID, other fields)
tblInvoice (Num, CustID, Date, Amt)
tblPayment (PymtID, InvNum, Date, Ck#, Amt)
Right now an Invoice can have many payments attached to it and a payment can cover many invoices, thus many to many.
What would be the correct intersection table to use, for some reason, it has me stumped. Any help appreciated.
Thanks!
tblCustomer (CustID, other fields)
tblInvoice (Num, CustID, Date, Amt)
tblPayment (PymtID, InvNum, Date, Ck#, Amt)
Right now an Invoice can have many payments attached to it and a payment can cover many invoices, thus many to many.
What would be the correct intersection table to use, for some reason, it has me stumped. Any help appreciated.
Thanks!