How to get Record Type Netsuite Suite Script 2.0?

Hi All,

Please use below code in SuiteScript2.0:

In SuiteScript1.0:

      nlapiGetRecordType();

In SuiteScript2.0:

      Record.type - in case using in server side script
      CurrentRecord.type -- in case using in client side

Module Used:

      N/record Module - in case using in server side script
      N/currentRecord Module -- in case using in client side

Please comment if you have any question.

Thanks

Abhi










Comments