Hi everyone! I'm facing an issue with in Advanced Portfolio Report:
*There is an error processing the transaction 'buying 100.0000 share units'. This may to be caused by a sell transaction causing a negative stock balance, and a subsequent buy transaction causing a zero balance. This leads to a division-by-zero error. It can be fixed by preventing negative stock balances.* I looked for the cause and I found it. But I don't know how to solve it. This problem is caused by a sequence of stock register (just this specific stokc): * Jan 12 - Sell 200 Stock XXX * Jan 12 - Buy 100 Stock XXX Until now, no problem. The report works well. Then I finish this operation: * Feb 17 - Buy 100 Stock XXX When I register this last operation the problem happens. I don't understand that, because I have other operations like this one and the report always works well. To avoid any data entry error, I removed all transactions and inserted them again. Do you have any idea how to solve that? Thanks! Att, Danilo _______________________________________________ gnucash-user mailing list [email protected] To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
