DBA Data[Home] [Help]

APPS.PA_FP_CI_MERGE dependencies on PA_FP_CONTROL_ITEMS_UTILS

Line 1056: Pa_Fp_Control_Items_Utils.FP_CI_GET_VERSION_DETAILS

1052: --Call the check API to see if the copy should
1053: --go through or not
1054:
1055: --Before that get details of source version
1056: Pa_Fp_Control_Items_Utils.FP_CI_GET_VERSION_DETAILS
1057: (
1058: p_project_id => p_project_id,
1059: p_budget_version_id => l_source_version_id,
1060: x_fin_plan_pref_code => l_s_fin_plan_pref_code,

Line 1310: Pa_Fp_Control_Items_Utils.FP_CI_GET_VERSION_DETAILS

1306: l_target_version_id := NULL;
1307: -- We must copy the target version from source version
1308:
1309: --Before that get details of source version
1310: Pa_Fp_Control_Items_Utils.FP_CI_GET_VERSION_DETAILS
1311: (
1312: p_project_id => p_project_id,
1313: p_budget_version_id => l_source_version_id,
1314: x_fin_plan_pref_code => l_s_fin_plan_pref_code,

Line 1651: Pa_Fp_Control_Items_Utils.FP_CI_GET_VERSION_DETAILS

1647: BEGIN
1648: --Since the current target is not for the present source
1649: l_target_version_id := NULL;
1650: --Before that get details of source version
1651: Pa_Fp_Control_Items_Utils.FP_CI_GET_VERSION_DETAILS
1652: (
1653: p_project_id => p_project_id,
1654: p_budget_version_id => l_source_version_id,
1655: x_fin_plan_pref_code => l_s_fin_plan_pref_code,

Line 1959: IF Pa_Fp_Control_Items_Utils.check_valid_combo

1955: IF p_calling_context ='GENERATION' THEN
1956:
1957: --Bug 5845142. If approved budget (approved only for cost) is created with "Cost and Revenue together"
1958: --setup then it is not possible to include change orders. Change orders can only be implemented.
1959: IF Pa_Fp_Control_Items_Utils.check_valid_combo
1960: ( p_project_id => p_project_id
1961: ,p_targ_app_cost_flag => 'N'
1962: ,p_targ_app_rev_flag => 'N') = 'N' THEN
1963:

Line 2501: call Pa_Fp_Control_Items_Utils.FP_CI_VALIDATE_UPDATE_IMPACT to determine whether we can

2497: END IF;
2498: END IF;
2499:
2500: /*
2501: call Pa_Fp_Control_Items_Utils.FP_CI_VALIDATE_UPDATE_IMPACT to determine whether we can
2502: update impact as implemented or not
2503: */
2504:
2505: Pa_Fp_Control_Items_Utils.FP_CI_VALIDATE_UPDATE_IMPACT

Line 2505: Pa_Fp_Control_Items_Utils.FP_CI_VALIDATE_UPDATE_IMPACT

2501: call Pa_Fp_Control_Items_Utils.FP_CI_VALIDATE_UPDATE_IMPACT to determine whether we can
2502: update impact as implemented or not
2503: */
2504:
2505: Pa_Fp_Control_Items_Utils.FP_CI_VALIDATE_UPDATE_IMPACT
2506: (
2507: p_project_id => p_project_id
2508: ,p_ci_id => p_ci_id
2509: ,p_source_version_id => NULL

Line 2520: pa_debug.g_err_stage:= 'Error calling Pa_Fp_Control_Items_Utils.FP_CI_VALIDATE_UPDATE_IMPACT';

2516: );
2517:
2518: IF (x_return_status <> FND_API.G_RET_STS_SUCCESS) THEN
2519: IF l_debug_mode = 'Y' THEN
2520: pa_debug.g_err_stage:= 'Error calling Pa_Fp_Control_Items_Utils.FP_CI_VALIDATE_UPDATE_IMPACT';
2521: pa_debug.write('FP_CI_MANUAL_MERGE: ' || l_module_name,pa_debug.g_err_stage,
2522: PA_FP_CONSTANTS_PKG.G_DEBUG_LEVEL5);
2523: END IF;
2524: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;

Line 3370: Pa_Fp_Control_Items_Utils.GET_CI_VERSIONS

3366: IF P_PA_debug_mode = 'Y' THEN
3367: pa_debug.g_err_stage:= 'Calling GET_CI_VERSIONS p_ci_id :'||p_ci_id;
3368: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level3);
3369: END IF;
3370: Pa_Fp_Control_Items_Utils.GET_CI_VERSIONS
3371: ( p_ci_id => p_ci_id
3372: ,X_cost_budget_version_id => l_ci_cost_version_id
3373: ,X_rev_budget_version_id => l_ci_rev_version_id
3374: ,X_all_budget_version_id => l_ci_all_version_id

Line 3556: pa_fp_control_items_utils.get_impl_details

3552: pa_debug.g_err_stage:= 'Calling get_impl_details';
3553: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level3);
3554: END IF;
3555:
3556: pa_fp_control_items_utils.get_impl_details
3557: ( P_fin_plan_type_id => p_fin_plan_type_id
3558: ,P_project_id => l_project_id
3559: ,P_ci_id => p_ci_id
3560: ,P_ci_cost_version_id => l_ci_cost_version_id

Line 3577: pa_debug.g_err_stage:= 'pa_fp_control_items_utils.get_impl_details returned error';

3573: ,x_msg_count => l_msg_count);
3574:
3575: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
3576: IF P_PA_debug_mode = 'Y' THEN
3577: pa_debug.g_err_stage:= 'pa_fp_control_items_utils.get_impl_details returned error';
3578: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
3579: END IF;
3580: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
3581: END IF;

Line 10735: pa_debug.g_err_stage:= 'Calling Pa_Fp_Control_Items_Utils.get_ci_versions';

10731: ((NOT p_ci_rev_version_id_tbl.EXISTS(i)) OR p_ci_rev_version_id_tbl(i) IS NULL) AND
10732: ((NOT p_ci_all_version_id_tbl.EXISTS(i)) OR p_ci_all_version_id_tbl(i) IS NULL)THEN
10733:
10734: IF l_debug_mode = 'Y' THEN
10735: pa_debug.g_err_stage:= 'Calling Pa_Fp_Control_Items_Utils.get_ci_versions';
10736: pa_debug.write(l_module_name,pa_debug.g_err_stage,3);
10737: END IF;
10738:
10739: Pa_Fp_Control_Items_Utils.get_ci_versions

Line 10739: Pa_Fp_Control_Items_Utils.get_ci_versions

10735: pa_debug.g_err_stage:= 'Calling Pa_Fp_Control_Items_Utils.get_ci_versions';
10736: pa_debug.write(l_module_name,pa_debug.g_err_stage,3);
10737: END IF;
10738:
10739: Pa_Fp_Control_Items_Utils.get_ci_versions
10740: ( p_ci_id => p_ci_id_tbl(i)
10741: ,X_cost_budget_version_id => l_ci_cost_version_id
10742: ,X_rev_budget_version_id => l_ci_rev_version_id
10743: ,X_all_budget_version_id => l_ci_all_version_id

Line 10874: l_implemented_amount := Pa_Fp_Control_Items_Utils.get_impl_agr_revenue(

10870: pa_debug.write(l_module_name,pa_debug.g_err_stage,3);
10871: END IF;
10872:
10873: --To get implemented amount.
10874: l_implemented_amount := Pa_Fp_Control_Items_Utils.get_impl_agr_revenue(
10875: p_project_id => l_project_id,
10876: p_ci_id => p_ci_id_tbl(i) );
10877:
10878: IF l_debug_mode = 'Y' THEN

Line 11153: IF Pa_Fp_Control_Items_Utils.check_valid_combo

11149: WHERE pbv.budget_version_id=p_budget_version_id_tbl(i);
11150:
11151: -- Bug 5845142. When the approved cost budget is setup to have "Cost and Revenue Together"
11152: -- plan it is not possible to include change orders. Change Orders can only be implemented.
11153: IF Pa_Fp_Control_Items_Utils.check_valid_combo
11154: ( p_project_id => l_project_id
11155: ,p_targ_app_cost_flag => l_app_cost_plan_type_flag
11156: ,p_targ_app_rev_flag => l_app_rev_plan_type_flag) = 'N' THEN
11157:

Line 11381: pa_fp_control_items_utils.get_impl_details

11377: pa_debug.g_err_stage:= 'calling get_impl_details';
11378: pa_debug.write(l_module_name,pa_debug.g_err_stage,3);
11379: END IF;
11380:
11381: pa_fp_control_items_utils.get_impl_details
11382: ( P_fin_plan_type_id => x_fin_plan_type_id_tbl(j)
11383: ,P_project_id => l_project_id
11384: ,P_ci_id => x_ci_id_tbl(i)
11385: ,P_ci_cost_version_id => x_ci_cost_version_id_tbl(i)

Line 11404: pa_debug.g_err_stage:= 'pa_fp_control_items_utils.get_impl_details returned error';

11400: --Return status check can be done in this case as the above should never return
11401: --a return status of E.
11402: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
11403: IF P_PA_debug_mode = 'Y' THEN
11404: pa_debug.g_err_stage:= 'pa_fp_control_items_utils.get_impl_details returned error';
11405: pa_debug.write(l_module_name,pa_debug.g_err_stage,5);
11406: END IF;
11407: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
11408: END IF;

Line 11541: pa_fp_control_items_utils.fp_ci_check_merge_possible(

11537: pa_debug.g_err_stage:= 'calling fp_ci_check_merge_possible';
11538: pa_debug.write(l_module_name,pa_debug.g_err_stage,3);
11539: END IF;
11540:
11541: pa_fp_control_items_utils.fp_ci_check_merge_possible(
11542: p_project_id => l_project_id
11543: ,p_source_fp_version_id_tbl => l_source_version_id_tbl
11544: ,p_target_fp_version_id => x_budget_version_id_tbl(j)
11545: ,p_calling_mode => l_calling_mode_for_chk_api