157: fetch c into recinfo;
158: if (c%notfound) then
159: close c;
160: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
161: app_exception.raise_exception;
162: end if;
163: close c;
164:
165: if ( (recinfo.STRUCTURE_ID = X_STRUCTURE_ID)
173: ) then
174: null;
175: else
176: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
177: app_exception.raise_exception;
178: end if;
179:
180: for tlinfo in c1 loop
181: if (tlinfo.BASELANG = 'Y') then
185: ) then
186: null;
187: else
188: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
189: app_exception.raise_exception;
190: end if;
191: end if;
192: end loop;
193: