oScript.LinesAdded not working on version 2020

SOLVED

Has anyone been able to use oScript.LinesAdded on a script in version 2020?  I happen to be on 2020 with PU 1.  I'm using it to refresh the grid on the Lines tab in SO Entry after adding lines, but it's not working.  I have to go to another tab and come back in order to get it to refresh.  I have tried a few variations including:

retval = oScript.LinesAdded = -1 'why isn't this refreshing the grid in version 2020?

I have also tried:

retval = oScript.LinesAdded = -1 'why isn't this refreshing the grid in version 2020?
retVal = oScript.LoadGrid("GD_Lines") 'doesn't work to refresh grid
retVal = oUIObj.HandleScriptUI() 'doesn't work to refresh grid

And this is running on a button script on the Lines tab.  Might be a bit different from running it on the Totals/Header tab.