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 106383 - feature request: close year end
feature request: close year end
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: General
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Chris Lyttle
Chris Lyttle
: 114607 116433 152731 327661 376089 (view as bug list)
Depends on: 342599 465602
Blocks: 473506
 
 
Reported: 2003-02-18 08:21 UTC by Martin Flack
Modified: 2018-06-29 20:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Example code from 2002 for (old) euro conversion druid which can be used as an example for a simple year's end closure (6.60 KB, application/octet-stream)
2004-01-05 20:17 UTC, Christian Stimming
Details

Description Martin Flack 2003-02-18 08:21:22 UTC
Most accounting programs let you "close" the previous year after a couple
months into the new year.

This can generally accomplished mechanically by replacing the transactions
of that year with an "Opening Balance" that is dated the last day of the
closed year (so it stays out of activity reports).
Comment 1 Derek Atkins 2003-06-07 13:56:58 UTC
*** Bug 114607 has been marked as a duplicate of this bug. ***
Comment 2 Derek Atkins 2003-07-01 03:02:42 UTC
*** Bug 116433 has been marked as a duplicate of this bug. ***
Comment 3 Christian Stimming 2004-01-05 20:17:50 UTC
Created attachment 22956 [details]
Example code from 2002 for (old) euro conversion druid which can be used as an example for a simple year's end closure
Comment 4 Christian Stimming 2004-01-05 20:25:12 UTC
As already noted above: This attachment contains the old euro 
conversion druid which was used all over Europe in 2001/2002 year's 
end. It transfers all asset accounts to a (in this case) currency 
account, creates them anew and creates the correct transfers into 
the new accounts. If someone feels like starting a simple year's end 
closure druid in gnucash, this might be of some help. But of course 
the code is old. 
Comment 5 Derek Atkins 2004-09-16 17:23:07 UTC
*** Bug 152731 has been marked as a duplicate of this bug. ***
Comment 6 Christian Stimming 2006-01-20 09:47:10 UTC
In 1.8.x there won't be such a feature. 

But the SVN code, the upcoming 1.9.x/2.0.0 version, already includes an experimental "Book closing" feature. However, this is very experimental and might therefore not yet be included in 2.0.0 but only in a later version of the 2.x series.
Comment 7 Christian Stimming 2006-01-20 09:47:37 UTC
*** Bug 327661 has been marked as a duplicate of this bug. ***
Comment 8 Christian Stimming 2006-10-18 11:32:47 UTC
The feature in SVN is still disabled because it hasn't been tested enough. OTOH the code is already there, see bug#342599.
Comment 9 Christian Stimming 2006-11-17 08:59:06 UTC
*** Bug 376089 has been marked as a duplicate of this bug. ***
Comment 10 Marco Balmer 2007-02-25 17:05:46 UTC
I tested book closing in svn 15656. It works fine for me.
Comment 11 Derek Atkins 2007-12-24 04:41:11 UTC
Okay, the first pass of a simple book closing dialog is now in trunk and accessible under Tools -> Close Book.  This is completely unrelated to the old book closing code that copies the book and creates a new file.  This feature just zeroizes the Income and Expense accounts.  It's committed as r16713.
Comment 12 Derek Atkins 2007-12-24 04:49:33 UTC
Fencepost error fixed in r16714 to handle transactions on the closing date.
Comment 13 Derek Atkins 2007-12-25 17:00:20 UTC
Okay, with r16715 as well, I think this is fully implemented, so I'm closing this.  The feature will be in 2.3.x/2.4, but probably not get backported to 2.2.  If it DOES get backported it will need r16713, 16714, and 16715.
Comment 14 Marco Balmer 2007-12-29 21:20:19 UTC
Tested in r16761 and it works fine for me!
Comment 15 Andreas Köhler 2008-03-01 14:53:32 UTC
Actually the code was backported to branches/2.2 as of r16984 for GnuCash 2.2.4.
Comment 16 nymcash 2008-10-21 18:45:55 UTC
You might archive previous years by using a cli ledger, cf. <http://joyful.com/repos/ledger/doc/ledger/Archiving-previous-years.html#Archiving-previous-years>.


ledger -f ledger.dat -b 2000 -e 2001 print > ledger-old.dat
ledger -f ledger.dat -b 2002 print > x2
ledger -f ledger-old.dat equity > x1
cat x1 x2 > ledger-new.dat
rm x1 x2
ledger -f ledger-new.dat xml > ledger.xml
It can also write xml ledgers.
Comment 17 John Ralls 2018-06-29 20:28:48 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=106383. Please update any external references or bookmarks.