in client script the record type is for example, '...
# suitescript
m
in client script the record type is for example, 'expensereport' while getting the type from a saved search is 'ExpRept'