136: fetch c into recinfo;
137: if (c%notfound) then
138: close c;
139: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
140: app_exception.raise_exception;
141: end if;
142: close c;
143: if ( ((recinfo.OBJECT_VERSION_NUMBER = X_OBJECT_VERSION_NUMBER)
144: OR ((recinfo.OBJECT_VERSION_NUMBER is null) AND (X_OBJECT_VERSION_NUMBER 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:
152: for tlinfo in c1 loop
153: if (tlinfo.BASELANG = 'Y') then
156: ) then
157: null;
158: else
159: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
160: app_exception.raise_exception;
161: end if;
162: end if;
163: end loop;
164: return;