97: fetch c into recinfo;
98: if (c%notfound) then
99: close c;
100: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
101: app_exception.raise_exception;
102: end if;
103: close c;
104: if ( (recinfo.HIERARCHY_LEVEL_CODE = X_HIERARCHY_LEVEL_CODE)
105: and ((recinfo.SECURITY_GROUP_ID = X_SECURITY_GROUP_ID)
109: ) then
110: null;
111: else
112: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
113: app_exception.raise_exception;
114: end if;
115:
116: for tlinfo in c1 loop
117: if (tlinfo.BASELANG = 'Y') then
120: ) then
121: null;
122: else
123: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
124: app_exception.raise_exception;
125: end if;
126: end if;
127: end loop;
128: return;