On Tuesday, January 15, 2019 at 9:01:21 PM UTC+7, Martin Michlmayr wrote:
>
> * Budiman Snowman <[email protected] <javascript:>> [2019-01-15 
> 04:17]: 
> > Is there a shorter way, e.g. if ledger lets me put in transaction date 
> and 
> > statement date in one entry. 
>
> You could use an aux date (effective date): 
> https://www.ledger-cli.org/3.0/doc/ledger3.html#Effective-Dates 
>
> 2019/01/01 reimburse wife 
>   expenses:children:tuition fee   $200 ; [=2018/08/01] 
>   expenses:children:doctor visit  $100 ; [=2018/10/01] 
>   assets:savings:bank            -$300 
>
> ledger -f e reg --aux-date 
> 2018-08-01 reimburse wife    expenses:children:tuition fee          $200   
>        $200 
> 2018-10-01 reimburse wife    expenses:children:doctor visit         $100   
>        $300 
> 2019-01-01 reimburse wife    assets:savings:bank                   $-300   
>           0 
>
> But honestly I think what you have now is the better solution. 
>

Thanks for informing me about effective dates. My current way is indeed 
more proper, but since type most things manually it feels too verbose. I 
prefer creating just one transaction with all the different dates.

-- 

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