How to use equivalent Suite Script 2.0 for nlapiLoadFile?

Hi All,

How to Load a file in Suite Script 2.0 and then save ?




Please use below code in SuiteScript2.0:

In SuiteScript1.0:

      nlapiLoadFile(id)

In SuiteScript2.0:

       file.load(options)

Module Used:

     N/file Module

For Saving File:
Please click This link








Please comment if you have any question.

Thanks

Abhi








Comments