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 1107: PA_UTILS.Add_Message(

1103: (l_utilization_flag = 'X') OR (l_schedulable_flag='X') THEN
1104: /* Bug 5689674: Added code to pass the error message to make the
1105: FND_API.G_EXC_ERROR being raised a generic call for any excpetion. */
1106:
1107: PA_UTILS.Add_Message(
1108: p_app_short_name => 'PA'
1109: ,p_msg_name => 'PA_MULT_INF_TYPES_FOR_JOB');
1110: /* End of changes Bug for 5689674 */
1111: RAISE FND_API.G_EXC_ERROR;

Line 1269: pa_utils.add_message

1265: proceeding on inserting into pa_resources_denorm. This will show the
1266: error as an exception in the report output. */
1267: IF l_return_status <> FND_API.G_RET_STS_SUCCESS then
1268: IF l_error_msg_code IS NOT NULL THEN
1269: pa_utils.add_message
1270: ( p_app_short_name => 'PA',
1271: p_msg_name => l_error_msg_code);
1272: END IF;
1273: RAISE FND_API.G_EXC_ERROR;

Line 1684: PA_UTILS.Add_Message (

1680: x_return_status => l_return_status,
1681: x_error_msg_code => l_error_message_code);
1682:
1683: IF l_return_status = FND_API.G_RET_STS_ERROR THEN
1684: PA_UTILS.Add_Message (
1685: p_app_short_name => 'PA'
1686: ,p_msg_name => l_error_message_code );
1687: END IF;
1688: ELSE

Line 1707: PA_UTILS.Add_Message(

1703: ,x_return_status => l_return_status
1704: ,x_error_message_code => l_error_message_code);
1705:
1706: IF l_return_status = FND_API.G_RET_STS_ERROR THEN
1707: PA_UTILS.Add_Message(
1708: p_app_short_name => 'PA'
1709: ,p_msg_name => l_error_message_code);
1710: END IF;
1711: ELSE

Line 2734: PA_UTILS.Add_Message(

2730:
2731: ELSE
2732:
2733: --TODO: Add error message for missing profile value
2734: PA_UTILS.Add_Message(
2735: p_app_short_name => 'PA'
2736: ,p_msg_name => 'PA_NO_AVL_CALC_PROF');
2737:
2738: x_return_status := FND_API.G_RET_STS_ERROR;