you can use current record module, get the record ...
# suitescript
c
you can use current record module, get the record and look at the type