DBA Data[Home] [Help]

APPS.PA_FP_PLANNING_TRANSACTION_PUB dependencies on PA_FP_CALC_PLAN_PKG

Line 5681: PA_FP_CALC_PLAN_PKG.calculate(

5677: END LOOP;
5678: END IF;
5679: END IF;
5680:
5681: PA_FP_CALC_PLAN_PKG.calculate(
5682: p_project_id => p_project_id
5683: ,p_budget_version_id => l_budget_version_id
5684: ,p_source_context => PA_FP_CONSTANTS_PKG.G_CALC_API_RESOURCE_CONTEXT
5685: ,p_resource_assignment_tab => l_res_assignment_id_tbl

Line 5710: pa_debug.g_err_stage:='Called API PA_FP_CALC_PLAN_PKG.calculate api returned error';

5706: ,x_msg_data => l_msg_data);
5707:
5708: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5709: IF l_debug_mode = 'Y' THEN
5710: pa_debug.g_err_stage:='Called API PA_FP_CALC_PLAN_PKG.calculate api returned error';
5711: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5712: END IF;
5713:
5714: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;

Line 5898: pa_debug.g_err_stage:='CALLED THE PA_FP_CALC_PLAN_PKG.CALCULATE API';

5894: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
5895: END IF; */
5896:
5897: IF l_debug_mode = 'Y' THEN
5898: pa_debug.g_err_stage:='CALLED THE PA_FP_CALC_PLAN_PKG.CALCULATE API';
5899: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5900: pa_debug.reset_curr_function;
5901: END IF;
5902: EXCEPTION

Line 7688: The following block of code to call the api PA_FP_CALC_PLAN_PKG.calculate

7684: nvl(l_scheduled_delay(i),scheduled_delay))
7685: ,scheduled_delay)
7686: WHERE resource_assignment_id= l_resource_assignment_id_tbl(i);
7687: /*-------------------------------------------------------------------------------
7688: The following block of code to call the api PA_FP_CALC_PLAN_PKG.calculate
7689: is commented as it has to be modified
7690: Calling the api PA_FP_CALC_PLAN_PKG.calculate*/
7691:
7692: /* Start of coding done for Bug 5684639:

Line 7690: Calling the api PA_FP_CALC_PLAN_PKG.calculate*/

7686: WHERE resource_assignment_id= l_resource_assignment_id_tbl(i);
7687: /*-------------------------------------------------------------------------------
7688: The following block of code to call the api PA_FP_CALC_PLAN_PKG.calculate
7689: is commented as it has to be modified
7690: Calling the api PA_FP_CALC_PLAN_PKG.calculate*/
7691:
7692: /* Start of coding done for Bug 5684639:
7693: If the user has selected not to distribute the amounts, then
7694: pass the l_plan_end_date_old_tbl as l_plan_end_date_new_tbl AND

Line 7773: PA_FP_CALC_PLAN_PKG.calculate(

7769: l_cal_api_called_flg := 'Y';
7770:
7771: -- Used to delete the budget lines which are falling out of planning start/end date
7772: -- range when p_distrib_amts flag is checked.
7773: PA_FP_CALC_PLAN_PKG.calculate(
7774: p_project_id => l_project_id,
7775: p_budget_version_id => l_budget_version_id,
7776: p_refresh_rates_flag => 'N',
7777: p_refresh_conv_rates_flag => 'N',

Line 7810: pa_debug.g_err_stage:='Calling API PA_FP_CALC_PLAN_PKG.calculate';

7806:
7807: /* End of coding done for Bug 5684639.*/
7808:
7809: IF l_debug_mode = 'Y' THEN
7810: pa_debug.g_err_stage:='Calling API PA_FP_CALC_PLAN_PKG.calculate';
7811: print_msg(pa_debug.g_err_stage,l_module_name);
7812: pa_debug.g_err_stage:='Parameters to PA_FP_CALC_PLAN_PKG.calculate';
7813: print_msg(pa_debug.g_err_stage,l_module_name);
7814:

