266: --FND_MSG_PUB.initialize;
267: IF FND_API.to_Boolean( l_init_msg_list ) THEN
268: FND_MSG_PUB.initialize;
269: END IF;
270: fnd_message.set_name('CN', 'CN_ROLE_PLAN_ASGN_PAYEE_ERROR');
271: FND_MSG_PUB.Add;
272: RAISE FND_API.G_EXC_ERROR;
273: END IF;
274:
507: FETCH C INTO Recinfo;
508:
509: IF (C%NOTFOUND) THEN
510: CLOSE C;
511: fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
512: app_exception.raise_exception;
513: END IF;
514: CLOSE C;
515:
525: ) THEN
526: RETURN;
527: ELSE
528:
529: fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
530: app_exception.raise_exception;
531: END IF;
532:
533: END Lock_Record;