[This is a re-post. Because of the recent "Barracuda blacklist" problems (now solved), I was not sure my first post would have been seen. Sorry if you are receiving this twice. ]
I'm resurecting an old thread as I was about to ask a question which was already partly covered in June 2003. I would like to expand it with a suggestion (see below). >> Quote from message 007020 >> http://lists.gnucash.org/pipermail/gnucash-user/2003-June/007020.html > > Anyone please tell me how to register a dividend in cash so that it > is counted in the Advanced Portfolio Report. >> Quote from message 007033 >> http://lists.gnucash.org/pipermail/gnucash-user/2003-June/007033.html > > I think that Advanced Portfolio Report should take into account all > dividends in cash when calculating Money Out and Total Return. Am I > right? >> Quote from message 007037 >> http://lists.gnucash.org/pipermail/gnucash-user/2003-June/007037.html > > No. Dividends are not part of a portfolio. So now, my suggestion... How about updating the Advanced Portfolio report so that: (I sent a copy of this message to the author as well.) - For each 'Action' (type) account selected --- For each 'Incomes' (type) account available ----- If the 'Incomes' account has the same Account Code ----- as the 'Action' account ------- Sum up the transactions in that account ------- EXCEPT the transactions already implying the 'Action' account ------- (to avoid having a reinjected dividend counted twice) ------- Add the balance as dividend in the calculations of the report This new feature should be added as an option so that the user can choose to consider the sub-accounts in Incomes:Dividends or not. What do you think ? (I would have tried to modify the report myself, but i have not yet the knowledge for that.) AmigaPhil _______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