Line 7812: pa_debug.g_err_stage:='Parameters to PA_FP_CALC_PLAN_PKG.calculate';

7808:
7809: IF l_debug_mode = 'Y' THEN
7810: pa_debug.g_err_stage:='Calling API PA_FP_CALC_PLAN_PKG.calculate';
7811: print_msg(pa_debug.g_err_stage,l_module_name);
7812: pa_debug.g_err_stage:='Parameters to PA_FP_CALC_PLAN_PKG.calculate';
7813: print_msg(pa_debug.g_err_stage,l_module_name);
7814:
7815: IF l_resource_assignment_id_tbl.COUNT>0 THEN
7816:

Line 8051: PA_FP_CALC_PLAN_PKG.calculate(

8047:
8048: -- If condition added for Bug 5906826
8049: IF l_cal_api_called_flg = 'N' THEN
8050:
8051: PA_FP_CALC_PLAN_PKG.calculate(
8052: p_project_id => l_project_id
8053: ,p_budget_version_id => l_budget_version_id
8054: --,p_refresh_rates_flag => 'N' --need to pass any variables that are passed from calling API
8055: --,p_refresh_conv_rates_flag => 'N' --need to pass any variables that are passed from calling API

Line 8096: pa_debug.g_err_stage:='Called API PA_FP_CALC_PLAN_PKG.calculate returned error';

8092:
8093: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
8094:
8095: IF l_debug_mode = 'Y' THEN
8096: pa_debug.g_err_stage:='Called API PA_FP_CALC_PLAN_PKG.calculate returned error';
8097: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);
8098: END IF;
8099: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
8100: END IF;

Line 8917: PA_FP_CALC_PLAN_PKG.calculate(

8913: --dbms_output.put_line('Calling the calculate api'||l_calc_ra_id_tbl.count);
8914: --dbms_output.put_line('Calling the calculate api'||l_calc_ra_id_tbl(1));
8915: --dbms_output.put_line('Calling the calculate api'||l_calc_ra_id_tbl(2));
8916:
8917: PA_FP_CALC_PLAN_PKG.calculate(
8918: p_project_id => p_target_project_id
8919: ,p_budget_version_id => l_targ_budget_version_id
8920: --,p_refresh_rates_flag => 'N' --need to pass any variables that are passed from calling API
8921: --,p_refresh_conv_rates_flag => 'N' --need to pass any variables that are passed from calling API

Line 8952: pa_debug.g_err_stage:='PA_FP_CALC_PLAN_PKG.calculate returned error';

8948: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
8949:
8950: IF l_debug_mode = 'Y' THEN
8951:
8952: pa_debug.g_err_stage:='PA_FP_CALC_PLAN_PKG.calculate returned error';
8953: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);
8954:
8955: END IF;
8956: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;

Line 13166: PA_FP_CALC_PLAN_PKG.calculate(

13162: FROM pa_resource_assignments
13163: WHERE budget_version_id = l_budget_version_id_tbl(i);
13164:
13165: IF l_res_assignment_count > 0 THEN
13166: PA_FP_CALC_PLAN_PKG.calculate(
13167: p_project_id => p_project_id
13168: ,p_budget_version_id => l_budget_version_id_tbl(i)
13169: ,p_spread_required_flag => 'Y'
13170: ,p_rollup_required_flag => 'N' -- bug 3937716

Line 13180: pa_debug.g_err_stage:='Called API PA_FP_CALC_PLAN_PKG.calculate api returned error';

13176: ,x_msg_data => x_msg_data);
13177:
13178: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
13179: IF l_debug_mode = 'Y' THEN
13180: pa_debug.g_err_stage:='Called API PA_FP_CALC_PLAN_PKG.calculate api returned error';
13181: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
13182: END IF;
13183: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
13184: END IF;