I'm sorry to revive a thread from 2 years ago, but I think this issue was never resolved.
>>>>>> Qwertyu <[email protected]> wrote back in October 2012: >> Maybe a flag like '--silent-adjustment' is needed? John Wiegley wrote on 2012-10-20: > There is a --revalued flag to explicitly turn them on, but I agree > there should be a --no-revalued flag to do the opposite. Was there any work done on this? I'd very much like to produce a register report without <Adjustment> entries, even when I'm converting currencies. Note that <Adjustment> lines appear even when you don't use running totals in our -F string. They appear merely if you've converted currencies. Historically, I wasn't concerned about this issue, because I got around the issue in contrib/non-profit-reports/ Perl scripts with this hack: next if $line =~ /^\s*"[^"]*","[^"]*","[^"]*","(\s*\<\s*Adjustment\s*\>\s*|Equity:)/; This script stopped functioning with Ledger for idiosyncratic reasons. Namely, it seems that a change in the last year or so in Ledger has caused <Adjustment> entries to appear as the *first* entry. Thus, when I have a Format string like this: -F '\n"%(date)","%(code)","%P","%A","%t"\n%/"","","","%A","%t"\n' I can't merely throw away the lines that have <Adjustment> in them (as above), because I lose the line that has the %(date), %(code) and %P on it if the <Adjustment> is the first entry in the posting. Any thoughts? -- -- bkuhn -- --- 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]. For more options, visit https://groups.google.com/d/optout.
