FAQ: How can I tell if a NetSuite record is scriptable?

Q. My question concerns a record type (transfer, in this case) in NetSuite that integrator.io does not currently support. I was told that I should be able to retrieve it in an export by accessing a saved search for that record. Before I start, is there a way to find out whether a NetSuite record can be accessed using SuiteScript?

A. You have few a ways to check if a record is scriptable in NetSuite:

  • Look up the specific record type in the NetSuite Help Center. It should be documented as scriptable or not.

  • Attempt to run the following line of code. If it doesn’t throw an error, then is scriptable.
 nlapiCreateRecord('')