Perl script for "closing the books" in a GnuCash file

John R. Carter, Sr. john at jrcarter.com
Mon Apr 5 00:12:45 EDT 2010


Thanks. For the first time, I see that it truncates transactions on and before the date given. Couldn't find the documentation for Tools->Close Books, so flying by the seat of my pants.

On Apr 4, 2010, at 8:02 PM, David T. wrote:

> John-- 
> 
> Before you engage in this script, try looking under the Tools menu. There's a Close books option that has been integrated into Gnucash proper.
> 
> David
> 
> --- On Sun, 4/4/10, John R. Carter, Sr. <john at jrcarter.com> wrote:
> 
>> From: John R. Carter, Sr. <john at jrcarter.com>
>> Subject: Perl script for "closing the books" in a GnuCash file
>> To: gnucash-user at gnucash.org
>> Date: Sunday, April 4, 2010, 3:29 PM
>> Hi Jonathan. I just came across your
>> perl script for closing the books on GnuCash (posted Jan 31,
>> 2005 at
>> lists.gnucash.org/pipermail/gnucash-user/2005-January/012817.html).
>> Nice! However, it doesn't run on my Mac (OSX 10.6.2) due to
>> "Can't locate XML/DOM.pm", and probably more. My perl is
>> either 5.10.0 or 5.8.9, whichever one I want to access. That
>> script might not work on the latest version of GnuCash
>> anyway (2.2.9 for the Mac).
>> 
>> Maybe you have an update on that script?
>> 

John Carter


More information about the gnucash-user mailing list