How can I add a multiselect field for record types...
# suitescript
a
How can I add a multiselect field for record types? something like
source: record.Types.RecordTypes
.
b
create a list/record field in the ui, then copy the internal id number of whatever list/record source you want
think very carefully about what you are using it for, the internal id numbers of the select options aren't very convenient to use
a
I want the user to add a list of record types. So the select options would be: • Work Orders • Item Fullfilments • Bin Transfers • Purchase Orders • etc.
I have to create this list myself?
b
use the internal id number of the list/record field as the value of your source
a
I'm not getting it. This is a filter in a saved search. Imagine this filter in a suitelet (and multiselect)
b
create a field in the ui
make it a multiple select type
choose the record type as the source list/record
get the internal id value of that field
use that internal id as your field's source
a
Ah now I get it.
Thanks.