I tracked the problem to a return of capital that I had entered the day after I sold all the shares of a stock. By moving the return of capital to the day before the sale, the error went away. I never had a negative share balance. The return of capital has money, but no shares. So, I found the error message misleading.
On Tue, Apr 25, 2023 at 7:08 AM Fred Tydeman <tydeman.f...@gmail.com> wrote: > When I run an Advanced Portfolio report, I am getting: > > There is an error processing the transaction 'spinoff of 0.00 currency > 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. > > One way to find out which security is to start picking subsets of accounts. > Is there a better way to find out which security it is complaining about? > > > _______________________________________________ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.