2017-09-19 19:48:16 'Patrick Ruckstuhl' via Beancount <[email protected]>: > Looks like I was too quick, seems like * is not yet implemented, this fails: > > 2017-06-01 * > Assets:CHF -30 CHF > Assets:USD 20 USD { 1.5 CHF } > > 2017-06-01 * > Assets:CHF -30 CHF > Assets:USD 20 USD { 1.6 CHF } > > 2017-07-01 price USD 1.7 CHF > > 2017-08-01 * > Assets:USD -10 USD { * } @ 2 CHF > Assets:CHF 40 CHF > Income:USD:Realized >
To be exact, "*" is only a syntax meaning "select some lots from my
inventory and I don't care which lots". It's the same as an empty
bracket (-10 USD {} @ 2 CHF).
The booking method in use is determined by a global- or per-account
option. You could either:
1) Define a global option:
option booking_method "FIFO"
2) Define a per-account option:
open Assets:USD USD "FIFO"
--
Zhuoyun Wei
--
You received this message because you are subscribed to the Google Groups
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beancount/20170920041840.GB30221%40xenien.wzyboy.org.
For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: PGP signature
