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