163: open c;
164: fetch c into recinfo;
165: if (c%notfound) then
166: close c;
167: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
168: app_exception.raise_exception;
169: end if;
170:
171: if (NOT( (recinfo.APPLICATION_ID = X_APPLICATION_ID)
169: end if;
170:
171: if (NOT( (recinfo.APPLICATION_ID = X_APPLICATION_ID)
172: )) then
173: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
174: app_exception.raise_exception;
175: end if;
176: if c%isopen then
177: close c;