S
SAC
I'd like to be able to make an account billing and payments history ledger
like this:
Date Description Charge Payment
Balance
================================================
02/02/2009 Invoice No 16 $23.45 $00.00 $23.45
02/09/2009 Payment $00.00 $16.00 $
7.45
02/13/2009 Invoice No 34 $10.00 $00.00 $17.45
02/13/2009 Payment $00.00 $17.45
$00.00
How can I get the Balance column to behave this way? Should I store the
Balance in the transaction record or customer table or can I calculate it on
the fly?
Thanks for your help.
like this:
Date Description Charge Payment
Balance
================================================
02/02/2009 Invoice No 16 $23.45 $00.00 $23.45
02/09/2009 Payment $00.00 $16.00 $
7.45
02/13/2009 Invoice No 34 $10.00 $00.00 $17.45
02/13/2009 Payment $00.00 $17.45
$00.00
How can I get the Balance column to behave this way? Should I store the
Balance in the transaction record or customer table or can I calculate it on
the fly?
Thanks for your help.