98: fetch c into recinfo;
99: if (c%notfound) then
100: close c;
101: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
102: app_exception.raise_exception;
103: end if;
104: close c;
105: if ( (recinfo.INSTANCE_PK1_VALUE = X_INSTANCE_PK1_VALUE)
106: AND (recinfo.OBJ_NAME = X_OBJ_NAME)
119: ) then
120: null;
121: else
122: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
123: app_exception.raise_exception;
124: end if;
125:
126: return;
127: end LOCK_ROW;