On Friday, October 3, 2014 at 4:38:34 PM UTC+4, Bradley M. Kuhn wrote:
>
> I'm sorry to revive a thread from 2 years ago, but I think this issue
> was never resolved.
>
>
> >>>>>> Qwertyu <[email protected] <javascript:>> 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.
>
Bump? The problem i've encountered is that i can't just have a nice data
for plotting w/ -{j,J}: almost every date appears twice w/o apparent
metadata for stripping:
2013-11-01 53120.28
2013-12-01 41646.68
2014-01-01 45883.852173913043
2014-02-01 -176.832173913043478
2014-02-01 42382.823920704845815
2014-03-01 1298.323608572687224669603524229
2014-03-01 45218.143503579295
2014-04-01 -1023.004979726282881784644414112
2014-04-01 60960.6844162693290737010237592
--
---
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.