198: fetch c into recinfo;
199: if (c%notfound) then
200: close c;
201: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
202: app_exception.raise_exception;
203: end if;
204: close c;
205: if ( (recinfo.NAME = X_NAME)
206: AND ((recinfo.APPLICATION_ID = X_APPLICATION_ID)
266: ) then
267: null;
268: else
269: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
270: app_exception.raise_exception;
271: end if;
272:
273: open c1;
274: fetch c1 into tlinfo;
280:
281: if (NOT( (tlinfo.USER_NAME = X_USER_NAME)
282: )) then
283: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
284: app_exception.raise_exception;
285: end if;
286: return;
287: end LOCK_ROW;
288: