tutorial on multi-currency accounting

Derek Atkins warlord at MIT.EDU
Wed Mar 7 09:50:00 EST 2007

Mike Alexander <mta at umich.edu> writes:

> The transaction balancing code in xaccTransGetImbalance assumes all 
> exchange rates are correct.  A transaction involving more than one 
> commodity has an implied exchange rate between the commodities which 
> can be determined by comparing the amount and value fields of the 
> various splits.  This is used to create the new splits to balance the 
> individual commodity amounts in the transaction.  The bottom line is 
> that the balancing split will be created using the exchange rate 
> specified when the transaction was entered which I think is the best we 
> can do.

If a user later goes back and changes the exchange rate, will your
scrubber update the balancing splits?

       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available

More information about the gnucash-devel mailing list