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!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
Do User Event scripts execute when customers view an item?
In my early tests (just using this User Event sample script from https://system.netsuite.com/help/helpcenter/en_US/Output/Help/SuiteFlex/SuiteScript/UserEvents.225.9.html?NS_VER=2010.1.0). See below for the code.
I've deployed this script attached to Service records for View events. Just to try to see something, I've set Status = released, Log Level = Debug, run as admin = Yes.
I get execution log entries when I view the item in question when logged into NetSuite. But I don't see anything when I view the service item in the web store as a regular customer. If that's the intent of User Event scripts, fine. But what I'm wondering about is what kind of script / deployment I need to use to run something after the item is fetched from the database, but before it's displayed to the customer. I'm trying to work out something similar to related items, so I need to fetch some custom records before displaying the page.