Re: [GNC] future of custom reports in 3.x

2018-04-10 Thread Matthew Pounsett
Thanks very much to William, David, and Sébastien for those links. That's all the documentation I could want. Cheers! Matt ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists

Re: [GNC] future of custom reports in 3.x

2018-04-10 Thread Sébastien de Menten
You can also look at http://piecash.readthedocs.io/en/latest/object_model.html Piecash is in fact a python ORM (sqlalchemy) on top of the gnucash dql tables. On Tue, Apr 10, 2018, 18:14 Matthew Pounsett wrote: > On 10 April 2018 at 11:45, Amish wrote: > > > May be fastest and easiest way would

Re: [GNC] future of custom reports in 3.x

2018-04-10 Thread David T. via gnucash-user
Or consult https://wiki.gnucash.org/wiki/SQL and https://wiki.gnucash.org/wiki/images/8/86/Gnucash_erd.png David T. > On Apr 10, 2018, at 8:45 PM, Amish wrote: > > May be fastest and easiest way

Re: [GNC] future of custom reports in 3.x

2018-04-10 Thread William Jackson
> Is there some clear documentation of the SQL schema somewhere? https://wiki.gnucash.org/wiki/SQL https://wiki.gnucash.org/wiki/images/8/86/Gnucash_erd.png ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences o

Re: [GNC] future of custom reports in 3.x

2018-04-10 Thread Matthew Pounsett
On 10 April 2018 at 11:45, Amish wrote: > May be fastest and easiest way would be to first save sample data (say > only 1 transaction) to say PostgreSQL database and then use pg_dump to dump > it to text file. > > That's an approach, for sure. However... there are 24 tables just in my personal

Re: [GNC] future of custom reports in 3.x

2018-04-10 Thread Amish
May be fastest and easiest way would be to first save sample data (say only 1 transaction) to say PostgreSQL database and then use pg_dump to dump it to text file. Amish. On Tuesday 10 April 2018 08:57 PM, Matthew Pounsett wrote: On 8 April 2018 at 13:13, John Ralls

Re: [GNC] future of custom reports in 3.x

2018-04-10 Thread Matthew Pounsett
On 8 April 2018 at 13:13, John Ralls wrote: > > In the meantime there are four alternatives for custom reports: > 2. Learn SQL and use a SQL backend to extract the data you want. The > results are generally amenable to import into a spreadsheet for further > processing; you could also install the

Re: [GNC] future of custom reports in 3.x

2018-04-10 Thread Sébastien de Menten
Re running reports within gnucash, I have toyed with the idea to be able to call from gnucash a local web server to run a report and return the HTML to gnucash (or even other mimetype like an excel, csv or word file). It needed the Web Client module for guile ( https://www.gnu.org/software/guile/ma

Re: [GNC] future of custom reports in 3.x

2018-04-10 Thread Geert Janssens
Op maandag 9 april 2018 07:12:29 CEST schreef Saša Janiška: > John Ralls writes: > > 3. Learn Python and use either the python bindings or PieCash (also > > requires the SQL backend) to query the database and write custom > > reports. > > I'll take a closer look at this option. > > > 2. Learn SQ

Re: [GNC] future of custom reports in 3.x

2018-04-08 Thread Saša Janiška
John Ralls writes: > While we would like to replace the reporting system with something > more flexible and user friendly we’re a very long way from being in a > position to even start on it. OK - that's nice to know. ;) > In the meantime there are four alternatives for custom reports: > 4. Wi

Re: [GNC] future of custom reports in 3.x

2018-04-08 Thread John Ralls
While we would like to replace the reporting system with something more flexible and user friendly we’re a very long way from being in a position to even start on it. In the meantime there are four alternatives for custom reports: 1. Learn Scheme and qof-query to make custom reports for use insi

Re: [GNC] future of custom reports in 3.x

2018-04-08 Thread Amish
I wonder the same too. Although new reports are enough for me now. But I had to delete lots of old custom reports because they no more worked (or compiled) But in future I may want to have my own custom reports. I wish there was GnuCash library with we could simply call Gnc_LoadFile("path")

[GNC] future of custom reports in 3.x

2018-04-08 Thread Saša Janiška
Hello, while having problems to load certain (ytd-budget.scm) report in 2.6.20 under (Fedora) Linux i nthe attempt to return back to GnuCash from (h)ledger, I wonder if there is some plan in regard to the future of custom reports, iow. is it still recommended to learn some Scheme in order to achie