virtual transactions

8 views
Skip to first unread message

thierry

unread,
Mar 1, 2010, 7:13:10 PM3/1/10
to Ledger
With ledger v2:
"ledger bal" is displaying virtual transactions (account inside
parenthesis)
"ledger --real bal" is NOT displaying virtual transactions

With ledger v3:
"ledger bal" is NOT displaying virtual transactions (please note
the different way of working of v3 vs v2)
What is the command to show virtual transactions with ledger v3?

Thanks
Thierry


$ cat test7.ledger
2002/05/06 * Achat
Actif:Invest:Broker 75 FT @ 40 €
Dépense:Broker:Commissions 10 €
Actif:Invest:Broker -3010 €

2002/07/17 * Datek Online
Revenu:Invest:Intérêts -4 $
Actif:Invest:Datek

2005/11/08 Vente
* Actif:Invest:Broker -75 FT @ 45 €
! Dépense:Broker:Commissions 10 €
* Actif:Invest:Broker 3365 €
(Revenu:Invest:Capital) 3000 € ; 75 FT @ 40 €
(Revenu:Invest:Capital) -3375 € ; -75 FT @ 45 €


$ ledger -f test7.ledger bal ^Revenu
-4 $
-375 € Revenu
--------------------
-4 $
-375 €
$ ledger -f test7.ledger --real bal ^Revenu
-4 $ Revenu
--------------------
-4 $
$ ledger3 --european -f test7.ledger bal ^Revenu
-4 $ Revenu:Invest:Intérêts

thierry

unread,
Mar 3, 2010, 10:02:16 AM3/3/10
to Ledger
I found a way to be able to display virtual transactions.
By removing the '^' before "Revenu".
Is it a feature that '^' filters out virtual transactions?

Thierry


$ ledger3 --european -f test7.ledger bal ^Revenu
-4 $ Revenu:Invest:Intérêts

$ ledger3 --european -f test7.ledger bal Revenu
-4 $
-375 € Revenu:Invest
-375 € Capital
-4 $ Intérêts
--------------------
-4 $
-375 €
$ ledger3 --european -f test7.ledger bal Revenu --real


-4 $ Revenu:Invest:Intérêts

Reply all
Reply to author
Forward
0 new messages