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.
beforeSubmit fields not returning values
I perform a search on a custom record looking for values in two fields (one a list/record field, the other an integer field). The search results find the records correctly.
I do a mass update against this search which causes a User Event script I have on the custom record to run.
In the beforeSubmit routine, I load the record using nlapiGetNewRecord and using getFieldValue retrieve the values for the two fields above. They both return null for a value.
The form has the list/record set as inline text while the integer has the 'show' checkbox unchecked (to hide the field). Am I to assume that beforeSubmit is showing these as null because they are set to inline text and not shown or is there something else going on I am not aware of? Both of these returned values should have had values in them (clearly since the mass update search shows them with values).