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?
Also, a lot of our lists are created using different methods. One list that I am trying to update is located under Setup -> Accounting -> Employee Related Lists. Another is located under Lists -> Accounting -> Items and another is under Customization -> Lists
Is there a way that I can work with all lists using SuiteScript, regardless of how they were created?
Thanks,
Shannon