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.DIRECTIVE_CODE is null) AND (X_DIRECTIVE_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
144: OR ((tlinfo.USER_NAME is null) AND (X_USER_NAME is null)))
145: ) then
146: null;
147: else
148: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
149: app_exception.raise_exception;
150: end if;
151: end if;
152: end loop;