On Saturday, May 17, 2014 6:04:26 PM UTC-7, Martin Blais wrote:

> It would be useful to build a list of real-world use cases of virtual 
> postings and see if they can all be solved without or not - make a 
> compelling argument about the need for virtual postings.
>

I am just getting started with Ledger and hit the issue that originally 
started this thread. Basically, I'm trying to use virtual transactions for 
budget reasons, to spread the cost of something over time. For example:

2014/06/17 Awesome Trip
    Expenses:Travel                           $1000.00
    [Expenses:Travel]                        $-1000.00
    [Assets:Reimbursements:Vacation]     $1000.00
    Assets:Cash:Checking                    $-1000.00

; Pay down balance of Assets:Reimbursements:Vacation over time

2014/07/01 Awesome Trip
    [Expenses:Travel]                           $100.00
    [Assets:Reimbursements:Vacation]     $-100.00

 2014/08/01 Awesome Trip
    [Expenses:Travel]                           $100.00
    [Assets:Reimbursements:Vacation]     $-100.00

; etc.
 
For this use case, real and virtual make a lot of sense to me: --real shows 
when I actually spent the money, but omitting --real lets me virtually 
spread the cost and work within my budgets. But since Expenses:Travel has 
both real and virtual postings, the budget report (ledger --budget 
--monthly register ^expenses) only works with --real, which defeats the 
whole purpose.

I believe that in this case I could use effective dates, but that would 
quickly get tiresome if there are many smaller transactions rather than a 
single big one as above; I prefer to be able to toss the expenses into a 
bucket and then pay it down as I can. Since I'm strictly using balanced 
virtual transactions I think tags would work here, but would love some 
feedback.

Any tips would be much appreciated!

Dave

-- 

--- 
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.

Reply via email to