raghav
02/02/2022, 11:05 PMcount = currentRecord.getLineCount('empperms');
if (count != 0) {
for (var i = 0; i < count; i++) {
var sublist_value = currentRecord.getSublistValue('empperms', 'permkey1', i);
if (sublist_value == "ADMI_VICARIOUS_EMAILS") {
index = i;
flag = true;
}
}
if (flag) {
currentRecord.removeLine('empperms', index); // (issue is in this API I believe)
}
}
battk
02/02/2022, 11:18 PMit isnt working
battk
02/02/2022, 11:18 PMraghav
02/02/2022, 11:19 PMif (flag)
But Api removeline is not doing anything.
There is no error.battk
02/02/2022, 11:54 PMraghav
02/03/2022, 8:52 AMalien4u
02/03/2022, 8:28 PMraghav
02/10/2022, 10:22 PM