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.VERSION = X_VERSION)
131: OR ((recinfo.STATUS_CODE is null) AND (X_STATUS_CODE is null)))
132: ) then
133: null;
134: else
135: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
136: app_exception.raise_exception;
137: end if;
138:
139: for tlinfo in c1 loop
142: OR ((tlinfo.COMMENTS is null) AND (X_COMMENTS is null)))
143: ) then
144: null;
145: else
146: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
147: app_exception.raise_exception;
148: end if;
149: end if;
150: end loop;