```var selectField = sublist.addField({ id: 'plve...
# suitescript
s
Copy code
var selectField = sublist.addField({
	id: 'plvendor',
	type: ui.FieldType.SELECT,
	label: 'Vendor',
	source: 'vendor'
});
or there abouts you might be able to use the
record.Type
"enum" in the source, but i haven't actually tested that.