DBA Data[Home] [Help]

APPS.PA_FP_CI_MERGE dependencies on PA_FP_CONTROL_ITEMS_UTILS

Line 1044: Pa_Fp_Control_Items_Utils.FP_CI_GET_VERSION_DETAILS

1040: --Call the check API to see if the copy should
1041: --go through or not
1042:
1043: --Before that get details of source version
1044: Pa_Fp_Control_Items_Utils.FP_CI_GET_VERSION_DETAILS
1045: (
1046: p_project_id => p_project_id,
1047: p_budget_version_id => l_source_version_id,
1048: x_fin_plan_pref_code => l_s_fin_plan_pref_code,

Line 1096: Pa_Fp_Control_Items_Utils.FP_CI_CHECK_COPY_POSSIBLE

1092: /*** raja 14-Jul-2004 Bug 3677924 Check api need not be called for copy
1093: --Check how many plan types exist
1094: IF( l_target_plan_types_cnt = 1 ) THEN
1095: --Call the check API with source attributes
1096: Pa_Fp_Control_Items_Utils.FP_CI_CHECK_COPY_POSSIBLE
1097: (
1098: p_source_plan_level_code => l_s_fin_plan_level_code,
1099: p_source_time_phased_code => l_s_time_phased_code,
1100: p_source_resource_list_id => l_s_resource_list_id,

Line 1115: Pa_Fp_Control_Items_Utils.FP_CI_CHECK_COPY_POSSIBLE

1111: RETURN;
1112: END IF;
1113: ELSIF( l_target_plan_types_cnt = 2 ) THEN
1114: --Call the check API with source attributes
1115: Pa_Fp_Control_Items_Utils.FP_CI_CHECK_COPY_POSSIBLE
1116: (
1117: p_source_plan_level_code => l_s_fin_plan_level_code,
1118: p_source_time_phased_code => l_s_time_phased_code,
1119: p_source_resource_list_id => l_s_resource_list_id,

Line 1203: Pa_Fp_Control_Items_Utils.FP_CI_CHECK_MERGE_POSSIBLE

1199:
1200: /* -- Now we have both target and source version so
1201: -- go ahead with the MERGE
1202:
1203: Pa_Fp_Control_Items_Utils.FP_CI_CHECK_MERGE_POSSIBLE
1204: (
1205: p_project_id => p_project_id,
1206: p_source_fp_version_id_tbl => l_source_id_tbl,
1207: p_target_fp_version_id => l_target_version_id,

Line 1477: Pa_Fp_Control_Items_Utils.FP_CI_GET_VERSION_DETAILS

1473: l_target_version_id := NULL;
1474: -- We must copy the target version from source version
1475:
1476: --Before that get details of source version
1477: Pa_Fp_Control_Items_Utils.FP_CI_GET_VERSION_DETAILS
1478: (
1479: p_project_id => p_project_id,
1480: p_budget_version_id => l_source_version_id,
1481: x_fin_plan_pref_code => l_s_fin_plan_pref_code,

Line 1526: Pa_Fp_Control_Items_Utils.FP_CI_CHECK_COPY_POSSIBLE

1522: /*** raja 14-Jul-2004 Bug 3677924 Check api need not be called for copy
1523: --Check how many plan types exist
1524: IF( l_target_plan_types_cnt = 2 ) THEN
1525: --Call the check API with source attributes
1526: Pa_Fp_Control_Items_Utils.FP_CI_CHECK_COPY_POSSIBLE
1527: (
1528: p_source_plan_level_code => l_s_fin_plan_level_code,
1529: p_source_time_phased_code => l_s_time_phased_code,
1530: p_source_resource_list_id => l_s_resource_list_id,

Line 1545: Pa_Fp_Control_Items_Utils.FP_CI_CHECK_COPY_POSSIBLE

1541: RETURN;
1542: END IF;
1543: ELSIF( l_target_plan_types_cnt = 1 ) THEN
1544: --Call the check API with source attributes
1545: Pa_Fp_Control_Items_Utils.FP_CI_CHECK_COPY_POSSIBLE
1546: (
1547: p_source_plan_level_code => l_s_fin_plan_level_code,
1548: p_source_time_phased_code => l_s_time_phased_code,
1549: p_source_resource_list_id => l_s_resource_list_id,

Line 1735: Pa_Fp_Control_Items_Utils.FP_CI_CHECK_MERGE_POSSIBLE

1731: l_source_id_tbl(1) := l_source_version_id;
1732: --------dbms_output.put_line('FP_CI_MERGE_CI_ITEMS - 4');
1733: l_target_version_id := l_target_fp_version_id_tbl(i);
1734: --------dbms_output.put_line('FP_CI_MERGE_CI_ITEMS - 5');
1735: Pa_Fp_Control_Items_Utils.FP_CI_CHECK_MERGE_POSSIBLE
1736: (
1737: p_project_id => p_project_id,
1738: p_source_fp_version_id_tbl => l_source_id_tbl,
1739: p_target_fp_version_id => l_target_version_id,

Line 2040: Pa_Fp_Control_Items_Utils.FP_CI_GET_VERSION_DETAILS

2036: BEGIN
2037: --Since the current target is not for the present source
2038: l_target_version_id := NULL;
2039: --Before that get details of source version
2040: Pa_Fp_Control_Items_Utils.FP_CI_GET_VERSION_DETAILS
2041: (
2042: p_project_id => p_project_id,
2043: p_budget_version_id => l_source_version_id,
2044: x_fin_plan_pref_code => l_s_fin_plan_pref_code,

Line 2089: Pa_Fp_Control_Items_Utils.FP_CI_CHECK_COPY_POSSIBLE

2085: /*** raja 14-Jul-2004 Bug 3677924 Check api need not be called for copy
2086: --Check how many plan types exist
2087: IF( l_target_plan_types_cnt = 2 ) THEN
2088: --Call the check API with source attributes
2089: Pa_Fp_Control_Items_Utils.FP_CI_CHECK_COPY_POSSIBLE
2090: (
2091: p_source_plan_level_code => l_s_fin_plan_level_code,
2092: p_source_time_phased_code => l_s_time_phased_code,
2093: p_source_resource_list_id => l_s_resource_list_id,

Line 2108: Pa_Fp_Control_Items_Utils.FP_CI_CHECK_COPY_POSSIBLE

2104: RETURN;
2105: END IF;
2106: ELSIF( l_target_plan_types_cnt = 1 ) THEN
2107: --Call the check API with source attributes
2108: Pa_Fp_Control_Items_Utils.FP_CI_CHECK_COPY_POSSIBLE
2109: (
2110: p_source_plan_level_code => l_s_fin_plan_level_code,
2111: p_source_time_phased_code => l_s_time_phased_code,
2112: p_source_resource_list_id => l_s_resource_list_id,

Line 2280: /*Pa_Fp_Control_Items_Utils.FP_CI_CHECK_MERGE_POSSIBLE

2276: RETURN;
2277: END IF;
2278:
2279:
2280: /*Pa_Fp_Control_Items_Utils.FP_CI_CHECK_MERGE_POSSIBLE
2281: (
2282: p_project_id => p_project_id,
2283: p_source_fp_version_id_tbl => l_source_id_tbl,
2284: p_target_fp_version_id => l_target_version_id,

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

3141: END IF;
3142: END IF;
3143:
3144: /*
3145: call Pa_Fp_Control_Items_Utils.FP_CI_VALIDATE_UPDATE_IMPACT to determine whether we can
3146: update impact as implemented or not
3147: */
3148:
3149: Pa_Fp_Control_Items_Utils.FP_CI_VALIDATE_UPDATE_IMPACT

Line 3149: Pa_Fp_Control_Items_Utils.FP_CI_VALIDATE_UPDATE_IMPACT

3145: call Pa_Fp_Control_Items_Utils.FP_CI_VALIDATE_UPDATE_IMPACT to determine whether we can
3146: update impact as implemented or not
3147: */
3148:
3149: Pa_Fp_Control_Items_Utils.FP_CI_VALIDATE_UPDATE_IMPACT
3150: (
3151: p_project_id => p_project_id
3152: ,p_ci_id => p_ci_id
3153: ,p_source_version_id => NULL

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

3160: );
3161:
3162: IF (x_return_status <> FND_API.G_RET_STS_SUCCESS) THEN
3163: IF l_debug_mode = 'Y' THEN
3164: pa_debug.g_err_stage:= 'Error calling Pa_Fp_Control_Items_Utils.FP_CI_VALIDATE_UPDATE_IMPACT';
3165: pa_debug.write('FP_CI_MANUAL_MERGE: ' || l_module_name,pa_debug.g_err_stage,
3166: PA_FP_CONSTANTS_PKG.G_DEBUG_LEVEL5);
3167: END IF;
3168: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;

Line 4008: Pa_Fp_Control_Items_Utils.GET_CI_VERSIONS

4004: IF P_PA_debug_mode = 'Y' THEN
4005: pa_debug.g_err_stage:= 'Calling GET_CI_VERSIONS p_ci_id :'||p_ci_id;
4006: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level3);
4007: END IF;
4008: Pa_Fp_Control_Items_Utils.GET_CI_VERSIONS
4009: ( p_ci_id => p_ci_id
4010: ,X_cost_budget_version_id => l_ci_cost_version_id
4011: ,X_rev_budget_version_id => l_ci_rev_version_id
4012: ,X_all_budget_version_id => l_ci_all_version_id

Line 4189: pa_fp_control_items_utils.get_impl_details

4185: pa_debug.g_err_stage:= 'Calling get_impl_details';
4186: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level3);
4187: END IF;
4188:
4189: pa_fp_control_items_utils.get_impl_details
4190: ( P_fin_plan_type_id => p_fin_plan_type_id
4191: ,P_project_id => l_project_id
4192: ,P_ci_id => p_ci_id
4193: ,P_ci_cost_version_id => l_ci_cost_version_id

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

4206: ,x_msg_count => l_msg_count);
4207:
4208: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
4209: IF P_PA_debug_mode = 'Y' THEN
4210: pa_debug.g_err_stage:= 'pa_fp_control_items_utils.get_impl_details returned error';
4211: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
4212: END IF;
4213: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
4214: END IF;

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

