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!
How to set value for new record
Hi all,
New day, next project, new problems in the world of SuiteScript 2.0.
We had a request from users to have a button to create a Return Auth from a Case. Now trying to convert this to 2.0.
Creating button, no problem. Defaulting customer in RA, problem
In 1.0, we had a user event script that before load would check for a querystring parameter. If the "caseid" parameter was there it knew it the RA was being created from a Case. The script would load the Case and get the company and startdate. It would then populate the customer and saleseffectivedate in the RA. Worked, no problem.
0