How to set Field value in SuiteScript2.0 in Client Script?

Hi All,

Please use below code to set field value in current record in SuiteScript2.0:

In SuiteScript1.0:

      nlapiSetFieldValue(fldnam, value, firefieldchanged, synchronous)

In SuiteScript2.0:

      CurrentRecord.setValue(options)

Module Used:

      N/currentRecord Module

Please comment if you have any question.

Thanks

Abhi



Comments