GnuCash 2.2.9

Mark Haanen i18n at haanen.net
Thu Feb 4 13:42:42 EST 2010


Op donderdag 04-02-2010 om 16:25 uur [tijdzone +0100], schreef Geert
Janssens:
> On Thursday 4 February 2010, Ulrike Fischer wrote:
> > Am Wed, 03 Feb 2010 09:13:52 +0100 schrieb Christian Stimming:
> > > Zitat von Mick Sawyer <micksawyer at o2.co.uk>:
> > >> Hi,
> > >>
> > >> I've just moved over to Gnucash and I'm trying to display the split
> > >> accounts in the transfer column of the transaction report. All I can
> > >> get is transfer to "split". Any ideas?
> > >
> > > Incidentally, this has been discussed in bugzilla before. It's caused
> > > by some combination of option settings and you can switch to your
> > > expected behaviour by setting the options differently:
> > > https://bugzilla.gnome.org/show_bug.cgi?id=608098
> > 
> > Well I can't switch to the expected behaviour in Gnucash 2.2.9 too
> > ;-(.
> > 
> > E.g. I have in Konten:Bar a transaction with a split (translated)
> > 
> > Konten:Bar 20   Expenses:Food  10
> >                 Expenses:Other 10
> > 
> > 
> > In the transaction report (Buchungsbericht) I get in all three
> > involved accounts the word "Vollständig" in the "Umbuchen von/nach"
> > column. I checked really everything.
> > 
> That is because you have enabled "Other Account Name" ("Name des Gegenkontos") 
> in the options. In case of multi-split transactions, the other account name 
> will always be "Split" ("Vollständig") regardless of multi-line or single.

I genuinely never realised this. I always assumed that, if you selected
the option "Auto-split ledger" in the register settings, you'd get the
behaviour that Ulrike expected. 

While it's not always possible to determine the "other account name" in
splits, it's doable when there's a single line either debit or credit in
the split. Pseudo-code:

If (line_count(opposite_side_of_split)==1) then 
	show_opposite_name
elseif (line_count(this_side_of_split)==1) then
	show_all_opposite_names
else
	show "--split--"

Is this feasible for GnuCash or am I missing something?

- Mark



More information about the gnucash-devel mailing list