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('')
- Access this page: https://system.na1.netsuite.com/app/common/scripting/nlapijsonhandler.nl?jrr=T&jrid=0&jrmethod=remoteObject.getRecordTypes. The resulting JSON should include a flag called scriptable for each record type.