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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
afterSubmit SuiteScript on Sales Order
Still in the implementation phase of Netsuite and testing some scripting functionality, but I can't get the script below to execute. I am a little fuzzy on some of the scripting concepts, so maybe someone can point out where I am going wrong.
I have uploaded this script as a user event to execute on afterSubmit for a Sales Order transaction. Basically, I want to copy the rate field from one column to a custom column on the same order when the order is saved. I have gotten similar code to work with client side pageInit and saveRecord, so can anyone see the flaw in my logic?
0