Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
OpenAir Scripting: How to get a value from a custom dropdown field (Hierarchy)
Our client has a requirement to get the value of a dropdown field (hierarchy) from a project record, load the hierarchy node then get the value from a custom field inside the hierarchy node. I tried to use the following codes but it always returns null. Is there a way to list the available custom fields including the hierarchies upon loading the record? How do I get the actual value of the dropdown field so that I would know which hierarchy and hierarchy node to load?
var newr = NSOA.form.getNewRecord();
var projectId = newr.id;
var custid = newr.customer_id;
0