On 16/12/2016 15:43, Lifepillar wrote:
On 16/12/2016 12:22, Brian Exelbierd wrote:
In the ledger file at the bottom I set up a multi-level budget. If I
run the commands below, everything works until I restrict to a third
level budget line.
The problem seems to depend on the fact that you are putting a category
(Department 1) and one or more of its subcategories (e.g., Department
1:Project A) in the same budget's transaction. Compare:
~ Every year
Department 1 -$5000
Department 1:Project A $5000
2016-02-01 Fake txn
Department 1:Project A $500
Equity -$500
with
~ Every year
Budget -$5000
Department 1:Project A $5000
2016-02-01 Fake txn
Department 1:Project A $500
Equity -$500
which gives the correct output.
So, your example might be fixed as follows:
~ Every year
Budget $10000
Equity -$10000
~Every year
Budget -$10000
Department 1 $5000
Department 2 $5000
~Every year
Department 1 -$5000
Dept 1:Project A $2500
Dept 1:Project B $2500
2016-02-01 Fake txn
Expense:foo $500
(Department 2) $500
Equity -$500
2016-02-01 Fake txn
Expense:foo $500
(Dept 1:Project A) $500
Equity -$500
2016-02-01 Fake txn
Expense:foo $500
(Dept 1:Project B) $500
Equity -$500
Not ideal, but I can't offer a better solution.
Life.
--
---
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.