To deal with the default account problem, I make the transaction explicitly
0. To deal with it not being a real transaction, I make it a virtual one.
Together it looks like this

2020-04-06 * Reconcile
    [Assets:Checking]  $0 = $123.00
    [Assets:Savings]  $0 = $456.00

-Mythmon


On Mon, Apr 6, 2020 at 10:09 PM Randy Josleyn <randy.josl...@gmail.com>
wrote:

> Hi Taylor,
>
> I knew someone one say this as soon as I hit send :)
>
> It does seem a little simpler than what I was trying to do. My beef with
> that is that it's not *really* a transaction, so I don't want to write it
> as one. That's really a minor reason.
>
> What I did find is that if you have a default account set and the balance
> assignment is incorrect, the difference will end up in the default account
> instead of causing an error. That might actually be a useful side affect if
> you set the default account as something noticeable like "FAILED ASSERTION"
> or something. It would show up in your balance report and so on and still
> let you see the current state of your accounts.
>
> Thanks for your response!
>
> On April 7, 2020 12:51:33 PM GMT+08:00, Taylor R Campbell <
> campbell+ledger-...@mumble.net> wrote:
>>
>> Date: Tue, 07 Apr 2020 12:47:37 +0800
>>> From: Randy Josleyn <randy.josl...@gmail.com>
>>>
>>> I realized I could just add a transaction that assigns the balance
>>> of assets:checking, but that doesn't seem like the best way to do
>>> it.
>>>
>>
>> This is exactly what I do.  Why wouldn't it be the best way?
>>
>> 2020-04-01 Balance assertion
>>     Assets:Checking   = 123.00 USD
>>
>> --
>> ------------------------------
>> 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 ledger-cli+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ledger-cli/20200407045133.ACA4C60A44%40jupiter.mumble.net.
>>
>>
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
>
> --
>
> ---
> 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 ledger-cli+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ledger-cli/64C852DB-2DB8-4C1B-8BF8-49907395A212%40gmail.com
> <https://groups.google.com/d/msgid/ledger-cli/64C852DB-2DB8-4C1B-8BF8-49907395A212%40gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/CAFOMguZTWvF%3DRv%3DSiES8-67n7wprDQ705zMAd_Z5aPuDygi%3DaQ%40mail.gmail.com.

Reply via email to