DBA Data[Home] [Help]

APPS.PA_RESOURCE_PVT dependencies on PA_UTILS

Line 251: pa_utils.add_message

247: x_return_status => l_return_status,
248: x_err_msg_code => l_err_msg_code);
249:
250: IF l_return_status = FND_API.G_RET_STS_ERROR THEN
251: pa_utils.add_message
252: ( p_app_short_name => 'PA',
253: p_msg_name => l_err_msg_code);
254:
255: RAISE FND_API.G_EXC_ERROR;

Line 274: pa_utils.add_message

270: WHERE l_resource_denorm_rec.person_id = person_id
271: AND l_resource_denorm_rec.job_id = job_id);
272:
273: IF l_rows_exists = 'Y' THEN
274: pa_utils.add_message
275: ( p_app_short_name => 'PA',
276: p_msg_name => 'PA_PERSON_ID_JOB_ID_EXIST');
277: RAISE FND_API.G_EXC_ERROR;
278: END IF;

Line 286: pa_utils.add_message

282: --
283: l_resource_id := pa_resource_utils.get_resource_id(l_resource_denorm_rec.person_id);
284:
285: IF l_resource_id= -999 OR l_resource_id IS NULL THEN
286: pa_utils.add_message
287: (p_app_short_name => 'PA',
288: p_msg_name => 'PA_NO_RESOURCE_ID_FOUND');
289: RAISE FND_API.G_EXC_ERROR;
290: END IF;

Line 487: pa_utils.add_message (

483: -- Both person_id and job_id should not be null at the same time.
484: -------------------------------------------------------------------------
485: IF l_resource_denorm_new_rec.person_id = FND_API.G_MISS_NUM AND
486: l_resource_denorm_new_rec.job_id = FND_API.G_MISS_num THEN
487: pa_utils.add_message (
488: p_app_short_name => 'PA',
489: p_msg_name => 'PA_PERSON_ID_JOB_ID_NULL');
490:
491: RAISE FND_API.G_EXC_ERROR;

Line 512: pa_utils.add_message

508: x_err_msg_code => l_err_msg_code );
509:
510:
511: IF l_return_status = FND_API.G_RET_STS_ERROR THEN
512: pa_utils.add_message
513: ( p_app_short_name => 'PA',
514: p_msg_name => l_err_msg_code);
515:
516: RAISE FND_API.G_EXC_ERROR;

Line 537: pa_utils.add_message

533: x_return_status => l_return_status,
534: x_err_msg_code => l_err_msg_code );
535:
536: IF l_return_status = FND_API.G_RET_STS_error THEN
537: pa_utils.add_message
538: (p_app_short_name => 'PA',
539: p_msg_name => l_err_msg_code);
540:
541: RAISE FND_API.G_EXC_ERROR;

Line 557: pa_utils.add_message (

553: x_return_status => l_return_status,
554: x_err_msg_code => l_err_msg_code );
555:
556: IF l_return_status = FND_API.G_RET_STS_ERROR THEN
557: pa_utils.add_message (
558: p_app_short_name => 'PA',
559: p_msg_name => l_err_msg_code);
560:
561: RAISE FND_API.G_EXC_ERROR;

Line 1014: PA_UTILS.Add_Message(

1010: (l_utilization_flag = 'X') OR (l_schedulable_flag='X') THEN
1011: /* Bug 5689674: Added code to pass the error message to make the
1012: FND_API.G_EXC_ERROR being raised a generic call for any excpetion. */
1013:
1014: PA_UTILS.Add_Message(
1015: p_app_short_name => 'PA'
1016: ,p_msg_name => 'PA_MULT_INF_TYPES_FOR_JOB');
1017: /* End of changes Bug for 5689674 */
1018: RAISE FND_API.G_EXC_ERROR;

Line 1176: pa_utils.add_message

1172: proceeding on inserting into pa_resources_denorm. This will show the
1173: error as an exception in the report output. */
1174: IF l_return_status <> FND_API.G_RET_STS_SUCCESS then
1175: IF l_error_msg_code IS NOT NULL THEN
1176: pa_utils.add_message
1177: ( p_app_short_name => 'PA',
1178: p_msg_name => l_error_msg_code);
1179: END IF;
1180: RAISE FND_API.G_EXC_ERROR;

Line 1585: PA_UTILS.Add_Message (

1581: x_return_status => l_return_status,
1582: x_error_msg_code => l_error_message_code);
1583:
1584: IF l_return_status = FND_API.G_RET_STS_ERROR THEN
1585: PA_UTILS.Add_Message (
1586: p_app_short_name => 'PA'
1587: ,p_msg_name => l_error_message_code );
1588: END IF;
1589: ELSE

Line 1608: PA_UTILS.Add_Message(

1604: ,x_return_status => l_return_status
1605: ,x_error_message_code => l_error_message_code);
1606:
1607: IF l_return_status = FND_API.G_RET_STS_ERROR THEN
1608: PA_UTILS.Add_Message(
1609: p_app_short_name => 'PA'
1610: ,p_msg_name => l_error_message_code);
1611: END IF;
1612: ELSE

Line 2635: PA_UTILS.Add_Message(

2631:
2632: ELSE
2633:
2634: --TODO: Add error message for missing profile value
2635: PA_UTILS.Add_Message(
2636: p_app_short_name => 'PA'
2637: ,p_msg_name => 'PA_NO_AVL_CALC_PROF');
2638:
2639: x_return_status := FND_API.G_RET_STS_ERROR;