303: if (c1%notfound) then
304: close c1;
305: fnd_message.set_name('JTF', 'JTF_API_RECORD_NOT_FOUND');
306: fnd_msg_pub.add;
307: app_exception.raise_exception;
308: end if;
309: close c1;
310:
311: if (tlinfo.OBJECT_VERSION_NUMBER = X_OBJECT_VERSION_NUMBER)
313: null;
314: else
315: fnd_message.set_name('JTF', 'JTF_API_RECORD_NOT_FOUND');
316: fnd_msg_pub.add;
317: app_exception.raise_exception;
318: end if;
319:
320:
321: end LOCK_ROW;