Craig
10/19/2020, 1:05 AMmichoel
10/19/2020, 2:03 AMfunction massDelete(type, id) {
try {
nlapiDeleteRecord(type, id);
nlapiLogExecution ('DEBUG', 'Record Type: ' + type + ' | Record Id: ' + id + ': deleted');
}
catch(err) {
nlapiLogExecution ('DEBUG', 'Record Type: ' + type + ' | Record Id: ' + id + ': error deleting - ' + JSON.stringify(err));
}
}