Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
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).