137: fetch c into recinfo;
138: if (c%notfound) then
139: close c;
140: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
141: app_exception.raise_exception;
142: end if;
143: close c;
144: if ( (recinfo.ATTRIBUTE_CODE = X_ATTRIBUTE_CODE)
145: AND (recinfo.ATTRIBUTE_APPLICATION_ID = X_ATTRIBUTE_APPLICATION_ID)
194: ) then
195: null;
196: else
197: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
198: app_exception.raise_exception;
199: end if;
200: return;
201: end LOCK_ROW;
202: --######################################################################