I had this happen recently. It was caused by the order of deposits / withdrawals in my cash account on the same day. I excluded that account from the report and it worked ok.
On Thu, Feb 13, 2025 at 11:47 PM Kalpesh Patel <kalpesh.pa...@usa.net> wrote: > I am running Advance Portfolio report and I noticed it display following > error message at the top: > > > > There is an error processing the transaction 'buying XXXX.XXXX 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 was hoping to track down this (these) transaction(s) which are in errors. > I don't remember doing this for an account but I have not founds how to > locate these specific transactions. Any idea how to go about finding it? Is > the value error referring to one specific transaction? I am hoping to avoid > going through each and every investment account manually which I don't even > know how to do that given that the value given in the error message could > possibly be from variable number of additions and subtractions in an > account. > > > > Any help is welcome. Thanks. > > _______________________________________________ > 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. > _______________________________________________ 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.