I'm not finding any docs that suggest they're expo...
# suitescript
b
I'm not finding any docs that suggest they're exposed via suitescript or rest
c
If its not in the records browser, its probably not "officially" scriptable. You can edit a record and open a console and do nlapiGetRecordType(); (1.0 version of getting the record type). If nothing comes back, its not scriptable. Adding "&xml=T" to the end of a record URL is also a way. If it doesn't give you back the XML structure, its not scriptable.
👍 1
👀 1
b
depends on how risk adverse you are
a record can be scriptable while not being supported
its usually a case of finding the record type and seeing if you can create the record in suitescript
do it in serverside 2.x suitescript, the supported records in client script are less than server. same for 1.0 vs 2.x
there are various ways of guessing record types, my current favored approach is using netsuite's client side record list
b
ohhh, I like the sound of this 😈
b
netsuite uses the global
nsapiGetRecord
function to see if a record type is supported or not, and its simple enough that you can examine it and recreate it yourself
🤔 1
👀 1
c
I did a shot in the dark for Work Centers and tried search.Type and ENTITY_GROUP. Not listed but it works. Could also be that they have it and they just didn't document it.
Some things I found from downloading the 2.0 API and just taking a look. You can get it from the file cabinet. Not a ton of interesting stuff but a few things.