After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 166610 - Split transation - buy forexch and pay bank charge - transaction mangled
Split transation - buy forexch and pay bank charge - transaction mangled
Status: VERIFIED DUPLICATE of bug 166101
Product: GnuCash
Classification: Other
Component: Register
git-master
Other All
: Normal normal
: ---
Assigned To: David Hampton
Chris Shoemaker
Depends on: 335101
Blocks:
 
 
Reported: 2005-02-07 22:55 UTC by Scott Wheeler
Modified: 2018-06-29 20:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Scott Wheeler 2005-02-07 22:55:20 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
Comment 1 Scott Wheeler 2005-02-07 22:57:03 UTC
deleting one of the two transactions deletes both of them.
Comment 2 Derek Atkins 2005-02-09 22:19:59 UTC
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.
Comment 3 Scott Wheeler 2005-02-09 22:37:32 UTC
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.
Comment 4 Chris Shoemaker 2006-03-20 18:11:51 UTC
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 ***
Comment 5 John Ralls 2018-06-29 20:49:46 UTC
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.