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.
Celebrate Your 2025 Community Recap & Achievements!
We’re excited to announce that the 2025 Community Recap is now available! This special recap highlights the amazing contributions and achievements of our members over the year and celebrates the collective success of our community.
Check your personalized recap to see the impact you made in 2025 and how your efforts helped shape our community’s growth and success.
View Your 2025 Community Recap
Thank you to everyone for your passion, collaboration, and support. Here’s to building an even stronger community together in the year ahead!
We’re excited to announce that the 2025 Community Recap is now available! This special recap highlights the amazing contributions and achievements of our members over the year and celebrates the collective success of our community.
Check your personalized recap to see the impact you made in 2025 and how your efforts helped shape our community’s growth and success.
View Your 2025 Community Recap
Thank you to everyone for your passion, collaboration, and support. Here’s to building an even stronger community together in the year ahead!
Staying Connected During the Holidays
Season’s greetings to you and yours! As we head into the holidays (December 24 – January 4), we want to take a moment to celebrate the incredible strength and collaboration within our community. Even during the break, you can continue to benefit from connecting with peers, searching related threads, posting your questions, and marking helpful replies as “Accepted” in the Support Community.
Please note our dedicated team will be on reduced coverage during this time, and regular responsiveness will resume on January 5. Wishing you a joyful and restful holiday season!
-The NetSuite Support Community Team
Season’s greetings to you and yours! As we head into the holidays (December 24 – January 4), we want to take a moment to celebrate the incredible strength and collaboration within our community. Even during the break, you can continue to benefit from connecting with peers, searching related threads, posting your questions, and marking helpful replies as “Accepted” in the Support Community.
Please note our dedicated team will be on reduced coverage during this time, and regular responsiveness will resume on January 5. Wishing you a joyful and restful holiday season!
-The NetSuite Support Community Team
Comments
-
It should be available in the AfterSubmit of the UserEvent script. Here is a snippet from where we're using this approach. /** * @NApiVersion 2.x * @NScriptType UserEventScript * @NModuleScope SameAccount */ define(['N/record'], function(record) { function afterSubmit(scriptContext) { log.debug('afterSubmit.Start'); //1.…
-
You should be able to use the beforeSubmit function available on a User Event Script.
-
My guess is that since "billaddr1" is a joined in field, it's not refreshed in the scriptContext after an insert or update. Therefore, I'd try getting the customer again (via a search in your script) and then pull the billadr1 from the search results.
-
We use a couple of options: 1. Create a custom script file that stores these "parameters". Then, just access that script when you need to get those parameters. OR 2. Create a new custom record type to store these "global" settings. For added security, I've chosen to encrypt the data via the "USE ENCRYPTED FORMAT" setting…
-
Here is a sample script that was adapted from code that is working in our prod environment. I've scrubbed it of proprietary info, but should be working (mostly) and give you the general concept. You'll need 3 pieces of script: 1. The User Event Script to be deployed for your custom record type (to add the button and make a…
-
I tried the same thing and got the same results as you. In Postman it worked; in NetSuite it returned a 406 error. I even took the headers in the request completely out of it. NetSuite: var response = https.get({url: 'https://<yourcompanyname>.atlassian.net/rest/api/2/filter/1'}); alert(JSON.stringify(response)); Returned…
-
You need to add a mainline filter, otherwise NetSuite will return the Line Items. [['mainline', search.Operator.IS, 'T'],
-
This works for me: //1. Create Invoice var objRecord = record.create({ type: record.Type.INVOICE, isDynamic: false }); objRecord.setValue({ fieldId: 'trandate', value: new Date('12/05/2018') }); //use this for date objRecord.setValue({ fieldId: 'custbody_auth_date', value: new Date('12/06/2018 10:47:59 AM') }); //use this…