On 21/05/2021 16:27, Matt Hellige wrote:
> Thanks. I may try that. It's a little unfortunate that the only solution> involves multiple transactions,
I would like to point pout that although ledger allows a syntax that
bundles them together, these _are_ separate transactions.
> because it's nice to be able to easily
> see that so-and-so took these five checks to the bank on a particular
> day, as a single occurrence.
This information can be recorded in other ways (one being doing excatly
nothing and relying on the fact that they all occurred the same day)
that do not involve a magic syntax with a magic expansion of what seems
a single transaction into many. In this regard, the ledger syntax is
actually worst: once the transactions are read from the file there is no
way to know that they are related is lost as it is preserved only in the
visual appearance of the record in the ledger file.
If being able to link the transactions together easily (also when
querying the ledger with automated tools) is a requirement, the
Beancount way of doing it is through links.
> But since the plugin could label all the
> various transactions with the same source file/line, and connect them
> all with a link or tag, that might be the best I can do.
I don't think a plugin would buy you much here, but the link solution is
actually better than the (overly complex IMO) ledger syntax.
Cheers,
Dan