On 03/03/2013 04:47 PM, Jeffrey Brent McBeth wrote:
Maybe none.  What I'm hoping for is if I call ledger with --real, I would get 
the correct amounts in my real accounts.  If I call ledger without it, I want 
the money that is in my savings to not be in either real account.  What I have 
done right now is wrong

I have
Date Save
  [Assets:Checking]
  [Savings:Toys]  100

and
LaterDate Transfer
  Assets:Checking
  Assets:Savings 100

The second entry makes sure that my Assets have the right totals with --real, 
but double books the savings with virtual postings on.  So, I'm wondering how 
to modify my entries to get the totals right in both situations.

Hopefully, this is slightly more clear?

Jeff


In the second transaction, you pull a *different* 100 to be transferred. You move 100 into Savings:Toys, then move another 100 into Assets:Checking. The amount must be in either Savings:Toys or Assets:Savings, but cannot be in both.

03/02 Opening balance
   Assets:Checking  200
   Equity

03/03 Save
   [Assets:Checking]
   [Savings:Toys]  100

03/04 Transfer
   Assets:Checking
   Assets:Savings  100

ledger bal
                 100  Assets:Savings
                -200  Equity
                 100  Savings:Toys
--------------------
                   0

ledger --real bal
                 200  Assets
                 100    Checking
                 100    Savings
                -200  Equity
--------------------
                   0

--

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