Hi there,
I'm very new to Netsuite, so coming at this very green. I've been building some test scripts in 1.0 using the form.setScript function to trigger a Client script from a User Event script successfully. I notice, though, that setScript is no longer included in 2.0, and doesn't seem to be needed. Using the functionName parameter of form.addButton, I can trigger a function on a Client script attached to the form... as long as that Client script is 1.0.
So in essence, I have a 2.0 User Event script that calls a 1.0 Client script function using the functionName and that works great.
My question is... how do I call a 2.0 Client script function? I've tried just about everything I can think of (even moving the function outside of the define block) and cannot seem to make it happen. There's a real lack of 2.0 documentation out there. Anyone have any ideas for me, or solutions that have worked?
Thanks.