Why bother splitting it into two transactions? Why not just query by postings with the held: "long" metadata?
On Friday, August 23, 2024 at 1:41:35 PM UTC-7 [email protected] wrote: 8949 annoyingly completely segregates short term and long term sales into separate tables. So if you had a sale like in the example, you're supposed to split it into two sales, one which sells only the assets held for a short term, and the other which only sells the assets held for long term. I have a wrapper script already which loads the ledger, so yeah if the plugin tagged the legs I might be able to back it out into two transactions, although I feel I'd be duplicating some imputation logic in order to split up the Assets:Bank leg. Hmm.... -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/beancount/244e1f43-c3b2-4ccb-8a0d-1fe16a8558a1n%40googlegroups.com.
