Re: 'equity' cannot accept virtual and non-virtual postings to the same account

2014-05-16 Thread John Wiegley
Jostein Berntsen jber...@broadpark.no writes: Is there a reason for this? This sounds rather odd, and may be a bug. John Example data: 2014/03/05 * Opening Balance Assets:Project:Budget 100,00 NOK Equity:Opening Balance = /TeamDev/

Re: query metadata in automated transactions?

2014-05-16 Thread John Wiegley
Eric Abrahamsen e...@ericabrahamsen.net writes: Is it possible to see transaction metadata when doing matching for automated transactions? Yes, if you start the automated transaction directive with = expr , then you can use any value expression, which includes tag('NAME'), whose value is

Re: 'equity' cannot accept virtual and non-virtual postings to the same account

2014-05-16 Thread Martin Blais
Really? This surprises me. I read this as a reasonable assumption and looked up the Ledger doc for it but could not find it. It makes sense to me that one may want to restrict balancing transactions to accounts with no virtual transactions at all and vice-versa, segregating accounts by whether

Re: query metadata in automated transactions?

2014-05-16 Thread Eric Abrahamsen
John Wiegley jo...@newartisans.com writes: Eric Abrahamsen e...@ericabrahamsen.net writes: Is it possible to see transaction metadata when doing matching for automated transactions? Yes, if you start the automated transaction directive with = expr , then you can use any value expression,