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 139651 - Register: Split transaction with multiple currencies fails
Register: Split transaction with multiple currencies fails
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: Engine
git-master
Other Linux
: Normal major
: ---
Assigned To: Charles Day
Derek Atkins
: 304687 (view as bug list)
Depends on:
Blocks: backport
 
 
Reported: 2004-04-10 10:10 UTC by Jochen Deibele
Modified: 2018-06-29 20:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Testcase for bug (5.42 KB, application/octet-stream)
2004-04-12 15:55 UTC, Jochen Deibele
Details
Testcase_produced with 1.8.9 (4.78 KB, application/octet-stream)
2004-04-14 21:03 UTC, Jochen Deibele
Details

Description Jochen Deibele 2004-04-10 10:10:42 UTC
Need one activa account and two expenses.  
Activa is foreign currency (in my case NOK), expenses are in home-currency (in 
my case EUR) 
Now add a multipart transaction in the activa account with parts to the 
expenses accounts 
 
The transaction shows up in the expenses account but no money is subtracted! 
Sometimes there is a workaround to change the exchangerate in the 
activa-account. But othertimes this is impossible.
Comment 1 Derek Atkins 2004-04-10 20:11:16 UTC
What version of gnucash are you using?

Multiple-split transactions into multiple currencies work just fine in MOST
circumstances (there are a few issues when you enter transactions from certain
interfaces.  Basically, you just need to compute everything back to a single
common currency (e.g. the activa account).

You also don't say what method you are using to enter the transaction.  Are you
using the General Ledger or are you entering them from your Activa account?

I need more information in order to reproduce this problem here.
Comment 2 Jochen Deibele 2004-04-12 15:55:27 UTC
Created attachment 26581 [details]
Testcase for bug

Here a testcase with one problematic booking.
Comment 3 Jochen Deibele 2004-04-12 15:56:19 UTC
I'm using 1.8.7 
Comment 4 Christian Stimming 2004-04-14 08:19:13 UTC
Jochen: Thanks for the test file. Note that we have fixed significant problems
with multi-currency transactions recently, so you should consider upgrading to
the brand-new 1.8.9 and see whether the problem still exists. Also, as Derek
already asked, it is very important to know *how* you entered the errornous
transaction: In which account register (or in the general ledger) did you enter
which parts, and what were the results? Thanks.
Comment 5 Jochen Deibele 2004-04-14 14:05:20 UTC
Sorry, I forgot this. :-] 
I used the normal account view.  
 
I'll try the new 1.8.9 but that could take some time.  
Comment 6 Derek Atkins 2004-04-14 14:09:14 UTC
Which account did you use?
Comment 7 Jochen Deibele 2004-04-14 14:12:47 UTC
Grmpf. I could have guessed that that was too few information.  
Anyway: In the examplefile I used the aktive_nok - Account. 
hth, 
Jochen 
Comment 8 Jochen Deibele 2004-04-14 21:03:10 UTC
Created attachment 26667 [details]
Testcase_produced with 1.8.9

Just tried 1.8.9
Problem is still there. Added new testcase which I produced analog to the first
one, but with 1.8.9. Again entered in accountview of activa-account
Comment 9 Derek Atkins 2004-04-16 04:55:24 UTC
Well, I can definitely reproduce this here, so I'll reopen the bug.
Comment 10 Derek Atkins 2004-04-16 04:56:17 UTC
and I'll take ownership.  (why can't I reopen AND change owners in one commit?)
Comment 11 Derek Atkins 2005-05-27 22:04:34 UTC
*** Bug 304687 has been marked as a duplicate of this bug. ***
Comment 12 Chris Shoemaker 2006-01-26 05:38:25 UTC
Confirmed bug still present in SVN and 1.8.12, using the 1.8.9 file.  When I run a transaction report, the NOK 80 shows up in an Imbalance account.
Comment 13 Chris Shoemaker 2006-05-24 20:04:00 UTC
From bug #126471:

Comment #3 from equi@nm.ru    (points: 2)
2004-07-14 17:51 UTC [reply]

A way to reproduce "bad multicurrency transactions":

Create 3 cash accounts - two of same currency (say UAH-1,UAH-2), one of another 
(say USD-3). In USD-3 register add transfer transaction of $5 from UAH-1 account 
with 5.00 exchange rate. Everything works well.
From UAH-1 register split this transaction and change amount 25.00 UAH spend to 
30, this makes extra 5.00 UAH for receive, assign it to UAH-2 account. Enter 
transaction. This 5.00 amount disappears, transaction broke and become 
unbalanced.
Comment 14 Jochen Deibele 2007-03-12 22:15:39 UTC
I just checked - as the developers probably know - but just to be sure:
the bug is still present in 2.0.2
Comment 15 Derek Atkins 2007-03-13 02:47:19 UTC
Oh, I'm sure it's in 2.0.5, too.
Comment 16 Charles Day 2008-07-14 21:24:48 UTC
The steps to reproduce from comment 13 do not work for me with the latest source code. GnuCash works correctly. So this must have been fixed.
Comment 17 Charles Day 2008-08-11 20:14:43 UTC
And I just broke it again in r17451 for bug 543780. I will make further adjustments...
Comment 18 Charles Day 2008-08-11 22:03:07 UTC
I just committed r17462 and now it works again. So in any case, I think we can close this bug when backport is complete.
Comment 19 Andreas Köhler 2008-09-15 20:32:17 UTC
Applied to branches/2.2 as r17519 for inclusion in GnuCash 2.2.7.
Thanks a lot!
Comment 20 John Ralls 2018-06-29 20:42:42 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=139651. Please update any external references or bookmarks.