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.
Is this a bug? nlapisubmitfield and user event
I have a scheduled script that submits a single field, per record, using nlapisubmitfield. I chose nlapisubmitfield to keep the script running quickly and to keep the usage low.
I also have a user event script that runs on this record, before submit. This user event script pulls data from multiple fields, and updates another field.
The problem is that when i use nlapisubmitfield on the saved search, the user event gets null for all the other fields. When I changed my saved search to load the entire record, then submit it, the user event works fine.
This has to be a bug, right? Shouldn't the user event either get the correct values, or simply not run at all after nlapisubmitfield?
0