436: THEN
437: CLOSE c;
438:
439: fnd_message.set_name ('FND', 'FORM_RECORD_DELETED');
440: app_exception.raise_exception;
441: END IF;
442:
443: CLOSE c;
444:
452: THEN
453: RETURN;
454: ELSE
455: fnd_message.set_name ('FND', 'FORM_RECORD_CHANGED');
456: app_exception.raise_exception;
457: END IF;
458: END LOCK_RECORD;
459:
460: -- Name