eric also mentioned you can use recordtype instead...
# suitescript
a
eric also mentioned you can use recordtype instead of type in search.lookupFields to get the proper type string