120: open c;
121: fetch c into recinfo;
122: if (c%notfound) then
123: close c;
124: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
125: app_exception.raise_exception;
126: end if;
127: close c;
128: if ( (recinfo.OBJECT_VERSION_NUMBER = X_OBJECT_VERSION_NUMBER)
133: OR ((recinfo.PARAM_LIST_CODE is null) AND (X_PARAM_LIST_CODE is null)))
134: ) then
135: null;
136: else
137: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
138: app_exception.raise_exception;
139: end if;
140:
141: for tlinfo in c1 loop
143: if ( (tlinfo.USER_NAME = X_USER_NAME)
144: ) then
145: null;
146: else
147: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
148: app_exception.raise_exception;
149: end if;
150: end if;
151: end loop;