88: FETCH C INTO l_record;
89:
90: IF (C%NOTFOUND) then
91: CLOSE C;
92: fnd_message.Set_Name('FND', 'FORM_RECORD_DELETED');
93: app_exception.raise_exception;
94: END IF;
95: CLOSE C;
96:
128: FETCH C INTO oldrow;
129:
130: IF (C%NOTFOUND) then
131: CLOSE C;
132: fnd_message.Set_Name('FND', 'FORM_RECORD_DELETED');
133: app_exception.raise_exception;
134: END IF;
135: CLOSE C;
136: