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!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Saved Search Delete Function Question
Hello,
We are building our own custom Delete Records function based on a Saved Search. We have a few questions for guidance:
1. What is the best way to get the underlying record type of a Saved Search when all we have is the or ID / Name?
2. What is the best way to detect in code if there are child records on a record? We want to skip these for delete purposes.
3. What is the best way to delete a bunch of records that are part of a saved search? It appears that we will have to iterate them one by one after detecting child records, but I suspect there is a Delete List operation that we don't see in the documentation.
0