On Sun, May 11, 2014 at 12:55:01AM +0200, Martin Michlmayr wrote: > * Martin Michlmayr <[email protected]> [2014-05-11 00:41]: > > John, does that sound like a reasonable feature request or is there a > > way to do this already? > > Also, how powerful is the query mechanism? For the example I gave > (plus some Link: directives to link to stored PDFs of invoices), would > it be possible to write a query that does something like: > > For each customer, pivot Assets:Receivables by Invoice and show > Invoice:Assets:Receivables if not empty; additionally, show me the > %(tag('Link')) info for each Invoice:Assets:Receivables so I can > easily look up the invoice. > > The output should be something like this: > > Customer AAA > > 11.00 GBP 102:Assets:Receivables > Link: foo.pdf > > Customer BBB > 12.00 GBP 103:Assets:Receivables > Link: bar.pdf > > Is this feasible or is the best way to write a Python script?
This is very similar to my expense reporting. I have a expense report number and customer, and I have shell scripts that iterate over the tagged values that ledger returns. I've already tried attaching files by number or link in txns and gave up, it was such a hassle. I'm open to suggestions though. Thanks. ------------------------------------------------------------------ Russell Adams [email protected] PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
