75: open c;
76: fetch c into recinfo;
77: if (c%notfound) then
78: close c;
79: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
80: app_exception.raise_exception;
81: end if;
82: close c;
83: if ( (recinfo.PHONE_COUNTRY_CODE = X_PHONE_COUNTRY_CODE)
85: AND (recinfo.OBJECT_VERSION_NUMBER = X_OBJECT_VERSION_NUMBER)
86: ) then
87: null;
88: else
89: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
90: app_exception.raise_exception;
91: end if;
92: return;
93: end LOCK_ROW;