157: open c;
158: fetch c into recinfo;
159: if (c%notfound) then
160: close c;
161: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
162: app_exception.raise_exception;
163: end if;
164: close c;
165: if ( (recinfo.TEMPLATE_ID = X_TEMPLATE_ID)
204: OR ((recinfo.ATTRIBUTE15 is null) AND (X_ATTRIBUTE15 is null)))
205: ) then
206: null;
207: else
208: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
209: app_exception.raise_exception;
210: end if;
211: return;
212: end LOCK_ROW;