I have a custom record with several custom fields,...
# suitescript
d
I have a custom record with several custom fields, one of which is a text field for a processing code (i.e. PR354, SU188). How do I go about creating another custom list based on those processing codes? If I do a custom field of type List/Record and select the custom record, it gives me a list of the record ID's. I'd like a list of the processing codes.
b
Use the processing code as the name of the record
d
@battk Sorry, I don't quite follow
e
Lists display the
name
field of a record
b
custom records have a name field
the value of the name field is the text shown in the select options
j
What do you mean by “If I do a custom field of type List/Record”
you need to create a new list
fill in all the possible values of your processing codes
then change your custom record field to instead be of type List/Record -> YourNewList
if I’m understanding correctly
d
@erictgrubaugh @battk thank you. I understand now. So I will have to use the name field for the value I want displayed in the list, even though it's not really the "name" of the record. That'll work.