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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
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