Equivalent API for nlapiCopyRecord() in SuiteScript2.0 ?

Hi All,

In Netsuite Suite Script 1.0 we use nlapiCopyRecord() for making copy of any record.
Now in SuiteScript2.0 we have to use N/record Module and record.copy(options),

Where as record is parameter which is used for record module.

In SuiteScript1.0:
     nlapiCopyRecord()

In SuiteScript2.0 :
     record.copy(options)

Module Used:
     N/record Module

Please comment if you have any question.

Thanks
Abhi

Comments