Programmatically, is there's a way to know the fie...
# suitescript
s
Programmatically, is there's a way to know the field type ? in SS1 it is You can use the
getType()
function on an
nlobjField
object.
Copy code
var type1 = field1.getType();  // type1 contains 'select'
var type2 = field2.getType();  // type2 contains 'date'

What is it in SS2 ?
a
its just
field1.type
🙌 1
message has been deleted
🙌 1