I have done this but it is not doing anything. ```...
# suitescript
m
I have done this but it is not doing anything.
Copy code
const lineCount = employeeRecord.getLineCount("addressbook");
for(let i=0; i < lineCount; i++){
  employeeRecord.removeSublistSubrecord({
    sublistId: "addressbook",
    fieldId: "addressbookaddress",
    line: i,
 });
}
}