64: open c;
65: fetch c into recinfo;
66: if (c%notfound) then
67: close c;
68: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
69: app_exception.raise_exception;
70: end if;
71: close c;
72: if ( ((recinfo.OBJECT_VERSION_NUMBER = X_OBJECT_VERSION_NUMBER)
73: OR ((recinfo.OBJECT_VERSION_NUMBER is null) AND (X_OBJECT_VERSION_NUMBER is null)))
74: ) then
75: null;
76: else
77: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
78: app_exception.raise_exception;
79: end if;
80: return;
81: end LOCK_ROW;