Thank you Martin. In another recent discution you are recommandin a "D" record to specify / enforce commodity format. Something like:
D 1,000.00 AUD I have tryied that and it works fine for CAD commodity (CA currency) but not for TDB902 and TDB952. Why is that? On Friday, November 5, 2021 at 9:32:36 AM UTC-4 Martin Michlmayr wrote: > * lipp f <[email protected]> [2021-11-05 06:23]: > > You are correct Martin. For TDB902 and TDB952, the jurnal entries are in > > "commodity amount @ price" format. I got all the records through an > export > > process and changing manually all of them does not seem like an option. > > > > So, the quetion is the same, how do I get a consitent equity report? > > So it sounds like ledger gives you the correct output for the input > you're feeding it. The solution then is to fix your input. > > Maybe you can pipe your export script into a script that changes > "commodity amount" to "amount commodity". A small Perl script should > do the trick. > > -- > Martin Michlmayr > https://www.cyrius.com/ > -- --- You received this message because you are subscribed to the Google Groups "Ledger" 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/ledger-cli/dca9eeb1-fbeb-45f4-a192-bf7af140e988n%40googlegroups.com.
