146: open c;
147: fetch c into recinfo;
148: if (c%notfound) then
149: close c;
150: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
151: app_exception.raise_exception;
152: end if;
153: close c;
154:
154:
155: if (recinfo.OBJECT_VERSION_NUMBER = P_OBJECT_VERSION_NUMBER) then
156: null;
157: else
158: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
159: app_exception.raise_exception;
160: end if;
161:
162: /*
166: OR ((tlinfo.DESCRIPTION is null) AND (P_DESCRIPTION is null)))
167: ) then
168: null;
169: else
170: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
171: app_exception.raise_exception;
172: end if;
173: end if;
174: end loop;