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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
User Event Script not triggered by CSV Import
I'm facing a weird problem. My CSV Imports do not always trigger the deployed user event scripts. Even a simple script like the one below sometimes works and sometimes doesn't. The CSV Import preferences are correctly set (Run server suitescript and trigger workflows is checked).
Anyone else experienced this?
/** * @NApiVersion 2.x * @NScriptType UserEventScript * @NModuleScope SameAccount */ define([], function() { function beforeLoad(scriptContext) { log.debug('BeforeLoad', 'triggered'); } function beforeSubmit(scriptContext) { log.debug('BEforeSubmit', 'triggered'); } function afterSubmit(scriptContext) { log.debug('AfterSubmit', 'triggered'); } return { beforeLoad: beforeLoad, beforeSubmit: beforeSubmit, afterSubmit: afterSubmit }; });
0