DBA Data[Home] [Help]

APPS.PA_FP_CALC_UTILS dependencies on PA_UTILS

Line 339: PA_UTILS.ADD_MESSAGE

335: * This corruption needs to be avoided, otherwise data corruption will be carried forward
336: --print_msg('Check for Quantity corruption');
337: FOR i IN cur_CorruptedBls LOOP
338: x_return_status := 'E';
339: PA_UTILS.ADD_MESSAGE
340: (p_app_short_name => 'PA'
341: ,p_msg_name => 'PA_FP_ZERO_QTY_BL_CORRUPTED'
342: ,p_token1 => 'BUDGET_VERSION_NAME'
343: ,p_value1 => g_budget_version_name

Line 361: PA_UTILS.ADD_MESSAGE

357: print_msg('Check for Dates corruption');
358: End If;
359: FOR i IN cur_blDatesCheck LOOP
360: x_return_status := 'E';
361: PA_UTILS.ADD_MESSAGE
362: (p_app_short_name => 'PA'
363: ,p_msg_name => 'PA_FP_BL_DATES_CORRUPTED'
364: ,p_token1 => 'BUDGET_VERSION_NAME'
365: ,p_value1 => g_budget_version_name

Line 444: pa_utils.add_message

440:
441: x_return_status := 'S';
442: IF p_resource_assignment is NULL OR p_txn_currency_code is NULL Then
443: --print_msg(to_char(l_stage)||' ERROR Resource assignment or currency NOT passed');
444: pa_utils.add_message
445: ( p_app_short_name => 'PA',
446: p_msg_name => 'PA_FP_CALC_RA_BL_REQ',
447: p_token1 => 'BUDGET_VERSION_ID',
448: p_value1 => p_budget_version_id,

Line 457: pa_utils.add_message

453: END IF;
454:
455: IF g_source_context = 'BUDGET_LINE' THEN
456: IF p_bdgt_line_sDate is NULL OR p_bdgt_line_eDate is NULL Then
457: pa_utils.add_message
458: ( p_app_short_name => 'PA'
459: ,p_msg_name => 'PA_FP_CALC_BL_DATES_REQ'
460: ,p_token1 => 'BUDGET_VERSION_ID'
461: ,p_value1 => p_budget_version_id

Line 1099: pa_utils.add_message

1095: print_msg('Number of records inserted into calctemp:['||sql%rowcount||']');
1096: End If;
1097: IF g_source_context = 'BUDGET_LINE' THEN
1098: FOR i IN cur_validate LOOP
1099: pa_utils.add_message
1100: ( p_app_short_name => 'PA'
1101: ,p_msg_name => 'PA_FP_CALC_BL_DATES_REQ'
1102: ,p_token1 => 'BUDGET_VERSION_ID'
1103: ,p_value1 => g_budget_version_id

Line 3343: PA_UTILS.ADD_MESSAGE

3339: IF P_PA_DEBUG_MODE = 'Y' Then
3340: print_msg(g_stage);
3341: End If;
3342:
3343: PA_UTILS.ADD_MESSAGE
3344: (p_app_short_name => 'PA'
3345: ,p_msg_name => 'PA_FP_RATE_BASE_RES_QTY_REQD'
3346: ,p_token1 => 'P_BUDGET_VERSION_NAME'
3347: ,p_value1 => g_budget_version_name

Line 3916: PA_UTILS.ADD_MESSAGE

3912: PA_FP_WEBADI_PKG.g_fp_webadi_rec_tbl
3913: (PA_FP_WEBADI_PKG.g_fp_webadi_rec_tbl.COUNT).txn_currency := i.txn_currency_code;
3914: ELSE
3915:
3916: PA_UTILS.ADD_MESSAGE
3917: (p_app_short_name => 'PA'
3918: ,p_msg_name => l_message_name
3919: ,p_token1 => 'P_BUDGET_VERSION_NAME'
3920: ,p_value1 => i.version_name

Line 3974: PA_UTILS.ADD_MESSAGE

3970: (PA_FP_WEBADI_PKG.g_fp_webadi_rec_tbl.COUNT).rlm_id := l_webadi_rlm_id;
3971: PA_FP_WEBADI_PKG.g_fp_webadi_rec_tbl
3972: (PA_FP_WEBADI_PKG.g_fp_webadi_rec_tbl.COUNT).txn_currency := i.txn_currency_code;
3973: ELSE
3974: PA_UTILS.ADD_MESSAGE
3975: (p_app_short_name => 'PA'
3976: ,p_msg_name => l_message_name
3977: ,p_token1 => 'P_BUDGET_VERSION_NAME'
3978: ,p_value1 => i.version_name

Line 4029: PA_UTILS.ADD_MESSAGE

4025: End If;
4026: /* end of bug fix:5726773 */
4027:
4028: If NVL(l_exists_flag,'N') = 'Y' Then
4029: PA_UTILS.ADD_MESSAGE
4030: (p_app_short_name => 'PA'
4031: ,p_msg_name => l_message_name
4032: ,p_token1 => 'P_BUDGET_VERSION_NAME'
4033: ,p_value1 => i.version_name

Line 4300: PA_UTILS.ADD_MESSAGE

4296: * populate error message for each planning resource
4297: */
4298: FOR i IN get_ra_error_details LOOP
4299: x_return_status := 'E';
4300: PA_UTILS.ADD_MESSAGE
4301: (p_app_short_name => 'PA'
4302: ,p_msg_name => 'PA_FP_PERIODS_IS_NULL'
4303: ,p_token1 => 'L_PROJECT_NAME'
4304: ,p_value1 => g_project_name

Line 4484: PA_UTILS.ADD_MESSAGE

4480:
4481: IF (p_time_phased_code NOT IN ('P','G') AND p_source_context <> 'BUDGET_LINE') Then --{
4482: FOR i IN cur_blCorrupted LOOP
4483: x_return_status := 'E';
4484: PA_UTILS.ADD_MESSAGE
4485: (p_app_short_name => 'PA'
4486: ,p_msg_name => 'PA_FP_MULTI_NON_PERIOD'
4487: ,p_token1 => 'L_PROJECT_NAME'
4488: ,p_value1 => g_project_name

Line 6484: pa_utils.add_message

6480: IF g_source_context = 'RESOURCE_ASSIGNMENT'
6481: AND NVL(g_time_phase_changed_flag,'N') = 'N' Then
6482: FOR i IN cur_chk_dupRecords LOOP
6483: --print_msg('Duplicate Resource Assignments sent for Calcaulate API');
6484: pa_utils.add_message
6485: ( p_app_short_name => 'PA'
6486: ,p_msg_name => 'PA_FP_DUPRES_RECORDS'
6487: ,p_token1 => 'RESOURCE_ID'
6488: ,p_value1 => i.resource_assignment_id

Line 6521: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA'

6517: l_stage := 'RaId['||i.resource_assignment_id||']TxnCur['||i.txn_currency_code||']oldSD[';
6518: l_stage := l_stage||i.old_plan_start_date||']NewSD['||i.new_plan_start_date;
6519: l_stage := l_stage||']oldED['||i.old_plan_end_date||']newED['||i.new_plan_end_date||']';
6520: --print_msg(l_stage);
6521: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA'
6522: ,p_msg_name => 'PA_FP_RA_MULTI_ADJUSTMENT'
6523: ,p_token1 => 'L_RESOURCE_NAME'
6524: ,p_value1 => i.resource_name
6525: ,p_token2 => 'L_OLD_START_DATE'

Line 9589: PA_UTILS.ADD_MESSAGE

9585: l_return_status := 'U';
9586: x_return_status := l_exception_return_status;
9587: l_error_msg_code := SQLERRM(0 - SQL%BULK_EXCEPTIONS(v_Count).error_code);
9588: -- add error message to stack and finall raise the error
9589: PA_UTILS.ADD_MESSAGE
9590: (p_app_short_name => 'PA'
9591: ,p_msg_name => v_error_code||'-'||l_error_msg_code
9592: ,p_token1 => 'G_PROJECT_NAME'
9593: ,p_value1 => g_project_name

Line 11128: PA_UTILS.ADD_MESSAGE

11124: x_return_status := l_exception_return_status;
11125: l_error_msg_code := SQLERRM(0 - SQL%BULK_EXCEPTIONS(v_Count).error_code);
11126: print_msg('ErrorRaId['||l_err_raId_tab(l_x_cntr)||']TxnCur['||l_err_txn_cur_tab(l_x_cntr)||']');
11127: print_msg('SD['||l_err_sdate_tab(l_x_cntr)||']ED['||l_err_edate_tab(l_x_cntr)||']ErrorCode['||l_error_msg_code);
11128: PA_UTILS.ADD_MESSAGE
11129: (p_app_short_name => 'PA'
11130: ,p_msg_name => v_error_code||'-'||l_error_msg_code
11131: ,p_token1 => 'G_PROJECT_NAME'
11132: ,p_value1 => g_project_name