About removing the effects post-parsing and the transformations: in current version (v2) it's not possible. In the next version it will be; in fact, plugins at that time will be able to operate on that or on the completed ones. https://docs.google.com/document/d/1qPdNXaz5zuDQ8M9uoZFyyFis7hA0G55BEfhWhrVBsfc/edit#heading=h.im13x0na711c (Don't hold your breath though, I've got a packed schedule until next summer and dev time is more or less on the ice.)
If you need just sorting your file that could be achieved with a little Python script without really parsing much beyond the initial date and lumping paragraphs together. On Sat, Nov 19, 2022 at 3:56 AM Peter <[email protected]> wrote: > Thanks for pointing that out. I wasn't aware of that. > > How would I achieve that sorting functionality with bean-query? I tried to > play with bean-query a couple of times, but learning to use the sql-like > syntax is hard. > > Would bean-query also amend the txns and insert lot dates and partly > filled postings (missing position, so beancount augment the units) > > [email protected] schrieb am Dienstag, 15. November 2022 um 03:56:34 UTC+1: > >> bean-report is deprecated. Use bean-query. >> >> On Mon, Nov 14, 2022 at 2:10 AM Peter <[email protected]> wrote: >> >>> Hi, >>> >>> is it possible to use bean-report … print without "amending" the >>> original txns? >>> >>> By amending I mean: >>> >>> - bean-report fills empty reductions of lots (Assets:XY -1YZ {} ==> >>> Assets:XY -1YZ {3 USD, 2022-01-01}), which I don't want at this point. >>> - bean-report removes txns that contain errors >>> >> >> That's a problem I'd like to fix in the next version indeed, it's a >> frustrating one. >> >> >> >>> >>> Currently, I have a messy *.bean file, because of a lot of imports. To >>> deal with errors, etc., I'd like to have the *.bean at least sorted by >>> date. Bean-report is the only alternative that does that, but because of >>> the amendments it isn't usable for me at the moment. >>> >>> So, is there a way to suppress the amendments or sort the file via >>> another way? >>> >>> Regards >>> >>> -- >>> 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/f481e92c-071c-410f-9bbb-40aa042dbee7n%40googlegroups.com >>> <https://groups.google.com/d/msgid/beancount/f481e92c-071c-410f-9bbb-40aa042dbee7n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > 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/b89cff63-0f06-469c-99e0-f0c68b0348adn%40googlegroups.com > <https://groups.google.com/d/msgid/beancount/b89cff63-0f06-469c-99e0-f0c68b0348adn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAK21%2BhPB%3Dp6QRfuJhibcGgFuiFuZzjQQVQ84QYQe%3D%3DibvEZGeA%40mail.gmail.com.
