Off the cuff, I’d create a global controlling bool...
# suitescript
s
Off the cuff, I’d create a global controlling boolean variable for the code that should only run once, and put that code in it’s own function. You can’t prevent sublistChanged from being triggered multiple times, and shouldn’t, but you can use a boolean to make sure a particular function only runs one time, and subsequent calls will simply exit quickly.
👍🏼 1