Hi, John --
On Fri, 23 Mar 2012, John Wiegley wrote:
> John, it has been fixed.
I've cloned the latest next branch this morning (even started with a clean
clone -- can I say that?), and I still can't make this work.
This is not a crucial error for me, because I can edit the equity file.
Here's another test file:
--8<---------------cut here---------------start------------->8---
2005/01/03 Opening Balances
Assets:Current:Checking $-1,000.00
Liabilities:CredCard $1,000.00
(Virtualaccount) $1,000.00
2005/01/10 carfund
Assets:Savings $1550.00
Assets:Checking
2005/01/03 Joe's
Expenses:Dining $46.50
Liabilities:CredCard
(Virtualaccount2) $46.50
2005/01/05 Another gift
Expenses:Gifts $30.00
Liabilities:CredCard
2006/01/03 Gift shop
Expenses:Gifts $46.50
Liabilities:CredCard
--8<---------------cut here---------------end--------------->8---
"ledger -f testfile.dat equity -e 2006 > testequity.dat" produces this:
--8<---------------cut here---------------start------------->8---
2005/01/10 Opening Balances
Assets:Checking $-1,550.00
Assets:Current:Checking $-1,000.00
Assets:Savings $1,550.00
Expenses:Dining $46.50
Expenses:Gifts $30.00
Liabilities:CredCard $923.50
(Virtualaccount) $1,000.00
(Virtualaccount2) $46.50
Equity:Opening Balances $-1,046.50
--8<---------------cut here---------------end--------------->8---
Note that there's an "equity:opening balances" line that balances the
total of the two virtual accounts.
(I realize that this could be my error rather than yours.)
--
John Rakestraw