104: open c;
105: fetch c into recinfo;
106: if (c%notfound) then
107: close c;
108: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
109: app_exception.raise_exception;
110: end if;
111: close c;
112: if ( ((recinfo.PARENT_ID = X_PARENT_ID)
115: AND (recinfo.OBJECT_VERSION_NUMBER = X_OBJECT_VERSION_NUMBER)
116: ) then
117: null;
118: else
119: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
120: app_exception.raise_exception;
121: end if;
122:
123: for tlinfo in c1 loop
125: if ( (tlinfo.USER_NAME = X_USER_NAME)
126: ) then
127: null;
128: else
129: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
130: app_exception.raise_exception;
131: end if;
132: end if;
133: end loop;