GNOME Bugzilla – Bug 166610
Split transation - buy forexch and pay bank charge - transaction mangled
Last modified: 2018-06-29 20:49:46 UTC
Please describe the problem: I want to record drawing cash from a foreign ATM as a split transaction - currency exchange and a charge for using the ATM. Two separate split transactions are recorded, and in both the wrong register is used. Steps to reproduce: I have two current assets: Assets:Current Assets:My Bank:Current Assets:Current Assets:Euros I have one expense: Expenses:Bank Service Charge The second is a Currency. I want to record drawing 150EUR from an ATM, for which I am charged 106.24GBP (my native currency) plus a bank charge of 2.12GBP. To do this I create a split transaction in Assets:Current Assets:My Bank:Current, and increase the two target registers: Assets:Current Assets:Euros 106.24 Expenses:Bank Service Charge 2.12 Actual results: When I create the Euro entry, usually I am asked how many Euros I am buying (or the exchange rate) but sometimes this dialog does not occur. When I tab on from the second entry to create a third line debiting the current account, the register on the first entry changes to Assets:Current Assets:My Bank:Current (should remain as Assets:Current Assets:Euros). If I correct this manually and end the transaction, the ledger shows *two* transactions. The first is the one I have just written (but again, the first entry is crediting Assets:Current Assets:My Bank:Current). The second transaction has the same three entries, but on the first (summary) line, it records a total increase of 41.64GBP - which does not relate to any of the figures. Expected results: I would expect to see a single split transaction with increases: Assets:Current Assets:Euros 106.24 Expenses:Bank Service Charge 2.12 and a decrease: Assets:Current Assets:My Bank:Current 108.36 Does this happen every time? I can't get this particular transaction to work at all, although there are some changes in behaviour (sometimes the exchange rate is not requested). I have one apparently similar transaction which has worked. Other information: Version is 1.8.9 running under Fink on MacOS 10.3.7
deleting one of the two transactions deletes both of them.
You're not seeing two transactions, you're seeing two splits for one transaction both affecting the same account. You're clearly entering the transaction with the same account for two splits. Also, your EURO account should be an Asset, not a Currency.
No, I am entering the transaction once. I am quite familiar with split transactions, and this is *not* displaying as the single split transaction that I entered, but as two transactions, each with two splits. This is a bug. I don't follow what you are saying about Asset vs Currency for a Euro account, and I think this may be a misunderstanding on your part. I have my Euro register as current asset of *type* Currency - try creating such an account and you will see what I mean.
I think Derek is right that you're seeing two copies of the same transaction. You've actually described multiple bugs. What you first describe is bug #335101, and the changing accounts is bug#166101. Both of these are confirmed to be still present in 1.9.2. *** This bug has been marked as a duplicate of 166101 ***
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=166610. Please update any external references or bookmarks.