netsuiteRESTlet - Process external documents


Introduction

When retrieving a document from an external system, it requires us to ensure the correct document extension is affixed to the document. The sample code shows how to store a document properly in NetSuite's File Cabinet as well as attaching it to its corresponding record.