Questions about reports
22 Feb 2002 18:42:34 -0500
I agree that these types of Account queries would be useful -- it
would be useful to me, too ;) I may get to it some day, or I may just
hard-code 'income' and 'expense' types into my work.
If you're interested, patches would be accepted ;)
Martijn van Oosterhout <firstname.lastname@example.org> writes:
> On Fri, Feb 22, 2002 at 05:54:44PM -0500, Derek Atkins wrote:
> > Christian Stimming <email@example.com> writes:
> > > And anyway, new account types don't get added that often (IIRC
> > > none during the last 3 years), so you wouldn't need to worry too
> > > much about that.
> > Actually, this is false.. I added Accounts-Payable and
> > Accounts-Receivable account-types in CVS.
> This is exactly the problem. Perhaps there should be a account-get-base-type
> which returns one of asset, liability, income, expense or equity. Or
> predicates (like account-is-asset?). Instead of each report trying to work
> it out for themselves.
> There already are account-is-stock?, account-has-shares? and
> Martijn van Oosterhout <firstname.lastname@example.org>
> > If the company that invents a cure for AIDS is expected to make their
> > money back in 17 years, why can't we ask the same of the company that
> > markets big-titted lip-syncing chicks and goddamn cartoon mice?
Computer and Internet Security Consultant