Determine Select Field Associated Record Type


Does anyone know of a way to automatically determine the record type associated with a select field on a record.

I can call getField() that provides certain details and tells me that it’s type is “select” but I can seem to find any way to determine the record type in the list.



Intermediate Asked on January 15, 2020 in SuiteScript.
Add Comment
2 Answer(s)

Do you need this via code or fine with getting this information via the UI?  There is a chrome plugin called ‘NetSuite Advanced Field Help’ that gives you this information when the record is in Edit mode.

Intermediate Answered on January 15, 2020.

Thank you but, yes, I need it in code.

on January 15, 2020.
Add Comment

I think you’d need to do an additional lookup.

Should be able to use the “Custom Field Definition” Dataset/Query with N/query module for this to get information on the recordtype join.

Intermediate Answered on September 25, 2020.

do u mean i need to use search.lookupFields ?

on June 14, 2021.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Limebox   Become a Sponsor