Hi folks! Do you know if it is possible to create ...
# suitescript
g
Hi folks! Do you know if it is possible to create a lookUpFields for a custom record?
b
use the script id of the custom record type as your search type
g
I use the following lookupFields: var data= search.lookupFields({ type: search.Type.customrecord_1, id: '4', columns: ['field'] }); But I got this error:
Copy code
search.lookupFields: Missing a required argument: type
b
search.Type is for native records
just use 'customrecord_1'
and honestly change that id
🤭 1