How to Delete Record in SuiteScript2.0 ? Equivalent api of nlapiDeleteRecord()?

Hi All,

Please use below code to delete record in SuiteScript2.0:



In SuiteScript1.0:

      nlapiDeleteRecord(type, id, initializeValues)

In SuiteScript2.0:

       record.delete(options)

Module Used:

      N/record Module


Please comment if you have any question.



Thanks

Abhi




Comments