DBA Data[Home] [Help]

APPS.PA_R_PROJECT_RESOURCES_PVT dependencies on FND_MSG_PUB

Line 1118: FND_MSG_PUB.add_exc_msg(p_pkg_name => 'PA_R_PROJECT_RESOURCES_PVT.Insert_into_CRM'

1114: X_CRM_RESOURCE_ID := NULL ; -- 4537865 RESET OUT PARAM
1115: WHEN OTHERS THEN
1116: X_CRM_RESOURCE_ID := NULL ; -- 4537865 RESET OUT PARAM
1117: -- Set the exception Message and the stack
1118: FND_MSG_PUB.add_exc_msg(p_pkg_name => 'PA_R_PROJECT_RESOURCES_PVT.Insert_into_CRM'
1119: ,p_procedure_name => PA_DEBUG.G_Err_Stack );
1120: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
1121: RAISE;
1122: END INSERT_INTO_CRM;

Line 1308: FND_MSG_PUB.add_exc_msg(p_pkg_name => 'PA_R_PROJECT_RESOURCES_PVT.Insert_into_PA'

1304: PA_DEBUG.Reset_Err_Stack;
1305: EXCEPTION
1306: WHEN OTHERS THEN
1307: -- Set the exception Message and the stack
1308: FND_MSG_PUB.add_exc_msg(p_pkg_name => 'PA_R_PROJECT_RESOURCES_PVT.Insert_into_PA'
1309: ,p_procedure_name => PA_DEBUG.G_Err_Stack );
1310: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
1311: -- 4537865
1312: x_resource_id := NULL ;

Line 1383: FND_MSG_PUB.add_exc_msg(p_pkg_name => 'PA_R_PROJECT_RESOURCES_PVT.Check_OU'

1379: PA_DEBUG.Reset_Err_Stack;
1380: EXCEPTION
1381: WHEN OTHERS THEN
1382: -- Set the exception Message and the stack
1383: FND_MSG_PUB.add_exc_msg(p_pkg_name => 'PA_R_PROJECT_RESOURCES_PVT.Check_OU'
1384: ,p_procedure_name => PA_DEBUG.G_Err_Stack );
1385: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
1386: -- 4537865
1387: x_exp_ou := NULL ;

Line 1793: FND_MSG_PUB.add_exc_msg(p_pkg_name => 'PA_R_PROJECT_RESOURCES_PVT.Create_Internal_Resource'

1789: -- 4537865
1790: x_resource_id := NULL ;
1791: WHEN OTHERS THEN
1792: -- Set the exception Message and the stack
1793: FND_MSG_PUB.add_exc_msg(p_pkg_name => 'PA_R_PROJECT_RESOURCES_PVT.Create_Internal_Resource'
1794: ,p_procedure_name => PA_DEBUG.G_Err_Stack );
1795: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
1796: -- 4537865
1797: x_resource_id := NULL ;

Line 1925: FND_MSG_PUB.add_exc_msg(p_pkg_name => 'PA_R_PROJECT_RESOURCES_PVT.Create_External_Resource'

1921: -- 4537865
1922: x_resource_id := NULL ;
1923: WHEN OTHERS THEN
1924: -- Set the exception Message and the stack
1925: FND_MSG_PUB.add_exc_msg(p_pkg_name => 'PA_R_PROJECT_RESOURCES_PVT.Create_External_Resource'
1926: ,p_procedure_name => PA_DEBUG.G_Err_Stack );
1927: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
1928: -- 4537865
1929: x_resource_id := NULL ;

Line 2205: l_msg_stack_num_old := FND_MSG_PUB.Count_Msg;

2201: pa_debug.write_file('start_crm_workflow: ' || 'LOG',pa_debug.g_err_stage);
2202: END IF;
2203: log_message('For Ind. Resource');
2204:
2205: l_msg_stack_num_old := FND_MSG_PUB.Count_Msg;
2206: log_message('Old Number of Stack messages = ' || to_char(l_msg_stack_num_old));
2207:
2208: FOR eRec IN cur_ind_person(l_id) LOOP
2209:

Line 2723: l_msg_stack_num_new := FND_MSG_PUB.Count_Msg;

2719: END IF;
2720:
2721: -- remove unwanted error message from the stack
2722: -- when at least one HR assignment pull is a success
2723: l_msg_stack_num_new := FND_MSG_PUB.Count_Msg;
2724: log_message('New Number of Stack messages = ' || to_char(l_msg_stack_num_new));
2725:
2726: if (l_at_least_one_success = 'Y') then
2727: if (l_msg_stack_num_new > l_msg_stack_num_old) then

Line 2731: log_message('Deleting message at index: ' || FND_MSG_PUB.Count_Msg);

2727: if (l_msg_stack_num_new > l_msg_stack_num_old) then
2728:
2729: FOR I IN (l_msg_stack_num_old+1)..l_msg_stack_num_new LOOP
2730:
2731: log_message('Deleting message at index: ' || FND_MSG_PUB.Count_Msg);
2732: FND_MSG_PUB.delete_msg(p_msg_index =>FND_MSG_PUB.Count_Msg);
2733:
2734: END LOOP;
2735:

Line 2732: FND_MSG_PUB.delete_msg(p_msg_index =>FND_MSG_PUB.Count_Msg);

2728:
2729: FOR I IN (l_msg_stack_num_old+1)..l_msg_stack_num_new LOOP
2730:
2731: log_message('Deleting message at index: ' || FND_MSG_PUB.Count_Msg);
2732: FND_MSG_PUB.delete_msg(p_msg_index =>FND_MSG_PUB.Count_Msg);
2733:
2734: END LOOP;
2735:
2736: end if;

Line 3264: log_message('Number of Stack messages = ' || to_char(FND_MSG_PUB.Count_Msg));

3260: END IF;
3261:
3262: log_message('After calling CREATE_INTERNAL_RESOURCE procedure');
3263:
3264: log_message('Number of Stack messages = ' || to_char(FND_MSG_PUB.Count_Msg));
3265: -- log_message('Return Status after create internal resource ' || x_return_status); -- Commenting For bug 4087022
3266: log_message('Return Status after create internal resource ' || l_return_status);
3267:
3268: --Adding call to check if OU is Exp OU only if the org is a Multi-Org

Line 3597: FND_MSG_PUB.get (

3593: log_message('after rollback in inner exception block');
3594: END IF;
3595:
3596: -- will still do this to display the error message in the log file
3597: FND_MSG_PUB.get (
3598: p_encoded => FND_API.G_FALSE,
3599: p_msg_index => 1,
3600: p_data => x_msg_data,
3601: p_msg_index_out => x_msg_count );

Line 3645: FND_MSG_PUB.add_exc_msg(p_pkg_name => 'PA_R_PROJECT_RESOURCES_PVT.Create_Resource'

3641: WHEN OTHERS THEN
3642:
3643: /*Adding For bug 4087022*/
3644: l_excep := 'Y' ;
3645: FND_MSG_PUB.add_exc_msg(p_pkg_name => 'PA_R_PROJECT_RESOURCES_PVT.Create_Resource'
3646: ,p_procedure_name =>'Create_Resource' );
3647: /*For bug 4087022*/
3648:
3649: IF p_commit = fnd_api.g_true THEN

Line 3655: FND_MSG_PUB.get (

3651: ROLLBACK TO res_pvt_create_resource;
3652: END IF;
3653:
3654: -- will still do this to display the error message inthe log file
3655: FND_MSG_PUB.get (
3656: p_encoded => FND_API.G_FALSE,
3657: p_msg_index => 1,
3658: p_data => x_msg_data,
3659: p_msg_index_out => x_msg_count );

Line 3821: FND_MSG_PUB.add_exc_msg(p_pkg_name => 'PA_R_PROJECT_RESOURCES_PVT.Create_Resource'

3817: IF p_commit = fnd_api.g_true THEN
3818: log_message('rollback in outer exception block');
3819: ROLLBACK TO res_pvt_create_resource; -- line 3005
3820: END IF;
3821: FND_MSG_PUB.add_exc_msg(p_pkg_name => 'PA_R_PROJECT_RESOURCES_PVT.Create_Resource'
3822: ,p_procedure_name =>PA_DEBUG.G_Err_Stack );
3823: X_RETURN_STATUS := fnd_api.g_ret_sts_unexp_error;
3824: -- 4537865
3825: x_resource_id := NULL ;