109: open c;
110: fetch c into recinfo;
111: if (c%notfound) then
112: close c;
113: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
114: app_exception.raise_exception;
115: end if;
116: close c;
117: if recinfo.OBJECT_VERSION_NUMBER = X_OBJECT_VERSION_NUMBER then
116: close c;
117: if recinfo.OBJECT_VERSION_NUMBER = X_OBJECT_VERSION_NUMBER then
118: null;
119: else
120: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
121: app_exception.raise_exception;
122: end if;
123:
124: for tlinfo in c1 loop
130: AND (tlinfo.INTERNAL_COLUMN_NAME = X_INTERNAL_COLUMN_NAME)
131: ) then
132: null;
133: else
134: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
135: app_exception.raise_exception;
136: end if;
137: end if;
138: end loop;