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.
So now we go to 2.0, We can get the parameter that was passed, we can get the values from the case but.......currentRecord module is not an option in a user event script. SO, in our beforLoad script how do we set values for this new record we are creating? Since we need the parameter, we can't do it is a client-side script as far as I know.
What are we missing?
Thanks,
Karen