Anyway to retrieve a list of all (native) record t...
# suitescript
e
Anyway to retrieve a list of all (native) record types in NetSuite? Expecting to see "Account", "Transaction", "Item", etc.
d
assuming narrowed down to scriptable records is ok (won't give you generic "Transaction" etc.) running a query on type 'scriptrecordtype' is the closest thing I can think off the top of my head
e
that gives me most of what i'd need. but it doesn't show "Item" or "Inventory Item" "Assembly Item" etc. Which is strange as those are scriptable records....
............ querying 'scriptcustomrecordtype' shows 'item' (along with many other NON-custom record types lol)..... interesting
👍 1
d
here's some related article along the same lines: https://timdietrich.me/blog/netsuite-suiteql-custom-record-types-and-custom-fields/ -> https://timdietrich.me/blog/netsuite-records-catalog-api/ depending on what you're trying to do, maybe useful
e
Appreciate it!