207: fetch c into recinfo;
208: if (c%notfound) then
209: close c;
210: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
211: app_exception.raise_exception;
212: end if;
213: close c;
214:
215: if ((recinfo.INCIDENT_TYPE_ID = X_INCIDENT_TYPE_ID)
275: ) then
276: null;
277: else
278: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
279: app_exception.raise_exception;
280: end if;
281:
282: return;
283: end LOCK_ROW;