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
-
Carl, thanks. I like you idea, however I want the ability to add new lines and modify from the parent (just like when you are creating a standard transaction in NetSuite). Reporting is not necessary right now. I am using your technique when displaying other transactions associated to this project record. They can not be…
-
pcutler thank you for your response and idea. I am not sure it will work as I do not believe we have access to edit the contact role field on the sublist of the customer record. Nor do we have access to the role field from the contact record. Not sure how to go about creating a workaround. All I need to do is have the…
-
Olivier, thanks for the reply. I am setting the recovery point at 50 records (projects) b/c if every project had to be updated in the manner that I am doing it, my script usage would run out and the script would error out. Right now I get to 76 records and I am down to 180 script usage available. So I yield the script. It…
-
I probably could do that, or on the same note, create a scheduled workflow to do the same. This is working for us now and if I ever get time to change it, I'll do one of those options.
-
corey great question. I have also do not have handleScriptRecovery() defined. With that said, does the status of the state ever equal "resume" when setting the recovery point?!? I've never received an error on this script and it runs every 4 hours! HA!
-
Olivier, moving the setRecoveryPoint() function call right before the Yield seemed to fix my issue. Thanks for helping out! Now it is having another issue, but as far as the subject of this thread is concerned, we can consider this resolved.
-
corey great question. I have also do not have handleScriptRecovery() defined. With that said, does the status of the state ever equal "resume" when setting the recovery point?!? I've never received an error on this script and it runs every 4 hours! HA!
-
pr57001 thank you for all of your information, it has helped me immensely. I've also been researching this topic fairly heavily and here is what I have discovered. You cannot create a "custom" shipping address from a User Event Script (at least from a Before Load function) or you get a NS error letting you know that the…
-
TEvangelista thank you for the example of how to add an external script library reference. However, when I do this, I get an error is FireFox and Internet Explorer. It works fine in Chrome (go figure). Here is what I am doing in my user event script: var html = '<script type="text/javascript"…
-
are you doing this in the sandbox or production? sounds like you are working in the sandbox and have the emails all being redirected to the current user that is working in the sandbox. Go to Setup > Company > Printing, Fax, and Email Preferences. Click on the Email tab and scroll all the way to the bottom. I bet you have…
-
Another piece of info that I think is strange is when you initiate the workflow from the API, the "event" is "process" and the "context" is "userinterface". I would think the event would be either "create" or "edit" and the context would be "userevent". But I guess that would make sense... Therefore it seems you can not…
-
Carlo Ibarra Thank you for the post. Note: be sure to use the "setWindowChanged(window, false);" line. I over looked this the first time...
-
What would you do to remove the "edit" button when in view mode?
-
So you can remove all sorts of buttons except the Edit button from a workflow? I want to remove this capability so that supervisors or anyone else cannot edit a PO once it has been submitted. I thought I could use the "Remove Button" action on a state and then put in the conditions for who could use that button...
-
This function worked perfectly for what I was needing. Thanks! function getUrlParamValue(urlParam) { urlParam = urlParam.replace(/[[]/,'\[').replace(/[]]/,'\]'); var regexS = '[\?&]'+urlParam+'=([^&#]*)'; var regex = new RegExp( regexS ); var results = regex.exec( window.location.href ); if (results == null) { return ""; }…
-
Does anyone know if this is still true that you cannot create preferences in a new "group" under the custom preferences section of company preferences? I have install two bundles that have created new groups, but all my preferences show up under the "general" group.
-
Here is the solution that I came up with: USER SCRIPT: function fieldChanged(type,name) { if (name == 'customer') { //type = item or expense var custProj = nlapiGetCurrentLineItemValue(type,'customer'); //alert(custProj); if (custProj != '') { //*********************************************************************** //this…
-
Thanks Oliver. I'll give that try.
-
Are you able to return multiple values back in 1 response.write(myValue)? Or do you have to do multiple suitelet scripts? For instance I want to return: var a var b var c var d These are all field values from a project record... Is this method actually writing to the client script? Would I need to write something like…
-
khultquist, I must have put it in the if statement last time I tried that. It seems to be working now. Thanks for the help!
-
ISSUE SOLVED! Code: function fieldChanged(type,name) { if (name == 'custbody_po_vendor_contact') { //get the value of the Vendor Contact var ss = nlapiGetFieldText('custbody_po_vendor_contact'); if (ss != '') { //split the Vendor Contact up when there is a ':' (array) var result = ss.split(":"); //write the value of the…
-
Thanks for the reply, but I made that change and I still get nothing in the text box for the custbody_po_vendor_contact_form field. I even took out the line where I split out the text to just get the name and made the string be the variable ss. I have even tried to just write in a value to that field with no other code and…
-
Should this go inside or outside the if statement? I had a "return true;" in there at one point, but it did not make a change. I will try again once I know where to put it.
-
Oliver, Thanks for pointing me to that help article. For everyone else, the direct link is here: https://netsuite.custhelp.com/app/answers/detail/a_id/10623#1041024 Thanks!
-
Here is what I have now: function appendName() { var recordType = nlapiGetFieldValue('Record'); if (recordType == 'Create') { //this gets the employee who wrote/requested the order var orderReq = nlapiGetFieldValue('employee'); if (orderReq == '') { //do nothing } else { //this loads the employee record var employeeRecord…
-
Alright, I am VERY new to this scripting in NS. This is what I have so far (not much) I'm getting stuck on loading employee record part. ~~~~~~~~~~~~~~~~ function appendName() { //this gets the employee who wrote/requested the order var orderReq = nlapiGetFieldValue('employee'); if (orderReq='') { //do nothing } else {…
-
I also only have the option to run this script on the following: Page Init Function Save Record Function Validate Field Function Field Changed Function Post Sourcing Function Line Init Function Validate Line Function Validate Insert Function Validate Delete Function Recalc Function I think I should use the "Save Record…
-
Awesome! Thanks!
-
Oliver, Thanks for the reply, I have now commented out the line for the loading of the employee record. Since what I have will not work, what will work? Since the 'systemnotes.type' is not a field on form, how do I get it and then check against it to see if it is 'create' or not. Or is there another way to do this check so…
-
Oliver, can you call parameters out of the URL from with in the pageInit function of a Client side script? example, click Bill from a PO to open up the Vendor Bill form: var poId = request.getParameter('id');