I have noticed an interesting phenomenon when using ledger-cli 3.0 on
Windows to run forecast transactions.
Below is a sample journal file:
~ Yearly
Expenses:Auto $500.00
Assets:Checking
~ Monthly
Income -$2000.00
Expenses:Dining $100.00
Assets:Checking
2016/01/04 TACO BELL
Expenses:Dining $12.50
Assets:Checking
When I run a forecast command, such as the following:
lrc reg Checking -f .\test.dat --forecast "d<[2016/03/02]"
I receive the following output:
16-Jan-04 TACO BELL Assets:Checking $-12.50
$-12.50
16-Feb-01 Forecast transaction Assets:Checking $1900.00
$1387.50
16-Mar-01 Forecast transaction Assets:Checking $1900.00
$3287.50
As you can see, the totals are wrong by exactly $500.00. Coincidentally,
this is the same amount in the ~Yearly budget group. If I remove Yearly
and Quarterly budget groups, the totals are correct. Including these
groups, however, seems to throw the totals off.
For example, the following journal file:
~ Monthly
Income:Timberline -$2000.00
Expenses:Dining $100.00
Assets:Checking
2016/01/04 TACO BELL
Expenses:Dining $12.50
Assets:Checking
When running the same command as above:
lrc reg Checking -f .\test.dat --forecast "d<[2016/03/02]"
I get the following:
16-Jan-04 TACO BELL Assets:Checking $-12.50
$-12.50
16-Feb-01 Forecast transaction Assets:Checking $1900.00
$1887.50
16-Mar-01 Forecast transaction Assets:Checking $1900.00
$3787.50
One need not be a nobel laureate to see the inconsistency. Any ideas on
how to correct this, short of removing my Yearly and Quarterly budget items?
--
---
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.