How to create File in SuiteScript2.0 ?

Hi All,
Please use below code to create file in SuiteScript2.0:

In SuiteScript1.0:
      nlapiCreateFile(name, type, contents)

In SuiteScript2.0:
       file.create(options)

Module Used:
       N/file Module


Please comment if you have any question.

Thanks
Abhi







Comments