How to Save file in SuiteScript2.0?

Hi All,

Please use below code to save file in SuiteScript2.0:

 In SuiteScript1.0:

      nlapiSubmitFile(file)


In SuiteScript2.0:

       File.save()


Module Used:

       N/file Module


Please comment if you have any question.


Thanks

Abhi












Comments