161: open c;
162: fetch c into recinfo;
163: if (c%notfound) then
164: close c;
165: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
166: app_exception.raise_exception;
167: end if;
168: close c;
169:
169:
170: if (recinfo.OBJECT_VERSION_NUMBER = P_OBJECT_VERSION_NUMBER) then
171: null;
172: else
173: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
174: app_exception.raise_exception;
175: end if;
176:
177: /*
181: OR ((tlinfo.DESCRIPTION is null) AND (P_DESCRIPTION is null)))
182: ) then
183: null;
184: else
185: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
186: app_exception.raise_exception;
187: end if;
188: end if;
189: end loop;