131: fetch c into recinfo;
132: if (c%notfound) then
133: close c;
134: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
135: app_exception.raise_exception;
136: end if;
137: close c;
138: if ( (recinfo.CATEGORY_ID = X_CATEGORY_ID)
139: AND (recinfo.DOC_NUMBER = X_DOC_NUMBER)
150: ) then
151: null;
152: else
153: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
154: app_exception.raise_exception;
155: end if;
156:
157: for tlinfo in c1 loop
158: if (tlinfo.BASELANG = 'Y') then
162: ) then
163: null;
164: else
165: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
166: app_exception.raise_exception;
167: end if;
168: end if;
169: end loop;
170: return;