93: open c;
94: fetch c into recinfo;
95: if (c%notfound) then
96: close c;
97: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
98: app_exception.raise_exception;
99: end if;
100: close c;
101: if (NOT( (recinfo.FLOW_APPLICATION_ID = X_FLOW_APPLICATION_ID))) then
98: app_exception.raise_exception;
99: end if;
100: close c;
101: if (NOT( (recinfo.FLOW_APPLICATION_ID = X_FLOW_APPLICATION_ID))) then
102: fnd_message.set_name('FND', 'FND_RECORD_CHANGED');
103: app_exception.raise_exception;
104: end if;
105: return;
106: end LOCK_ROW;