Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
N/Search Unexpected error using array in filter.
Hi there, bit of a tricky one perhaps.
In my script, one of the functions I have is used to update fixed asset records if an item receipt has its landed cost added.
In the first script example, the script works but gets overloaded if there are too many items on the IR as it runs a search for each serialized item, quickly eating up all the credit allowance or whatever it is I'm allowed for running a script.
So in my second example, I'm trying to add each of the serial numbers into a single search before running it, so that I perform far fewer searches for the asset records I need to update.
0