165: open c;
166: fetch c into recinfo;
167: if (c%notfound) then
168: close c;
169: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
170: app_exception.raise_exception;
171: end if;
172: close c;
173: if ( ((recinfo.OBJECT_VERSION_NUMBER = X_OBJECT_VERSION_NUMBER)
193: OR ((recinfo.CREATE_DOC_LIST_CODE is null) AND (X_CREATE_DOC_LIST_CODE is null)))
194: ) then
195: null;
196: else
197: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
198: app_exception.raise_exception;
199: end if;
200:
201: for tlinfo in c1 loop
203: if ( (tlinfo.USER_NAME = X_USER_NAME)
204: ) then
205: null;
206: else
207: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
208: app_exception.raise_exception;
209: end if;
210: end if;
211: end loop;