Basic reporting: Subtotal by Description field?

Derek Atkins warlord at MIT.EDU
Thu Feb 1 18:13:54 EST 2007


Andrew Sackville-West <ajswest at mindspring.com> writes:

> this has frustrated me for a while too as it crops up a lot in my
> business. I took a look at the code for that report and it is nowhere
> near as intuitive as the other reports. Hacking it won't be easy as
> the option setup is self updating... very confusing. Any devs wanna
> point us in the right direction there? 

I suspect you'll need to add to the option, and then during the
processing phase use a commodity-collector with buckets based
on the description.  So basically hash(description) -> collector
and then you can add to the collector when you see the description
again.

> A

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