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!
nlapiYieldScript vs nlapiScheduleScript
Is it better to use nlapiYieldScript or nlapiScheduleScript in my situation? I'll explain:
I need to have my script copy values from checkboxes into a multiselect dropdown, for ALL the Contacts in our DB. That's a lot of records. If I run the Saved Search alone, not in the script, it times out. Each time the script runs, it should get a smaller results set, though, because it filters out any records that already have values in the multiselect dropdown.
Also, when nlapiYieldScript-rescheduled scripts resume, do they re-start at the function chosen in the Script Record, or in the exact execution state they were in when they Yielded?
0