387: fetch c into l_object_Version_number;
388: if (c%notfound) then
389: close c;
390: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
391: app_exception.raise_exception;
392: end if;
393: close c;
394:
395: if (l_object_version_number = P_OBJECT_VERSION_NUMBER) then
395: if (l_object_version_number = P_OBJECT_VERSION_NUMBER) then
396: null;
397: else
398: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
399: app_exception.raise_exception;
400: end if;
401:
402: return;
403: end LOCK_ROW;