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.
Updating Lists through Restlets/SuiteScript 2.0
Hi! I am defining restlets to fetch and update information for a NetSuite integration. I can create a new record in SuiteScript 2.0 and fetch all the list values for a field on the employee record type.
Now that I have that information, I want to update it with values from the other system I am trying to integrate with so that both systems have the same list members.
The currentRecord module has a method on its currentRecord.Field that will allow me to insertSelectOptions, but I am struggling to get it to work. Can anyone point me in the right direction regarding adding list members to custom lists?
0