I believe I noticed at some point that a computed (ie, parentheses) 0 value line counted as null, which seemed like a bug. Is this what you're referring to?
--dave On Nov 26, 2010 10:17 AM, "Gabriel Kerneis" <[email protected]> wrote: > On Thu, Nov 25, 2010 at 11:05:18PM -0500, John Wiegley wrote: >> On Nov 25, 2010, at 4:37 PM, Gabriel Kerneis wrote: >> >> > On a related note, would it be possible to lift this restriction of a >> > single null amount per entry (possibly with a command-line option)? >> >> If there were multiple null postings, how would I auto-balance the >> transaction? > > IIRC (but I might be wrong), I tried that: > > 2010/01/01 * Check or set balance > Assets = $ 1,000 > Equity:Balance > > What I would expect is: > - ledger computes the amount x for the first line, so that > current_assets + x = $ 1,000 > - and then sets equity to -x. > And did not work when x = 0. > > It was some time ago, so maybe this works now. Or is there some reason > for it not to work that I cannot figure out (my algorithm looks > straightforward but it might not generalize to more complex cases)? > > Best, > -- > Gabriel
