[GNC] Wildcard in standard report definiton

Derek Atkins warlord at MIT.EDU
Wed Dec 19 10:09:02 EST 2018


Crypto MR <cryptaccmr at gmail.com> writes:

> If I set up a report, let's say the balance sheet report, I usually
> want to see all accounts in this report. Each time I later add another
> account, I have to adjust the report settings for the 'saved
> reports'. Is there any way I could modify the report settings with a
> wildcard, so each time I run the report, it would automatically select
> ALL accounts?

Unfortunately the way QOF works (since about 2.0), Accounts are not
"special" anymore -- all matches are performed by GUID (including
accounts).  This was implemented as a generalization of the code as it
was expanded to be able to search for other objects, like Customers,
Invoices, etc.

The downside of this change is that this particular feature was lost.

The only way to add it back in would be to completely restructure the
way searches are performed in order to special-case Accounts again.

I think, with the C++ rewrite underway, this feature could,
theoretically, be re-added by allowing an Account to override the
generic search functions.

> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

-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