Re: Questions about reports
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 ;) -derek Martijn van Oosterhout <[EMAIL PROTECTED]> writes: > On Fri, Feb 22, 2002 at 05:54:44PM -0500, Derek Atkins wrote: > > Christian Stimming <[EMAIL PROTECTED]> 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 > account-is-inc-exp?. > -- > Martijn van Oosterhout <[EMAIL PROTECTED]> > http://svana.org/kleptog/ > > 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? -- Derek Atkins Computer and Internet Security Consultant [EMAIL PROTECTED] www.ihtfp.com ___ gnucash-devel mailing list [EMAIL PROTECTED] http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel
Re: Questions about reports
On Fri, Feb 22, 2002 at 05:54:44PM -0500, Derek Atkins wrote: > Christian Stimming <[EMAIL PROTECTED]> 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 account-is-inc-exp?. -- Martijn van Oosterhout <[EMAIL PROTECTED]> http://svana.org/kleptog/ > 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? ___ gnucash-devel mailing list [EMAIL PROTECTED] http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel
Re: Questions about reports
Christian Stimming <[EMAIL PROTECTED]> 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. > Christian -derek -- Derek Atkins Computer and Internet Security Consultant [EMAIL PROTECTED] www.ihtfp.com ___ gnucash-devel mailing list [EMAIL PROTECTED] http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel
Re: Change in account name completion behaviour?
On Fri, 2002-02-22 at 11:38, Christian Stimming wrote: > -BEGIN PGP SIGNED MESSAGE- > > I've noticed this for a few weeks now, so eventually I should ask: > > Has there been any change in the account name completion behaviour? Scenario: > I enter a transaction in the register. During this action I try to enter an > account. Gnucash does an account name completion, plus when I type the > account seperator character, it completes the top-level account's name and > presents me the account name of the lower level. This used to mean that for > the account Assets:Checking:MyBank I needed to type (provided there were no > ambiguity) 'a' ':' 'c' ':' 'm' and I'm done. > > It used to be this way until and including the last stable release IIRC > (1.6.5). But since then there showed up a change in the stable CVS branch > that made this way of entering account names more difficult. Namely, typing > the ':' character kept one character marked too much: Before, typing 'a' ':' > made Gnucash to complete 'Asset:---' and keeping the '---' part marked, but > NOT the ':' character. This way, typing the first letter of the subaccount > (here a 'c') made Gnucash to complete the name of the subaccount. The way of > right now is different: Typing an 'a' ':' makes Gnucash to complete > 'Asset:---' but keeping the ':---' part marked, that is, INCLUDING the > colon! If I then type the first letter of the subaccount, the replacing > makes 'Asset:---' change into 'Assetc' and I can't reach the subaccount > anymore, unless I type a backspace and delete the character from the wrong > place. > > This is annoying. Was there a good reason for this change that I missed? Did > anybody else notice this behaviour? Or is the error in my installation? I don't recall such a change being made. I cannot repeat this on my own system (I can still do ':' ... and gnucash doesn't highlite the colon. Has anything about your account names changed recently? dave signature.asc Description: This is a digitally signed message part
Re: Average Monthly Expenses Report/Chart?
-BEGIN PGP SIGNED MESSAGE- On Monday 11 February 2002 16:21, Chris Ingram wrote: > My question is: How does everyone else generate reports and pie charts > containing such average monthly expenses dollar amounts? Is this > currently possible? It is not possible currently. If I want to have averages, I open one expense piechart for the whole period, take my HP-48 (calculator) and calculate the result "by hand". >However, there don't appear to be options to > select the start date for the P&L report as "Start of previous month > minus X" where X is could be 12 or 3 (or any other number of months I > choose). No, there is no such option at the moment. If you want to add these to the dropdown multi-choice list by yourself, you can do so relatively easily (provided you are willing to take the Scheme challenge). Changes in two files are required: In date-utilities.scm, you need to add a function to calculate the right relative date (just follow e.g. gnc:get-start-prev-month). Additionally, this relative date option has to be added to the big lists in the function gnc:reldate-initialize, just the other examples. One more file change and you're done: In the file options-utilities.scm, add the new date option to the lists in the functions gnc:options-add-report-date! and gnc:options-add-date-interval! . That's it, no more changes in any report code is required. > Should I look into modifying the existing P&L report and Expense > Piechart to have a "show average monthly dollars instead of total > dollars" checkbox? Where would I start looking to do such a thing? Just a rough hint: Dividing the amounts in the expense piecharts by some value (e.g. the number of months) would need to take place in file account-piecharts.scm line 249-250. The function collector->double returns a double value which can be divided by the number of months. To create an option choice box for this, follow the example for e.g. the show-total option in that file. To get the number of months you can use the function gnc:timepair-get-month and gnc:timepair-get-year from date-utilities.scm. If you have further questions, don't hesitate to ask and we'll try to assist you in your requests as quickly as possible. Thanks for your ideas. Christian -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.5 (GNU/Linux) Comment: For info see http://www.gnupg.org iQCVAwUBPHalcGXAi+BfhivFAQHK5AP+PK+ktKdzwme6HiiQhXyRYri0A4my/9qo Rln9spxAQpKhH8hAjKCCb41zCmM6ehaxbPBaMjCJa9TikZWLlzDwBcE0ccIbUOB2 6vm0tw95pJfnVO87s0XiiWriZ6FynmCT/synsK3jc6APzLwH0oz6rlyczwqF/INW 8CoJkiQn660= =CzEA -END PGP SIGNATURE- ___ gnucash-devel mailing list [EMAIL PROTECTED] http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel
Re: interface ideas for gnucash
-BEGIN PGP SIGNED MESSAGE- On Thursday 21 February 2002 02:41, Ambrose Kofi Laing wrote: > But some ideas for improvement; first I will say what the desired > features are, then try to defend or promote them. > > 1) Default account sources. > > All these features are designed to make it that much faster to enter a > group of transactions Thanks for your credits and the interesting proposals. It sounds like a good feature to have, and your rationale for that perfectly make sense. Nevertheless I was wondering why nobody else thought of that before, and maybe my thought would help you for a workaround until somebody (including yourself) might implement that feature. I found that I personally don't use the Transfer dialog at all. Instead I enter all transactions in the register of my Cash/Checking/Credit Card account. The transaction completion feature there saves me a whole lot of typing. Most of the times I just need to type one or two characters of the transaction description, and then the completion of the description *plus* the insertion of the recently used other account usually just finishes off my transaction perfectly. If you haven't used the transaction completion in the register before, you might want give it a try. Now this shouldn't discourage you from advocating your feature request, and as I said, it sounds like a good feature. I'm just reasoning that I don't see a need for this feature *for myself*. Assuming that some of the other developers share the same behaviour pattern, this explanation should just help understanding why nobody has implemented that feature so far, and why it might take some time to find somebody who will actually implement it. Cheers, Christian Stimming -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.5 (GNU/Linux) Comment: For info see http://www.gnupg.org iQCVAwUBPHagvmXAi+BfhivFAQHfdAP9HXwvaBL3NZM5DoWwGx3gt1SjXP10uvyW 6k2MUBqoVOO4DFW30QUs813g5VayJWDf7GOnHE729O786u0TegNPxxM7VnArEoN7 jef6BdWqPJanokMhJOZMEV13hz4uYyi1BhcwISxoIJNAk+TH/W8CQ8N3eRs+bSdu MJVva+vei9g= =v+5V -END PGP SIGNATURE- ___ gnucash-devel mailing list [EMAIL PROTECTED] http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel
Change in account name completion behaviour?
-BEGIN PGP SIGNED MESSAGE- I've noticed this for a few weeks now, so eventually I should ask: Has there been any change in the account name completion behaviour? Scenario: I enter a transaction in the register. During this action I try to enter an account. Gnucash does an account name completion, plus when I type the account seperator character, it completes the top-level account's name and presents me the account name of the lower level. This used to mean that for the account Assets:Checking:MyBank I needed to type (provided there were no ambiguity) 'a' ':' 'c' ':' 'm' and I'm done. It used to be this way until and including the last stable release IIRC (1.6.5). But since then there showed up a change in the stable CVS branch that made this way of entering account names more difficult. Namely, typing the ':' character kept one character marked too much: Before, typing 'a' ':' made Gnucash to complete 'Asset:---' and keeping the '---' part marked, but NOT the ':' character. This way, typing the first letter of the subaccount (here a 'c') made Gnucash to complete the name of the subaccount. The way of right now is different: Typing an 'a' ':' makes Gnucash to complete 'Asset:---' but keeping the ':---' part marked, that is, INCLUDING the colon! If I then type the first letter of the subaccount, the replacing makes 'Asset:---' change into 'Assetc' and I can't reach the subaccount anymore, unless I type a backspace and delete the character from the wrong place. This is annoying. Was there a good reason for this change that I missed? Did anybody else notice this behaviour? Or is the error in my installation? Christian -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.5 (GNU/Linux) Comment: For info see http://www.gnupg.org iQCVAwUBPHaeJGXAi+BfhivFAQFonAP+ILJ2eYuaJ+uI7vuLEh1iOj6RRdoxfpQH Rx7raCXGVwKRV9yYQ/gF1YIHlPjFXgZUTS6v3BJa+PmZ25dXlG+IRVJcPpnd0iTf YMO5WMC9HQwX2WPi7+xJaQ8OqCOlgJSvKf+/VNxBtEOROF/0310B2u/oRz7igviT fK4R3H1/cII= =HrAa -END PGP SIGNATURE- ___ gnucash-devel mailing list [EMAIL PROTECTED] http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel
Re: Questions about reports
-BEGIN PGP SIGNED MESSAGE- On Friday 22 February 2002 09:03, Martijn van Oosterhout wrote: > 2. I want my report to do slightly different things depending on whether > something is an income or expense account. I see gnc:account-get-type > except that there are several kinds of expense accounts and several types > of income accounts. I could list the various types and use member to > identify them, but this would break if a new type was added. All the other existing account types in Gnucash besides income and expense actually are neither income nor expense accounts. The other account types are all some variant of an asset or liability (or equity) account. So by testing (member '(income expense)) you should be on the safe side. 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. Christian -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.5 (GNU/Linux) Comment: For info see http://www.gnupg.org iQCVAwUBPHabQ2XAi+BfhivFAQGXjgP/c1QfYaQwdi902yuyhY6Sen1mOTo+C53t 9UpKP3IpDBrmaO9k7mRohfG6+MXD5KlIGH5FH7y4e32kGYdhbUmdupM0u6clVAaQ w04wtWyKvyTZi2zp2MMn5sTIkVwvAheefKfxUeL2DRSw211wNXsySRGkbdk5nFNH 2XdHae/ERig= =dCsb -END PGP SIGNATURE- ___ gnucash-devel mailing list [EMAIL PROTECTED] http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel