Some Times we often need to create sublist to our suitelet here we are going to learn how create a sublist to suilet and then add data to the newly created sublist: To create a new sublist use this: var ...
First select the line that you want to update using var records = context.currentRecord; var lineNum = records .selectLine({ sublistId: ‘yoursublist_id’, line: 0 // your line number }); after selecting we can insert data using records.setCurrentSublistValue({ sublistId: ‘yoursublist_id’, fieldId: ...