PATCH: handle "0" amount (was Re: stock thoughts)
Derek Atkins
warlord at MIT.EDU
Wed Jul 30 22:27:15 CDT 2003
Jon Lapham <lapham at extracta.com.br> writes:
> No problem. Running fine here. I updated the investment docs with
> your previously impossible suggestions. :) I'm not happy with my
> explanation in paragraph 2... if you have any suggestions.
Cool... I dont have a suggestion..
> http://www.jandr.org/temp/gnucashdocs/invest_sell1.html
>
> One thing I do not understand. Take a look at the screenshot on the
> above web page (you may need to refresh your browser's cache).
>
> There are 2 transactions listed as "Sell stock for profit" derived
> from the same split transaction. No problem, I get that. The first
> one (with the closed split in the screenshot) has a Tot Sell of
> 3000. Great, I see where that comes from. But, what does the Tot Sell
> of 100 for the second part (top line of the opened split in the
> screenshot) of the split come from?
Hmm, good question... I'll look into that. I suspect this is an
artifact of the default split-price being "1", but I'll have to look
into it.
> Also, what does the "1" mean on the last line of the split? In the
> "share price" column.
The "1" is the "default share price" for an empty split. You'll
notice that you always get a '1' in the price column on the "blank
split".
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-devel
mailing list