Perl script for "closing the books" in a GnuCash file
Derek Atkins
warlord at MIT.EDU
Mon Apr 5 13:25:32 EDT 2010
Just for the record, the Tools -> Close Books functionality does not
truncate the data file; it just adds zeroizing transactions to all your
Income and Expense accounts.
-derek
"John R. Carter, Sr." <john at jrcarter.com> writes:
> 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
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>
>
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-user
mailing list