On 06 Dec 1999 12:18:18 CST, the world broke into rejoicing as
Rob Browning <[EMAIL PROTECTED]>  said:
> Dave Peticolas <[EMAIL PROTECTED]> writes:
> > Currently however, when you delete a 'transaction' in the register,
> > you are really deleting the split. Thus, if you delete Split 1 from
> > your Checking account, Split 2 remains in the Fuel account. The
> > transaction is now unbalanced, because it doesn't add up to 0.
> 
> I'm with the other Rob here :> This seems like a bug (or a misfeature)
> unless I'm misunderstanding.  If I delete a split, I expect *both
> sides* of the split to disappear.  If I delete a transaction, I expect
> all the splits to disappear.  The alternatives make no sense to me and
> will screw up everyone's data.  The current code really handles
> deletes like this?  I though I had checked this a while back and it
> worked (IMO) "right".

Seems "misfeatureful" to me, too.  To leave an unbalanced transaction
around feels, um, wrong.

An appropriate way to make this more approachable would be, when deleting
a split, to throw up a dialog looking something like the following:

[ You have deleted a split from this transaction.
  Do you want to

  [[[ Delete the whole transaction ]]]  (highlighted/default-if-I-press-enter)
            or
    [ Just delete the split. ]

  Warning: Just deleting the split will throw your accounts out of
  balance; you probably shouldn't do this unless you're going to
  immediately add another split to bring things back into balance.
]

It would probably be a good idea for the dialog to have some mention
of the "Scrub" function, perhaps with a link so you can view the
documentation to it...
--
"I don't know why, but first C  programs tend to look a lot worse than
first programs  in any other  language (maybe except for  FORTRAN, but
then I suspect all FORTRAN programs look like `firsts')" -- Olaf Kirch
[EMAIL PROTECTED] - <http://www.ntlug.org/~cbbrowne/lsf.html>

--
Gnucash Developer's List 
To unsubscribe send empty email to: [EMAIL PROTECTED]

Reply via email to