Dana petak, 8. rujna 2017. u 15:06:38 UTC+2, korisnik John Wiegley napisao 
je:
>
> >>>>> "IS" == Ivan Senji <[email protected] <javascript:>> writes: 
>
> IS> Any idea what I am doing wrong or missunderstanding? 
>
> Ledger's logic regarding revaluation entries is perhaps too simple: They 
> occur 
> whenever there is an "event" in the timestream.  In your case, you have 
> two 
> events: a transaction involving HRK on 3/1, and a pricing entry on 4/1. 
>

So prices in the form "P 2017/04/01 EUR 8 HRK" are not events?
 

>
> The fact that the price of FUND changes on 2/1 isn't taken into account, 
> because you're asking about valuations in term of HRK, not FUND. 
>
> Perhaps the algorithm here needs improvement, but it's not immediately 
> clear 
> to me what the rule would be.  If we start introducing this indirect types 
> of 
> changes, it could become quite complex to know when to report such 
> entries. 
>

Thanks again for trying to understand my problem and help.

In trying to figure out things I came across this:

2017/03/03 * Some other EUR transaction defining EUR->HRK conversion
Expenses:EurExpenses
Assets:Checking -100 EUR @ 6.1 HRK

2017/03/07 * Some other EUR transaction defining EUR->HRK conversion
Expenses:EurExpenses
Assets:Checking -100 EUR {6.2 HRK}


These two transactions do not behave the same. The first one causes 
revaluation in my example and the second one does not.

Similar for prices:

P 2017/04/01 EUR 8 HRK

does not cause revaluation of FUND in HRK but something like 

2017/04/04 exchange rate
test1  1 EUR @ 8.1 HRK
test2

works.

These seem like they could be workarounds for my problem but I am not sure 
yet.

Thanks.

 

-- 

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