>>>>> David A Harding <[email protected]> writes:

>     2013/09/03  Budget for travel to Mexico
>         [Assets:Budgeted]
>         [Budget:Travel]   M$2500.00  ; buses, tourist card
>         [Budget:Fees]        $50.00  ; atm/exchange

> As you can see, the transaction tries to virtually withdrawn two different
> currencies from the same account using an elided amount. That works, but
> only one of the withdrawals shows up as virtual. Here's the command and
> output (note the final line):

> 1. Is it intentional or is it a bug? If it is intentional, could you please
> briefly explain the logic or point me at a doc (or source code file) which
> can help me figure it out?

The sounds like a bug to me.  Could you log it at http://bugs.ledger-cli.org?
Thanks.

> 2. Why doesn't ledger complain about a non-balancing transaction? The "hard"
> bracketed virtual line items in the register output above don't balance
> against each other, nor does the automatic non-virtual line item balance
> against itself. Are there other situations where I have to worry about
> unbalanced automatic and hard-bracketed transactions?

I think the bug is confusing the issue, since a transaction with an empty
posting will always balance.

> I want to repeat that I'm extraordinarily impressed by ledger.  My only wish
> is that I had discovered it earlier.[1]

Thank you, Dave!

John

-- 

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

Reply via email to