DBA Data[Home] [Help]

APPS.PA_FP_CALC_UTILS dependencies on PA_UTILS

Line 332: PA_UTILS.ADD_MESSAGE

328: * This corruption needs to be avoided, otherwise data corruption will be carried forward
329: --print_msg('Check for Quantity corruption');
330: FOR i IN cur_CorruptedBls LOOP
331: x_return_status := 'E';
332: PA_UTILS.ADD_MESSAGE
333: (p_app_short_name => 'PA'
334: ,p_msg_name => 'PA_FP_ZERO_QTY_BL_CORRUPTED'
335: ,p_token1 => 'BUDGET_VERSION_NAME'
336: ,p_value1 => g_budget_version_name

Line 354: PA_UTILS.ADD_MESSAGE

350: print_msg('Check for Dates corruption');
351: End If;
352: FOR i IN cur_blDatesCheck LOOP
353: x_return_status := 'E';
354: PA_UTILS.ADD_MESSAGE
355: (p_app_short_name => 'PA'
356: ,p_msg_name => 'PA_FP_BL_DATES_CORRUPTED'
357: ,p_token1 => 'BUDGET_VERSION_NAME'
358: ,p_value1 => g_budget_version_name

Line 437: pa_utils.add_message

433:
434: x_return_status := 'S';
435: IF p_resource_assignment is NULL OR p_txn_currency_code is NULL Then
436: --print_msg(to_char(l_stage)||' ERROR Resource assignment or currency NOT passed');
437: pa_utils.add_message
438: ( p_app_short_name => 'PA',
439: p_msg_name => 'PA_FP_CALC_RA_BL_REQ',
440: p_token1 => 'BUDGET_VERSION_ID',
441: p_value1 => p_budget_version_id,

Line 450: pa_utils.add_message

446: END IF;
447:
448: IF g_source_context = 'BUDGET_LINE' THEN
449: IF p_bdgt_line_sDate is NULL OR p_bdgt_line_eDate is NULL Then
450: pa_utils.add_message
451: ( p_app_short_name => 'PA'
452: ,p_msg_name => 'PA_FP_CALC_BL_DATES_REQ'
453: ,p_token1 => 'BUDGET_VERSION_ID'
454: ,p_value1 => p_budget_version_id

Line 1092: pa_utils.add_message

1088: print_msg('Number of records inserted into calctemp:['||sql%rowcount||']');
1089: End If;
1090: IF g_source_context = 'BUDGET_LINE' THEN
1091: FOR i IN cur_validate LOOP
1092: pa_utils.add_message
1093: ( p_app_short_name => 'PA'
1094: ,p_msg_name => 'PA_FP_CALC_BL_DATES_REQ'
1095: ,p_token1 => 'BUDGET_VERSION_ID'
1096: ,p_value1 => g_budget_version_id

Line 3327: PA_UTILS.ADD_MESSAGE

3323: IF P_PA_DEBUG_MODE = 'Y' Then
3324: print_msg(g_stage);
3325: End If;
3326:
3327: PA_UTILS.ADD_MESSAGE
3328: (p_app_short_name => 'PA'
3329: ,p_msg_name => 'PA_FP_RATE_BASE_RES_QTY_REQD'
3330: ,p_token1 => 'P_BUDGET_VERSION_NAME'
3331: ,p_value1 => g_budget_version_name

Line 3888: PA_UTILS.ADD_MESSAGE

3884: PA_FP_WEBADI_PKG.g_fp_webadi_rec_tbl
3885: (PA_FP_WEBADI_PKG.g_fp_webadi_rec_tbl.COUNT).txn_currency := i.txn_currency_code;
3886: ELSE
3887:
3888: PA_UTILS.ADD_MESSAGE
3889: (p_app_short_name => 'PA'
3890: ,p_msg_name => l_message_name
3891: ,p_token1 => 'P_BUDGET_VERSION_NAME'
3892: ,p_value1 => i.version_name

Line 3946: PA_UTILS.ADD_MESSAGE

3942: (PA_FP_WEBADI_PKG.g_fp_webadi_rec_tbl.COUNT).rlm_id := l_webadi_rlm_id;
3943: PA_FP_WEBADI_PKG.g_fp_webadi_rec_tbl
3944: (PA_FP_WEBADI_PKG.g_fp_webadi_rec_tbl.COUNT).txn_currency := i.txn_currency_code;
3945: ELSE
3946: PA_UTILS.ADD_MESSAGE
3947: (p_app_short_name => 'PA'
3948: ,p_msg_name => l_message_name
3949: ,p_token1 => 'P_BUDGET_VERSION_NAME'
3950: ,p_value1 => i.version_name

Line 4001: PA_UTILS.ADD_MESSAGE

3997: End If;
3998: /* end of bug fix:5726773 */
3999:
4000: If NVL(l_exists_flag,'N') = 'Y' Then
4001: PA_UTILS.ADD_MESSAGE
4002: (p_app_short_name => 'PA'
4003: ,p_msg_name => l_message_name
4004: ,p_token1 => 'P_BUDGET_VERSION_NAME'
4005: ,p_value1 => i.version_name

Line 4271: PA_UTILS.ADD_MESSAGE

4267: * populate error message for each planning resource
4268: */
4269: FOR i IN get_ra_error_details LOOP
4270: x_return_status := 'E';
4271: PA_UTILS.ADD_MESSAGE
4272: (p_app_short_name => 'PA'
4273: ,p_msg_name => 'PA_FP_PERIODS_IS_NULL'
4274: ,p_token1 => 'L_PROJECT_NAME'
4275: ,p_value1 => g_project_name

Line 4455: PA_UTILS.ADD_MESSAGE

4451:
4452: IF (p_time_phased_code NOT IN ('P','G') AND p_source_context <> 'BUDGET_LINE') Then --{
4453: FOR i IN cur_blCorrupted LOOP
4454: x_return_status := 'E';
4455: PA_UTILS.ADD_MESSAGE
4456: (p_app_short_name => 'PA'
4457: ,p_msg_name => 'PA_FP_MULTI_NON_PERIOD'
4458: ,p_token1 => 'L_PROJECT_NAME'
4459: ,p_value1 => g_project_name

Line 6453: pa_utils.add_message

6449: IF g_source_context = 'RESOURCE_ASSIGNMENT'
6450: AND NVL(g_time_phase_changed_flag,'N') = 'N' Then
6451: FOR i IN cur_chk_dupRecords LOOP
6452: --print_msg('Duplicate Resource Assignments sent for Calcaulate API');
6453: pa_utils.add_message
6454: ( p_app_short_name => 'PA'
6455: ,p_msg_name => 'PA_FP_DUPRES_RECORDS'
6456: ,p_token1 => 'RESOURCE_ID'
6457: ,p_value1 => i.resource_assignment_id

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

6486: l_stage := 'RaId['||i.resource_assignment_id||']TxnCur['||i.txn_currency_code||']oldSD[';
6487: l_stage := l_stage||i.old_plan_start_date||']NewSD['||i.new_plan_start_date;
6488: l_stage := l_stage||']oldED['||i.old_plan_end_date||']newED['||i.new_plan_end_date||']';
6489: --print_msg(l_stage);
6490: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA'
6491: ,p_msg_name => 'PA_FP_RA_MULTI_ADJUSTMENT'
6492: ,p_token1 => 'L_RESOURCE_NAME'
6493: ,p_value1 => i.resource_name
6494: ,p_token2 => 'L_OLD_START_DATE'

Line 9355: PA_UTILS.ADD_MESSAGE

9351: l_return_status := 'U';
9352: x_return_status := l_exception_return_status;
9353: l_error_msg_code := SQLERRM(0 - SQL%BULK_EXCEPTIONS(v_Count).error_code);
9354: -- add error message to stack and finall raise the error
9355: PA_UTILS.ADD_MESSAGE
9356: (p_app_short_name => 'PA'
9357: ,p_msg_name => v_error_code||'-'||l_error_msg_code
9358: ,p_token1 => 'G_PROJECT_NAME'
9359: ,p_value1 => g_project_name

Line 10882: PA_UTILS.ADD_MESSAGE

10878: x_return_status := l_exception_return_status;
10879: l_error_msg_code := SQLERRM(0 - SQL%BULK_EXCEPTIONS(v_Count).error_code);
10880: print_msg('ErrorRaId['||l_err_raId_tab(l_x_cntr)||']TxnCur['||l_err_txn_cur_tab(l_x_cntr)||']');
10881: print_msg('SD['||l_err_sdate_tab(l_x_cntr)||']ED['||l_err_edate_tab(l_x_cntr)||']ErrorCode['||l_error_msg_code);
10882: PA_UTILS.ADD_MESSAGE
10883: (p_app_short_name => 'PA'
10884: ,p_msg_name => v_error_code||'-'||l_error_msg_code
10885: ,p_token1 => 'G_PROJECT_NAME'
10886: ,p_value1 => g_project_name