109: open c;
110: fetch c into recinfo;
111: if (c%notfound) then
112: close c;
113: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
114: app_exception.raise_exception;
115: end if;
116: close c;
117: if ( (recinfo.ACTIVE_INACTIVE_FLAG = X_ACTIVE_INACTIVE_FLAG)
122: OR ((recinfo.OBJECT_VERSION_NUMBER is null) AND (X_OBJECT_VERSION_NUMBER is null)))
123: ) then
124: null;
125: else
126: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
127: app_exception.raise_exception;
128: end if;
129:
130: return;