Getting Started

Josh Sled jsled at asynchronous.org
Tue Feb 6 09:48:04 EST 2007


On Mon, 2007-02-05 at 22:31 +0000, David Keegan wrote:
> Is it possible to use QIF (or some other) import to set up the initial
> Account Hierarchy?

Not really.

The QIF import process just allows you to map to existing accounts ...
you *can* create accounts during that process, but it's a tedious way to
do so.  It might be useful to just remind you what the accounts are,
though.

Once you have an account hierarchy, you can {File > Export > Export
Accounts} to create a file that can be massaged into the format of the
predefined account hierearchies distributed with GnuCash, and accessible
during {File > New File}  Or, you can just keep it as a template file.
Though, mind <http://bugzilla.gnome.org/show_bug.cgi?id=372262>.


> I understand gnucash supports extension via scheme. How do I execute
> my scheme code? Is there an API available to my scheme code for accessing
> accounting functions?

The reports use the scheme-wrapped core/engine (and some application/UI)
API, so yes.  Not all API is wrapped, but most of it; anything the
reports can do, for instance.  Adding new wrappers should be pretty
straightfoward.  Understand that 2.0.x uses g-wrap, while trunk uses
swig for this wrapping.

A simple way to eval scheme code at startup is via
~/.gnucash/config.user; see
<http://wiki.gnucash.org/wiki/Custom_Reports#Loading_the_Report>.

-- 
...jsled
http://asynchronous.org/ - a=jsled;b=asynchronous.org;echo ${a}@${b}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.gnucash.org/pipermail/gnucash-user/attachments/20070206/b0a60cce/attachment.bin 


More information about the gnucash-user mailing list