DBA Data[Home] [Help]

APPS.JTF_CAL_GRANTS_PVT dependencies on FND_MSG_PUB

Line 225: FND_MSG_PUB.Initialize;

221: ** Initialize message list if p_init_msg_list is set to TRUE
222: *****************************************************************************/
223: IF FND_API.To_Boolean(p_init_msg_list)
224: THEN
225: FND_MSG_PUB.Initialize;
226: END IF;
227:
228: /*****************************************************************************
229: ** Initialize API return status to success

Line 264: fnd_msg_pub.add;

260: /** Get the username for a given resource id **/
261: l_TaskAccessTbl(i).GranteeKey := get_username(l_CalAccessTbl(i).GranteeKey);
262: IF (l_TaskAccessTbl(i).GranteeKey = '-1') THEN
263: fnd_message.set_name('JTF', 'JTF_CAL_USERNAME_NOT_FOUND');
264: fnd_msg_pub.add;
265: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
266: END IF;
267:
268: l_TaskAccessTbl(i).AccessLevel := jtf_task_security_pvt.READ_PRIVILEGE;

Line 302: fnd_msg_pub.add;

298: /** Get the username for a given resource id **/
299: l_TaskAccessTbl(i).GranteeKey := get_username(l_CalAccessTbl(i).GranteeKey);
300: IF (l_TaskAccessTbl(i).GranteeKey = '-1') THEN
301: fnd_message.set_name('JTF', 'JTF_CAL_USERNAME_NOT_FOUND');
302: fnd_msg_pub.add;
303: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
304: END IF;
305:
306: l_TaskAccessTbl(i).AccessLevel := jtf_task_security_pvt.FULL_PRIVILEGE;

Line 322: fnd_msg_pub.add;

318: /** It is required in fnd_grants function **/
319: l_instance_set_id := get_instance_set_id(jtf_task_security_pvt.RESOURCE_TASKS_SET);
320: IF ( l_instance_set_id = -1) THEN
321: fnd_message.set_name('JTF', 'JTF_CAL_INST_SET_ID_NOT_FOUND');
322: fnd_msg_pub.add;
323: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
324: END IF;
325:
326: /** Grant and Revoke Calendar Read and Full Access **/

Line 402: FND_MSG_PUB.Count_And_Get( p_count => x_msg_count

398:
399: /*****************************************************************************
400: ** Standard call to get message count and if count is > 1, get message info
401: *****************************************************************************/
402: FND_MSG_PUB.Count_And_Get( p_count => x_msg_count
403: , p_data => x_msg_data
404: );
405:
406: EXCEPTION

Line 410: FND_MSG_PUB.Count_And_Get( p_count => x_msg_count

406: EXCEPTION
407: WHEN FND_API.G_EXC_UNEXPECTED_ERROR
408: THEN
409: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
410: FND_MSG_PUB.Count_And_Get( p_count => x_msg_count
411: , p_data => x_msg_data
412: );
413: WHEN OTHERS
414: THEN

Line 416: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

412: );
413: WHEN OTHERS
414: THEN
415: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
416: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
417: THEN
418: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME
419: , l_api_name
420: );

Line 418: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME

414: THEN
415: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
416: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
417: THEN
418: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME
419: , l_api_name
420: );
421: END IF;
422: FND_MSG_PUB.Count_And_Get( p_count => x_msg_count

Line 422: FND_MSG_PUB.Count_And_Get( p_count => x_msg_count

418: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME
419: , l_api_name
420: );
421: END IF;
422: FND_MSG_PUB.Count_And_Get( p_count => x_msg_count
423: , p_data => x_msg_data
424: );
425:
426: END UpdateGrants;

Line 470: FND_MSG_PUB.Count_And_Get( p_count => x_msg_count

466:
467: /*****************************************************************************
468: ** Standard call to get message count and if count is > 1, get message info
469: *****************************************************************************/
470: FND_MSG_PUB.Count_And_Get( p_count => x_msg_count
471: , p_data => x_msg_data
472: );
473: EXCEPTION
474: WHEN FND_API.G_EXC_UNEXPECTED_ERROR

Line 477: FND_MSG_PUB.Count_And_Get( p_count => x_msg_count

473: EXCEPTION
474: WHEN FND_API.G_EXC_UNEXPECTED_ERROR
475: THEN
476: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
477: FND_MSG_PUB.Count_And_Get( p_count => x_msg_count
478: , p_data => x_msg_data
479: );
480: WHEN OTHERS
481: THEN

Line 483: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

479: );
480: WHEN OTHERS
481: THEN
482: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
483: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
484: THEN
485: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME
486: , l_api_name
487: );

Line 485: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME

481: THEN
482: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
483: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
484: THEN
485: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME
486: , l_api_name
487: );
488: END IF;
489: FND_MSG_PUB.Count_And_Get( p_count => x_msg_count

Line 489: FND_MSG_PUB.Count_And_Get( p_count => x_msg_count

485: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME
486: , l_api_name
487: );
488: END IF;
489: FND_MSG_PUB.Count_And_Get( p_count => x_msg_count
490: , p_data => x_msg_data
491: );
492:
493: END RevokeGrants;

Line 575: FND_MSG_PUB.Count_And_Get( p_count => x_msg_count

571:
572: /*****************************************************************************
573: ** Standard call to get message count and if count is > 1, get message info
574: *****************************************************************************/
575: FND_MSG_PUB.Count_And_Get( p_count => x_msg_count
576: , p_data => x_msg_data
577: );
578:
579: EXCEPTION

Line 583: FND_MSG_PUB.Count_And_Get( p_count => x_msg_count

579: EXCEPTION
580: WHEN FND_API.G_EXC_UNEXPECTED_ERROR
581: THEN
582: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
583: FND_MSG_PUB.Count_And_Get( p_count => x_msg_count
584: , p_data => x_msg_data
585: );
586: WHEN OTHERS
587: THEN

Line 589: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

585: );
586: WHEN OTHERS
587: THEN
588: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
589: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
590: THEN
591: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME
592: , l_api_name
593: );

Line 591: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME

587: THEN
588: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
589: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
590: THEN
591: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME
592: , l_api_name
593: );
594: END IF;
595: FND_MSG_PUB.Count_And_Get( p_count => x_msg_count

Line 595: FND_MSG_PUB.Count_And_Get( p_count => x_msg_count

591: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME
592: , l_api_name
593: );
594: END IF;
595: FND_MSG_PUB.Count_And_Get( p_count => x_msg_count
596: , p_data => x_msg_data
597: );
598:
599: END InvokeGrants;