In SS2 you should use the type enum, `record.Type....
# suitescript
j
In SS2 you should use the type enum,
record.Type.Record_Type
. If it doesn't appear in the enum then I'd imagine you can't create one in script.