63: fetch c into recinfo;
64: if (c%notfound) then
65: close c;
66: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
67: app_exception.raise_exception;
68: end if;
69: close c;
70: if ( (recinfo.OBJECT_VERSION_NUMBER = p_OBJECT_VERSION_NUMBER)
71: AND ((recinfo.BENEFIT_TYPE = p_BENEFIT_TYPE)
77: ) then
78: null;
79: else
80: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
81: app_exception.raise_exception;
82: end if;
83:
84: return;
85: end LOCK_ROW;