the script should be doing a return because it meets the criteria. here is the code: function saveRecord(context) {
var errortothrow = 0;
var linenum = 0;
var rec = context.currentRecord;
var isfromamortization = rec.getValue({fieldId: 'isfromamortization'});
log.debug({details:"isfromamortization= " + isfromamortization});
var isfromexpensealloc = rec.getValue({fieldId: 'isfromexpensealloc'});
var isfromrevrec = rec.getValue({fieldId: 'isfromrevrec'});
if (isfromamortization === 'T' || isfromexpensealloc === 'T' || isfromrevrec === 'T')
{ //3
return;
} //1-A