D
DowningDevelopments
hello,
I have a table called Receipts which holds information on payments made and
stores an autonumber ReceiptNo as the primary key. The problem is to do with
cancelled receipts and their replacements. I already have a tick box which
tells if a receipt has been cancelled.
What i need to have is a way to associate replacement receipts with their
original. I setup a table called PaymentChange which was supposed to store
the OriginalReceiptNo, the ReplacementReceiptNo as well as a
IntermediateReceiptNo which is used to give a -ve amount of the original
receipt and thus show a true customers total (I know the database doesnt need
it but its a business requirement).
Thats 3 receiptNo's which point to Receipts table, this sounds a little bit
weird to me and im wondering if im doing the right thing or if there is
another solution to show which (if any) replacement receipt is associated
with a particular receipt.
with much thanks
Amit
I have a table called Receipts which holds information on payments made and
stores an autonumber ReceiptNo as the primary key. The problem is to do with
cancelled receipts and their replacements. I already have a tick box which
tells if a receipt has been cancelled.
What i need to have is a way to associate replacement receipts with their
original. I setup a table called PaymentChange which was supposed to store
the OriginalReceiptNo, the ReplacementReceiptNo as well as a
IntermediateReceiptNo which is used to give a -ve amount of the original
receipt and thus show a true customers total (I know the database doesnt need
it but its a business requirement).
Thats 3 receiptNo's which point to Receipts table, this sounds a little bit
weird to me and im wondering if im doing the right thing or if there is
another solution to show which (if any) replacement receipt is associated
with a particular receipt.
with much thanks
Amit