I have a suitelet in which i am running a html code to show a list of records in a html table format of a custom record type. I get the list of results from a search for loop. There i have given a delete button on each line and i want it to delete the record
I want to given button onclick action to delete the records on that line. I even get internal ID of the record
<td> <button type="button" class="btn btn-info btn-lg" onclick="record.delete({ type: "customrecord200",id: '+internalid+', }); "> <span class="glyphicon glyphicon-trash"></span> </button> </td>