130: open c;
131: fetch c into recinfo;
132: if (c%notfound) then
133: close c;
134: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
135: app_exception.raise_exception;
136: end if;
137: close c;
138: if ( (recinfo.OBJECT_VERSION_NUMBER = X_OBJECT_VERSION_NUMBER)
145: OR ((recinfo.REPORTING_INTERFACE_CODE is null) AND (X_REPORTING_INTERFACE_CODE is null)))
146: ) then
147: null;
148: else
149: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
150: app_exception.raise_exception;
151: end if;
152:
153: for tlinfo in c1 loop
155: if ( (tlinfo.USER_NAME = X_USER_NAME)
156: ) then
157: null;
158: else
159: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
160: app_exception.raise_exception;
161: end if;
162: end if;
163: end loop;