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!
File Cabinet "Garbage Collection"
We have various files in a specific File Cabinet folder that get attached to opportunities. Some of these files go through multiple revisions during the course of the opportunity, and as a new version is added, the previous version is removed from the opportunity. The issue is that those files that get removed essentially become orphaned in the File Cabinet folder while continuing to consume space. We would like to find all those "orphaned" files and delete them to reclaim space. The only way that I can think to do that is via SuiteScript by:
- Perform a document search returning all files in the folder
0