Hey everyone, Is there a way to track item sublist...
# suitescript
k
Hey everyone, Is there a way to track item sublist modifications without having to track each lines with a UE script?
a
You can track item sublist modifications with Client Scripts, however if you want to consider all possible scenarios with an UserEvent script a common practice is to read and build an object or array of objects with all the lines and fields values of the newRecord object and compare them to the oldRecord object. I’m not aware of another way to do this.
k
Thank you for your suggestion! I was hoping NetSuite provided something similar to sublistChanged on the server side. Using Client Scripts makes sense, and I appreciate the idea of comparing the newRecord and oldRecord objects in a UserEvent script. I'll look into implementing that approach. Thanks again!