167: open c(l_appl_id, l_resp_id);
168: fetch c into recinfo;
169: if (c%notfound) then
170: close c;
171: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
172: app_exception.raise_exception;
173: end if;
174: close c;
175: if ( (recinfo.INFORMATION_TYPE = X_INFORMATION_TYPE)
177: OR ((recinfo.OBJECT_VERSION_NUMBER is null) AND (X_OBJECT_VERSION_NUMBER is null)))
178: ) then
179: null;
180: else
181: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
182: app_exception.raise_exception;
183: end if;
184:
185: return;