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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
Webstore User Even Script won't Log debug or audit but it will log error.
Hi all,
I've got a User Event script that I'm working on which triggers only for the Webstore. At the moment, I have a few functions that are working but for some reason I can't get the script to log.debug or log.audit, nothing comes out.
Log.error does log if an error occurs. I'm quite lost.
Part of the code I'm working on which isn't working, so I'm trying to log the details:
afterSubmit function that triggers and performs functions correctly, but also isn't logging:
Each of the try functions have catch error logs that will log
As you can see, although I've triggered the script multiple times, only the error log comes through:
0