Print SearchResult in CSV in NetSuite SuiteScript 2.0

The file Module helps us to do lots of thing in the NetSuite

Load the file module when you want to work with files within NetSuite. We can use this module to upload files to the NetSuite File Cabinet. You can also use this module to send files as attachments without uploading them to the File Cabinet.

file.create(options) : Method used to create a new file in the NetSuite File Cabinet.

file.delete(options) : Method used … Read the rest