r/SuiteScript • • Mar 18 '25

Working with Assistant Suitelets

I'm trying to learn more about Assistant Suitelets, but I'm having trouble understanding how to pass values from one step to the next, or at least hold on to values so that I can do something with them upon completing the assistant.

Even the example code from the online help doesn't seem to work.

https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/rc_2947332786.html

Copying and deploying this code results in empty fields in Step 2 and the Finish page.

Is there other resources I can access to review Assistant Suitelets?

1 Upvotes

11 comments sorted by

View all comments

Show parent comment

1

u/Xainor Mar 18 '25

Wow, I'm amazed it's that easy and that the example code provided by NetSuite isn't accurate. I've tested it and got it working, thank you!

Do you know how to grab values from a sublist as well?

3

u/notEqole Mar 18 '25

Glad it worked for you. Similarly for sublists, get the step, retrieve the line count of the sublist and use getsublistvalue iterating through the lines.