Is there a way to add a value to a list using suitescript?
b
battk
11/17/2022, 1:12 PM
there are 2 ways to add values to a custom list
battk
11/17/2022, 1:12 PM
one is to treat the custom list like a normal custom record and just create a new record. use the script id of the custom list as the record type
battk
11/17/2022, 1:14 PM
the other is to treat the custom list type as the record and modify the values sublist like you do in the ui. use 'customlist' as the record type and the internal id of the custom list type as the id