Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Update field on User Event View
I have an interesting problem I'm trying to solve. The phone number of a subrecord address doesn't show up on the transaction form as part of the address. Because UPS and Fedex require phone number when shipping, the user has to edit the sales order and edit the address in order to see the phone number field...
I'd like to retrieve the phone number field from the subrecord shipping address and display it as a transaction body field.
The following code works for a client script. However, I don't want the user to have to edit the record to see the phone number. I'd like to make this work as a User Event script, but it seems I can't update the field in either a BeforeLoad or BeforeSubmit. The field doesn't store a value, it is just used to display the value. I could make the field store a value, but then it would only work for transactions going forward, not previously created ones...