account summary separately for each cost center

Derek Atkins warlord at MIT.EDU
Mon Dec 31 15:24:59 EST 2007


Quoting Timo Lindfors <timo.lindfors at iki.fi>:

> Hi,
>
> I recently tried to get account summaries separately for each cost
> center (e.g. physical location or subdivision of a company). The thread
>
> https://lists.gnucash.org/pipermail/gnucash-user/2007-October/022074.html
>
> came to the conclusion that the "Action" field could be used to
> specify cost center but later I was told that it is per split and not
> per transaction so I thought I'd better (ab)use the "Notes" field
> instead.
>
> I first tried to modify account-summary.scm but then noticed that even
> though there is gnc:query-add-description-match there is no
> gnc:query-add-notes-match.

Adding this would be fairly easy....

> Finally I resorted into writing a small python program that reads a
> gnucash file and prints a primitive account summary separetely for
> each cost center:

Would you be willing to write a scheme report if the above API
were available?

-derek

-- 
       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-devel mailing list