134: fetch c into recinfo;
135: if (c%notfound) then
136: close c;
137: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
138: app_exception.raise_exception;
139: end if;
140: close c;
141: if (
142: (recinfo.ORGANIZATION_ID = X_ORGANIZATION_ID)
154: ) then
155: null;
156: else
157: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
158: app_exception.raise_exception;
159: end if;
160:
161: for tlinfo in c1 loop
162: if (tlinfo.BASELANG = 'Y') then
165: ) then
166: null;
167: else
168: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
169: app_exception.raise_exception;
170: end if;
171: end if;
172: end loop;
173: return;