114: open c;
115: fetch c into recinfo;
116: if (c%notfound) then
117: close c;
118: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
119: app_exception.raise_exception;
120: end if;
121: close c;
122: if ( (recinfo.OBJECT_VERSION_NUMBER = X_OBJECT_VERSION_NUMBER)
124: AND (recinfo.APPLICATION_ID = X_APPLICATION_ID)
125: ) then
126: null;
127: else
128: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
129: app_exception.raise_exception;
130: end if;
131:
132: for tlinfo in c1 loop
135: AND (tlinfo.DESCRIPTION = X_DESCRIPTION)
136: ) then
137: null;
138: else
139: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
140: app_exception.raise_exception;
141: end if;
142: end if;
143: end loop;