My Stuff
Nominate Your Peers for NetSuite Support Community's Choice of the Quarter! Submit your nomination today.
Intelligent Payment Automation version 1.0.3 is now available in the SuiteApp Marketplace. The SuiteApp, powered by BILL, lets you automate payments, manage vendor details, and bank account information within NetSuite. Learn more
No Limits. Just possibilities.
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Comments
-
This is resolved. When I named my script file during the import you have to put .js on the end. I thought it was just a label but it is not. That name is how it is stored in the file cabinet.
-
So i tried to change it to clientside and it will not accept the file. I went to "Customization>Scripting>Scripts>New". The error I get is below.
-
I will give it a try but why not the "UserEventScript" type? That keeps the code execution on the server instead of the client. I am trying to understand the difference.
-
Condensed script: /** @NApiVersion 2.1 @ */ define(['N/log'], function(log) { function beforeLoad(context) { log.debug({ title: 'beforeLoad fired', details: 'Event = ' + context.type }); } function beforeSubmit(context) { log.debug({ title: 'beforeSubmit fired', details: 'Event = ' + context.type }); } function…
-
Sam, Thanks for the response. I do have the N/log defined. I will remove the comments and repost the script.
-
Error I am receiving after I mark as shipped.
-
Item fulfillment. Next step is to mark as shipped and the event should fire.
-
Deployment setup
-
Script setup
-
A little more detail: Script below. This script just logs what event fired the script: /** @NApiVersion 2.1 @ */ define(['N/log'], function(log) { /** Runs before the form is loaded. @param {Object} context @param {Record} context.newRecord @ */ function beforeLoad(context) { log.debug({ title: 'beforeLoad fired', details:…