How to Set Field in Netsuite SuiteScript2.0 Client Script?

Hi All,

Please use below code to set Text in Field  in SuiteScript2.0 Client Script:

In SuiteScript1.0:

      nlapiSetFieldText(fldname, txt, firefieldchanged, synchronous)

In SuiteScript2.0:

       CurrentRecord.setTexts(options)


Module Used:

       N/currentRecord Module

Please comment if you have any question.

Thanks

Abhi




Comments