106: open c;
107: fetch c into recinfo;
108: if (c%notfound) then
109: close c;
110: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
111: app_exception.raise_exception;
112: end if;
113: close c;
114: if(((recinfo.OBJECT_VERSION_NUMBER = X_OBJECT_VERSION_NUMBER)
133: OR ((recinfo.APPLICATION_ID is null) AND (X_APPLICATION_ID is null)))
134: ) then
135: null;
136: else
137: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
138: app_exception.raise_exception;
139: end if;
140:
141: return;