Dear ledgers,
We're using ledger for our company's accounting and we've had good
experience with it so far. It's real nice to have everything stored in
plain-text and using version-control to backup and keep track of what's
going on - tools we already know so well!
However, in the context of financial audit, we've been challenged to
produce these kinds of reports. For any given month, they want:
*
*
*Report January 2013*
(bal at first day of month) (bal at last day
of month)
*Account name Incoming balance Difference Outgoing palance*
Equity $ 10,000 $-5,000 $ 5,000
Expenses $ 8,000 $ 200 $ 8,200
... etc
If I do ledger -f file --group-by 'format_date(date, "%Y-%m")' bal then I'm
close. I get the same numbers as above, but they're printed month-by-month:
2013-01-01
Equity $10,000
Expenses $8000
2013-01-31
Equity $8,000
Expenses $8200
We want these joined line-by-line, as if outputed with --format. How can we
do this? We've looked at --format, but haven't found anything that lets you
address multiple amounts/totals.
We are currently solving this by printing the two separate reports (one for
start of month, one for end) and using perl to join the lines. This is very
dirty and we don't like it. Is there a way to reference multiple
reports/queries from the --format switch or otherwise customize to this
output?
Thanks!
K.
--
---
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/groups/opt_out.