Re: [HOWTO] Register of virtual accounts related to a main account?

2015-12-01 Thread Andrew Maffei
> Can someone else shed some light on the issue? I solve a similar problem by adopting a naming convention For example, at work I like to keep track of expenses on science grants I manage using 3 different account hierarchies. One hierarchy of account names is "real", the other two are

Re: [HOWTO] Register of virtual accounts related to a main account?

2015-11-23 Thread François Beausoleil
Hello Alexis, I'm having difficulty understanding how it works. I found http://ledger-cli.org/3.0/doc/ledger3.html#Posting_002faccount-details which says "R ‘1’ if a posting is not virtual, ‘0’ otherwise." I tried ledger reg Assets:Bank --display 'R' which returns the original postings, not

Re: [HOWTO] Register of virtual accounts related to a main account?

2015-11-23 Thread Alexis
Hello François, from my understanding Ledger has more of a filter than a query language, and I'm uncertain how one do with ledger what you want to do. Surely one could script it using the Ledger Python API, but with only commandline options, I don't know. Can someone else shed some light on the

Re: [HOWTO] Register of virtual accounts related to a main account?

2015-11-22 Thread Alexis
Hello François, using the --limit virtual or --display virtual option should give you the reports you want. Search for --limit and --display in the "Commands & Options Index" sectionš of the manual to find references for explanations and examples of how they work. The main difference being that