87: FETCH c INTO recinfo;
88: IF (c%NOTFOUND) THEN
89: CLOSE c;
90: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
91: app_exception.raise_exception;
92: END IF;
93: CLOSE c;
94: IF ( (recinfo.OBJECT_VERSION_NUMBER = p_OBJECT_VERSION_NUMBER)
95: ) THEN
95: ) THEN
96: NULL;
97: ELSE
98: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
99: app_exception.raise_exception;
100: END IF;
101:
102: END LOCK_ROW;
103: