132: open c;
133: fetch c into recinfo;
134: if (c%notfound) then
135: close c;
136: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
137: app_exception.raise_exception;
138: end if;
139: close c;
140:
140:
141: if (recinfo.OBJECT_VERSION_NUMBER = P_OBJECT_VERSION_NUMBER) then
142: null;
143: else
144: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
145: app_exception.raise_exception;
146: end if;
147:
148: /*
152: OR ((tlinfo.DESCRIPTION is null) AND (P_DESCRIPTION is null)))
153: ) then
154: null;
155: else
156: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
157: app_exception.raise_exception;
158: end if;
159: end if;
160: end loop;