60: fetch c into recinfo;
61: if (c%notfound) then
62: close c;
63: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
64: app_exception.raise_exception;
65: end if;
66: close c;
67: if ( (recinfo.OBJECT_VERSION_NUMBER = p_OBJECT_VERSION_NUMBER)
68: AND ((recinfo.BENEFIT_TYPE = p_BENEFIT_TYPE)
74: ) then
75: null;
76: else
77: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
78: app_exception.raise_exception;
79: end if;
80:
81: return;
82: end LOCK_ROW;