11314: ((NOT p_ci_rev_version_id_tbl.EXISTS(i)) OR p_ci_rev_version_id_tbl(i) IS NULL) AND
11315: ((NOT p_ci_all_version_id_tbl.EXISTS(i)) OR p_ci_all_version_id_tbl(i) IS NULL)THEN
11316:
11317: IF l_debug_mode = 'Y' THEN
11318: pa_debug.g_err_stage:= 'Calling Pa_Fp_Control_Items_Utils.get_ci_versions';
11319: pa_debug.write(l_module_name,pa_debug.g_err_stage,3);
11320: END IF;
11321:
11322: Pa_Fp_Control_Items_Utils.get_ci_versions

Line 11322: Pa_Fp_Control_Items_Utils.get_ci_versions

11318: pa_debug.g_err_stage:= 'Calling Pa_Fp_Control_Items_Utils.get_ci_versions';
11319: pa_debug.write(l_module_name,pa_debug.g_err_stage,3);
11320: END IF;
11321:
11322: Pa_Fp_Control_Items_Utils.get_ci_versions
11323: ( p_ci_id => p_ci_id_tbl(i)
11324: ,X_cost_budget_version_id => l_ci_cost_version_id
11325: ,X_rev_budget_version_id => l_ci_rev_version_id
11326: ,X_all_budget_version_id => l_ci_all_version_id

Line 11457: l_implemented_amount := Pa_Fp_Control_Items_Utils.get_impl_agr_revenue(

11453: pa_debug.write(l_module_name,pa_debug.g_err_stage,3);
11454: END IF;
11455:
11456: --To get implemented amount.
11457: l_implemented_amount := Pa_Fp_Control_Items_Utils.get_impl_agr_revenue(
11458: p_project_id => l_project_id,
11459: p_ci_id => p_ci_id_tbl(i) );
11460:
11461: IF l_debug_mode = 'Y' THEN

Line 11925: pa_fp_control_items_utils.get_impl_details

11921: pa_debug.g_err_stage:= 'calling get_impl_details';
11922: pa_debug.write(l_module_name,pa_debug.g_err_stage,3);
11923: END IF;
11924:
11925: pa_fp_control_items_utils.get_impl_details
11926: ( P_fin_plan_type_id => x_fin_plan_type_id_tbl(j)
11927: ,P_project_id => l_project_id
11928: ,P_ci_id => x_ci_id_tbl(i)
11929: ,P_ci_cost_version_id => x_ci_cost_version_id_tbl(i)

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

11944: --Return status check can be done in this case as the above should never return
11945: --a return status of E.
11946: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
11947: IF P_PA_debug_mode = 'Y' THEN
11948: pa_debug.g_err_stage:= 'pa_fp_control_items_utils.get_impl_details returned error';
11949: pa_debug.write(l_module_name,pa_debug.g_err_stage,5);
11950: END IF;
11951: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
11952: END IF;

Line 12070: pa_fp_control_items_utils.fp_ci_check_merge_possible(

12066: pa_debug.g_err_stage:= 'calling fp_ci_check_merge_possible';
12067: pa_debug.write(l_module_name,pa_debug.g_err_stage,3);
12068: END IF;
12069:
12070: pa_fp_control_items_utils.fp_ci_check_merge_possible(
12071: p_project_id => l_project_id
12072: ,p_source_fp_version_id_tbl => l_source_version_id_tbl
12073: ,p_target_fp_version_id => x_budget_version_id_tbl(j)
12074: ,p_calling_mode => l_calling_mode_for_chk_api