Topic: Bug in the calculation of foreign exchange gains
I'm sorry if my english not good. there is a bug in the frontaccounting, more precisely in the calculation of foreign exchange gains.
This error occurs when conducting transactions related to different currencies.
in my case, I change the default currency to rupiah (Indonesian currency). and I made a USD bank account. current assets and petty cash in rupiah. then I deposit my money into the account USD. more details follow the steps below.
1. deposit USD 10,000, with the exchange rate of 10,000 rupiah per USD on 1 January.
2. deposit USD 1000, with the exchange rate of 9,500 rupiah per USD at the date of January 10.
3. deposit USD 100, with the exchange rate of 9,500 rupiah per USD on the same date (10 January).
The first and second steps were correct. but the third step produces the wrong value. I question why foreign exchange gain is still in the calculations? if it still must be calculated to produce the wrong balance sheet. because the foreign exchange loss recorded two times in the general ledger.
Please response as soon as possible