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.
Address Subrecord field undefined on Sales Order
I am using the following code to try and pull a custom field value from the selected shipping address on a sales order. I can see that the subrecord is successfully retrieved in the browser debugger, but I cannot figure out why it is returning an undefined value for custrecord_osi_route_code. custrecord_osi_route_code is a custom dropdown list on the address record and there is definitely a value in the addresses I am selecting. Even if I change the script to pick a default field like zip, it still returns an undefined value. Any help is appreciated!
2