Change to the Advanced Portfolio report

Mike Alexander mta at umich.edu
Sat Feb 21 22:47:48 EST 2015


--On February 22, 2015 at 11:17:59 AM +1100 Chris Good 
<chris.good at ozemail.com.au> wrote:

> In your original email about your latest mod, you said:
>
> 	I made another change to the Advanced Portfolio report which may
> 	simplify the recording of dividend and interest payments.
>
> Can you please explain what interest payments you mean?
> Is this for inclusion in Income on Advanced Portfolio Rpt?

I thought I explained it in that message:

> This change causes the report to find income (and expense)
> transactions that are in the parent account of the security account
> being reported on.  This is done by looking in the parent account for
> transactions that have exactly two splits (not counting trading
> account splits) where the other split is to an income or expense
> account with the same name as the security's account.
>
> For example given an account structure like
>
>   Assets (type ASSET)
>     Broker (type ASSET)
>       Widget Stock (type STOCK)
>   Income (type INCOME)
>     Dividends (type INCOME)
>       Widget Stock (type INCOME)
>
> If you are producing a report on "Assets:Broker:Widget Stock" a
> transaction that debits the Assets:Broker account and credits the
> "Income:Dividends:Widget Stock" account will count as income in the
> report even though it doesn't have a split in the account being
> reported on.
>
> This only works if the parent account ("Assets:Broker" in this case)
> is a Bank or Asset account and the Income/Expense account has the
> same name as the security account.  It won't double count
> transactions that have the dummy split since they won't be two split
> transactions.
>

What part of this is unclear?  It's for the Advanced Portfolio report, 
this discussion has nothing to do with the any income or profit and 
loss report.

            Mike
 


More information about the gnucash-user mailing list