On Sat, Apr 28, 2018 at 7:43 PM, <mplo...@gmail.com> wrote: > Martin, could you explain a little bit on the logic on making decision on > keeping record as "narration" vs "payee" "" ? >
It's not like that, it's either YYYY-MM-DD * "narration" or YYYY-MM-DD * "payee" "narration" So the first positional string means either "narration" or "payee", this is what I don't like. Maybe I should have made it like this: YYYY-MM-DD * "narration" "payee" with the "payee" optional. It's too late now. What are the advantages / disadvantages. Let say for example if i put all > my records as narrations, what is the situation in which i might see the > disadvantages to this strategy? > They're just two fields, with implied semantics for their usage. Sorry for this detailed questions, i am just trying to understand. > Beancount have 2 description fields VS 1 in ledger, so there should be the > reason why you added additional field. > Hmm, I thought Ledger also has payee vs. narration. The difference is that Ledger's syntax parser doesn't require quotes. (I defined it like that when I rewrote the parser because it made it easier writing a parser generator from a grammar with various data types on a single line, less ambiguity.) On Friday, April 27, 2018 at 8:27:07 PM UTC-4, Martin Blais wrote: >> >> On Fri, Apr 27, 2018 at 1:53 PM, <mpl...@gmail.com> wrote: >> >>> Guys, could clarify what are the best practices for usage of payee and >>> narration? >>> >>> Till now i was using only one " " filed, example: >>> >>> 2018-04-01 * "SIMPLEMOBILE*SERVICES" >>> Liabilities:Business:InkBCash -122.60 USD >>> Expenses:Business:Phone >>> >>> 2018-04-02 * "AMAZON MKTPLACE PMTS" >>> Liabilities:Personal:Amex -9.56 USD >>> Expenses:Personal:Books >>> >>> which as i understand is interpreted as narration, is it right? Or >>> should i included second empty " " to make it interpreted as payee? >>> >> >> Yes. >> Note: I'm not a big fan of the syntax I created here, that the positional >> bait-and-switch of having the first field mean something different >> depending on the number of fields, but the reason for this is that >> narration is a more common field, so it makes the syntax more terse. >> >> Note that you could create a plugin that changes this meaning... e.g. >> process all the transactions and if the payee is set to None, move the >> narration into it. Would be pretty easy... >> >> >> >> >> >>> >>> -- >>> 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 beancount+...@googlegroups.com. >>> To post to this group, send email to bean...@googlegroups.com. >>> To view this discussion on the web visit https://groups.google.com/d/ms >>> gid/beancount/a591b458-3076-45be-9652-0937e165a35f%40googlegroups.com >>> <https://groups.google.com/d/msgid/beancount/a591b458-3076-45be-9652-0937e165a35f%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > 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 beancount+unsubscr...@googlegroups.com. > To post to this group, send email to beancount@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/beancount/eb37f929-204d-4438-af58-8698030291bb%40googlegroups.com > <https://groups.google.com/d/msgid/beancount/eb37f929-204d-4438-af58-8698030291bb%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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 beancount+unsubscr...@googlegroups.com. To post to this group, send email to beancount@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAK21%2BhPX003wAt3%3DC%2BeWS%2BioXK9O0UPG-sLRSRhp6yog1%2B1LCw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.