121: open c;
122: fetch c into recinfo;
123: if (c%notfound) then
124: close c;
125: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
126: app_exception.raise_exception;
127: end if;
128: close c;
129: if ( (recinfo.ENABLED_FLAG = X_ENABLED_FLAG)
133: OR ((recinfo.END_DATE_ACTIVE is null) AND (X_END_DATE_ACTIVE 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: open c1;
150: AND (tlinfo.DESCRIPTION = X_DESCRIPTION)
151: ) then
152: null;
153: else
154: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
155: app_exception.raise_exception;
156: end if;
157: return;
158: end LOCK_ROW;