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!
User Event beforeSubmit working but not afterSubmit
I have a 1.0 Suitelet generating a record.
Then a User Event on that record type catching on userEvent.Type.CREATE and creating a scheduled MR task.
When I run this beforeSubmit, everything works fine, but I need the ID of the record to be passed to my MR task. So I switched things over to afterSubmit and it doesn't appear to be kicking the script at all now. I tried logging at entry, and I'm not getting anything back. Does afterSubmit not register when coming from 1.0 to 2.0 but perhaps beforeSubmit does?