142: fetch c into recinfo;
143: if (c%notfound) then
144: close c;
145: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
146: app_exception.raise_exception;
147: end if;
148: close c;
149: if ( (recinfo.CONCURRENT_STATE_NAME = X_CONCURRENT_STATE_NAME)
150: AND (recinfo.ENABLED_FLAG = X_ENABLED_FLAG)
158: ) then
159: null;
160: else
161: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
162: app_exception.raise_exception;
163: end if;
164:
165: open c1;
166: fetch c1 into tlinfo;
176: ) then
177: null;
178: else
179: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
180: app_exception.raise_exception;
181: end if;
182: return;
183: end LOCK_ROW;
184: