How to add or delete values from a custom list?

Is there a way to use SS1.0 or SS2.0 to add or delete abbreviations/values from a custom list?

I’ve found from stackoverflow a way to search for the list and display its abbreviations.  But I can’t search.createColumn for “value” because Netsuite says that’s not a valid column?

search.create({
   type: 'customlistmxapparelcolors',

      columns: [

         search.createColumn({name: 'abbreviation', label: 'abbreviation'}),

         search.createColumn({name: 'internalid', label: 'internalid'}),

         // search.createColumn({name: 'value', label: 'value'}),

      ]
});

So obviously I can’t update a list from a created search, so is there a way for me to load the custom list so I can inspect and modify it that way?

Thanks

 

 

Rookie Asked on August 28, 2021 in SuiteScript.
Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Limebox   Become a Sponsor