How to Detach record in Suite Script 2.0?

Hi All,

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

In SuiteScript1.0:

      nlapiDetachRecord(type, id, type2, id2, attributes)

In SuiteScript2.0:

      record.detach(options)

Module Used:

       N/record Module

Please comment if you have any question.

Thanks

Abhi



Comments