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:
130: IF (Recinfo.amount = X_amount ) THEN
130: IF (Recinfo.amount = X_amount ) THEN
131: return;
132: ELSE
133: FND_MESSAGE.set_name('FND', 'FORM_RECORD_CHANGED');
134: APP_EXCEPTION.raise_exception;
135: END IF;
136: END Lock_Row;
137:
138: