DBA Data[Home] [Help]

APPS.PA_FP_PLANNING_TRANSACTION_PUB dependencies on PA_DEBUG

Line 20: pa_debug.write( l_module_name,p_msg,3);

16: BEGIN
17: If l_module_name is NULL Then
18: l_module_name := g_module_name;
19: End If;
20: pa_debug.write( l_module_name,p_msg,3);
21: /*
22: --dbms_output.put_line(p_msg);
23: INSERT INTO PA_FP_CALCULATE_LOG
24: (SESSIONID

Line 224: fnd_profile.get('PA_DEBUG_MODE',l_debug_mode);

220: l_rtx_rateOvrds_rec get_rateOvrds%ROWTYPE;
221:
222: BEGIN
223:
224: fnd_profile.get('PA_DEBUG_MODE',l_debug_mode);
225: l_debug_mode := NVL(l_debug_mode, 'N');
226: x_msg_count := 0;
227: x_return_status := FND_API.G_RET_STS_SUCCESS;
228: IF l_debug_mode = 'Y' THEN

Line 229: PA_DEBUG.Set_Curr_Function( p_function => 'plan_txn_pub.drv_prms_for_calc',

225: l_debug_mode := NVL(l_debug_mode, 'N');
226: x_msg_count := 0;
227: x_return_status := FND_API.G_RET_STS_SUCCESS;
228: IF l_debug_mode = 'Y' THEN
229: PA_DEBUG.Set_Curr_Function( p_function => 'plan_txn_pub.drv_prms_for_calc',
230: p_debug_mode => l_debug_mode );
231: END IF;
232: -----------------------------------------------------------------------------
233: -- Validating input paramters p_context and p_budget_version_id vannot be null

Line 236: pa_debug.g_err_stage:='Validating input parameters';

232: -----------------------------------------------------------------------------
233: -- Validating input paramters p_context and p_budget_version_id vannot be null
234: -----------------------------------------------------------------------------
235: IF l_debug_mode = 'Y' THEN
236: pa_debug.g_err_stage:='Validating input parameters';
237: print_msg(pa_debug.g_err_stage,l_module_name);
238: END IF;
239:
240: IF ((p_context IS NULL) OR (p_budget_version_id IS NULL)) THEN

Line 237: print_msg(pa_debug.g_err_stage,l_module_name);

233: -- Validating input paramters p_context and p_budget_version_id vannot be null
234: -----------------------------------------------------------------------------
235: IF l_debug_mode = 'Y' THEN
236: pa_debug.g_err_stage:='Validating input parameters';
237: print_msg(pa_debug.g_err_stage,l_module_name);
238: END IF;
239:
240: IF ((p_context IS NULL) OR (p_budget_version_id IS NULL)) THEN
241: IF l_debug_mode = 'Y' THEN

Line 242: pa_debug.g_err_stage:='Required parameter is null - p_context : ' || p_context;

238: END IF;
239:
240: IF ((p_context IS NULL) OR (p_budget_version_id IS NULL)) THEN
241: IF l_debug_mode = 'Y' THEN
242: pa_debug.g_err_stage:='Required parameter is null - p_context : ' || p_context;
243: pa_debug.write(l_module_name ,pa_debug.g_err_stage,5);
244:
245: pa_debug.g_err_stage:='Required parameter is null - p_budget_version_id : ' || p_budget_version_id;
246: pa_debug.write(l_module_name,pa_debug.g_err_stage,5);

Line 243: pa_debug.write(l_module_name ,pa_debug.g_err_stage,5);

239:
240: IF ((p_context IS NULL) OR (p_budget_version_id IS NULL)) THEN
241: IF l_debug_mode = 'Y' THEN
242: pa_debug.g_err_stage:='Required parameter is null - p_context : ' || p_context;
243: pa_debug.write(l_module_name ,pa_debug.g_err_stage,5);
244:
245: pa_debug.g_err_stage:='Required parameter is null - p_budget_version_id : ' || p_budget_version_id;
246: pa_debug.write(l_module_name,pa_debug.g_err_stage,5);
247: END IF;

Line 245: pa_debug.g_err_stage:='Required parameter is null - p_budget_version_id : ' || p_budget_version_id;

241: IF l_debug_mode = 'Y' THEN
242: pa_debug.g_err_stage:='Required parameter is null - p_context : ' || p_context;
243: pa_debug.write(l_module_name ,pa_debug.g_err_stage,5);
244:
245: pa_debug.g_err_stage:='Required parameter is null - p_budget_version_id : ' || p_budget_version_id;
246: pa_debug.write(l_module_name,pa_debug.g_err_stage,5);
247: END IF;
248: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
249: p_msg_name => 'PA_FP_INV_PARAM_PASSED',

Line 246: pa_debug.write(l_module_name,pa_debug.g_err_stage,5);

242: pa_debug.g_err_stage:='Required parameter is null - p_context : ' || p_context;
243: pa_debug.write(l_module_name ,pa_debug.g_err_stage,5);
244:
245: pa_debug.g_err_stage:='Required parameter is null - p_budget_version_id : ' || p_budget_version_id;
246: pa_debug.write(l_module_name,pa_debug.g_err_stage,5);
247: END IF;
248: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
249: p_msg_name => 'PA_FP_INV_PARAM_PASSED',
250: p_token1 => 'PROCEDURENAME',

Line 259: pa_debug.g_err_stage:='Validating input parameters - No resource assignment id is passed -raising excp.';

255: l_ra_id_count := p_resource_assignment_id_tbl.COUNT;
256:
257: IF l_ra_id_count = 0 THEN
258: IF l_debug_mode = 'Y' THEN
259: pa_debug.g_err_stage:='Validating input parameters - No resource assignment id is passed -raising excp.';
260: print_msg(pa_debug.g_err_stage,l_module_name);
261: END IF;
262: IF l_debug_mode = 'Y' THEN
263: pa_debug.reset_curr_function;

Line 260: print_msg(pa_debug.g_err_stage,l_module_name);

256:
257: IF l_ra_id_count = 0 THEN
258: IF l_debug_mode = 'Y' THEN
259: pa_debug.g_err_stage:='Validating input parameters - No resource assignment id is passed -raising excp.';
260: print_msg(pa_debug.g_err_stage,l_module_name);
261: END IF;
262: IF l_debug_mode = 'Y' THEN
263: pa_debug.reset_curr_function;
264: END IF;

Line 263: pa_debug.reset_curr_function;

259: pa_debug.g_err_stage:='Validating input parameters - No resource assignment id is passed -raising excp.';
260: print_msg(pa_debug.g_err_stage,l_module_name);
261: END IF;
262: IF l_debug_mode = 'Y' THEN
263: pa_debug.reset_curr_function;
264: END IF;
265: RETURN;
266: END IF;
267: --dbms_output.put_line('d2');

Line 270: pa_debug.g_err_stage:='Extending input params';

266: END IF;
267: --dbms_output.put_line('d2');
268: --Extending the output pl/sql tables
269: IF l_debug_mode = 'Y' THEN
270: pa_debug.g_err_stage:='Extending input params';
271: print_msg(pa_debug.g_err_stage,l_module_name);
272: END IF;
273: x_rbs_element_id_tbl := SYSTEM.PA_NUM_TBL_TYPE();
274: x_txn_accum_header_id_tbl := SYSTEM.PA_NUM_TBL_TYPE();

Line 271: print_msg(pa_debug.g_err_stage,l_module_name);

267: --dbms_output.put_line('d2');
268: --Extending the output pl/sql tables
269: IF l_debug_mode = 'Y' THEN
270: pa_debug.g_err_stage:='Extending input params';
271: print_msg(pa_debug.g_err_stage,l_module_name);
272: END IF;
273: x_rbs_element_id_tbl := SYSTEM.PA_NUM_TBL_TYPE();
274: x_txn_accum_header_id_tbl := SYSTEM.PA_NUM_TBL_TYPE();
275: x_mfc_cost_type_id_old_tbl := SYSTEM.PA_NUM_TBL_TYPE();

Line 308: pa_debug.g_err_stage:='0 rows returned by c_plan_ver_settings_csr';

304: FETCH c_plan_ver_settings_csr INTO l_plan_ver_settings_rec;
305: IF c_plan_ver_settings_csr%NOTFOUND THEN
306:
307: IF l_debug_mode = 'Y' THEN
308: pa_debug.g_err_stage:='0 rows returned by c_plan_ver_settings_csr';
309: pa_debug.write(l_module_name,pa_debug.g_err_stage, 5);
310: END IF;
311: CLOSE c_plan_ver_settings_csr;
312: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;

Line 309: pa_debug.write(l_module_name,pa_debug.g_err_stage, 5);

305: IF c_plan_ver_settings_csr%NOTFOUND THEN
306:
307: IF l_debug_mode = 'Y' THEN
308: pa_debug.g_err_stage:='0 rows returned by c_plan_ver_settings_csr';
309: pa_debug.write(l_module_name,pa_debug.g_err_stage, 5);
310: END IF;
311: CLOSE c_plan_ver_settings_csr;
312: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
313:

Line 356: pa_debug.g_err_stage:='p_project_role_id_tbl('||i||') is '||p_project_role_id_tbl(i);

352: --dbms_output.put_line('6.2 '||p_resource_assignment_id_tbl(i) );
353:
354: IF l_debug_mode = 'Y' THEN
355:
356: pa_debug.g_err_stage:='p_project_role_id_tbl('||i||') is '||p_project_role_id_tbl(i);
357: print_msg(pa_debug.g_err_stage,l_module_name);
358: pa_debug.g_err_stage:='p_resource_list_member_id_tbl('||i||') is '||p_resource_list_member_id_tbl(i);
359: print_msg(pa_debug.g_err_stage,l_module_name);
360: pa_debug.g_err_stage:='p_planning_start_date_tbl('||i||') is '||p_planning_start_date_tbl(i);

Line 357: print_msg(pa_debug.g_err_stage,l_module_name);

353:
354: IF l_debug_mode = 'Y' THEN
355:
356: pa_debug.g_err_stage:='p_project_role_id_tbl('||i||') is '||p_project_role_id_tbl(i);
357: print_msg(pa_debug.g_err_stage,l_module_name);
358: pa_debug.g_err_stage:='p_resource_list_member_id_tbl('||i||') is '||p_resource_list_member_id_tbl(i);
359: print_msg(pa_debug.g_err_stage,l_module_name);
360: pa_debug.g_err_stage:='p_planning_start_date_tbl('||i||') is '||p_planning_start_date_tbl(i);
361: print_msg(pa_debug.g_err_stage,l_module_name);

Line 358: pa_debug.g_err_stage:='p_resource_list_member_id_tbl('||i||') is '||p_resource_list_member_id_tbl(i);

354: IF l_debug_mode = 'Y' THEN
355:
356: pa_debug.g_err_stage:='p_project_role_id_tbl('||i||') is '||p_project_role_id_tbl(i);
357: print_msg(pa_debug.g_err_stage,l_module_name);
358: pa_debug.g_err_stage:='p_resource_list_member_id_tbl('||i||') is '||p_resource_list_member_id_tbl(i);
359: print_msg(pa_debug.g_err_stage,l_module_name);
360: pa_debug.g_err_stage:='p_planning_start_date_tbl('||i||') is '||p_planning_start_date_tbl(i);
361: print_msg(pa_debug.g_err_stage,l_module_name);
362: pa_debug.g_err_stage:='p_planning_end_date_tbl('||i||') is '||p_planning_end_date_tbl(i);

Line 359: print_msg(pa_debug.g_err_stage,l_module_name);

355:
356: pa_debug.g_err_stage:='p_project_role_id_tbl('||i||') is '||p_project_role_id_tbl(i);
357: print_msg(pa_debug.g_err_stage,l_module_name);
358: pa_debug.g_err_stage:='p_resource_list_member_id_tbl('||i||') is '||p_resource_list_member_id_tbl(i);
359: print_msg(pa_debug.g_err_stage,l_module_name);
360: pa_debug.g_err_stage:='p_planning_start_date_tbl('||i||') is '||p_planning_start_date_tbl(i);
361: print_msg(pa_debug.g_err_stage,l_module_name);
362: pa_debug.g_err_stage:='p_planning_end_date_tbl('||i||') is '||p_planning_end_date_tbl(i);
363: print_msg(pa_debug.g_err_stage,l_module_name);

Line 360: pa_debug.g_err_stage:='p_planning_start_date_tbl('||i||') is '||p_planning_start_date_tbl(i);

356: pa_debug.g_err_stage:='p_project_role_id_tbl('||i||') is '||p_project_role_id_tbl(i);
357: print_msg(pa_debug.g_err_stage,l_module_name);
358: pa_debug.g_err_stage:='p_resource_list_member_id_tbl('||i||') is '||p_resource_list_member_id_tbl(i);
359: print_msg(pa_debug.g_err_stage,l_module_name);
360: pa_debug.g_err_stage:='p_planning_start_date_tbl('||i||') is '||p_planning_start_date_tbl(i);
361: print_msg(pa_debug.g_err_stage,l_module_name);
362: pa_debug.g_err_stage:='p_planning_end_date_tbl('||i||') is '||p_planning_end_date_tbl(i);
363: print_msg(pa_debug.g_err_stage,l_module_name);
364: pa_debug.g_err_stage:='p_spread_curve_id_tbl('||i||') is '||p_spread_curve_id_tbl(i);

Line 361: print_msg(pa_debug.g_err_stage,l_module_name);

357: print_msg(pa_debug.g_err_stage,l_module_name);
358: pa_debug.g_err_stage:='p_resource_list_member_id_tbl('||i||') is '||p_resource_list_member_id_tbl(i);
359: print_msg(pa_debug.g_err_stage,l_module_name);
360: pa_debug.g_err_stage:='p_planning_start_date_tbl('||i||') is '||p_planning_start_date_tbl(i);
361: print_msg(pa_debug.g_err_stage,l_module_name);
362: pa_debug.g_err_stage:='p_planning_end_date_tbl('||i||') is '||p_planning_end_date_tbl(i);
363: print_msg(pa_debug.g_err_stage,l_module_name);
364: pa_debug.g_err_stage:='p_spread_curve_id_tbl('||i||') is '||p_spread_curve_id_tbl(i);
365: print_msg(pa_debug.g_err_stage,l_module_name);

Line 362: pa_debug.g_err_stage:='p_planning_end_date_tbl('||i||') is '||p_planning_end_date_tbl(i);

358: pa_debug.g_err_stage:='p_resource_list_member_id_tbl('||i||') is '||p_resource_list_member_id_tbl(i);
359: print_msg(pa_debug.g_err_stage,l_module_name);
360: pa_debug.g_err_stage:='p_planning_start_date_tbl('||i||') is '||p_planning_start_date_tbl(i);
361: print_msg(pa_debug.g_err_stage,l_module_name);
362: pa_debug.g_err_stage:='p_planning_end_date_tbl('||i||') is '||p_planning_end_date_tbl(i);
363: print_msg(pa_debug.g_err_stage,l_module_name);
364: pa_debug.g_err_stage:='p_spread_curve_id_tbl('||i||') is '||p_spread_curve_id_tbl(i);
365: print_msg(pa_debug.g_err_stage,l_module_name);
366: pa_debug.g_err_stage:='p_sp_fixed_date_tbl('||i||') is '||p_sp_fixed_date_tbl(i);

Line 363: print_msg(pa_debug.g_err_stage,l_module_name);

359: print_msg(pa_debug.g_err_stage,l_module_name);
360: pa_debug.g_err_stage:='p_planning_start_date_tbl('||i||') is '||p_planning_start_date_tbl(i);
361: print_msg(pa_debug.g_err_stage,l_module_name);
362: pa_debug.g_err_stage:='p_planning_end_date_tbl('||i||') is '||p_planning_end_date_tbl(i);
363: print_msg(pa_debug.g_err_stage,l_module_name);
364: pa_debug.g_err_stage:='p_spread_curve_id_tbl('||i||') is '||p_spread_curve_id_tbl(i);
365: print_msg(pa_debug.g_err_stage,l_module_name);
366: pa_debug.g_err_stage:='p_sp_fixed_date_tbl('||i||') is '||p_sp_fixed_date_tbl(i);
367: print_msg(pa_debug.g_err_stage,l_module_name);

Line 364: pa_debug.g_err_stage:='p_spread_curve_id_tbl('||i||') is '||p_spread_curve_id_tbl(i);

360: pa_debug.g_err_stage:='p_planning_start_date_tbl('||i||') is '||p_planning_start_date_tbl(i);
361: print_msg(pa_debug.g_err_stage,l_module_name);
362: pa_debug.g_err_stage:='p_planning_end_date_tbl('||i||') is '||p_planning_end_date_tbl(i);
363: print_msg(pa_debug.g_err_stage,l_module_name);
364: pa_debug.g_err_stage:='p_spread_curve_id_tbl('||i||') is '||p_spread_curve_id_tbl(i);
365: print_msg(pa_debug.g_err_stage,l_module_name);
366: pa_debug.g_err_stage:='p_sp_fixed_date_tbl('||i||') is '||p_sp_fixed_date_tbl(i);
367: print_msg(pa_debug.g_err_stage,l_module_name);
368: pa_debug.g_err_stage:='p_mfc_cost_type_id_tbl('||i||') is '||p_mfc_cost_type_id_tbl(i);

Line 365: print_msg(pa_debug.g_err_stage,l_module_name);

361: print_msg(pa_debug.g_err_stage,l_module_name);
362: pa_debug.g_err_stage:='p_planning_end_date_tbl('||i||') is '||p_planning_end_date_tbl(i);
363: print_msg(pa_debug.g_err_stage,l_module_name);
364: pa_debug.g_err_stage:='p_spread_curve_id_tbl('||i||') is '||p_spread_curve_id_tbl(i);
365: print_msg(pa_debug.g_err_stage,l_module_name);
366: pa_debug.g_err_stage:='p_sp_fixed_date_tbl('||i||') is '||p_sp_fixed_date_tbl(i);
367: print_msg(pa_debug.g_err_stage,l_module_name);
368: pa_debug.g_err_stage:='p_mfc_cost_type_id_tbl('||i||') is '||p_mfc_cost_type_id_tbl(i);
369: print_msg(pa_debug.g_err_stage,l_module_name);

Line 366: pa_debug.g_err_stage:='p_sp_fixed_date_tbl('||i||') is '||p_sp_fixed_date_tbl(i);

362: pa_debug.g_err_stage:='p_planning_end_date_tbl('||i||') is '||p_planning_end_date_tbl(i);
363: print_msg(pa_debug.g_err_stage,l_module_name);
364: pa_debug.g_err_stage:='p_spread_curve_id_tbl('||i||') is '||p_spread_curve_id_tbl(i);
365: print_msg(pa_debug.g_err_stage,l_module_name);
366: pa_debug.g_err_stage:='p_sp_fixed_date_tbl('||i||') is '||p_sp_fixed_date_tbl(i);
367: print_msg(pa_debug.g_err_stage,l_module_name);
368: pa_debug.g_err_stage:='p_mfc_cost_type_id_tbl('||i||') is '||p_mfc_cost_type_id_tbl(i);
369: print_msg(pa_debug.g_err_stage,l_module_name);
370:

Line 367: print_msg(pa_debug.g_err_stage,l_module_name);

363: print_msg(pa_debug.g_err_stage,l_module_name);
364: pa_debug.g_err_stage:='p_spread_curve_id_tbl('||i||') is '||p_spread_curve_id_tbl(i);
365: print_msg(pa_debug.g_err_stage,l_module_name);
366: pa_debug.g_err_stage:='p_sp_fixed_date_tbl('||i||') is '||p_sp_fixed_date_tbl(i);
367: print_msg(pa_debug.g_err_stage,l_module_name);
368: pa_debug.g_err_stage:='p_mfc_cost_type_id_tbl('||i||') is '||p_mfc_cost_type_id_tbl(i);
369: print_msg(pa_debug.g_err_stage,l_module_name);
370:
371:

Line 368: pa_debug.g_err_stage:='p_mfc_cost_type_id_tbl('||i||') is '||p_mfc_cost_type_id_tbl(i);

364: pa_debug.g_err_stage:='p_spread_curve_id_tbl('||i||') is '||p_spread_curve_id_tbl(i);
365: print_msg(pa_debug.g_err_stage,l_module_name);
366: pa_debug.g_err_stage:='p_sp_fixed_date_tbl('||i||') is '||p_sp_fixed_date_tbl(i);
367: print_msg(pa_debug.g_err_stage,l_module_name);
368: pa_debug.g_err_stage:='p_mfc_cost_type_id_tbl('||i||') is '||p_mfc_cost_type_id_tbl(i);
369: print_msg(pa_debug.g_err_stage,l_module_name);
370:
371:
372: END IF;

Line 369: print_msg(pa_debug.g_err_stage,l_module_name);

365: print_msg(pa_debug.g_err_stage,l_module_name);
366: pa_debug.g_err_stage:='p_sp_fixed_date_tbl('||i||') is '||p_sp_fixed_date_tbl(i);
367: print_msg(pa_debug.g_err_stage,l_module_name);
368: pa_debug.g_err_stage:='p_mfc_cost_type_id_tbl('||i||') is '||p_mfc_cost_type_id_tbl(i);
369: print_msg(pa_debug.g_err_stage,l_module_name);
370:
371:
372: END IF;
373:

Line 386: pa_debug.g_err_stage:='All the resource attrs passed are NULL and hence No change. Not firing the Select';

382: p_sp_fixed_date_tbl(i) IS NULL AND
383: p_mfc_cost_type_id_tbl(i) IS NULL THEN
384:
385: IF l_debug_mode = 'Y' THEN
386: pa_debug.g_err_stage:='All the resource attrs passed are NULL and hence No change. Not firing the Select';
387: print_msg(pa_debug.g_err_stage,l_module_name);
388: END IF;
389:
390: x_mfc_cost_type_id_old_tbl(i) := NULL;

Line 387: print_msg(pa_debug.g_err_stage,l_module_name);

383: p_mfc_cost_type_id_tbl(i) IS NULL THEN
384:
385: IF l_debug_mode = 'Y' THEN
386: pa_debug.g_err_stage:='All the resource attrs passed are NULL and hence No change. Not firing the Select';
387: print_msg(pa_debug.g_err_stage,l_module_name);
388: END IF;
389:
390: x_mfc_cost_type_id_old_tbl(i) := NULL;
391: x_mfc_cost_type_id_new_tbl(i) := NULL;

Line 509: pa_debug.g_err_stage:='x_rlm_id_change_flag_tbl('||i||') is '||x_rlm_id_change_flag_tbl(i);

505: WHERE pra.resource_assignment_id=p_resource_assignment_id_tbl(i);
506:
507: IF l_debug_mode = 'Y' THEN
508:
509: pa_debug.g_err_stage:='x_rlm_id_change_flag_tbl('||i||') is '||x_rlm_id_change_flag_tbl(i);
510: print_msg(pa_debug.g_err_stage,l_module_name);
511: pa_debug.g_err_stage:='x_mfc_cost_type_id_old_tbl('||i||') is '||x_mfc_cost_type_id_old_tbl(i);
512: print_msg(pa_debug.g_err_stage,l_module_name);
513: pa_debug.g_err_stage:='x_mfc_cost_type_id_new_tbl('||i||') is '||x_mfc_cost_type_id_new_tbl(i);

Line 510: print_msg(pa_debug.g_err_stage,l_module_name);

506:
507: IF l_debug_mode = 'Y' THEN
508:
509: pa_debug.g_err_stage:='x_rlm_id_change_flag_tbl('||i||') is '||x_rlm_id_change_flag_tbl(i);
510: print_msg(pa_debug.g_err_stage,l_module_name);
511: pa_debug.g_err_stage:='x_mfc_cost_type_id_old_tbl('||i||') is '||x_mfc_cost_type_id_old_tbl(i);
512: print_msg(pa_debug.g_err_stage,l_module_name);
513: pa_debug.g_err_stage:='x_mfc_cost_type_id_new_tbl('||i||') is '||x_mfc_cost_type_id_new_tbl(i);
514: print_msg(pa_debug.g_err_stage,l_module_name);

Line 511: pa_debug.g_err_stage:='x_mfc_cost_type_id_old_tbl('||i||') is '||x_mfc_cost_type_id_old_tbl(i);

507: IF l_debug_mode = 'Y' THEN
508:
509: pa_debug.g_err_stage:='x_rlm_id_change_flag_tbl('||i||') is '||x_rlm_id_change_flag_tbl(i);
510: print_msg(pa_debug.g_err_stage,l_module_name);
511: pa_debug.g_err_stage:='x_mfc_cost_type_id_old_tbl('||i||') is '||x_mfc_cost_type_id_old_tbl(i);
512: print_msg(pa_debug.g_err_stage,l_module_name);
513: pa_debug.g_err_stage:='x_mfc_cost_type_id_new_tbl('||i||') is '||x_mfc_cost_type_id_new_tbl(i);
514: print_msg(pa_debug.g_err_stage,l_module_name);
515: pa_debug.g_err_stage:='x_spread_curve_id_old_tbl('||i||') is '||x_spread_curve_id_old_tbl(i);

Line 512: print_msg(pa_debug.g_err_stage,l_module_name);

508:
509: pa_debug.g_err_stage:='x_rlm_id_change_flag_tbl('||i||') is '||x_rlm_id_change_flag_tbl(i);
510: print_msg(pa_debug.g_err_stage,l_module_name);
511: pa_debug.g_err_stage:='x_mfc_cost_type_id_old_tbl('||i||') is '||x_mfc_cost_type_id_old_tbl(i);
512: print_msg(pa_debug.g_err_stage,l_module_name);
513: pa_debug.g_err_stage:='x_mfc_cost_type_id_new_tbl('||i||') is '||x_mfc_cost_type_id_new_tbl(i);
514: print_msg(pa_debug.g_err_stage,l_module_name);
515: pa_debug.g_err_stage:='x_spread_curve_id_old_tbl('||i||') is '||x_spread_curve_id_old_tbl(i);
516: print_msg(pa_debug.g_err_stage,l_module_name);

Line 513: pa_debug.g_err_stage:='x_mfc_cost_type_id_new_tbl('||i||') is '||x_mfc_cost_type_id_new_tbl(i);

509: pa_debug.g_err_stage:='x_rlm_id_change_flag_tbl('||i||') is '||x_rlm_id_change_flag_tbl(i);
510: print_msg(pa_debug.g_err_stage,l_module_name);
511: pa_debug.g_err_stage:='x_mfc_cost_type_id_old_tbl('||i||') is '||x_mfc_cost_type_id_old_tbl(i);
512: print_msg(pa_debug.g_err_stage,l_module_name);
513: pa_debug.g_err_stage:='x_mfc_cost_type_id_new_tbl('||i||') is '||x_mfc_cost_type_id_new_tbl(i);
514: print_msg(pa_debug.g_err_stage,l_module_name);
515: pa_debug.g_err_stage:='x_spread_curve_id_old_tbl('||i||') is '||x_spread_curve_id_old_tbl(i);
516: print_msg(pa_debug.g_err_stage,l_module_name);
517: pa_debug.g_err_stage:='x_spread_curve_id_new_tbl('||i||') is '||x_spread_curve_id_new_tbl(i);

Line 514: print_msg(pa_debug.g_err_stage,l_module_name);

510: print_msg(pa_debug.g_err_stage,l_module_name);
511: pa_debug.g_err_stage:='x_mfc_cost_type_id_old_tbl('||i||') is '||x_mfc_cost_type_id_old_tbl(i);
512: print_msg(pa_debug.g_err_stage,l_module_name);
513: pa_debug.g_err_stage:='x_mfc_cost_type_id_new_tbl('||i||') is '||x_mfc_cost_type_id_new_tbl(i);
514: print_msg(pa_debug.g_err_stage,l_module_name);
515: pa_debug.g_err_stage:='x_spread_curve_id_old_tbl('||i||') is '||x_spread_curve_id_old_tbl(i);
516: print_msg(pa_debug.g_err_stage,l_module_name);
517: pa_debug.g_err_stage:='x_spread_curve_id_new_tbl('||i||') is '||x_spread_curve_id_new_tbl(i);
518: print_msg(pa_debug.g_err_stage,l_module_name);

Line 515: pa_debug.g_err_stage:='x_spread_curve_id_old_tbl('||i||') is '||x_spread_curve_id_old_tbl(i);

511: pa_debug.g_err_stage:='x_mfc_cost_type_id_old_tbl('||i||') is '||x_mfc_cost_type_id_old_tbl(i);
512: print_msg(pa_debug.g_err_stage,l_module_name);
513: pa_debug.g_err_stage:='x_mfc_cost_type_id_new_tbl('||i||') is '||x_mfc_cost_type_id_new_tbl(i);
514: print_msg(pa_debug.g_err_stage,l_module_name);
515: pa_debug.g_err_stage:='x_spread_curve_id_old_tbl('||i||') is '||x_spread_curve_id_old_tbl(i);
516: print_msg(pa_debug.g_err_stage,l_module_name);
517: pa_debug.g_err_stage:='x_spread_curve_id_new_tbl('||i||') is '||x_spread_curve_id_new_tbl(i);
518: print_msg(pa_debug.g_err_stage,l_module_name);
519: pa_debug.g_err_stage:='x_sp_fixed_date_old_tbl('||i||') is '||x_sp_fixed_date_old_tbl(i);

Line 516: print_msg(pa_debug.g_err_stage,l_module_name);

512: print_msg(pa_debug.g_err_stage,l_module_name);
513: pa_debug.g_err_stage:='x_mfc_cost_type_id_new_tbl('||i||') is '||x_mfc_cost_type_id_new_tbl(i);
514: print_msg(pa_debug.g_err_stage,l_module_name);
515: pa_debug.g_err_stage:='x_spread_curve_id_old_tbl('||i||') is '||x_spread_curve_id_old_tbl(i);
516: print_msg(pa_debug.g_err_stage,l_module_name);
517: pa_debug.g_err_stage:='x_spread_curve_id_new_tbl('||i||') is '||x_spread_curve_id_new_tbl(i);
518: print_msg(pa_debug.g_err_stage,l_module_name);
519: pa_debug.g_err_stage:='x_sp_fixed_date_old_tbl('||i||') is '||x_sp_fixed_date_old_tbl(i);
520: print_msg(pa_debug.g_err_stage,l_module_name);

Line 517: pa_debug.g_err_stage:='x_spread_curve_id_new_tbl('||i||') is '||x_spread_curve_id_new_tbl(i);

513: pa_debug.g_err_stage:='x_mfc_cost_type_id_new_tbl('||i||') is '||x_mfc_cost_type_id_new_tbl(i);
514: print_msg(pa_debug.g_err_stage,l_module_name);
515: pa_debug.g_err_stage:='x_spread_curve_id_old_tbl('||i||') is '||x_spread_curve_id_old_tbl(i);
516: print_msg(pa_debug.g_err_stage,l_module_name);
517: pa_debug.g_err_stage:='x_spread_curve_id_new_tbl('||i||') is '||x_spread_curve_id_new_tbl(i);
518: print_msg(pa_debug.g_err_stage,l_module_name);
519: pa_debug.g_err_stage:='x_sp_fixed_date_old_tbl('||i||') is '||x_sp_fixed_date_old_tbl(i);
520: print_msg(pa_debug.g_err_stage,l_module_name);
521: pa_debug.g_err_stage:='x_sp_fixed_date_new_tbl('||i||') is '||x_sp_fixed_date_new_tbl(i);

Line 518: print_msg(pa_debug.g_err_stage,l_module_name);

514: print_msg(pa_debug.g_err_stage,l_module_name);
515: pa_debug.g_err_stage:='x_spread_curve_id_old_tbl('||i||') is '||x_spread_curve_id_old_tbl(i);
516: print_msg(pa_debug.g_err_stage,l_module_name);
517: pa_debug.g_err_stage:='x_spread_curve_id_new_tbl('||i||') is '||x_spread_curve_id_new_tbl(i);
518: print_msg(pa_debug.g_err_stage,l_module_name);
519: pa_debug.g_err_stage:='x_sp_fixed_date_old_tbl('||i||') is '||x_sp_fixed_date_old_tbl(i);
520: print_msg(pa_debug.g_err_stage,l_module_name);
521: pa_debug.g_err_stage:='x_sp_fixed_date_new_tbl('||i||') is '||x_sp_fixed_date_new_tbl(i);
522: print_msg(pa_debug.g_err_stage,l_module_name);

Line 519: pa_debug.g_err_stage:='x_sp_fixed_date_old_tbl('||i||') is '||x_sp_fixed_date_old_tbl(i);

515: pa_debug.g_err_stage:='x_spread_curve_id_old_tbl('||i||') is '||x_spread_curve_id_old_tbl(i);
516: print_msg(pa_debug.g_err_stage,l_module_name);
517: pa_debug.g_err_stage:='x_spread_curve_id_new_tbl('||i||') is '||x_spread_curve_id_new_tbl(i);
518: print_msg(pa_debug.g_err_stage,l_module_name);
519: pa_debug.g_err_stage:='x_sp_fixed_date_old_tbl('||i||') is '||x_sp_fixed_date_old_tbl(i);
520: print_msg(pa_debug.g_err_stage,l_module_name);
521: pa_debug.g_err_stage:='x_sp_fixed_date_new_tbl('||i||') is '||x_sp_fixed_date_new_tbl(i);
522: print_msg(pa_debug.g_err_stage,l_module_name);
523: pa_debug.g_err_stage:='x_plan_start_date_old_tbl('||i||') is '||x_plan_start_date_old_tbl(i);

Line 520: print_msg(pa_debug.g_err_stage,l_module_name);

516: print_msg(pa_debug.g_err_stage,l_module_name);
517: pa_debug.g_err_stage:='x_spread_curve_id_new_tbl('||i||') is '||x_spread_curve_id_new_tbl(i);
518: print_msg(pa_debug.g_err_stage,l_module_name);
519: pa_debug.g_err_stage:='x_sp_fixed_date_old_tbl('||i||') is '||x_sp_fixed_date_old_tbl(i);
520: print_msg(pa_debug.g_err_stage,l_module_name);
521: pa_debug.g_err_stage:='x_sp_fixed_date_new_tbl('||i||') is '||x_sp_fixed_date_new_tbl(i);
522: print_msg(pa_debug.g_err_stage,l_module_name);
523: pa_debug.g_err_stage:='x_plan_start_date_old_tbl('||i||') is '||x_plan_start_date_old_tbl(i);
524: print_msg(pa_debug.g_err_stage,l_module_name);

Line 521: pa_debug.g_err_stage:='x_sp_fixed_date_new_tbl('||i||') is '||x_sp_fixed_date_new_tbl(i);

517: pa_debug.g_err_stage:='x_spread_curve_id_new_tbl('||i||') is '||x_spread_curve_id_new_tbl(i);
518: print_msg(pa_debug.g_err_stage,l_module_name);
519: pa_debug.g_err_stage:='x_sp_fixed_date_old_tbl('||i||') is '||x_sp_fixed_date_old_tbl(i);
520: print_msg(pa_debug.g_err_stage,l_module_name);
521: pa_debug.g_err_stage:='x_sp_fixed_date_new_tbl('||i||') is '||x_sp_fixed_date_new_tbl(i);
522: print_msg(pa_debug.g_err_stage,l_module_name);
523: pa_debug.g_err_stage:='x_plan_start_date_old_tbl('||i||') is '||x_plan_start_date_old_tbl(i);
524: print_msg(pa_debug.g_err_stage,l_module_name);
525: pa_debug.g_err_stage:='x_plan_start_date_new_tbl('||i||') is '||x_plan_start_date_new_tbl(i);

Line 522: print_msg(pa_debug.g_err_stage,l_module_name);

518: print_msg(pa_debug.g_err_stage,l_module_name);
519: pa_debug.g_err_stage:='x_sp_fixed_date_old_tbl('||i||') is '||x_sp_fixed_date_old_tbl(i);
520: print_msg(pa_debug.g_err_stage,l_module_name);
521: pa_debug.g_err_stage:='x_sp_fixed_date_new_tbl('||i||') is '||x_sp_fixed_date_new_tbl(i);
522: print_msg(pa_debug.g_err_stage,l_module_name);
523: pa_debug.g_err_stage:='x_plan_start_date_old_tbl('||i||') is '||x_plan_start_date_old_tbl(i);
524: print_msg(pa_debug.g_err_stage,l_module_name);
525: pa_debug.g_err_stage:='x_plan_start_date_new_tbl('||i||') is '||x_plan_start_date_new_tbl(i);
526: print_msg(pa_debug.g_err_stage,l_module_name);

Line 523: pa_debug.g_err_stage:='x_plan_start_date_old_tbl('||i||') is '||x_plan_start_date_old_tbl(i);

519: pa_debug.g_err_stage:='x_sp_fixed_date_old_tbl('||i||') is '||x_sp_fixed_date_old_tbl(i);
520: print_msg(pa_debug.g_err_stage,l_module_name);
521: pa_debug.g_err_stage:='x_sp_fixed_date_new_tbl('||i||') is '||x_sp_fixed_date_new_tbl(i);
522: print_msg(pa_debug.g_err_stage,l_module_name);
523: pa_debug.g_err_stage:='x_plan_start_date_old_tbl('||i||') is '||x_plan_start_date_old_tbl(i);
524: print_msg(pa_debug.g_err_stage,l_module_name);
525: pa_debug.g_err_stage:='x_plan_start_date_new_tbl('||i||') is '||x_plan_start_date_new_tbl(i);
526: print_msg(pa_debug.g_err_stage,l_module_name);
527: pa_debug.g_err_stage:='x_plan_end_date_old_tbl('||i||') is '||x_plan_end_date_old_tbl(i);

Line 524: print_msg(pa_debug.g_err_stage,l_module_name);

520: print_msg(pa_debug.g_err_stage,l_module_name);
521: pa_debug.g_err_stage:='x_sp_fixed_date_new_tbl('||i||') is '||x_sp_fixed_date_new_tbl(i);
522: print_msg(pa_debug.g_err_stage,l_module_name);
523: pa_debug.g_err_stage:='x_plan_start_date_old_tbl('||i||') is '||x_plan_start_date_old_tbl(i);
524: print_msg(pa_debug.g_err_stage,l_module_name);
525: pa_debug.g_err_stage:='x_plan_start_date_new_tbl('||i||') is '||x_plan_start_date_new_tbl(i);
526: print_msg(pa_debug.g_err_stage,l_module_name);
527: pa_debug.g_err_stage:='x_plan_end_date_old_tbl('||i||') is '||x_plan_end_date_old_tbl(i);
528: print_msg(pa_debug.g_err_stage,l_module_name);

Line 525: pa_debug.g_err_stage:='x_plan_start_date_new_tbl('||i||') is '||x_plan_start_date_new_tbl(i);

521: pa_debug.g_err_stage:='x_sp_fixed_date_new_tbl('||i||') is '||x_sp_fixed_date_new_tbl(i);
522: print_msg(pa_debug.g_err_stage,l_module_name);
523: pa_debug.g_err_stage:='x_plan_start_date_old_tbl('||i||') is '||x_plan_start_date_old_tbl(i);
524: print_msg(pa_debug.g_err_stage,l_module_name);
525: pa_debug.g_err_stage:='x_plan_start_date_new_tbl('||i||') is '||x_plan_start_date_new_tbl(i);
526: print_msg(pa_debug.g_err_stage,l_module_name);
527: pa_debug.g_err_stage:='x_plan_end_date_old_tbl('||i||') is '||x_plan_end_date_old_tbl(i);
528: print_msg(pa_debug.g_err_stage,l_module_name);
529: pa_debug.g_err_stage:='x_plan_end_date_new_tbl('||i||') is '||x_plan_end_date_new_tbl(i);

Line 526: print_msg(pa_debug.g_err_stage,l_module_name);

522: print_msg(pa_debug.g_err_stage,l_module_name);
523: pa_debug.g_err_stage:='x_plan_start_date_old_tbl('||i||') is '||x_plan_start_date_old_tbl(i);
524: print_msg(pa_debug.g_err_stage,l_module_name);
525: pa_debug.g_err_stage:='x_plan_start_date_new_tbl('||i||') is '||x_plan_start_date_new_tbl(i);
526: print_msg(pa_debug.g_err_stage,l_module_name);
527: pa_debug.g_err_stage:='x_plan_end_date_old_tbl('||i||') is '||x_plan_end_date_old_tbl(i);
528: print_msg(pa_debug.g_err_stage,l_module_name);
529: pa_debug.g_err_stage:='x_plan_end_date_new_tbl('||i||') is '||x_plan_end_date_new_tbl(i);
530: print_msg(pa_debug.g_err_stage,l_module_name);

Line 527: pa_debug.g_err_stage:='x_plan_end_date_old_tbl('||i||') is '||x_plan_end_date_old_tbl(i);

523: pa_debug.g_err_stage:='x_plan_start_date_old_tbl('||i||') is '||x_plan_start_date_old_tbl(i);
524: print_msg(pa_debug.g_err_stage,l_module_name);
525: pa_debug.g_err_stage:='x_plan_start_date_new_tbl('||i||') is '||x_plan_start_date_new_tbl(i);
526: print_msg(pa_debug.g_err_stage,l_module_name);
527: pa_debug.g_err_stage:='x_plan_end_date_old_tbl('||i||') is '||x_plan_end_date_old_tbl(i);
528: print_msg(pa_debug.g_err_stage,l_module_name);
529: pa_debug.g_err_stage:='x_plan_end_date_new_tbl('||i||') is '||x_plan_end_date_new_tbl(i);
530: print_msg(pa_debug.g_err_stage,l_module_name);
531:

Line 528: print_msg(pa_debug.g_err_stage,l_module_name);

524: print_msg(pa_debug.g_err_stage,l_module_name);
525: pa_debug.g_err_stage:='x_plan_start_date_new_tbl('||i||') is '||x_plan_start_date_new_tbl(i);
526: print_msg(pa_debug.g_err_stage,l_module_name);
527: pa_debug.g_err_stage:='x_plan_end_date_old_tbl('||i||') is '||x_plan_end_date_old_tbl(i);
528: print_msg(pa_debug.g_err_stage,l_module_name);
529: pa_debug.g_err_stage:='x_plan_end_date_new_tbl('||i||') is '||x_plan_end_date_new_tbl(i);
530: print_msg(pa_debug.g_err_stage,l_module_name);
531:
532:

Line 529: pa_debug.g_err_stage:='x_plan_end_date_new_tbl('||i||') is '||x_plan_end_date_new_tbl(i);

525: pa_debug.g_err_stage:='x_plan_start_date_new_tbl('||i||') is '||x_plan_start_date_new_tbl(i);
526: print_msg(pa_debug.g_err_stage,l_module_name);
527: pa_debug.g_err_stage:='x_plan_end_date_old_tbl('||i||') is '||x_plan_end_date_old_tbl(i);
528: print_msg(pa_debug.g_err_stage,l_module_name);
529: pa_debug.g_err_stage:='x_plan_end_date_new_tbl('||i||') is '||x_plan_end_date_new_tbl(i);
530: print_msg(pa_debug.g_err_stage,l_module_name);
531:
532:
533: END IF;--IF l_debug_mode = 'Y' THEN

Line 530: print_msg(pa_debug.g_err_stage,l_module_name);

526: print_msg(pa_debug.g_err_stage,l_module_name);
527: pa_debug.g_err_stage:='x_plan_end_date_old_tbl('||i||') is '||x_plan_end_date_old_tbl(i);
528: print_msg(pa_debug.g_err_stage,l_module_name);
529: pa_debug.g_err_stage:='x_plan_end_date_new_tbl('||i||') is '||x_plan_end_date_new_tbl(i);
530: print_msg(pa_debug.g_err_stage,l_module_name);
531:
532:
533: END IF;--IF l_debug_mode = 'Y' THEN
534:

Line 542: pa_debug.g_err_stage:='Invalid Planning Start/End Dates';

538: (NVL(x_plan_start_date_new_tbl(i),trunc(sysdate))>NVL(x_plan_end_date_new_tbl(i),trunc(sysdate)))) THEN
539:
540: IF l_debug_mode = 'Y' THEN
541:
542: pa_debug.g_err_stage:='Invalid Planning Start/End Dates';
543: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
544:
545: pa_debug.g_err_stage:='x_plan_start_date_new_tbl('||i||') is '|| x_plan_start_date_new_tbl(i);
546: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);

Line 543: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);

539:
540: IF l_debug_mode = 'Y' THEN
541:
542: pa_debug.g_err_stage:='Invalid Planning Start/End Dates';
543: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
544:
545: pa_debug.g_err_stage:='x_plan_start_date_new_tbl('||i||') is '|| x_plan_start_date_new_tbl(i);
546: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
547:

Line 545: pa_debug.g_err_stage:='x_plan_start_date_new_tbl('||i||') is '|| x_plan_start_date_new_tbl(i);

541:
542: pa_debug.g_err_stage:='Invalid Planning Start/End Dates';
543: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
544:
545: pa_debug.g_err_stage:='x_plan_start_date_new_tbl('||i||') is '|| x_plan_start_date_new_tbl(i);
546: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
547:
548: pa_debug.g_err_stage:='x_plan_end_date_new_tbl('||i||') is '|| x_plan_end_date_new_tbl(i);
549: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);

Line 546: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);

542: pa_debug.g_err_stage:='Invalid Planning Start/End Dates';
543: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
544:
545: pa_debug.g_err_stage:='x_plan_start_date_new_tbl('||i||') is '|| x_plan_start_date_new_tbl(i);
546: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
547:
548: pa_debug.g_err_stage:='x_plan_end_date_new_tbl('||i||') is '|| x_plan_end_date_new_tbl(i);
549: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
550:

Line 548: pa_debug.g_err_stage:='x_plan_end_date_new_tbl('||i||') is '|| x_plan_end_date_new_tbl(i);

544:
545: pa_debug.g_err_stage:='x_plan_start_date_new_tbl('||i||') is '|| x_plan_start_date_new_tbl(i);
546: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
547:
548: pa_debug.g_err_stage:='x_plan_end_date_new_tbl('||i||') is '|| x_plan_end_date_new_tbl(i);
549: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
550:
551: END IF;
552: /*Bug Fix:5752337: The meaningful message should be shown when dates are not entered properly

Line 549: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);

545: pa_debug.g_err_stage:='x_plan_start_date_new_tbl('||i||') is '|| x_plan_start_date_new_tbl(i);
546: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
547:
548: pa_debug.g_err_stage:='x_plan_end_date_new_tbl('||i||') is '|| x_plan_end_date_new_tbl(i);
549: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
550:
551: END IF;
552: /*Bug Fix:5752337: The meaningful message should be shown when dates are not entered properly
553: * made use of exisisting message PA_FP_PLAN_START_END_DATE_ERR which is used in the spread api

Line 594: pa_debug.g_err_stage:='Planning Start/End dates have changed. Validating with Etc Start date';

590: x_plan_end_date_new_tbl(i) <> x_plan_end_date_old_tbl(i)) THEN
591:
592: IF l_debug_mode = 'Y' THEN
593:
594: pa_debug.g_err_stage:='Planning Start/End dates have changed. Validating with Etc Start date';
595: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
596:
597: END IF;
598:

Line 595: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);

591:
592: IF l_debug_mode = 'Y' THEN
593:
594: pa_debug.g_err_stage:='Planning Start/End dates have changed. Validating with Etc Start date';
595: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
596:
597: END IF;
598:
599: SELECT min(start_date), max(end_date)

Line 608: pa_debug.g_err_stage:='x_plan_start_date_new_tbl('||i||') is '||x_plan_start_date_new_tbl(i);

604: AND end_date < l_plan_ver_settings_rec.etc_start_date;
605:
606: IF l_debug_mode = 'Y' THEN
607:
608: pa_debug.g_err_stage:='x_plan_start_date_new_tbl('||i||') is '||x_plan_start_date_new_tbl(i);
609: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
610: pa_debug.g_err_stage:='x_plan_start_date_old_tbl('||i||') is '||x_plan_start_date_old_tbl(i);
611: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
612: pa_debug.g_err_stage:='l_actuals_start_date is '||l_actuals_start_date;

Line 609: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);

605:
606: IF l_debug_mode = 'Y' THEN
607:
608: pa_debug.g_err_stage:='x_plan_start_date_new_tbl('||i||') is '||x_plan_start_date_new_tbl(i);
609: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
610: pa_debug.g_err_stage:='x_plan_start_date_old_tbl('||i||') is '||x_plan_start_date_old_tbl(i);
611: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
612: pa_debug.g_err_stage:='l_actuals_start_date is '||l_actuals_start_date;
613: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);

Line 610: pa_debug.g_err_stage:='x_plan_start_date_old_tbl('||i||') is '||x_plan_start_date_old_tbl(i);

606: IF l_debug_mode = 'Y' THEN
607:
608: pa_debug.g_err_stage:='x_plan_start_date_new_tbl('||i||') is '||x_plan_start_date_new_tbl(i);
609: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
610: pa_debug.g_err_stage:='x_plan_start_date_old_tbl('||i||') is '||x_plan_start_date_old_tbl(i);
611: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
612: pa_debug.g_err_stage:='l_actuals_start_date is '||l_actuals_start_date;
613: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
614: pa_debug.g_err_stage:='x_plan_end_date_new_tbl('||i||') is '||x_plan_end_date_new_tbl(i);

Line 611: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);

607:
608: pa_debug.g_err_stage:='x_plan_start_date_new_tbl('||i||') is '||x_plan_start_date_new_tbl(i);
609: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
610: pa_debug.g_err_stage:='x_plan_start_date_old_tbl('||i||') is '||x_plan_start_date_old_tbl(i);
611: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
612: pa_debug.g_err_stage:='l_actuals_start_date is '||l_actuals_start_date;
613: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
614: pa_debug.g_err_stage:='x_plan_end_date_new_tbl('||i||') is '||x_plan_end_date_new_tbl(i);
615: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);

Line 612: pa_debug.g_err_stage:='l_actuals_start_date is '||l_actuals_start_date;

608: pa_debug.g_err_stage:='x_plan_start_date_new_tbl('||i||') is '||x_plan_start_date_new_tbl(i);
609: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
610: pa_debug.g_err_stage:='x_plan_start_date_old_tbl('||i||') is '||x_plan_start_date_old_tbl(i);
611: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
612: pa_debug.g_err_stage:='l_actuals_start_date is '||l_actuals_start_date;
613: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
614: pa_debug.g_err_stage:='x_plan_end_date_new_tbl('||i||') is '||x_plan_end_date_new_tbl(i);
615: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
616: pa_debug.g_err_stage:='x_plan_end_date_old_tbl('||i||') is '||x_plan_end_date_old_tbl(i);

Line 613: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);

609: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
610: pa_debug.g_err_stage:='x_plan_start_date_old_tbl('||i||') is '||x_plan_start_date_old_tbl(i);
611: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
612: pa_debug.g_err_stage:='l_actuals_start_date is '||l_actuals_start_date;
613: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
614: pa_debug.g_err_stage:='x_plan_end_date_new_tbl('||i||') is '||x_plan_end_date_new_tbl(i);
615: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
616: pa_debug.g_err_stage:='x_plan_end_date_old_tbl('||i||') is '||x_plan_end_date_old_tbl(i);
617: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);

Line 614: pa_debug.g_err_stage:='x_plan_end_date_new_tbl('||i||') is '||x_plan_end_date_new_tbl(i);

610: pa_debug.g_err_stage:='x_plan_start_date_old_tbl('||i||') is '||x_plan_start_date_old_tbl(i);
611: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
612: pa_debug.g_err_stage:='l_actuals_start_date is '||l_actuals_start_date;
613: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
614: pa_debug.g_err_stage:='x_plan_end_date_new_tbl('||i||') is '||x_plan_end_date_new_tbl(i);
615: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
616: pa_debug.g_err_stage:='x_plan_end_date_old_tbl('||i||') is '||x_plan_end_date_old_tbl(i);
617: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
618: pa_debug.g_err_stage:='l_actuals_end_date is '||l_actuals_end_date;

Line 615: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);

611: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
612: pa_debug.g_err_stage:='l_actuals_start_date is '||l_actuals_start_date;
613: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
614: pa_debug.g_err_stage:='x_plan_end_date_new_tbl('||i||') is '||x_plan_end_date_new_tbl(i);
615: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
616: pa_debug.g_err_stage:='x_plan_end_date_old_tbl('||i||') is '||x_plan_end_date_old_tbl(i);
617: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
618: pa_debug.g_err_stage:='l_actuals_end_date is '||l_actuals_end_date;
619: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);

Line 616: pa_debug.g_err_stage:='x_plan_end_date_old_tbl('||i||') is '||x_plan_end_date_old_tbl(i);

612: pa_debug.g_err_stage:='l_actuals_start_date is '||l_actuals_start_date;
613: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
614: pa_debug.g_err_stage:='x_plan_end_date_new_tbl('||i||') is '||x_plan_end_date_new_tbl(i);
615: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
616: pa_debug.g_err_stage:='x_plan_end_date_old_tbl('||i||') is '||x_plan_end_date_old_tbl(i);
617: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
618: pa_debug.g_err_stage:='l_actuals_end_date is '||l_actuals_end_date;
619: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
620:

Line 617: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);

613: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
614: pa_debug.g_err_stage:='x_plan_end_date_new_tbl('||i||') is '||x_plan_end_date_new_tbl(i);
615: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
616: pa_debug.g_err_stage:='x_plan_end_date_old_tbl('||i||') is '||x_plan_end_date_old_tbl(i);
617: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
618: pa_debug.g_err_stage:='l_actuals_end_date is '||l_actuals_end_date;
619: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
620:
621: END IF;

Line 618: pa_debug.g_err_stage:='l_actuals_end_date is '||l_actuals_end_date;

614: pa_debug.g_err_stage:='x_plan_end_date_new_tbl('||i||') is '||x_plan_end_date_new_tbl(i);
615: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
616: pa_debug.g_err_stage:='x_plan_end_date_old_tbl('||i||') is '||x_plan_end_date_old_tbl(i);
617: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
618: pa_debug.g_err_stage:='l_actuals_end_date is '||l_actuals_end_date;
619: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
620:
621: END IF;
622:

Line 619: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);

615: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
616: pa_debug.g_err_stage:='x_plan_end_date_old_tbl('||i||') is '||x_plan_end_date_old_tbl(i);
617: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
618: pa_debug.g_err_stage:='l_actuals_end_date is '||l_actuals_end_date;
619: pa_debug.write(l_module_name ,pa_debug.g_err_stage,3);
620:
621: END IF;
622:
623: --If either x_plan_start_date_new_tbl or x_plan_end_date_start_tbl is not null then all

Line 662: pa_debug.g_err_stage:='Error - cannot nullify sp_fixed_date for Fixed Date Spread curve';

658:
659: IF p_sp_fixed_date_tbl(i) = FND_API.G_MISS_DATE THEN
660:
661: IF l_debug_mode = 'Y' THEN
662: pa_debug.g_err_stage:='Error - cannot nullify sp_fixed_date for Fixed Date Spread curve';
663: print_msg(pa_debug.g_err_stage,l_module_name);
664: END IF;
665:
666: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',

Line 663: print_msg(pa_debug.g_err_stage,l_module_name);

659: IF p_sp_fixed_date_tbl(i) = FND_API.G_MISS_DATE THEN
660:
661: IF l_debug_mode = 'Y' THEN
662: pa_debug.g_err_stage:='Error - cannot nullify sp_fixed_date for Fixed Date Spread curve';
663: print_msg(pa_debug.g_err_stage,l_module_name);
664: END IF;
665:
666: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
667: p_msg_name => 'PA_FP_SP_FIXED_DATE_NULL');

Line 674: pa_debug.g_err_stage :='Sp Fixed Date less than ETC Start date';

670: -- Added for bug 4247427. Fixed Date cannot be less than the etc_start_date
671: ELSIF (l_plan_ver_settings_rec.etc_start_date IS NOT NULL AND (x_sp_fixed_date_new_tbl(i) BETWEEN x_plan_start_date_new_tbl(i) AND x_plan_end_date_new_tbl(i))) THEN
672: IF (x_sp_fixed_date_new_tbl(i) < l_plan_ver_settings_rec.etc_start_date) THEN
673: IF l_debug_mode = 'Y' THEN
674: pa_debug.g_err_stage :='Sp Fixed Date less than ETC Start date';
675: print_msg(pa_debug.g_err_stage,l_module_name);
676: END IF;
677: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
678: p_msg_name => 'PA_FP_SP_FIXED_DATE_LESS');

Line 675: print_msg(pa_debug.g_err_stage,l_module_name);

671: ELSIF (l_plan_ver_settings_rec.etc_start_date IS NOT NULL AND (x_sp_fixed_date_new_tbl(i) BETWEEN x_plan_start_date_new_tbl(i) AND x_plan_end_date_new_tbl(i))) THEN
672: IF (x_sp_fixed_date_new_tbl(i) < l_plan_ver_settings_rec.etc_start_date) THEN
673: IF l_debug_mode = 'Y' THEN
674: pa_debug.g_err_stage :='Sp Fixed Date less than ETC Start date';
675: print_msg(pa_debug.g_err_stage,l_module_name);
676: END IF;
677: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
678: p_msg_name => 'PA_FP_SP_FIXED_DATE_LESS');
679: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;

Line 685: pa_debug.g_err_stage :='Sp Fixed Date not between planning start date and End Date';

681:
682: ELSIF (x_sp_fixed_date_new_tbl(i) NOT BETWEEN x_plan_start_date_new_tbl(i) AND x_plan_end_date_new_tbl(i)) THEN
683:
684: IF l_debug_mode = 'Y' THEN
685: pa_debug.g_err_stage :='Sp Fixed Date not between planning start date and End Date';
686: print_msg(pa_debug.g_err_stage,l_module_name);
687: END IF;
688:
689: -- Added for Bug 3762278

Line 686: print_msg(pa_debug.g_err_stage,l_module_name);

682: ELSIF (x_sp_fixed_date_new_tbl(i) NOT BETWEEN x_plan_start_date_new_tbl(i) AND x_plan_end_date_new_tbl(i)) THEN
683:
684: IF l_debug_mode = 'Y' THEN
685: pa_debug.g_err_stage :='Sp Fixed Date not between planning start date and End Date';
686: print_msg(pa_debug.g_err_stage,l_module_name);
687: END IF;
688:
689: -- Added for Bug 3762278
690: -- fetching details for message tokens

Line 710: pa_debug.g_err_stage :='Invalid Data PA_FP_FIXED_DATE_NOT_MATCH will have no tokens';

706: AND prl.resource_list_member_id = pra.resource_list_member_id;
707: EXCEPTION
708: WHEN NO_DATA_FOUND THEN
709: IF l_debug_mode = 'Y' THEN
710: pa_debug.g_err_stage :='Invalid Data PA_FP_FIXED_DATE_NOT_MATCH will have no tokens';
711: print_msg(pa_debug.g_err_stage,l_module_name);
712: END IF;
713: NULL;
714: END;

Line 711: print_msg(pa_debug.g_err_stage,l_module_name);

707: EXCEPTION
708: WHEN NO_DATA_FOUND THEN
709: IF l_debug_mode = 'Y' THEN
710: pa_debug.g_err_stage :='Invalid Data PA_FP_FIXED_DATE_NOT_MATCH will have no tokens';
711: print_msg(pa_debug.g_err_stage,l_module_name);
712: END IF;
713: NULL;
714: END;
715:

Line 736: pa_debug.g_err_stage:='Spread curve id not chosen to be updated and value in db for..';

732: ELSE
733: -- if the Final Value of spread curve id is either null or not equal to fixed date
734: -- spread curve then the sp fixed date should be nulled out if it is not already null.
735: IF l_debug_mode = 'Y' THEN
736: pa_debug.g_err_stage:='Spread curve id not chosen to be updated and value in db for..';
737: print_msg(pa_debug.g_err_stage,l_module_name);
738: pa_debug.g_err_stage:='..spread curve id is either null or <> to fixed date spread curve id';
739: print_msg(pa_debug.g_err_stage,l_module_name);
740: END IF;

Line 737: print_msg(pa_debug.g_err_stage,l_module_name);

733: -- if the Final Value of spread curve id is either null or not equal to fixed date
734: -- spread curve then the sp fixed date should be nulled out if it is not already null.
735: IF l_debug_mode = 'Y' THEN
736: pa_debug.g_err_stage:='Spread curve id not chosen to be updated and value in db for..';
737: print_msg(pa_debug.g_err_stage,l_module_name);
738: pa_debug.g_err_stage:='..spread curve id is either null or <> to fixed date spread curve id';
739: print_msg(pa_debug.g_err_stage,l_module_name);
740: END IF;
741:

Line 738: pa_debug.g_err_stage:='..spread curve id is either null or <> to fixed date spread curve id';

734: -- spread curve then the sp fixed date should be nulled out if it is not already null.
735: IF l_debug_mode = 'Y' THEN
736: pa_debug.g_err_stage:='Spread curve id not chosen to be updated and value in db for..';
737: print_msg(pa_debug.g_err_stage,l_module_name);
738: pa_debug.g_err_stage:='..spread curve id is either null or <> to fixed date spread curve id';
739: print_msg(pa_debug.g_err_stage,l_module_name);
740: END IF;
741:
742: IF x_sp_fixed_date_old_tbl(i) IS NOT NULL THEN

Line 739: print_msg(pa_debug.g_err_stage,l_module_name);

735: IF l_debug_mode = 'Y' THEN
736: pa_debug.g_err_stage:='Spread curve id not chosen to be updated and value in db for..';
737: print_msg(pa_debug.g_err_stage,l_module_name);
738: pa_debug.g_err_stage:='..spread curve id is either null or <> to fixed date spread curve id';
739: print_msg(pa_debug.g_err_stage,l_module_name);
740: END IF;
741:
742: IF x_sp_fixed_date_old_tbl(i) IS NOT NULL THEN
743:

Line 758: pa_debug.g_err_stage:='Finding out whether the RBS re-derivation is required or NOT';

754:
755: --RBS element Id should be re-derived if the rlm id/Project Role Id have changed.
756: --dbms_output.put_line('7');
757: IF l_debug_mode = 'Y' THEN
758: pa_debug.g_err_stage:='Finding out whether the RBS re-derivation is required or NOT';
759: print_msg(pa_debug.g_err_stage,l_module_name);
760: END IF;
761:
762: IF x_rlm_id_change_flag_tbl(i)='Y' THEN

Line 759: print_msg(pa_debug.g_err_stage,l_module_name);

755: --RBS element Id should be re-derived if the rlm id/Project Role Id have changed.
756: --dbms_output.put_line('7');
757: IF l_debug_mode = 'Y' THEN
758: pa_debug.g_err_stage:='Finding out whether the RBS re-derivation is required or NOT';
759: print_msg(pa_debug.g_err_stage,l_module_name);
760: END IF;
761:
762: IF x_rlm_id_change_flag_tbl(i)='Y' THEN
763:

Line 848: pa_debug.g_err_stage:='Deriving Amts/Qty for rbs element id change';

844: -- of the planning transaction. Quantities and amounts to be passed to calculate api
845: -- is derved as per the logic below
846: -- Details - /padev/pa/11.5/docs/CalcAPI_Behavior_Document2.doc
847: IF l_debug_mode = 'Y' THEN
848: pa_debug.g_err_stage:='Deriving Amts/Qty for rbs element id change';
849: print_msg(pa_debug.g_err_stage,l_module_name);
850: END IF;
851:
852: IF px_total_qty_tbl(i) IS NOT NULL AND px_total_qty_tbl(i) <> FND_API.G_MISS_NUM THEN

Line 849: print_msg(pa_debug.g_err_stage,l_module_name);

845: -- is derved as per the logic below
846: -- Details - /padev/pa/11.5/docs/CalcAPI_Behavior_Document2.doc
847: IF l_debug_mode = 'Y' THEN
848: pa_debug.g_err_stage:='Deriving Amts/Qty for rbs element id change';
849: print_msg(pa_debug.g_err_stage,l_module_name);
850: END IF;
851:
852: IF px_total_qty_tbl(i) IS NOT NULL AND px_total_qty_tbl(i) <> FND_API.G_MISS_NUM THEN
853:

Line 855: pa_debug.g_err_stage:='RBS Input Quantity Exists Set Amts to NULL';

851:
852: IF px_total_qty_tbl(i) IS NOT NULL AND px_total_qty_tbl(i) <> FND_API.G_MISS_NUM THEN
853:
854: IF l_debug_mode = 'Y' THEN
855: pa_debug.g_err_stage:='RBS Input Quantity Exists Set Amts to NULL';
856: print_msg(pa_debug.g_err_stage,l_module_name);
857: END IF;
858:
859: px_total_raw_cost_tbl(i) := NULL;

Line 856: print_msg(pa_debug.g_err_stage,l_module_name);

852: IF px_total_qty_tbl(i) IS NOT NULL AND px_total_qty_tbl(i) <> FND_API.G_MISS_NUM THEN
853:
854: IF l_debug_mode = 'Y' THEN
855: pa_debug.g_err_stage:='RBS Input Quantity Exists Set Amts to NULL';
856: print_msg(pa_debug.g_err_stage,l_module_name);
857: END IF;
858:
859: px_total_raw_cost_tbl(i) := NULL;
860: px_total_burdened_cost_tbl(i) := NULL;

Line 887: pa_debug.g_err_stage:='RBS Input Quantity IS G_MISS_NUM Set Amts to G_MISS_NUM';

883:
884: ELSIF px_total_qty_tbl(i) = FND_API.G_MISS_NUM THEN
885:
886: IF l_debug_mode = 'Y' THEN
887: pa_debug.g_err_stage:='RBS Input Quantity IS G_MISS_NUM Set Amts to G_MISS_NUM';
888: print_msg(pa_debug.g_err_stage,l_module_name);
889: END IF;
890:
891: px_total_raw_cost_tbl(i) := FND_API.G_MISS_NUM;

Line 888: print_msg(pa_debug.g_err_stage,l_module_name);

884: ELSIF px_total_qty_tbl(i) = FND_API.G_MISS_NUM THEN
885:
886: IF l_debug_mode = 'Y' THEN
887: pa_debug.g_err_stage:='RBS Input Quantity IS G_MISS_NUM Set Amts to G_MISS_NUM';
888: print_msg(pa_debug.g_err_stage,l_module_name);
889: END IF;
890:
891: px_total_raw_cost_tbl(i) := FND_API.G_MISS_NUM;
892: px_total_burdened_cost_tbl(i) := FND_API.G_MISS_NUM;

Line 916: pa_debug.g_err_stage:='RBS Input Quantity IS NULL See in DB';

912:
913: ELSE -- px_total_qty_tbl IS NULL
914:
915: IF l_debug_mode = 'Y' THEN
916: pa_debug.g_err_stage:='RBS Input Quantity IS NULL See in DB';
917: print_msg(pa_debug.g_err_stage,l_module_name);
918: END IF;
919: --dbms_output.put_line('7.3.1');
920:

Line 917: print_msg(pa_debug.g_err_stage,l_module_name);

913: ELSE -- px_total_qty_tbl IS NULL
914:
915: IF l_debug_mode = 'Y' THEN
916: pa_debug.g_err_stage:='RBS Input Quantity IS NULL See in DB';
917: print_msg(pa_debug.g_err_stage,l_module_name);
918: END IF;
919: --dbms_output.put_line('7.3.1');
920:
921: OPEN c_data_in_db_csr(p_resource_assignment_id_tbl(i));

Line 928: pa_debug.g_err_stage:='RBS Quantity found in DB, Set Amounts to NULL';

924:
925: IF c_data_in_db_csr%FOUND THEN
926:
927: IF l_debug_mode = 'Y' THEN
928: pa_debug.g_err_stage:='RBS Quantity found in DB, Set Amounts to NULL';
929: print_msg(pa_debug.g_err_stage,l_module_name);
930: END IF;
931: px_total_qty_tbl(i) := l_data_in_db_rec.quantity;
932: px_total_raw_cost_tbl(i) := NULL;

Line 929: print_msg(pa_debug.g_err_stage,l_module_name);

925: IF c_data_in_db_csr%FOUND THEN
926:
927: IF l_debug_mode = 'Y' THEN
928: pa_debug.g_err_stage:='RBS Quantity found in DB, Set Amounts to NULL';
929: print_msg(pa_debug.g_err_stage,l_module_name);
930: END IF;
931: px_total_qty_tbl(i) := l_data_in_db_rec.quantity;
932: px_total_raw_cost_tbl(i) := NULL;
933: px_total_burdened_cost_tbl(i) := NULL;

Line 955: pa_debug.g_err_stage:='RBS NO Record in DB';

951:
952: ELSE -- If c_data_in_db_csr is not FOUND
953:
954: IF l_debug_mode = 'Y' THEN
955: pa_debug.g_err_stage:='RBS NO Record in DB';
956: print_msg(pa_debug.g_err_stage,l_module_name);
957: END IF;
958:
959: px_total_qty_tbl(i) := NULL;

Line 956: print_msg(pa_debug.g_err_stage,l_module_name);

952: ELSE -- If c_data_in_db_csr is not FOUND
953:
954: IF l_debug_mode = 'Y' THEN
955: pa_debug.g_err_stage:='RBS NO Record in DB';
956: print_msg(pa_debug.g_err_stage,l_module_name);
957: END IF;
958:
959: px_total_qty_tbl(i) := NULL;
960: px_total_raw_cost_tbl(i) := NULL;

Line 1011: pa_debug.g_err_stage:='Calling API delete_planning_transactions ';

1007: may not be passed) . No delete flag is required as all the lines have already
1008: been removed. */
1009:
1010: IF l_debug_mode = 'Y' THEN
1011: pa_debug.g_err_stage:='Calling API delete_planning_transactions ';
1012: pa_debug.write(l_module_name,pa_debug.g_err_stage, 5);
1013: END IF;
1014: --dbms_output.put_line('7.5');
1015:

Line 1012: pa_debug.write(l_module_name,pa_debug.g_err_stage, 5);

1008: been removed. */
1009:
1010: IF l_debug_mode = 'Y' THEN
1011: pa_debug.g_err_stage:='Calling API delete_planning_transactions ';
1012: pa_debug.write(l_module_name,pa_debug.g_err_stage, 5);
1013: END IF;
1014: --dbms_output.put_line('7.5');
1015:
1016: pa_fp_planning_transaction_pub.delete_planning_transactions

Line 1036: pa_debug.g_err_stage:='Called API delete_planning_transactions returned error';

1032:
1033: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1034:
1035: IF l_debug_mode = 'Y' THEN
1036: pa_debug.g_err_stage:='Called API delete_planning_transactions returned error';
1037: pa_debug.write(l_module_name,pa_debug.g_err_stage, 5);
1038: END IF;
1039: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
1040:

Line 1037: pa_debug.write(l_module_name,pa_debug.g_err_stage, 5);

1033: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1034:
1035: IF l_debug_mode = 'Y' THEN
1036: pa_debug.g_err_stage:='Called API delete_planning_transactions returned error';
1037: pa_debug.write(l_module_name,pa_debug.g_err_stage, 5);
1038: END IF;
1039: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
1040:
1041: END IF;

Line 1051: pa_debug.g_err_stage:='Calling PA_RLMI_RBS_MAP_PUB.Map_Rlmi_Rbs';

1047: --Call the rbs mapping api only if there are some resource assignments for which the rbs_element_id can change
1048: IF l_rbs_map_index>0 THEN
1049:
1050: IF l_debug_mode = 'Y' THEN
1051: pa_debug.g_err_stage:='Calling PA_RLMI_RBS_MAP_PUB.Map_Rlmi_Rbs';
1052: print_msg(pa_debug.g_err_stage,l_module_name);
1053: END IF;
1054:
1055: --Extend the output pl/sql tbls l_rbs_element_id_tbl and l_txn_accum_header_id_tbl so that they contatin

Line 1052: print_msg(pa_debug.g_err_stage,l_module_name);

1048: IF l_rbs_map_index>0 THEN
1049:
1050: IF l_debug_mode = 'Y' THEN
1051: pa_debug.g_err_stage:='Calling PA_RLMI_RBS_MAP_PUB.Map_Rlmi_Rbs';
1052: print_msg(pa_debug.g_err_stage,l_module_name);
1053: END IF;
1054:
1055: --Extend the output pl/sql tbls l_rbs_element_id_tbl and l_txn_accum_header_id_tbl so that they contatin
1056: --the same no of records as l_eligible_rlm_ids_tbl

Line 1102: pa_debug.g_err_stage:='Called API PA_RLMI_RBS_MAP_PUB.Map_Rlmi_Rbs returned error';

1098:
1099: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1100:
1101: IF l_debug_mode = 'Y' THEN
1102: pa_debug.g_err_stage:='Called API PA_RLMI_RBS_MAP_PUB.Map_Rlmi_Rbs returned error';
1103: pa_debug.write(l_module_name,pa_debug.g_err_stage, 5);
1104: END IF;
1105: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
1106:

Line 1103: pa_debug.write(l_module_name,pa_debug.g_err_stage, 5);

1099: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1100:
1101: IF l_debug_mode = 'Y' THEN
1102: pa_debug.g_err_stage:='Called API PA_RLMI_RBS_MAP_PUB.Map_Rlmi_Rbs returned error';
1103: pa_debug.write(l_module_name,pa_debug.g_err_stage, 5);
1104: END IF;
1105: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
1106:
1107: END IF;

Line 1121: pa_debug.g_err_stage:='About to loop thru to create the pl/sql tables for rbs element id ';

1117: --dbms_output.put_line('7.9');
1118: --Initialise the indexes so that they can be re-used in the loop below
1119: l_rbs_map_index:=1;
1120: IF l_debug_mode = 'Y' THEN
1121: pa_debug.g_err_stage:='About to loop thru to create the pl/sql tables for rbs element id ';
1122: print_msg(pa_debug.g_err_stage,l_module_name);
1123: END IF;
1124: -- Loop thru the input ra id tbl and change the value of rbs_element_id
1125: -- depending on the value returned by the above apis. Here it is assumed that the called APIs

Line 1122: print_msg(pa_debug.g_err_stage,l_module_name);

1118: --Initialise the indexes so that they can be re-used in the loop below
1119: l_rbs_map_index:=1;
1120: IF l_debug_mode = 'Y' THEN
1121: pa_debug.g_err_stage:='About to loop thru to create the pl/sql tables for rbs element id ';
1122: print_msg(pa_debug.g_err_stage,l_module_name);
1123: END IF;
1124: -- Loop thru the input ra id tbl and change the value of rbs_element_id
1125: -- depending on the value returned by the above apis. Here it is assumed that the called APIs
1126: -- returns the output in the order in which the inputs are passed.

Line 1148: pa_debug.g_err_stage:='Leaving Process_res_chg_Derv_calc_prms API';

1144: END IF;--IF l_rbs_map_index>0 OR
1145: --dbms_output.put_line('10');
1146:
1147: IF l_debug_mode = 'Y' THEN
1148: pa_debug.g_err_stage:='Leaving Process_res_chg_Derv_calc_prms API';
1149: print_msg(pa_debug.g_err_stage,l_module_name);
1150: pa_debug.reset_curr_function;
1151: END IF;
1152: EXCEPTION

Line 1149: print_msg(pa_debug.g_err_stage,l_module_name);

1145: --dbms_output.put_line('10');
1146:
1147: IF l_debug_mode = 'Y' THEN
1148: pa_debug.g_err_stage:='Leaving Process_res_chg_Derv_calc_prms API';
1149: print_msg(pa_debug.g_err_stage,l_module_name);
1150: pa_debug.reset_curr_function;
1151: END IF;
1152: EXCEPTION
1153: WHEN PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc THEN

Line 1150: pa_debug.reset_curr_function;

1146:
1147: IF l_debug_mode = 'Y' THEN
1148: pa_debug.g_err_stage:='Leaving Process_res_chg_Derv_calc_prms API';
1149: print_msg(pa_debug.g_err_stage,l_module_name);
1150: pa_debug.reset_curr_function;
1151: END IF;
1152: EXCEPTION
1153: WHEN PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc THEN
1154: l_msg_count := FND_MSG_PUB.count_msg;

Line 1170: pa_debug.reset_curr_function;

1166: x_msg_count := l_msg_count;
1167: END IF;
1168: x_return_status := FND_API.G_RET_STS_ERROR;
1169: IF l_debug_mode = 'Y' THEN
1170: pa_debug.reset_curr_function;
1171: END IF;
1172: WHEN OTHERS THEN
1173: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1174: x_msg_count := 1;

Line 1180: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;

1176: FND_MSG_PUB.add_exc_msg( p_pkg_name => 'PA_FP_PLANNING_TRANSACTION_PUB'
1177: ,p_procedure_name => 'Process_res_chg_Derv_calc_prms');
1178:
1179: IF l_debug_mode = 'Y' THEN
1180: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;
1181: pa_debug.write( l_module_name,pa_debug.g_err_stage,5);
1182: pa_debug.reset_curr_function;
1183: END IF;
1184: RAISE;

Line 1181: pa_debug.write( l_module_name,pa_debug.g_err_stage,5);

1177: ,p_procedure_name => 'Process_res_chg_Derv_calc_prms');
1178:
1179: IF l_debug_mode = 'Y' THEN
1180: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;
1181: pa_debug.write( l_module_name,pa_debug.g_err_stage,5);
1182: pa_debug.reset_curr_function;
1183: END IF;
1184: RAISE;
1185:

Line 1182: pa_debug.reset_curr_function;

1178:
1179: IF l_debug_mode = 'Y' THEN
1180: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;
1181: pa_debug.write( l_module_name,pa_debug.g_err_stage,5);
1182: pa_debug.reset_curr_function;
1183: END IF;
1184: RAISE;
1185:
1186: END Process_res_chg_Derv_calc_prms;

Line 1536: fnd_profile.get('PA_DEBUG_MODE',l_debug_mode);

1532: l_trace_stage := 10;
1533: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
1534:
1535: SAVEPOINT ADD_PLANNING_TRANS_SP;
1536: fnd_profile.get('PA_DEBUG_MODE',l_debug_mode);
1537: l_debug_mode := NVL(l_debug_mode, 'Y');
1538:
1539: IF p_pji_rollup_required = 'Y' THEN
1540: l_pji_rollup_required := 'Y';

Line 1552: PA_DEBUG.Set_Curr_Function( p_function => 'PA_FP_PLAN_TXN_PUB.add_planning_transactions',

1548:
1549: x_msg_count := 0;
1550: x_return_status := FND_API.G_RET_STS_SUCCESS;
1551: IF l_debug_mode = 'Y' THEN
1552: PA_DEBUG.Set_Curr_Function( p_function => 'PA_FP_PLAN_TXN_PUB.add_planning_transactions',
1553: p_debug_mode => l_debug_mode );
1554: END IF;
1555:
1556: --p_context should never be null

Line 1564: pa_debug.g_err_stage:='p_context passed is '||p_context;

1560: ,PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_TASK
1561: ,PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_BUDGET ) THEN
1562:
1563: IF l_debug_mode = 'Y' THEN
1564: pa_debug.g_err_stage:='p_context passed is '||p_context;
1565: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1566: END IF;
1567: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
1568: p_msg_name => 'PA_FP_INV_PARAM_PASSED');

Line 1565: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

1561: ,PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_BUDGET ) THEN
1562:
1563: IF l_debug_mode = 'Y' THEN
1564: pa_debug.g_err_stage:='p_context passed is '||p_context;
1565: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1566: END IF;
1567: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
1568: p_msg_name => 'PA_FP_INV_PARAM_PASSED');
1569: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;

Line 1579: pa_debug.g_err_stage:='p_one_to_one_mapping_flag passed as Y for WORKPLAN context :'||p_context;

1575: -- Modified Validation Below for Only WORKPLAN Context - Changes for Bug 3665097
1576: IF (p_one_to_one_mapping_flag = 'Y'
1577: AND p_context = PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_WORKPLAN) THEN
1578: IF l_debug_mode = 'Y' THEN
1579: pa_debug.g_err_stage:='p_one_to_one_mapping_flag passed as Y for WORKPLAN context :'||p_context;
1580: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1581: END IF;
1582: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
1583: p_msg_name => 'PA_FP_INV_PARAM_PASSED');

Line 1580: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

1576: IF (p_one_to_one_mapping_flag = 'Y'
1577: AND p_context = PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_WORKPLAN) THEN
1578: IF l_debug_mode = 'Y' THEN
1579: pa_debug.g_err_stage:='p_one_to_one_mapping_flag passed as Y for WORKPLAN context :'||p_context;
1580: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1581: END IF;
1582: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
1583: p_msg_name => 'PA_FP_INV_PARAM_PASSED');
1584: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;

Line 1595: pa_debug.g_err_stage:='Table Count Mismatch for p_one_to_one_mapping_flag Y in : '||p_context;

1591: IF (p_one_to_one_mapping_flag = 'Y' AND
1592: p_task_elem_version_id_tbl.COUNT <> p_resource_list_member_id_tbl.COUNT) THEN
1593:
1594: IF l_debug_mode = 'Y' THEN
1595: pa_debug.g_err_stage:='Table Count Mismatch for p_one_to_one_mapping_flag Y in : '||p_context;
1596: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1597: END IF;
1598: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
1599: p_msg_name => 'PA_FP_INV_PARAM_PASSED');

Line 1596: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

1592: p_task_elem_version_id_tbl.COUNT <> p_resource_list_member_id_tbl.COUNT) THEN
1593:
1594: IF l_debug_mode = 'Y' THEN
1595: pa_debug.g_err_stage:='Table Count Mismatch for p_one_to_one_mapping_flag Y in : '||p_context;
1596: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1597: END IF;
1598: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
1599: p_msg_name => 'PA_FP_INV_PARAM_PASSED');
1600: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;

Line 1611: pa_debug.g_err_stage:='Planning Date Passed when one to one mapping is N';

1607: IF (p_one_to_one_mapping_flag = 'N' AND
1608: (p_planning_start_date_tbl.COUNT <> 0 OR p_planning_end_date_tbl.COUNT <> 0)) THEN
1609:
1610: IF l_debug_mode = 'Y' THEN
1611: pa_debug.g_err_stage:='Planning Date Passed when one to one mapping is N';
1612: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1613: END IF;
1614: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
1615: p_msg_name => 'PA_FP_INV_PARAM_PASSED',

Line 1612: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

1608: (p_planning_start_date_tbl.COUNT <> 0 OR p_planning_end_date_tbl.COUNT <> 0)) THEN
1609:
1610: IF l_debug_mode = 'Y' THEN
1611: pa_debug.g_err_stage:='Planning Date Passed when one to one mapping is N';
1612: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1613: END IF;
1614: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
1615: p_msg_name => 'PA_FP_INV_PARAM_PASSED',
1616: p_token1 => 'PROCEDURENAME',

Line 1628: pa_debug.g_err_stage:='Planning Start Date - End Date MISMATCH p_context :'||p_context;

1624: -- Bug 3793623 Planning Start Date and Planning End Date Should have the same
1625: -- number of records
1626: IF (p_planning_start_date_tbl.COUNT <> p_planning_end_date_tbl.COUNT) THEN
1627: IF l_debug_mode = 'Y' THEN
1628: pa_debug.g_err_stage:='Planning Start Date - End Date MISMATCH p_context :'||p_context;
1629: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1630: END IF;
1631: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
1632: p_msg_name => 'PA_FP_INV_PARAM_PASSED',

Line 1629: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

1625: -- number of records
1626: IF (p_planning_start_date_tbl.COUNT <> p_planning_end_date_tbl.COUNT) THEN
1627: IF l_debug_mode = 'Y' THEN
1628: pa_debug.g_err_stage:='Planning Start Date - End Date MISMATCH p_context :'||p_context;
1629: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1630: END IF;
1631: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
1632: p_msg_name => 'PA_FP_INV_PARAM_PASSED',
1633: p_token1 => 'PROCEDURENAME',

Line 1645: pa_debug.g_err_stage:='Planning Start Date - Task Elem Mismatch :'||p_context;

1641: -- task_elem_version_id COUNT
1642: IF (p_planning_start_date_tbl.COUNT >0) THEN
1643: IF (p_planning_start_date_tbl.COUNT <> p_task_elem_version_id_tbl.COUNT) THEN
1644: IF l_debug_mode = 'Y' THEN
1645: pa_debug.g_err_stage:='Planning Start Date - Task Elem Mismatch :'||p_context;
1646: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1647: END IF;
1648: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
1649: p_msg_name => 'PA_FP_INV_PARAM_PASSED',

Line 1646: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

1642: IF (p_planning_start_date_tbl.COUNT >0) THEN
1643: IF (p_planning_start_date_tbl.COUNT <> p_task_elem_version_id_tbl.COUNT) THEN
1644: IF l_debug_mode = 'Y' THEN
1645: pa_debug.g_err_stage:='Planning Start Date - Task Elem Mismatch :'||p_context;
1646: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1647: END IF;
1648: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
1649: p_msg_name => 'PA_FP_INV_PARAM_PASSED',
1650: p_token1 => 'PROCEDURENAME',

Line 1664: pa_debug.g_err_stage:='Checking for duplicate rlm ids passed';

1660: -- duplicate rlm/elem_ver ids cannot be passed
1661: IF p_one_to_one_mapping_flag = 'N' THEN
1662: IF p_skip_duplicates_flag = 'N' THEN
1663: IF l_debug_mode = 'Y' THEN
1664: pa_debug.g_err_stage:='Checking for duplicate rlm ids passed';
1665: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1666: END IF;
1667: IF p_resource_list_member_id_tbl.COUNT > 0 THEN
1668: FOR i IN p_resource_list_member_id_tbl.FIRST .. (p_resource_list_member_id_tbl.LAST-1) LOOP

Line 1665: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

1661: IF p_one_to_one_mapping_flag = 'N' THEN
1662: IF p_skip_duplicates_flag = 'N' THEN
1663: IF l_debug_mode = 'Y' THEN
1664: pa_debug.g_err_stage:='Checking for duplicate rlm ids passed';
1665: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1666: END IF;
1667: IF p_resource_list_member_id_tbl.COUNT > 0 THEN
1668: FOR i IN p_resource_list_member_id_tbl.FIRST .. (p_resource_list_member_id_tbl.LAST-1) LOOP
1669: FOR j in (i+1) .. p_resource_list_member_id_tbl.LAST LOOP

Line 1672: pa_debug.g_err_stage:='Dup RLM ID Passed';

1668: FOR i IN p_resource_list_member_id_tbl.FIRST .. (p_resource_list_member_id_tbl.LAST-1) LOOP
1669: FOR j in (i+1) .. p_resource_list_member_id_tbl.LAST LOOP
1670: IF p_resource_list_member_id_tbl(j) = p_resource_list_member_id_tbl(i) THEN
1671: IF l_debug_mode = 'Y' THEN
1672: pa_debug.g_err_stage:='Dup RLM ID Passed';
1673: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1674: END IF;
1675: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
1676: p_msg_name => 'PA_FP_INV_PARAM_PASSED',

Line 1673: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

1669: FOR j in (i+1) .. p_resource_list_member_id_tbl.LAST LOOP
1670: IF p_resource_list_member_id_tbl(j) = p_resource_list_member_id_tbl(i) THEN
1671: IF l_debug_mode = 'Y' THEN
1672: pa_debug.g_err_stage:='Dup RLM ID Passed';
1673: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1674: END IF;
1675: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
1676: p_msg_name => 'PA_FP_INV_PARAM_PASSED',
1677: p_token1 => 'PROCEDURENAME',

Line 1687: pa_debug.g_err_stage:='Checking for duplicate elem ver ids passed';

1683: END LOOP;
1684: END LOOP;
1685: END IF;
1686: IF l_debug_mode = 'Y' THEN
1687: pa_debug.g_err_stage:='Checking for duplicate elem ver ids passed';
1688: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1689: END IF;
1690: IF p_task_elem_version_id_tbl.COUNT > 0 THEN
1691: FOR i IN p_task_elem_version_id_tbl.FIRST .. (p_task_elem_version_id_tbl.LAST-1) LOOP

Line 1688: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

1684: END LOOP;
1685: END IF;
1686: IF l_debug_mode = 'Y' THEN
1687: pa_debug.g_err_stage:='Checking for duplicate elem ver ids passed';
1688: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1689: END IF;
1690: IF p_task_elem_version_id_tbl.COUNT > 0 THEN
1691: FOR i IN p_task_elem_version_id_tbl.FIRST .. (p_task_elem_version_id_tbl.LAST-1) LOOP
1692: FOR j in (i+1) .. p_task_elem_version_id_tbl.LAST LOOP

Line 1695: pa_debug.g_err_stage:='Dup ELEM VER ID Passed';

1691: FOR i IN p_task_elem_version_id_tbl.FIRST .. (p_task_elem_version_id_tbl.LAST-1) LOOP
1692: FOR j in (i+1) .. p_task_elem_version_id_tbl.LAST LOOP
1693: IF p_task_elem_version_id_tbl(j) = p_task_elem_version_id_tbl(i) THEN
1694: IF l_debug_mode = 'Y' THEN
1695: pa_debug.g_err_stage:='Dup ELEM VER ID Passed';
1696: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1697: END IF;
1698: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
1699: p_msg_name => 'PA_FP_INV_PARAM_PASSED',

Line 1696: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

1692: FOR j in (i+1) .. p_task_elem_version_id_tbl.LAST LOOP
1693: IF p_task_elem_version_id_tbl(j) = p_task_elem_version_id_tbl(i) THEN
1694: IF l_debug_mode = 'Y' THEN
1695: pa_debug.g_err_stage:='Dup ELEM VER ID Passed';
1696: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1697: END IF;
1698: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
1699: p_msg_name => 'PA_FP_INV_PARAM_PASSED',
1700: p_token1 => 'PROCEDURENAME',

Line 1725: pa_debug.g_err_stage:='Dup Rec passed - Curr Code (B/F) - will error out in Ins Stat';

1721: (p_resource_list_member_id_tbl(i) = p_resource_list_member_id_tbl(j)) AND
1722: (p_currency_code_tbl(i) = p_currency_code_tbl(j))) THEN
1723:
1724: IF l_debug_mode = 'Y' THEN
1725: pa_debug.g_err_stage:='Dup Rec passed - Curr Code (B/F) - will error out in Ins Stat';
1726: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1727: END IF;
1728: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
1729: p_msg_name => 'PA_FP_INV_PARAM_PASSED',

Line 1726: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

1722: (p_currency_code_tbl(i) = p_currency_code_tbl(j))) THEN
1723:
1724: IF l_debug_mode = 'Y' THEN
1725: pa_debug.g_err_stage:='Dup Rec passed - Curr Code (B/F) - will error out in Ins Stat';
1726: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1727: END IF;
1728: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
1729: p_msg_name => 'PA_FP_INV_PARAM_PASSED',
1730: p_token1 => 'PROCEDURENAME',

Line 1748: pa_debug.g_err_stage:='Dup Rec passed - will error out in Ins Stat p_context :'||p_context;

1744: IF ( (p_task_elem_version_id_tbl(i) = p_task_elem_version_id_tbl(j)) AND
1745: (p_resource_list_member_id_tbl(i) = p_resource_list_member_id_tbl(j))) THEN
1746:
1747: IF l_debug_mode = 'Y' THEN
1748: pa_debug.g_err_stage:='Dup Rec passed - will error out in Ins Stat p_context :'||p_context;
1749: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1750: END IF;
1751: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
1752: p_msg_name => 'PA_FP_INV_PARAM_PASSED',

Line 1749: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

1745: (p_resource_list_member_id_tbl(i) = p_resource_list_member_id_tbl(j))) THEN
1746:
1747: IF l_debug_mode = 'Y' THEN
1748: pa_debug.g_err_stage:='Dup Rec passed - will error out in Ins Stat p_context :'||p_context;
1749: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1750: END IF;
1751: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
1752: p_msg_name => 'PA_FP_INV_PARAM_PASSED',
1753: p_token1 => 'PROCEDURENAME',

Line 1769: pa_debug.g_err_stage:='p_task_elem_version_id_tbl :'||p_task_elem_version_id_tbl(i);

1765:
1766: IF l_debug_mode = 'Y' THEN
1767: IF p_task_elem_version_id_tbl.COUNT > 0 THEN
1768: FOR i in p_task_elem_version_id_tbl.FIRST .. p_task_elem_version_id_tbl.LAST LOOP
1769: pa_debug.g_err_stage:='p_task_elem_version_id_tbl :'||p_task_elem_version_id_tbl(i);
1770: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1771: END LOOP;
1772: END IF;
1773:

Line 1770: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

1766: IF l_debug_mode = 'Y' THEN
1767: IF p_task_elem_version_id_tbl.COUNT > 0 THEN
1768: FOR i in p_task_elem_version_id_tbl.FIRST .. p_task_elem_version_id_tbl.LAST LOOP
1769: pa_debug.g_err_stage:='p_task_elem_version_id_tbl :'||p_task_elem_version_id_tbl(i);
1770: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1771: END LOOP;
1772: END IF;
1773:
1774: IF p_resource_list_member_id_tbl.COUNT > 0 THEN

Line 1776: pa_debug.g_err_stage:='p_resource_list_member_id_tbl :'||p_resource_list_member_id_tbl(i);

1772: END IF;
1773:
1774: IF p_resource_list_member_id_tbl.COUNT > 0 THEN
1775: FOR i in p_resource_list_member_id_tbl.FIRST .. p_resource_list_member_id_tbl.LAST LOOP
1776: pa_debug.g_err_stage:='p_resource_list_member_id_tbl :'||p_resource_list_member_id_tbl(i);
1777: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1778: END LOOP;
1779: END IF;
1780:

Line 1777: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

1773:
1774: IF p_resource_list_member_id_tbl.COUNT > 0 THEN
1775: FOR i in p_resource_list_member_id_tbl.FIRST .. p_resource_list_member_id_tbl.LAST LOOP
1776: pa_debug.g_err_stage:='p_resource_list_member_id_tbl :'||p_resource_list_member_id_tbl(i);
1777: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1778: END LOOP;
1779: END IF;
1780:
1781: IF p_currency_code_tbl.COUNT > 0 THEN

Line 1783: pa_debug.g_err_stage:='p_currency_code_tbl :'||p_currency_code_tbl(i);

1779: END IF;
1780:
1781: IF p_currency_code_tbl.COUNT > 0 THEN
1782: FOR i in p_currency_code_tbl.FIRST .. p_currency_code_tbl.LAST LOOP
1783: pa_debug.g_err_stage:='p_currency_code_tbl :'||p_currency_code_tbl(i);
1784: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1785: END LOOP;
1786: END IF;
1787: END IF;

Line 1784: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

1780:
1781: IF p_currency_code_tbl.COUNT > 0 THEN
1782: FOR i in p_currency_code_tbl.FIRST .. p_currency_code_tbl.LAST LOOP
1783: pa_debug.g_err_stage:='p_currency_code_tbl :'||p_currency_code_tbl(i);
1784: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1785: END LOOP;
1786: END IF;
1787: END IF;
1788:

Line 1805: pa_debug.g_err_stage:='Extending all table lengths to the permissible values they would take - p_context = '||p_context;

1801: l_trace_stage := 20;
1802: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
1803:
1804: IF l_debug_mode = 'Y' THEN
1805: pa_debug.g_err_stage:='Extending all table lengths to the permissible values they would take - p_context = '||p_context;
1806: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1807: END IF;
1808:
1809: l_task_elem_rlm_tbl.extend(l_rlm_id_no_of_rows);

Line 1806: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

1802: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
1803:
1804: IF l_debug_mode = 'Y' THEN
1805: pa_debug.g_err_stage:='Extending all table lengths to the permissible values they would take - p_context = '||p_context;
1806: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1807: END IF;
1808:
1809: l_task_elem_rlm_tbl.extend(l_rlm_id_no_of_rows);
1810: l_proj_elem_rlm_tbl.extend(l_rlm_id_no_of_rows);

Line 1967: pa_debug.g_err_stage:='Validating input parameters - count of p_task_elem_version_id_tbl = '||l_elem_version_id_count;

1963: l_trace_stage := 140;
1964: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
1965:
1966: IF l_debug_mode = 'Y' THEN
1967: pa_debug.g_err_stage:='Validating input parameters - count of p_task_elem_version_id_tbl = '||l_elem_version_id_count;
1968: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1969: END IF;
1970:
1971: IF l_elem_version_id_count = 0 THEN

Line 1968: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

1964: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
1965:
1966: IF l_debug_mode = 'Y' THEN
1967: pa_debug.g_err_stage:='Validating input parameters - count of p_task_elem_version_id_tbl = '||l_elem_version_id_count;
1968: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1969: END IF;
1970:
1971: IF l_elem_version_id_count = 0 THEN
1972: l_trace_stage := 150;

Line 1975: pa_debug.g_err_stage:='Validating input parameters - elem_version_id table is empty - p_context = '||p_context;

1971: IF l_elem_version_id_count = 0 THEN
1972: l_trace_stage := 150;
1973: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
1974: IF l_debug_mode = 'Y' THEN
1975: pa_debug.g_err_stage:='Validating input parameters - elem_version_id table is empty - p_context = '||p_context;
1976: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1977: --dbms_output.put_line('Tasks tbl is empty for BF -- returning');
1978: pa_debug.reset_curr_function;
1979: END IF;

Line 1976: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

1972: l_trace_stage := 150;
1973: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
1974: IF l_debug_mode = 'Y' THEN
1975: pa_debug.g_err_stage:='Validating input parameters - elem_version_id table is empty - p_context = '||p_context;
1976: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1977: --dbms_output.put_line('Tasks tbl is empty for BF -- returning');
1978: pa_debug.reset_curr_function;
1979: END IF;
1980: RETURN;

Line 1978: pa_debug.reset_curr_function;

1974: IF l_debug_mode = 'Y' THEN
1975: pa_debug.g_err_stage:='Validating input parameters - elem_version_id table is empty - p_context = '||p_context;
1976: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1977: --dbms_output.put_line('Tasks tbl is empty for BF -- returning');
1978: pa_debug.reset_curr_function;
1979: END IF;
1980: RETURN;
1981: END IF;
1982: END IF;

Line 1992: pa_debug.g_err_stage:='Invalid pl/sql tables for start and end dates';

1988: IF (p_end_date_tbl.COUNT <> p_start_date_tbl.COUNT) OR
1989: (p_start_date_tbl.COUNT <> p_task_elem_version_id_tbl.COUNT) THEN
1990:
1991: IF l_debug_mode = 'Y' THEN
1992: pa_debug.g_err_stage:='Invalid pl/sql tables for start and end dates';
1993: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1994: END IF;
1995: --dbms_output.put_line('$$$$%%%');
1996: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',

Line 1993: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

1989: (p_start_date_tbl.COUNT <> p_task_elem_version_id_tbl.COUNT) THEN
1990:
1991: IF l_debug_mode = 'Y' THEN
1992: pa_debug.g_err_stage:='Invalid pl/sql tables for start and end dates';
1993: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
1994: END IF;
1995: --dbms_output.put_line('$$$$%%%');
1996: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
1997: p_msg_name => 'PA_FP_INV_PARAM_PASSED');

Line 2011: pa_debug.g_err_stage:='Validating input parameters - count of p_resource_list_member_id_tbl = '||l_rlm_id_tbl_count;

2007: IF NOT(p_context = PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_WORKPLAN) THEN
2008: l_rlm_id_tbl_count := p_resource_list_member_id_tbl.COUNT;
2009:
2010: IF l_debug_mode = 'Y' THEN
2011: pa_debug.g_err_stage:='Validating input parameters - count of p_resource_list_member_id_tbl = '||l_rlm_id_tbl_count;
2012: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2013: END IF;
2014:
2015: IF l_rlm_id_tbl_count = 0 THEN

Line 2012: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2008: l_rlm_id_tbl_count := p_resource_list_member_id_tbl.COUNT;
2009:
2010: IF l_debug_mode = 'Y' THEN
2011: pa_debug.g_err_stage:='Validating input parameters - count of p_resource_list_member_id_tbl = '||l_rlm_id_tbl_count;
2012: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2013: END IF;
2014:
2015: IF l_rlm_id_tbl_count = 0 THEN
2016:

Line 2018: pa_debug.g_err_stage:='Validating input parameters - Resource List Member Id table is empty - p_context = '||p_context;

2014:
2015: IF l_rlm_id_tbl_count = 0 THEN
2016:
2017: IF l_debug_mode = 'Y' THEN
2018: pa_debug.g_err_stage:='Validating input parameters - Resource List Member Id table is empty - p_context = '||p_context;
2019: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2020: --dbms_output.put_line('Rlm tbl is empty for BF -- returning');
2021: pa_debug.reset_curr_function;
2022: END IF;

Line 2019: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2015: IF l_rlm_id_tbl_count = 0 THEN
2016:
2017: IF l_debug_mode = 'Y' THEN
2018: pa_debug.g_err_stage:='Validating input parameters - Resource List Member Id table is empty - p_context = '||p_context;
2019: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2020: --dbms_output.put_line('Rlm tbl is empty for BF -- returning');
2021: pa_debug.reset_curr_function;
2022: END IF;
2023: RETURN;

Line 2021: pa_debug.reset_curr_function;

2017: IF l_debug_mode = 'Y' THEN
2018: pa_debug.g_err_stage:='Validating input parameters - Resource List Member Id table is empty - p_context = '||p_context;
2019: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2020: --dbms_output.put_line('Rlm tbl is empty for BF -- returning');
2021: pa_debug.reset_curr_function;
2022: END IF;
2023: RETURN;
2024: END IF;
2025:

Line 2034: pa_debug.g_err_stage:='Validating input parameters - checking for project id : ' || p_project_id;

2030: l_trace_stage := 40;
2031: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
2032:
2033: IF l_debug_mode = 'Y' THEN
2034: pa_debug.g_err_stage:='Validating input parameters - checking for project id : ' || p_project_id;
2035: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2036: END IF;
2037:
2038: l_trace_stage := 50;

Line 2035: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2031: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
2032:
2033: IF l_debug_mode = 'Y' THEN
2034: pa_debug.g_err_stage:='Validating input parameters - checking for project id : ' || p_project_id;
2035: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2036: END IF;
2037:
2038: l_trace_stage := 50;
2039: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));

Line 2046: pa_debug.g_err_stage:='p_project_id is null';

2042: -- 1. p_project_id cannot be null
2043: -------------------------------------------------------------------------------------------
2044: IF (p_project_id IS NULL) THEN
2045: IF l_debug_mode = 'Y' THEN
2046: pa_debug.g_err_stage:='p_project_id is null';
2047: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2048: END IF;
2049: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
2050: p_msg_name => 'PA_FP_INV_PARAM_PASSED');

Line 2047: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2043: -------------------------------------------------------------------------------------------
2044: IF (p_project_id IS NULL) THEN
2045: IF l_debug_mode = 'Y' THEN
2046: pa_debug.g_err_stage:='p_project_id is null';
2047: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2048: END IF;
2049: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
2050: p_msg_name => 'PA_FP_INV_PARAM_PASSED');
2051: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;

Line 2071: pa_debug.g_err_stage:='p_struct_elem_version_id is NULL and p_context = ' || p_context;

2067: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
2068: IF p_struct_elem_version_id IS NULL THEN
2069:
2070: IF l_debug_mode = 'Y' THEN
2071: pa_debug.g_err_stage:='p_struct_elem_version_id is NULL and p_context = ' || p_context;
2072: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2073: END IF;
2074: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
2075: p_msg_name => 'PA_FP_INV_PARAM_PASSED');

Line 2072: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2068: IF p_struct_elem_version_id IS NULL THEN
2069:
2070: IF l_debug_mode = 'Y' THEN
2071: pa_debug.g_err_stage:='p_struct_elem_version_id is NULL and p_context = ' || p_context;
2072: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2073: END IF;
2074: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
2075: p_msg_name => 'PA_FP_INV_PARAM_PASSED');
2076: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;

Line 2084: pa_debug.g_err_stage:='calling pa_planning_transaction_utils.get_wp_budget_version_id p_struct_elem_version_id = ' || p_struct_elem_version_id;

2080: l_trace_stage := 80;
2081: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
2082:
2083: IF l_debug_mode = 'Y' THEN
2084: pa_debug.g_err_stage:='calling pa_planning_transaction_utils.get_wp_budget_version_id p_struct_elem_version_id = ' || p_struct_elem_version_id;
2085: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2086: pa_debug.g_err_stage:='calling pa_planning_transaction_utils.get_wp_budget_version_id for deriving budget_version_id = ' || p_context;
2087: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2088: END IF;

Line 2085: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2081: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
2082:
2083: IF l_debug_mode = 'Y' THEN
2084: pa_debug.g_err_stage:='calling pa_planning_transaction_utils.get_wp_budget_version_id p_struct_elem_version_id = ' || p_struct_elem_version_id;
2085: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2086: pa_debug.g_err_stage:='calling pa_planning_transaction_utils.get_wp_budget_version_id for deriving budget_version_id = ' || p_context;
2087: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2088: END IF;
2089:

Line 2086: pa_debug.g_err_stage:='calling pa_planning_transaction_utils.get_wp_budget_version_id for deriving budget_version_id = ' || p_context;

2082:
2083: IF l_debug_mode = 'Y' THEN
2084: pa_debug.g_err_stage:='calling pa_planning_transaction_utils.get_wp_budget_version_id p_struct_elem_version_id = ' || p_struct_elem_version_id;
2085: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2086: pa_debug.g_err_stage:='calling pa_planning_transaction_utils.get_wp_budget_version_id for deriving budget_version_id = ' || p_context;
2087: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2088: END IF;
2089:
2090: l_budget_version_id := pa_planning_transaction_utils.get_wp_budget_version_id(p_struct_elem_version_id);

Line 2087: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2083: IF l_debug_mode = 'Y' THEN
2084: pa_debug.g_err_stage:='calling pa_planning_transaction_utils.get_wp_budget_version_id p_struct_elem_version_id = ' || p_struct_elem_version_id;
2085: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2086: pa_debug.g_err_stage:='calling pa_planning_transaction_utils.get_wp_budget_version_id for deriving budget_version_id = ' || p_context;
2087: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2088: END IF;
2089:
2090: l_budget_version_id := pa_planning_transaction_utils.get_wp_budget_version_id(p_struct_elem_version_id);
2091:

Line 2106: pa_debug.g_err_stage:='Called API pa_fp_planning_transaction_pub.add_wp_plan_type api returned error';

2102:
2103: -- 4504452.Added this if codition to get the return status.
2104: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
2105: IF l_debug_mode = 'Y' THEN
2106: pa_debug.g_err_stage:='Called API pa_fp_planning_transaction_pub.add_wp_plan_type api returned error';
2107: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2108: END IF;
2109: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
2110: END IF;

Line 2107: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2103: -- 4504452.Added this if codition to get the return status.
2104: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
2105: IF l_debug_mode = 'Y' THEN
2106: pa_debug.g_err_stage:='Called API pa_fp_planning_transaction_pub.add_wp_plan_type api returned error';
2107: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2108: END IF;
2109: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
2110: END IF;
2111: -----------------------------------------------------

Line 2119: pa_debug.g_err_stage:='calling pa_fin_plan_pub.create_version api = ' || p_context;

2115: l_trace_stage := 110;
2116: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
2117:
2118: IF l_debug_mode = 'Y' THEN
2119: pa_debug.g_err_stage:='calling pa_fin_plan_pub.create_version api = ' || p_context;
2120: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2121: END IF;
2122:
2123: SELECT fin_plan_type_id

Line 2120: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2116: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
2117:
2118: IF l_debug_mode = 'Y' THEN
2119: pa_debug.g_err_stage:='calling pa_fin_plan_pub.create_version api = ' || p_context;
2120: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2121: END IF;
2122:
2123: SELECT fin_plan_type_id
2124: INTO l_fin_plan_type_id

Line 2174: pa_debug.g_err_stage:=' API pa_fin_plan_pub.create_version api return Status : '||l_return_status;

2170:
2171: l_trace_stage := 120;
2172: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
2173: IF l_debug_mode = 'Y' THEN
2174: pa_debug.g_err_stage:=' API pa_fin_plan_pub.create_version api return Status : '||l_return_status;
2175: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2176: pa_debug.g_err_stage:=' API pa_fin_plan_pub.create_version api l_budget_version_id : '||l_budget_version_id;
2177: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2178: pa_debug.g_err_stage:=' API pa_fin_plan_pub.create_version api l_proj_fp_options_id : '||l_proj_fp_options_id;

Line 2175: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2171: l_trace_stage := 120;
2172: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
2173: IF l_debug_mode = 'Y' THEN
2174: pa_debug.g_err_stage:=' API pa_fin_plan_pub.create_version api return Status : '||l_return_status;
2175: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2176: pa_debug.g_err_stage:=' API pa_fin_plan_pub.create_version api l_budget_version_id : '||l_budget_version_id;
2177: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2178: pa_debug.g_err_stage:=' API pa_fin_plan_pub.create_version api l_proj_fp_options_id : '||l_proj_fp_options_id;
2179: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 2176: pa_debug.g_err_stage:=' API pa_fin_plan_pub.create_version api l_budget_version_id : '||l_budget_version_id;

2172: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
2173: IF l_debug_mode = 'Y' THEN
2174: pa_debug.g_err_stage:=' API pa_fin_plan_pub.create_version api return Status : '||l_return_status;
2175: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2176: pa_debug.g_err_stage:=' API pa_fin_plan_pub.create_version api l_budget_version_id : '||l_budget_version_id;
2177: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2178: pa_debug.g_err_stage:=' API pa_fin_plan_pub.create_version api l_proj_fp_options_id : '||l_proj_fp_options_id;
2179: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2180: END IF;

Line 2177: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2173: IF l_debug_mode = 'Y' THEN
2174: pa_debug.g_err_stage:=' API pa_fin_plan_pub.create_version api return Status : '||l_return_status;
2175: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2176: pa_debug.g_err_stage:=' API pa_fin_plan_pub.create_version api l_budget_version_id : '||l_budget_version_id;
2177: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2178: pa_debug.g_err_stage:=' API pa_fin_plan_pub.create_version api l_proj_fp_options_id : '||l_proj_fp_options_id;
2179: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2180: END IF;
2181:

Line 2178: pa_debug.g_err_stage:=' API pa_fin_plan_pub.create_version api l_proj_fp_options_id : '||l_proj_fp_options_id;

2174: pa_debug.g_err_stage:=' API pa_fin_plan_pub.create_version api return Status : '||l_return_status;
2175: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2176: pa_debug.g_err_stage:=' API pa_fin_plan_pub.create_version api l_budget_version_id : '||l_budget_version_id;
2177: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2178: pa_debug.g_err_stage:=' API pa_fin_plan_pub.create_version api l_proj_fp_options_id : '||l_proj_fp_options_id;
2179: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2180: END IF;
2181:
2182: l_trace_stage := 130;

Line 2179: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2175: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2176: pa_debug.g_err_stage:=' API pa_fin_plan_pub.create_version api l_budget_version_id : '||l_budget_version_id;
2177: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2178: pa_debug.g_err_stage:=' API pa_fin_plan_pub.create_version api l_proj_fp_options_id : '||l_proj_fp_options_id;
2179: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2180: END IF;
2181:
2182: l_trace_stage := 130;
2183: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));

Line 2187: pa_debug.g_err_stage:='Called API pa_fin_plan_pub.create_version api returned error';

2183: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
2184:
2185: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
2186: IF l_debug_mode = 'Y' THEN
2187: pa_debug.g_err_stage:='Called API pa_fin_plan_pub.create_version api returned error';
2188: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2189: END IF;
2190: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
2191: END IF;

Line 2188: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2184:
2185: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
2186: IF l_debug_mode = 'Y' THEN
2187: pa_debug.g_err_stage:='Called API pa_fin_plan_pub.create_version api returned error';
2188: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2189: END IF;
2190: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
2191: END IF;
2192:

Line 2196: pa_debug.g_err_stage:='l_budget_version_id, l_fin_plan_type_id = '||l_budget_version_id||','|| l_fin_plan_type_id;

2192:
2193: END IF;
2194:
2195: IF l_debug_mode = 'Y' THEN
2196: pa_debug.g_err_stage:='l_budget_version_id, l_fin_plan_type_id = '||l_budget_version_id||','|| l_fin_plan_type_id;
2197: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2198: END IF;
2199:
2200: END IF;

Line 2197: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2193: END IF;
2194:
2195: IF l_debug_mode = 'Y' THEN
2196: pa_debug.g_err_stage:='l_budget_version_id, l_fin_plan_type_id = '||l_budget_version_id||','|| l_fin_plan_type_id;
2197: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2198: END IF;
2199:
2200: END IF;
2201:

Line 2208: pa_debug.g_err_stage:='Validating input parameters - count of p_task_elem_version_id_tbl = '||l_elem_version_id_count;

2204: l_trace_stage := 140;
2205: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
2206:
2207: IF l_debug_mode = 'Y' THEN
2208: pa_debug.g_err_stage:='Validating input parameters - count of p_task_elem_version_id_tbl = '||l_elem_version_id_count;
2209: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2210: END IF;
2211:
2212: IF l_elem_version_id_count = 0 THEN

Line 2209: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2205: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
2206:
2207: IF l_debug_mode = 'Y' THEN
2208: pa_debug.g_err_stage:='Validating input parameters - count of p_task_elem_version_id_tbl = '||l_elem_version_id_count;
2209: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2210: END IF;
2211:
2212: IF l_elem_version_id_count = 0 THEN
2213: l_trace_stage := 150;

Line 2216: pa_debug.g_err_stage:='Validating input parameters - elem_version_id table is empty - p_context = '||p_context;

2212: IF l_elem_version_id_count = 0 THEN
2213: l_trace_stage := 150;
2214: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
2215: IF l_debug_mode = 'Y' THEN
2216: pa_debug.g_err_stage:='Validating input parameters - elem_version_id table is empty - p_context = '||p_context;
2217: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2218: pa_debug.reset_curr_function;
2219: END IF;
2220: RETURN;

Line 2217: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2213: l_trace_stage := 150;
2214: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
2215: IF l_debug_mode = 'Y' THEN
2216: pa_debug.g_err_stage:='Validating input parameters - elem_version_id table is empty - p_context = '||p_context;
2217: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2218: pa_debug.reset_curr_function;
2219: END IF;
2220: RETURN;
2221: END IF;

Line 2218: pa_debug.reset_curr_function;

2214: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
2215: IF l_debug_mode = 'Y' THEN
2216: pa_debug.g_err_stage:='Validating input parameters - elem_version_id table is empty - p_context = '||p_context;
2217: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2218: pa_debug.reset_curr_function;
2219: END IF;
2220: RETURN;
2221: END IF;
2222:

Line 2232: pa_debug.g_err_stage:='p_budget_version_id is null for p_context :' || p_context;

2228: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
2229: IF p_budget_version_id IS NULL THEN
2230:
2231: IF l_debug_mode = 'Y' THEN
2232: pa_debug.g_err_stage:='p_budget_version_id is null for p_context :' || p_context;
2233: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2234: END IF;
2235: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
2236: p_msg_name => 'PA_FP_INV_PARAM_PASSED');

Line 2233: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2229: IF p_budget_version_id IS NULL THEN
2230:
2231: IF l_debug_mode = 'Y' THEN
2232: pa_debug.g_err_stage:='p_budget_version_id is null for p_context :' || p_context;
2233: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2234: END IF;
2235: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
2236: p_msg_name => 'PA_FP_INV_PARAM_PASSED');
2237: --dbms_output.put_line('bv id is null for BF');

Line 2250: pa_debug.g_err_stage:='Fetching resource List id - l_resource_list_id : ';

2246: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
2247: END IF;
2248:
2249: IF l_debug_mode = 'Y' THEN
2250: pa_debug.g_err_stage:='Fetching resource List id - l_resource_list_id : ';
2251: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2252: END IF;
2253: l_trace_stage := 200;
2254: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));

Line 2251: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2247: END IF;
2248:
2249: IF l_debug_mode = 'Y' THEN
2250: pa_debug.g_err_stage:='Fetching resource List id - l_resource_list_id : ';
2251: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2252: END IF;
2253: l_trace_stage := 200;
2254: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
2255: --dbms_output.put_line('2.3 '||l_budget_version_id);

Line 2266: pa_debug.g_err_stage:='Fetching resource List id - l_resource_list_id : '|| l_resource_list_id;

2262: FROM pa_proj_fp_options
2263: WHERE fin_plan_version_id=l_budget_version_id;
2264:
2265: IF l_debug_mode = 'Y' THEN
2266: pa_debug.g_err_stage:='Fetching resource List id - l_resource_list_id : '|| l_resource_list_id;
2267: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2268: END IF;
2269:
2270: -- Fetching spread curve id for fixed date spread curve : Bug 3607061 - Starts

Line 2267: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2263: WHERE fin_plan_version_id=l_budget_version_id;
2264:
2265: IF l_debug_mode = 'Y' THEN
2266: pa_debug.g_err_stage:='Fetching resource List id - l_resource_list_id : '|| l_resource_list_id;
2267: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2268: END IF;
2269:
2270: -- Fetching spread curve id for fixed date spread curve : Bug 3607061 - Starts
2271: BEGIN

Line 2273: pa_debug.g_err_stage:='Fetching spread curve id for fixed date spread curve';

2269:
2270: -- Fetching spread curve id for fixed date spread curve : Bug 3607061 - Starts
2271: BEGIN
2272: IF l_debug_mode = 'Y' THEN
2273: pa_debug.g_err_stage:='Fetching spread curve id for fixed date spread curve';
2274: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2275: END IF;
2276: Select spread_curve_id
2277: into l_fixed_date_sp_id

Line 2274: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2270: -- Fetching spread curve id for fixed date spread curve : Bug 3607061 - Starts
2271: BEGIN
2272: IF l_debug_mode = 'Y' THEN
2273: pa_debug.g_err_stage:='Fetching spread curve id for fixed date spread curve';
2274: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2275: END IF;
2276: Select spread_curve_id
2277: into l_fixed_date_sp_id
2278: from pa_spread_curves_b

Line 2282: pa_debug.g_err_stage:='Fetching spread curve id l_fixed_date_sp_id:'||l_fixed_date_sp_id;

2278: from pa_spread_curves_b
2279: where spread_curve_code = 'FIXED_DATE';
2280:
2281: IF l_debug_mode = 'Y' THEN
2282: pa_debug.g_err_stage:='Fetching spread curve id l_fixed_date_sp_id:'||l_fixed_date_sp_id;
2283: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2284: END IF;
2285:
2286: EXCEPTION

Line 2283: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2279: where spread_curve_code = 'FIXED_DATE';
2280:
2281: IF l_debug_mode = 'Y' THEN
2282: pa_debug.g_err_stage:='Fetching spread curve id l_fixed_date_sp_id:'||l_fixed_date_sp_id;
2283: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2284: END IF;
2285:
2286: EXCEPTION
2287: WHEN NO_DATA_FOUND THEN

Line 2289: pa_debug.g_err_stage:='Fixed date spread curve not found in system';

2285:
2286: EXCEPTION
2287: WHEN NO_DATA_FOUND THEN
2288: IF l_debug_mode = 'Y' THEN
2289: pa_debug.g_err_stage:='Fixed date spread curve not found in system';
2290: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,5);
2291: END IF;
2292: RAISE;
2293: END;

Line 2290: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,5);

2286: EXCEPTION
2287: WHEN NO_DATA_FOUND THEN
2288: IF l_debug_mode = 'Y' THEN
2289: pa_debug.g_err_stage:='Fixed date spread curve not found in system';
2290: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,5);
2291: END IF;
2292: RAISE;
2293: END;
2294: -- Fetching spread curve id for fixed date spread curve : Bug 3607061 - Ends

Line 2312: pa_debug.g_err_stage:='Calling API pa_planning_transaction_utils.Get_Res_Class_Rlm_Ids';

2308: l_trace_stage := 220;
2309: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
2310:
2311: IF l_debug_mode = 'Y' THEN
2312: pa_debug.g_err_stage:='Calling API pa_planning_transaction_utils.Get_Res_Class_Rlm_Ids';
2313: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2314: END IF;
2315:
2316: pa_planning_transaction_utils.Get_Res_Class_Rlm_Ids

Line 2313: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2309: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
2310:
2311: IF l_debug_mode = 'Y' THEN
2312: pa_debug.g_err_stage:='Calling API pa_planning_transaction_utils.Get_Res_Class_Rlm_Ids';
2313: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2314: END IF;
2315:
2316: pa_planning_transaction_utils.Get_Res_Class_Rlm_Ids
2317: (p_project_id => p_project_id,

Line 2330: pa_debug.g_err_stage:='Called API pa_planning_transaction_utils.Get_Res_Class_Rlm_Ids api returned error';

2326: l_trace_stage := 230;
2327: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
2328: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
2329: IF l_debug_mode = 'Y' THEN
2330: pa_debug.g_err_stage:='Called API pa_planning_transaction_utils.Get_Res_Class_Rlm_Ids api returned error';
2331: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2332: END IF;
2333: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
2334: END IF;

Line 2331: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2327: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
2328: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
2329: IF l_debug_mode = 'Y' THEN
2330: pa_debug.g_err_stage:='Called API pa_planning_transaction_utils.Get_Res_Class_Rlm_Ids api returned error';
2331: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2332: END IF;
2333: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
2334: END IF;
2335:

Line 2340: pa_debug.g_err_stage:='l_people_res_class_rlm_id : '||l_people_res_class_rlm_id;

2336: l_trace_stage := 240;
2337: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
2338:
2339: IF l_debug_mode = 'Y' THEN
2340: pa_debug.g_err_stage:='l_people_res_class_rlm_id : '||l_people_res_class_rlm_id;
2341: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2342: END IF;
2343:
2344: l_eligible_rlm_ids_tbl(1) := l_people_res_class_rlm_id;

Line 2341: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2337: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
2338:
2339: IF l_debug_mode = 'Y' THEN
2340: pa_debug.g_err_stage:='l_people_res_class_rlm_id : '||l_people_res_class_rlm_id;
2341: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2342: END IF;
2343:
2344: l_eligible_rlm_ids_tbl(1) := l_people_res_class_rlm_id;
2345:

Line 2396: pa_debug.g_err_stage:='Calling API PA_PLANNING_RESOURCE_UTILS.get_resource_defaults';

2392: -- - STARTS
2393: --------------------------------------------------------------------
2394:
2395: IF l_debug_mode = 'Y' THEN
2396: pa_debug.g_err_stage:='Calling API PA_PLANNING_RESOURCE_UTILS.get_resource_defaults';
2397: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2398: END IF;
2399:
2400: l_trace_stage := 300;

Line 2397: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2393: --------------------------------------------------------------------
2394:
2395: IF l_debug_mode = 'Y' THEN
2396: pa_debug.g_err_stage:='Calling API PA_PLANNING_RESOURCE_UTILS.get_resource_defaults';
2397: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2398: END IF;
2399:
2400: l_trace_stage := 300;
2401: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));

Line 2446: pa_debug.g_err_stage:='Called APIPA_PLANNING_RESOURCE_UTILS.get_resource_defaults api returned error';

2442:
2443: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
2444:
2445: IF l_debug_mode = 'Y' THEN
2446: pa_debug.g_err_stage:='Called APIPA_PLANNING_RESOURCE_UTILS.get_resource_defaults api returned error';
2447: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2448: END IF;
2449: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
2450:

Line 2447: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2443: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
2444:
2445: IF l_debug_mode = 'Y' THEN
2446: pa_debug.g_err_stage:='Called APIPA_PLANNING_RESOURCE_UTILS.get_resource_defaults api returned error';
2447: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2448: END IF;
2449: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
2450:
2451: END IF;

Line 2456: pa_debug.g_err_stage:='Parameters to PA_RLMI_RBS_MAP_PUB.Map_Rlmi_Rbs';

2452:
2453: IF l_debug_mode = 'Y' THEN
2454:
2455: IF l_eligible_rlm_ids_tbl.COUNT >0 THEN
2456: pa_debug.g_err_stage:='Parameters to PA_RLMI_RBS_MAP_PUB.Map_Rlmi_Rbs';
2457: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2458:
2459:
2460: pa_debug.g_err_stage:='p_budget_version_id '||l_budget_version_id;

Line 2457: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2453: IF l_debug_mode = 'Y' THEN
2454:
2455: IF l_eligible_rlm_ids_tbl.COUNT >0 THEN
2456: pa_debug.g_err_stage:='Parameters to PA_RLMI_RBS_MAP_PUB.Map_Rlmi_Rbs';
2457: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2458:
2459:
2460: pa_debug.g_err_stage:='p_budget_version_id '||l_budget_version_id;
2461: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 2460: pa_debug.g_err_stage:='p_budget_version_id '||l_budget_version_id;

2456: pa_debug.g_err_stage:='Parameters to PA_RLMI_RBS_MAP_PUB.Map_Rlmi_Rbs';
2457: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2458:
2459:
2460: pa_debug.g_err_stage:='p_budget_version_id '||l_budget_version_id;
2461: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2462:
2463: pa_debug.g_err_stage:='l_resource_list_id '||l_resource_list_id;
2464: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 2461: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2457: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2458:
2459:
2460: pa_debug.g_err_stage:='p_budget_version_id '||l_budget_version_id;
2461: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2462:
2463: pa_debug.g_err_stage:='l_resource_list_id '||l_resource_list_id;
2464: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2465:

Line 2463: pa_debug.g_err_stage:='l_resource_list_id '||l_resource_list_id;

2459:
2460: pa_debug.g_err_stage:='p_budget_version_id '||l_budget_version_id;
2461: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2462:
2463: pa_debug.g_err_stage:='l_resource_list_id '||l_resource_list_id;
2464: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2465:
2466: pa_debug.g_err_stage:='l_rbs_version_id '||l_rbs_version_id;
2467: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 2464: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2460: pa_debug.g_err_stage:='p_budget_version_id '||l_budget_version_id;
2461: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2462:
2463: pa_debug.g_err_stage:='l_resource_list_id '||l_resource_list_id;
2464: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2465:
2466: pa_debug.g_err_stage:='l_rbs_version_id '||l_rbs_version_id;
2467: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2468:

Line 2466: pa_debug.g_err_stage:='l_rbs_version_id '||l_rbs_version_id;

2462:
2463: pa_debug.g_err_stage:='l_resource_list_id '||l_resource_list_id;
2464: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2465:
2466: pa_debug.g_err_stage:='l_rbs_version_id '||l_rbs_version_id;
2467: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2468:
2469: pa_debug.g_err_stage:='l_eligible_rlm_ids_tbl(1) '||l_eligible_rlm_ids_tbl(1);
2470: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 2467: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2463: pa_debug.g_err_stage:='l_resource_list_id '||l_resource_list_id;
2464: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2465:
2466: pa_debug.g_err_stage:='l_rbs_version_id '||l_rbs_version_id;
2467: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2468:
2469: pa_debug.g_err_stage:='l_eligible_rlm_ids_tbl(1) '||l_eligible_rlm_ids_tbl(1);
2470: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2471:

Line 2469: pa_debug.g_err_stage:='l_eligible_rlm_ids_tbl(1) '||l_eligible_rlm_ids_tbl(1);

2465:
2466: pa_debug.g_err_stage:='l_rbs_version_id '||l_rbs_version_id;
2467: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2468:
2469: pa_debug.g_err_stage:='l_eligible_rlm_ids_tbl(1) '||l_eligible_rlm_ids_tbl(1);
2470: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2471:
2472: pa_debug.g_err_stage:='l_txn_src_typ_code_rbs_prm_tbl(1) '||l_txn_src_typ_code_rbs_prm_tbl(1);
2473: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 2470: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2466: pa_debug.g_err_stage:='l_rbs_version_id '||l_rbs_version_id;
2467: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2468:
2469: pa_debug.g_err_stage:='l_eligible_rlm_ids_tbl(1) '||l_eligible_rlm_ids_tbl(1);
2470: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2471:
2472: pa_debug.g_err_stage:='l_txn_src_typ_code_rbs_prm_tbl(1) '||l_txn_src_typ_code_rbs_prm_tbl(1);
2473: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2474:

Line 2472: pa_debug.g_err_stage:='l_txn_src_typ_code_rbs_prm_tbl(1) '||l_txn_src_typ_code_rbs_prm_tbl(1);

2468:
2469: pa_debug.g_err_stage:='l_eligible_rlm_ids_tbl(1) '||l_eligible_rlm_ids_tbl(1);
2470: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2471:
2472: pa_debug.g_err_stage:='l_txn_src_typ_code_rbs_prm_tbl(1) '||l_txn_src_typ_code_rbs_prm_tbl(1);
2473: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2474:
2475: pa_debug.g_err_stage:='l_person_id_tbl(1) '||l_person_id_tbl(1);
2476: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 2473: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2469: pa_debug.g_err_stage:='l_eligible_rlm_ids_tbl(1) '||l_eligible_rlm_ids_tbl(1);
2470: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2471:
2472: pa_debug.g_err_stage:='l_txn_src_typ_code_rbs_prm_tbl(1) '||l_txn_src_typ_code_rbs_prm_tbl(1);
2473: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2474:
2475: pa_debug.g_err_stage:='l_person_id_tbl(1) '||l_person_id_tbl(1);
2476: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2477:

Line 2475: pa_debug.g_err_stage:='l_person_id_tbl(1) '||l_person_id_tbl(1);

2471:
2472: pa_debug.g_err_stage:='l_txn_src_typ_code_rbs_prm_tbl(1) '||l_txn_src_typ_code_rbs_prm_tbl(1);
2473: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2474:
2475: pa_debug.g_err_stage:='l_person_id_tbl(1) '||l_person_id_tbl(1);
2476: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2477:
2478: pa_debug.g_err_stage:='l_job_id_tbl(1) '||l_job_id_tbl(1);
2479: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 2476: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2472: pa_debug.g_err_stage:='l_txn_src_typ_code_rbs_prm_tbl(1) '||l_txn_src_typ_code_rbs_prm_tbl(1);
2473: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2474:
2475: pa_debug.g_err_stage:='l_person_id_tbl(1) '||l_person_id_tbl(1);
2476: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2477:
2478: pa_debug.g_err_stage:='l_job_id_tbl(1) '||l_job_id_tbl(1);
2479: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2480:

Line 2478: pa_debug.g_err_stage:='l_job_id_tbl(1) '||l_job_id_tbl(1);

2474:
2475: pa_debug.g_err_stage:='l_person_id_tbl(1) '||l_person_id_tbl(1);
2476: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2477:
2478: pa_debug.g_err_stage:='l_job_id_tbl(1) '||l_job_id_tbl(1);
2479: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2480:
2481: pa_debug.g_err_stage:='l_organization_id_tbl(1) '||l_organization_id_tbl(1);
2482: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 2479: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2475: pa_debug.g_err_stage:='l_person_id_tbl(1) '||l_person_id_tbl(1);
2476: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2477:
2478: pa_debug.g_err_stage:='l_job_id_tbl(1) '||l_job_id_tbl(1);
2479: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2480:
2481: pa_debug.g_err_stage:='l_organization_id_tbl(1) '||l_organization_id_tbl(1);
2482: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2483:

Line 2481: pa_debug.g_err_stage:='l_organization_id_tbl(1) '||l_organization_id_tbl(1);

2477:
2478: pa_debug.g_err_stage:='l_job_id_tbl(1) '||l_job_id_tbl(1);
2479: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2480:
2481: pa_debug.g_err_stage:='l_organization_id_tbl(1) '||l_organization_id_tbl(1);
2482: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2483:
2484: pa_debug.g_err_stage:='l_supplier_id_tbl(1) '||l_supplier_id_tbl(1);
2485: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 2482: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2478: pa_debug.g_err_stage:='l_job_id_tbl(1) '||l_job_id_tbl(1);
2479: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2480:
2481: pa_debug.g_err_stage:='l_organization_id_tbl(1) '||l_organization_id_tbl(1);
2482: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2483:
2484: pa_debug.g_err_stage:='l_supplier_id_tbl(1) '||l_supplier_id_tbl(1);
2485: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2486:

Line 2484: pa_debug.g_err_stage:='l_supplier_id_tbl(1) '||l_supplier_id_tbl(1);

2480:
2481: pa_debug.g_err_stage:='l_organization_id_tbl(1) '||l_organization_id_tbl(1);
2482: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2483:
2484: pa_debug.g_err_stage:='l_supplier_id_tbl(1) '||l_supplier_id_tbl(1);
2485: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2486:
2487: pa_debug.g_err_stage:='l_expenditure_type_tbl(1) '||l_expenditure_type_tbl(1);
2488: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 2485: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2481: pa_debug.g_err_stage:='l_organization_id_tbl(1) '||l_organization_id_tbl(1);
2482: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2483:
2484: pa_debug.g_err_stage:='l_supplier_id_tbl(1) '||l_supplier_id_tbl(1);
2485: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2486:
2487: pa_debug.g_err_stage:='l_expenditure_type_tbl(1) '||l_expenditure_type_tbl(1);
2488: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2489:

Line 2487: pa_debug.g_err_stage:='l_expenditure_type_tbl(1) '||l_expenditure_type_tbl(1);

2483:
2484: pa_debug.g_err_stage:='l_supplier_id_tbl(1) '||l_supplier_id_tbl(1);
2485: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2486:
2487: pa_debug.g_err_stage:='l_expenditure_type_tbl(1) '||l_expenditure_type_tbl(1);
2488: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2489:
2490: pa_debug.g_err_stage:='l_event_type_tbl(1) '||l_event_type_tbl(1);
2491: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 2488: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2484: pa_debug.g_err_stage:='l_supplier_id_tbl(1) '||l_supplier_id_tbl(1);
2485: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2486:
2487: pa_debug.g_err_stage:='l_expenditure_type_tbl(1) '||l_expenditure_type_tbl(1);
2488: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2489:
2490: pa_debug.g_err_stage:='l_event_type_tbl(1) '||l_event_type_tbl(1);
2491: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2492:

Line 2490: pa_debug.g_err_stage:='l_event_type_tbl(1) '||l_event_type_tbl(1);

2486:
2487: pa_debug.g_err_stage:='l_expenditure_type_tbl(1) '||l_expenditure_type_tbl(1);
2488: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2489:
2490: pa_debug.g_err_stage:='l_event_type_tbl(1) '||l_event_type_tbl(1);
2491: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2492:
2493: pa_debug.g_err_stage:='l_expenditure_category_tbl(1) '||l_expenditure_category_tbl(1);
2494: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 2491: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2487: pa_debug.g_err_stage:='l_expenditure_type_tbl(1) '||l_expenditure_type_tbl(1);
2488: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2489:
2490: pa_debug.g_err_stage:='l_event_type_tbl(1) '||l_event_type_tbl(1);
2491: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2492:
2493: pa_debug.g_err_stage:='l_expenditure_category_tbl(1) '||l_expenditure_category_tbl(1);
2494: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2495:

Line 2493: pa_debug.g_err_stage:='l_expenditure_category_tbl(1) '||l_expenditure_category_tbl(1);

2489:
2490: pa_debug.g_err_stage:='l_event_type_tbl(1) '||l_event_type_tbl(1);
2491: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2492:
2493: pa_debug.g_err_stage:='l_expenditure_category_tbl(1) '||l_expenditure_category_tbl(1);
2494: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2495:
2496: pa_debug.g_err_stage:='l_revenue_category_code_tbl(1) '||l_revenue_category_code_tbl(1);
2497: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 2494: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2490: pa_debug.g_err_stage:='l_event_type_tbl(1) '||l_event_type_tbl(1);
2491: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2492:
2493: pa_debug.g_err_stage:='l_expenditure_category_tbl(1) '||l_expenditure_category_tbl(1);
2494: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2495:
2496: pa_debug.g_err_stage:='l_revenue_category_code_tbl(1) '||l_revenue_category_code_tbl(1);
2497: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2498:

Line 2496: pa_debug.g_err_stage:='l_revenue_category_code_tbl(1) '||l_revenue_category_code_tbl(1);

2492:
2493: pa_debug.g_err_stage:='l_expenditure_category_tbl(1) '||l_expenditure_category_tbl(1);
2494: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2495:
2496: pa_debug.g_err_stage:='l_revenue_category_code_tbl(1) '||l_revenue_category_code_tbl(1);
2497: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2498:
2499: pa_debug.g_err_stage:='l_project_role_id_tbl(1) '||l_project_role_id_tbl(1);
2500: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 2497: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2493: pa_debug.g_err_stage:='l_expenditure_category_tbl(1) '||l_expenditure_category_tbl(1);
2494: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2495:
2496: pa_debug.g_err_stage:='l_revenue_category_code_tbl(1) '||l_revenue_category_code_tbl(1);
2497: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2498:
2499: pa_debug.g_err_stage:='l_project_role_id_tbl(1) '||l_project_role_id_tbl(1);
2500: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2501:

Line 2499: pa_debug.g_err_stage:='l_project_role_id_tbl(1) '||l_project_role_id_tbl(1);

2495:
2496: pa_debug.g_err_stage:='l_revenue_category_code_tbl(1) '||l_revenue_category_code_tbl(1);
2497: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2498:
2499: pa_debug.g_err_stage:='l_project_role_id_tbl(1) '||l_project_role_id_tbl(1);
2500: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2501:
2502: pa_debug.g_err_stage:='l_resource_class_code_tbl(1) '||l_resource_class_code_tbl(1);
2503: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 2500: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2496: pa_debug.g_err_stage:='l_revenue_category_code_tbl(1) '||l_revenue_category_code_tbl(1);
2497: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2498:
2499: pa_debug.g_err_stage:='l_project_role_id_tbl(1) '||l_project_role_id_tbl(1);
2500: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2501:
2502: pa_debug.g_err_stage:='l_resource_class_code_tbl(1) '||l_resource_class_code_tbl(1);
2503: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2504:

Line 2502: pa_debug.g_err_stage:='l_resource_class_code_tbl(1) '||l_resource_class_code_tbl(1);

2498:
2499: pa_debug.g_err_stage:='l_project_role_id_tbl(1) '||l_project_role_id_tbl(1);
2500: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2501:
2502: pa_debug.g_err_stage:='l_resource_class_code_tbl(1) '||l_resource_class_code_tbl(1);
2503: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2504:
2505: pa_debug.g_err_stage:='l_item_category_id_tbl(1) '||l_item_category_id_tbl(1);
2506: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 2503: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2499: pa_debug.g_err_stage:='l_project_role_id_tbl(1) '||l_project_role_id_tbl(1);
2500: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2501:
2502: pa_debug.g_err_stage:='l_resource_class_code_tbl(1) '||l_resource_class_code_tbl(1);
2503: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2504:
2505: pa_debug.g_err_stage:='l_item_category_id_tbl(1) '||l_item_category_id_tbl(1);
2506: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2507:

Line 2505: pa_debug.g_err_stage:='l_item_category_id_tbl(1) '||l_item_category_id_tbl(1);

2501:
2502: pa_debug.g_err_stage:='l_resource_class_code_tbl(1) '||l_resource_class_code_tbl(1);
2503: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2504:
2505: pa_debug.g_err_stage:='l_item_category_id_tbl(1) '||l_item_category_id_tbl(1);
2506: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2507:
2508: pa_debug.g_err_stage:='l_person_type_code_tbl(1) '||l_person_type_code_tbl(1);
2509: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 2506: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2502: pa_debug.g_err_stage:='l_resource_class_code_tbl(1) '||l_resource_class_code_tbl(1);
2503: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2504:
2505: pa_debug.g_err_stage:='l_item_category_id_tbl(1) '||l_item_category_id_tbl(1);
2506: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2507:
2508: pa_debug.g_err_stage:='l_person_type_code_tbl(1) '||l_person_type_code_tbl(1);
2509: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2510:

Line 2508: pa_debug.g_err_stage:='l_person_type_code_tbl(1) '||l_person_type_code_tbl(1);

2504:
2505: pa_debug.g_err_stage:='l_item_category_id_tbl(1) '||l_item_category_id_tbl(1);
2506: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2507:
2508: pa_debug.g_err_stage:='l_person_type_code_tbl(1) '||l_person_type_code_tbl(1);
2509: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2510:
2511: pa_debug.g_err_stage:='l_bom_resource_id_tbl(1) '||l_bom_resource_id_tbl(1);
2512: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 2509: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2505: pa_debug.g_err_stage:='l_item_category_id_tbl(1) '||l_item_category_id_tbl(1);
2506: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2507:
2508: pa_debug.g_err_stage:='l_person_type_code_tbl(1) '||l_person_type_code_tbl(1);
2509: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2510:
2511: pa_debug.g_err_stage:='l_bom_resource_id_tbl(1) '||l_bom_resource_id_tbl(1);
2512: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2513:

Line 2511: pa_debug.g_err_stage:='l_bom_resource_id_tbl(1) '||l_bom_resource_id_tbl(1);

2507:
2508: pa_debug.g_err_stage:='l_person_type_code_tbl(1) '||l_person_type_code_tbl(1);
2509: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2510:
2511: pa_debug.g_err_stage:='l_bom_resource_id_tbl(1) '||l_bom_resource_id_tbl(1);
2512: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2513:
2514: END IF;
2515:

Line 2512: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2508: pa_debug.g_err_stage:='l_person_type_code_tbl(1) '||l_person_type_code_tbl(1);
2509: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2510:
2511: pa_debug.g_err_stage:='l_bom_resource_id_tbl(1) '||l_bom_resource_id_tbl(1);
2512: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2513:
2514: END IF;
2515:
2516:

Line 2549: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,'before PA_RLMI_RBS_MAP_PUB.Map_Rlmi_Rbs',3);

2545:
2546: --Call the RBS Mapping API only if the rbs version id is not null
2547: IF l_rbs_version_id IS NOT NULL THEN
2548:
2549: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,'before PA_RLMI_RBS_MAP_PUB.Map_Rlmi_Rbs',3);
2550:
2551: PA_RLMI_RBS_MAP_PUB.Map_Rlmi_Rbs(
2552: p_budget_version_id => l_budget_version_id
2553: ,p_resource_list_id => l_resource_list_id

Line 2589: pa_debug.g_err_stage:='Called API PA_RLMI_RBS_MAP_PUB.Map_Rlmi_Rbs returned error';

2585:
2586: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
2587:
2588: IF l_debug_mode = 'Y' THEN
2589: pa_debug.g_err_stage:='Called API PA_RLMI_RBS_MAP_PUB.Map_Rlmi_Rbs returned error';
2590: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2591: END IF;
2592: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
2593:

Line 2590: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2586: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
2587:
2588: IF l_debug_mode = 'Y' THEN
2589: pa_debug.g_err_stage:='Called API PA_RLMI_RBS_MAP_PUB.Map_Rlmi_Rbs returned error';
2590: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2591: END IF;
2592: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
2593:
2594: END IF;

Line 2621: pa_debug.g_err_stage:='Doing processing for TASK ASSIGNMENTS : p_context is'|| p_context;

2617: IF p_context = PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_TASK THEN
2618: l_trace_stage := 340;
2619: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
2620: IF l_debug_mode = 'Y' THEN
2621: pa_debug.g_err_stage:='Doing processing for TASK ASSIGNMENTS : p_context is'|| p_context;
2622: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2623: END IF;
2624: -------------------------------------------------------------------------
2625: -- To call Task Validation API we populate the PLSql tables with task

Line 2622: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2618: l_trace_stage := 340;
2619: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
2620: IF l_debug_mode = 'Y' THEN
2621: pa_debug.g_err_stage:='Doing processing for TASK ASSIGNMENTS : p_context is'|| p_context;
2622: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2623: END IF;
2624: -------------------------------------------------------------------------
2625: -- To call Task Validation API we populate the PLSql tables with task
2626: -- and resource data.

Line 2630: pa_debug.g_err_stage:='Populating PlSql table with Task Data';

2626: -- and resource data.
2627: -------------------------------------------------------------------------
2628:
2629: IF l_debug_mode = 'Y' THEN
2630: pa_debug.g_err_stage:='Populating PlSql table with Task Data';
2631: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2632: END IF;
2633:
2634: -----------------------------------------------------------------

Line 2631: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2627: -------------------------------------------------------------------------
2628:
2629: IF l_debug_mode = 'Y' THEN
2630: pa_debug.g_err_stage:='Populating PlSql table with Task Data';
2631: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2632: END IF;
2633:
2634: -----------------------------------------------------------------
2635: -- Populating Table of task_rec_type

Line 2679: pa_debug.g_err_stage:='Populating PlSql table with Resource Data';

2675: -- Populating Table of resource_rec_type
2676: -----------------------------------------------------------------
2677:
2678: IF l_debug_mode = 'Y' THEN
2679: pa_debug.g_err_stage:='Populating PlSql table with Resource Data';
2680: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2681: END IF;
2682:
2683: l_trace_stage := 380;

Line 2680: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2676: -----------------------------------------------------------------
2677:
2678: IF l_debug_mode = 'Y' THEN
2679: pa_debug.g_err_stage:='Populating PlSql table with Resource Data';
2680: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2681: END IF;
2682:
2683: l_trace_stage := 380;
2684: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));

Line 2964: pa_debug.g_err_stage:='Calling API pa_task_assignment_utils.Validate_Create_Assignment';

2960: -------------------------------------------------
2961: -- Calling Task validation API
2962: -------------------------------------------------
2963: IF l_debug_mode = 'Y' THEN
2964: pa_debug.g_err_stage:='Calling API pa_task_assignment_utils.Validate_Create_Assignment';
2965: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2966: END IF;
2967:
2968: l_trace_stage := 420;

Line 2965: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2961: -- Calling Task validation API
2962: -------------------------------------------------
2963: IF l_debug_mode = 'Y' THEN
2964: pa_debug.g_err_stage:='Calling API pa_task_assignment_utils.Validate_Create_Assignment';
2965: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2966: END IF;
2967:
2968: l_trace_stage := 420;
2969: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));

Line 2986: pa_debug.g_err_stage:='Called API pa_task_assignment_utils.Validate_Create_Assignment returned error';

2982: --dbms_output.put_line('qty aft is '||l_resource_rec_tbl(1).planning_end_date);
2983:
2984: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
2985: IF l_debug_mode = 'Y' THEN
2986: pa_debug.g_err_stage:='Called API pa_task_assignment_utils.Validate_Create_Assignment returned error';
2987: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2988: END IF;
2989: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
2990: END IF;

Line 2987: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2983:
2984: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
2985: IF l_debug_mode = 'Y' THEN
2986: pa_debug.g_err_stage:='Called API pa_task_assignment_utils.Validate_Create_Assignment returned error';
2987: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2988: END IF;
2989: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
2990: END IF;
2991: IF l_debug_mode = 'Y' THEN

Line 2992: pa_debug.g_err_stage:='Returned from pa_task_assignment_utils.Validate_Create_Assignment';

2988: END IF;
2989: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
2990: END IF;
2991: IF l_debug_mode = 'Y' THEN
2992: pa_debug.g_err_stage:='Returned from pa_task_assignment_utils.Validate_Create_Assignment';
2993: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2994: END IF;
2995:
2996: l_trace_stage := 430;

Line 2993: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

2989: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
2990: END IF;
2991: IF l_debug_mode = 'Y' THEN
2992: pa_debug.g_err_stage:='Returned from pa_task_assignment_utils.Validate_Create_Assignment';
2993: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
2994: END IF;
2995:
2996: l_trace_stage := 430;
2997: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));

Line 3014: pa_debug.g_err_stage:='Deleting Data from all resource PLSql tables';

3010: -- the resource data tables.
3011: -----------------------------------------------------------------------
3012:
3013: IF l_debug_mode = 'Y' THEN
3014: pa_debug.g_err_stage:='Deleting Data from all resource PLSql tables';
3015: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3016: END IF;
3017:
3018: l_trace_stage := 450;

Line 3015: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3011: -----------------------------------------------------------------------
3012:
3013: IF l_debug_mode = 'Y' THEN
3014: pa_debug.g_err_stage:='Deleting Data from all resource PLSql tables';
3015: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3016: END IF;
3017:
3018: l_trace_stage := 450;
3019: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));

Line 3028: pa_debug.g_err_stage:='Populating resource data tables from the output parameter table l_resource_rec_tbl';

3024: -- Validate_Create_Assignment
3025: -----------------------------------------------------------------------
3026:
3027: IF l_debug_mode = 'Y' THEN
3028: pa_debug.g_err_stage:='Populating resource data tables from the output parameter table l_resource_rec_tbl';
3029: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3030: END IF;
3031:
3032: FOR i IN l_resource_rec_tbl.FIRST .. l_resource_rec_tbl.LAST LOOP

Line 3029: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3025: -----------------------------------------------------------------------
3026:
3027: IF l_debug_mode = 'Y' THEN
3028: pa_debug.g_err_stage:='Populating resource data tables from the output parameter table l_resource_rec_tbl';
3029: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3030: END IF;
3031:
3032: FOR i IN l_resource_rec_tbl.FIRST .. l_resource_rec_tbl.LAST LOOP
3033: l_trace_stage := 460;

Line 3311: pa_debug.g_err_stage :='l_spread_curve_id_tbl - '||l_spread_curve_id_tbl(i);

3307: -- fixed curve spread curve id. - Bug 3607061 Starts. Please NOTE that fixed date spread curve id is
3308: -- SEEDED as 6, so we are able to hard code it below
3309:
3310: IF l_debug_mode = 'Y' THEN
3311: pa_debug.g_err_stage :='l_spread_curve_id_tbl - '||l_spread_curve_id_tbl(i);
3312: pa_debug.write(g_module_name,pa_debug.g_err_stage,3);
3313:
3314: pa_debug.g_err_stage :='l_sp_fixed_date_tbl'||l_sp_fixed_date_tbl(i);
3315: pa_debug.write(g_module_name,pa_debug.g_err_stage,3);

Line 3312: pa_debug.write(g_module_name,pa_debug.g_err_stage,3);

3308: -- SEEDED as 6, so we are able to hard code it below
3309:
3310: IF l_debug_mode = 'Y' THEN
3311: pa_debug.g_err_stage :='l_spread_curve_id_tbl - '||l_spread_curve_id_tbl(i);
3312: pa_debug.write(g_module_name,pa_debug.g_err_stage,3);
3313:
3314: pa_debug.g_err_stage :='l_sp_fixed_date_tbl'||l_sp_fixed_date_tbl(i);
3315: pa_debug.write(g_module_name,pa_debug.g_err_stage,3);
3316:

Line 3314: pa_debug.g_err_stage :='l_sp_fixed_date_tbl'||l_sp_fixed_date_tbl(i);

3310: IF l_debug_mode = 'Y' THEN
3311: pa_debug.g_err_stage :='l_spread_curve_id_tbl - '||l_spread_curve_id_tbl(i);
3312: pa_debug.write(g_module_name,pa_debug.g_err_stage,3);
3313:
3314: pa_debug.g_err_stage :='l_sp_fixed_date_tbl'||l_sp_fixed_date_tbl(i);
3315: pa_debug.write(g_module_name,pa_debug.g_err_stage,3);
3316:
3317: pa_debug.g_err_stage :='l_planning_start_date_tbl'||l_planning_start_date_tbl(i);
3318: pa_debug.write(g_module_name,pa_debug.g_err_stage,3);

Line 3315: pa_debug.write(g_module_name,pa_debug.g_err_stage,3);

3311: pa_debug.g_err_stage :='l_spread_curve_id_tbl - '||l_spread_curve_id_tbl(i);
3312: pa_debug.write(g_module_name,pa_debug.g_err_stage,3);
3313:
3314: pa_debug.g_err_stage :='l_sp_fixed_date_tbl'||l_sp_fixed_date_tbl(i);
3315: pa_debug.write(g_module_name,pa_debug.g_err_stage,3);
3316:
3317: pa_debug.g_err_stage :='l_planning_start_date_tbl'||l_planning_start_date_tbl(i);
3318: pa_debug.write(g_module_name,pa_debug.g_err_stage,3);
3319:

Line 3317: pa_debug.g_err_stage :='l_planning_start_date_tbl'||l_planning_start_date_tbl(i);

3313:
3314: pa_debug.g_err_stage :='l_sp_fixed_date_tbl'||l_sp_fixed_date_tbl(i);
3315: pa_debug.write(g_module_name,pa_debug.g_err_stage,3);
3316:
3317: pa_debug.g_err_stage :='l_planning_start_date_tbl'||l_planning_start_date_tbl(i);
3318: pa_debug.write(g_module_name,pa_debug.g_err_stage,3);
3319:
3320: pa_debug.g_err_stage :='l_planning_end_date_tbl'||l_planning_end_date_tbl(i);
3321: pa_debug.write(g_module_name,pa_debug.g_err_stage,3);

Line 3318: pa_debug.write(g_module_name,pa_debug.g_err_stage,3);

3314: pa_debug.g_err_stage :='l_sp_fixed_date_tbl'||l_sp_fixed_date_tbl(i);
3315: pa_debug.write(g_module_name,pa_debug.g_err_stage,3);
3316:
3317: pa_debug.g_err_stage :='l_planning_start_date_tbl'||l_planning_start_date_tbl(i);
3318: pa_debug.write(g_module_name,pa_debug.g_err_stage,3);
3319:
3320: pa_debug.g_err_stage :='l_planning_end_date_tbl'||l_planning_end_date_tbl(i);
3321: pa_debug.write(g_module_name,pa_debug.g_err_stage,3);
3322: END IF;

Line 3320: pa_debug.g_err_stage :='l_planning_end_date_tbl'||l_planning_end_date_tbl(i);

3316:
3317: pa_debug.g_err_stage :='l_planning_start_date_tbl'||l_planning_start_date_tbl(i);
3318: pa_debug.write(g_module_name,pa_debug.g_err_stage,3);
3319:
3320: pa_debug.g_err_stage :='l_planning_end_date_tbl'||l_planning_end_date_tbl(i);
3321: pa_debug.write(g_module_name,pa_debug.g_err_stage,3);
3322: END IF;
3323:
3324: IF ((l_spread_curve_id_tbl(i) = l_fixed_date_sp_id) AND

Line 3321: pa_debug.write(g_module_name,pa_debug.g_err_stage,3);

3317: pa_debug.g_err_stage :='l_planning_start_date_tbl'||l_planning_start_date_tbl(i);
3318: pa_debug.write(g_module_name,pa_debug.g_err_stage,3);
3319:
3320: pa_debug.g_err_stage :='l_planning_end_date_tbl'||l_planning_end_date_tbl(i);
3321: pa_debug.write(g_module_name,pa_debug.g_err_stage,3);
3322: END IF;
3323:
3324: IF ((l_spread_curve_id_tbl(i) = l_fixed_date_sp_id) AND
3325: (l_sp_fixed_date_tbl(i) IS NOT NULL) AND

Line 3328: pa_debug.g_err_stage :='Sp Fixed Date not between planning start date and End Date';

3324: IF ((l_spread_curve_id_tbl(i) = l_fixed_date_sp_id) AND
3325: (l_sp_fixed_date_tbl(i) IS NOT NULL) AND
3326: (l_sp_fixed_date_tbl(i) NOT BETWEEN l_planning_start_date_tbl(i) AND l_planning_end_date_tbl(i)))THEN
3327: IF l_debug_mode = 'Y' THEN
3328: pa_debug.g_err_stage :='Sp Fixed Date not between planning start date and End Date';
3329: pa_debug.write(g_module_name,pa_debug.g_err_stage,3);
3330: END IF;
3331: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
3332: p_msg_name => 'PA_FP_SP_FIXED_DATE_OUT');

Line 3329: pa_debug.write(g_module_name,pa_debug.g_err_stage,3);

3325: (l_sp_fixed_date_tbl(i) IS NOT NULL) AND
3326: (l_sp_fixed_date_tbl(i) NOT BETWEEN l_planning_start_date_tbl(i) AND l_planning_end_date_tbl(i)))THEN
3327: IF l_debug_mode = 'Y' THEN
3328: pa_debug.g_err_stage :='Sp Fixed Date not between planning start date and End Date';
3329: pa_debug.write(g_module_name,pa_debug.g_err_stage,3);
3330: END IF;
3331: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
3332: p_msg_name => 'PA_FP_SP_FIXED_DATE_OUT');
3333: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;

Line 3588: pa_debug.g_err_stage:='data is deleted in bulk from pa_budget_lines and pa_resource_assignment based on the resource_assignment_id ';

3584: --***************************************************************************************
3585: ------------------------------------------------------------------------------
3586:
3587: IF l_debug_mode = 'Y' THEN
3588: pa_debug.g_err_stage:='data is deleted in bulk from pa_budget_lines and pa_resource_assignment based on the resource_assignment_id ';
3589: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3590: END IF;
3591:
3592: END IF;

Line 3589: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3585: ------------------------------------------------------------------------------
3586:
3587: IF l_debug_mode = 'Y' THEN
3588: pa_debug.g_err_stage:='data is deleted in bulk from pa_budget_lines and pa_resource_assignment based on the resource_assignment_id ';
3589: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3590: END IF;
3591:
3592: END IF;
3593: --------------------------------------------------------------------------

Line 3601: pa_debug.g_err_stage:='Deriving time phased code ';

3597: ------------------------------------------------------------------------------------------------
3598: -- Deriving Time Phased Code based on the budget version id and setting the spread amount flad
3599: -------------------------------------------------------------------------------------------------
3600: IF l_debug_mode = 'Y' THEN
3601: pa_debug.g_err_stage:='Deriving time phased code ';
3602: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3603: END IF;
3604:
3605: l_time_phased_code := pa_fin_plan_utils.get_time_phased_code(p_budget_version_id);

Line 3602: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3598: -- Deriving Time Phased Code based on the budget version id and setting the spread amount flad
3599: -------------------------------------------------------------------------------------------------
3600: IF l_debug_mode = 'Y' THEN
3601: pa_debug.g_err_stage:='Deriving time phased code ';
3602: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3603: END IF;
3604:
3605: l_time_phased_code := pa_fin_plan_utils.get_time_phased_code(p_budget_version_id);
3606:

Line 3608: pa_debug.g_err_stage:='Deriving time phased code l_time_phased_code: '||l_time_phased_code;

3604:
3605: l_time_phased_code := pa_fin_plan_utils.get_time_phased_code(p_budget_version_id);
3606:
3607: IF l_debug_mode = 'Y' THEN
3608: pa_debug.g_err_stage:='Deriving time phased code l_time_phased_code: '||l_time_phased_code;
3609: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3610: END IF;
3611: l_trace_stage := 550;
3612: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));

Line 3609: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3605: l_time_phased_code := pa_fin_plan_utils.get_time_phased_code(p_budget_version_id);
3606:
3607: IF l_debug_mode = 'Y' THEN
3608: pa_debug.g_err_stage:='Deriving time phased code l_time_phased_code: '||l_time_phased_code;
3609: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3610: END IF;
3611: l_trace_stage := 550;
3612: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
3613:

Line 3627: pa_debug.g_err_stage:='Deriving Proj Element Id based on element version id';

3623: ------------------------------------------------------------------------------------------------
3624: -- Deriving Proj Element Id based on element version id
3625: -------------------------------------------------------------------------------------------------
3626: IF l_debug_mode = 'Y' THEN
3627: pa_debug.g_err_stage:='Deriving Proj Element Id based on element version id';
3628: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3629: END IF;
3630:
3631: FOR i IN p_task_elem_version_id_tbl.FIRST .. p_task_elem_version_id_tbl.LAST LOOP

Line 3628: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3624: -- Deriving Proj Element Id based on element version id
3625: -------------------------------------------------------------------------------------------------
3626: IF l_debug_mode = 'Y' THEN
3627: pa_debug.g_err_stage:='Deriving Proj Element Id based on element version id';
3628: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3629: END IF;
3630:
3631: FOR i IN p_task_elem_version_id_tbl.FIRST .. p_task_elem_version_id_tbl.LAST LOOP
3632: l_trace_stage := 570;

Line 3640: pa_debug.g_err_stage:='Deriving Proj Element Id based on element version id l_proj_element_id : '|| l_proj_element_id;

3636: l_trace_stage := 580;
3637: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
3638: FETCH c_proj_element_id INTO l_proj_element_id;
3639: IF l_debug_mode = 'Y' THEN
3640: pa_debug.g_err_stage:='Deriving Proj Element Id based on element version id l_proj_element_id : '|| l_proj_element_id;
3641: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3642: END IF;
3643: l_proj_element_id_tbl(i) := l_proj_element_id;
3644: CLOSE c_proj_element_id;

Line 3641: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3637: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
3638: FETCH c_proj_element_id INTO l_proj_element_id;
3639: IF l_debug_mode = 'Y' THEN
3640: pa_debug.g_err_stage:='Deriving Proj Element Id based on element version id l_proj_element_id : '|| l_proj_element_id;
3641: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3642: END IF;
3643: l_proj_element_id_tbl(i) := l_proj_element_id;
3644: CLOSE c_proj_element_id;
3645: ELSE

Line 3653: pa_debug.g_err_stage:='Deriving Proj Element Id based on element version id l_proj_element_id_tbl cnt : '|| l_proj_element_id_tbl.COUNT;

3649: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
3650: END LOOP;
3651:
3652: IF l_debug_mode = 'Y' THEN
3653: pa_debug.g_err_stage:='Deriving Proj Element Id based on element version id l_proj_element_id_tbl cnt : '|| l_proj_element_id_tbl.COUNT;
3654: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3655: END IF;
3656: l_trace_stage := 600;
3657: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));

Line 3654: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3650: END LOOP;
3651:
3652: IF l_debug_mode = 'Y' THEN
3653: pa_debug.g_err_stage:='Deriving Proj Element Id based on element version id l_proj_element_id_tbl cnt : '|| l_proj_element_id_tbl.COUNT;
3654: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3655: END IF;
3656: l_trace_stage := 600;
3657: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
3658:

Line 3668: pa_debug.g_err_stage:='Deriving start date for task_element_version_ids';

3664: l_trace_stage := 610;
3665: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
3666:
3667: IF l_debug_mode = 'Y' THEN
3668: pa_debug.g_err_stage:='Deriving start date for task_element_version_ids';
3669: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3670: END IF;
3671:
3672: -- Bug 3793623 - Added new params p_planning_start_date_tbl and p_planning_end_date_tbl

Line 3669: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3665: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
3666:
3667: IF l_debug_mode = 'Y' THEN
3668: pa_debug.g_err_stage:='Deriving start date for task_element_version_ids';
3669: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3670: END IF;
3671:
3672: -- Bug 3793623 - Added new params p_planning_start_date_tbl and p_planning_end_date_tbl
3673: PA_PLANNING_TRANSACTION_UTILS.get_default_planning_dates

Line 3688: pa_debug.g_err_stage:='Called API pafpptub.get_default_planning_dates returned error';

3684:
3685: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
3686:
3687: IF l_debug_mode = 'Y' THEN
3688: pa_debug.g_err_stage:='Called API pafpptub.get_default_planning_dates returned error';
3689: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ',pa_debug.g_err_stage, 3);
3690: END IF;
3691: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
3692: END IF;

Line 3689: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ',pa_debug.g_err_stage, 3);

3685: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
3686:
3687: IF l_debug_mode = 'Y' THEN
3688: pa_debug.g_err_stage:='Called API pafpptub.get_default_planning_dates returned error';
3689: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ',pa_debug.g_err_stage, 3);
3690: END IF;
3691: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
3692: END IF;
3693:

Line 3723: pa_debug.g_err_stage:='BULK INSERTING DATA INTO PA_RESOURCE_ASSIGNMENTS ';

3719: -- validation API then that value should be used.
3720: -----------------------------------------------------------------------------------------------------
3721:
3722: IF l_debug_mode = 'Y' THEN
3723: pa_debug.g_err_stage:='BULK INSERTING DATA INTO PA_RESOURCE_ASSIGNMENTS ';
3724: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3725: END IF;
3726:
3727: l_call_calc_api := 'N';

Line 3724: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3720: -----------------------------------------------------------------------------------------------------
3721:
3722: IF l_debug_mode = 'Y' THEN
3723: pa_debug.g_err_stage:='BULK INSERTING DATA INTO PA_RESOURCE_ASSIGNMENTS ';
3724: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3725: END IF;
3726:
3727: l_call_calc_api := 'N';
3728:

Line 3803: pa_debug.g_err_stage:='l_proj_element_id_tbl :'||l_proj_element_id_tbl.COUNT;

3799: -- REFERENCE SO THAT THEY CAN BE USED WHEN AND WHERE
3800: -- NEEDED FOR DEBUGGIND ISSUE WITH BULK DTA INSERTION.
3801: -----------------------------------------------------
3802: /*
3803: pa_debug.g_err_stage:='l_proj_element_id_tbl :'||l_proj_element_id_tbl.COUNT;
3804: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3805: pa_debug.g_err_stage:='l_unit_of_measure_tbl :'||l_unit_of_measure_tbl.COUNT;
3806: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3807: pa_debug.g_err_stage:='p_task_elem_version_id_tbl :'||p_task_elem_version_id_tbl.COUNT;

Line 3804: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3800: -- NEEDED FOR DEBUGGIND ISSUE WITH BULK DTA INSERTION.
3801: -----------------------------------------------------
3802: /*
3803: pa_debug.g_err_stage:='l_proj_element_id_tbl :'||l_proj_element_id_tbl.COUNT;
3804: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3805: pa_debug.g_err_stage:='l_unit_of_measure_tbl :'||l_unit_of_measure_tbl.COUNT;
3806: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3807: pa_debug.g_err_stage:='p_task_elem_version_id_tbl :'||p_task_elem_version_id_tbl.COUNT;
3808: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3805: pa_debug.g_err_stage:='l_unit_of_measure_tbl :'||l_unit_of_measure_tbl.COUNT;

3801: -----------------------------------------------------
3802: /*
3803: pa_debug.g_err_stage:='l_proj_element_id_tbl :'||l_proj_element_id_tbl.COUNT;
3804: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3805: pa_debug.g_err_stage:='l_unit_of_measure_tbl :'||l_unit_of_measure_tbl.COUNT;
3806: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3807: pa_debug.g_err_stage:='p_task_elem_version_id_tbl :'||p_task_elem_version_id_tbl.COUNT;
3808: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3809: pa_debug.g_err_stage:='l_start_date_tbl :'||p_start_date_tbl.COUNT;

Line 3806: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3802: /*
3803: pa_debug.g_err_stage:='l_proj_element_id_tbl :'||l_proj_element_id_tbl.COUNT;
3804: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3805: pa_debug.g_err_stage:='l_unit_of_measure_tbl :'||l_unit_of_measure_tbl.COUNT;
3806: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3807: pa_debug.g_err_stage:='p_task_elem_version_id_tbl :'||p_task_elem_version_id_tbl.COUNT;
3808: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3809: pa_debug.g_err_stage:='l_start_date_tbl :'||p_start_date_tbl.COUNT;
3810: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3807: pa_debug.g_err_stage:='p_task_elem_version_id_tbl :'||p_task_elem_version_id_tbl.COUNT;

3803: pa_debug.g_err_stage:='l_proj_element_id_tbl :'||l_proj_element_id_tbl.COUNT;
3804: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3805: pa_debug.g_err_stage:='l_unit_of_measure_tbl :'||l_unit_of_measure_tbl.COUNT;
3806: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3807: pa_debug.g_err_stage:='p_task_elem_version_id_tbl :'||p_task_elem_version_id_tbl.COUNT;
3808: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3809: pa_debug.g_err_stage:='l_start_date_tbl :'||p_start_date_tbl.COUNT;
3810: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3811: pa_debug.g_err_stage:='l_end_date_tbl :'||p_end_date_tbl.COUNT;

Line 3808: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3804: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3805: pa_debug.g_err_stage:='l_unit_of_measure_tbl :'||l_unit_of_measure_tbl.COUNT;
3806: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3807: pa_debug.g_err_stage:='p_task_elem_version_id_tbl :'||p_task_elem_version_id_tbl.COUNT;
3808: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3809: pa_debug.g_err_stage:='l_start_date_tbl :'||p_start_date_tbl.COUNT;
3810: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3811: pa_debug.g_err_stage:='l_end_date_tbl :'||p_end_date_tbl.COUNT;
3812: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3809: pa_debug.g_err_stage:='l_start_date_tbl :'||p_start_date_tbl.COUNT;

3805: pa_debug.g_err_stage:='l_unit_of_measure_tbl :'||l_unit_of_measure_tbl.COUNT;
3806: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3807: pa_debug.g_err_stage:='p_task_elem_version_id_tbl :'||p_task_elem_version_id_tbl.COUNT;
3808: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3809: pa_debug.g_err_stage:='l_start_date_tbl :'||p_start_date_tbl.COUNT;
3810: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3811: pa_debug.g_err_stage:='l_end_date_tbl :'||p_end_date_tbl.COUNT;
3812: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3813: pa_debug.g_err_stage:='l_etc_method_code_tbl :'||l_etc_method_code_tbl.COUNT;

Line 3810: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3806: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3807: pa_debug.g_err_stage:='p_task_elem_version_id_tbl :'||p_task_elem_version_id_tbl.COUNT;
3808: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3809: pa_debug.g_err_stage:='l_start_date_tbl :'||p_start_date_tbl.COUNT;
3810: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3811: pa_debug.g_err_stage:='l_end_date_tbl :'||p_end_date_tbl.COUNT;
3812: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3813: pa_debug.g_err_stage:='l_etc_method_code_tbl :'||l_etc_method_code_tbl.COUNT;
3814: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3811: pa_debug.g_err_stage:='l_end_date_tbl :'||p_end_date_tbl.COUNT;

3807: pa_debug.g_err_stage:='p_task_elem_version_id_tbl :'||p_task_elem_version_id_tbl.COUNT;
3808: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3809: pa_debug.g_err_stage:='l_start_date_tbl :'||p_start_date_tbl.COUNT;
3810: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3811: pa_debug.g_err_stage:='l_end_date_tbl :'||p_end_date_tbl.COUNT;
3812: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3813: pa_debug.g_err_stage:='l_etc_method_code_tbl :'||l_etc_method_code_tbl.COUNT;
3814: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3815: pa_debug.g_err_stage:='l_res_type_code_tbl :'||l_res_type_code_tbl.COUNT;

Line 3812: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3808: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3809: pa_debug.g_err_stage:='l_start_date_tbl :'||p_start_date_tbl.COUNT;
3810: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3811: pa_debug.g_err_stage:='l_end_date_tbl :'||p_end_date_tbl.COUNT;
3812: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3813: pa_debug.g_err_stage:='l_etc_method_code_tbl :'||l_etc_method_code_tbl.COUNT;
3814: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3815: pa_debug.g_err_stage:='l_res_type_code_tbl :'||l_res_type_code_tbl.COUNT;
3816: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3813: pa_debug.g_err_stage:='l_etc_method_code_tbl :'||l_etc_method_code_tbl.COUNT;

3809: pa_debug.g_err_stage:='l_start_date_tbl :'||p_start_date_tbl.COUNT;
3810: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3811: pa_debug.g_err_stage:='l_end_date_tbl :'||p_end_date_tbl.COUNT;
3812: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3813: pa_debug.g_err_stage:='l_etc_method_code_tbl :'||l_etc_method_code_tbl.COUNT;
3814: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3815: pa_debug.g_err_stage:='l_res_type_code_tbl :'||l_res_type_code_tbl.COUNT;
3816: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3817: pa_debug.g_err_stage:='l_fc_res_type_code_tbl :'||l_fc_res_type_code_tbl.COUNT;

Line 3814: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3810: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3811: pa_debug.g_err_stage:='l_end_date_tbl :'||p_end_date_tbl.COUNT;
3812: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3813: pa_debug.g_err_stage:='l_etc_method_code_tbl :'||l_etc_method_code_tbl.COUNT;
3814: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3815: pa_debug.g_err_stage:='l_res_type_code_tbl :'||l_res_type_code_tbl.COUNT;
3816: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3817: pa_debug.g_err_stage:='l_fc_res_type_code_tbl :'||l_fc_res_type_code_tbl.COUNT;
3818: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3815: pa_debug.g_err_stage:='l_res_type_code_tbl :'||l_res_type_code_tbl.COUNT;

3811: pa_debug.g_err_stage:='l_end_date_tbl :'||p_end_date_tbl.COUNT;
3812: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3813: pa_debug.g_err_stage:='l_etc_method_code_tbl :'||l_etc_method_code_tbl.COUNT;
3814: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3815: pa_debug.g_err_stage:='l_res_type_code_tbl :'||l_res_type_code_tbl.COUNT;
3816: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3817: pa_debug.g_err_stage:='l_fc_res_type_code_tbl :'||l_fc_res_type_code_tbl.COUNT;
3818: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3819: pa_debug.g_err_stage:='l_resource_class_code_tbl :'||l_resource_class_code_tbl.COUNT;

Line 3816: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3812: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3813: pa_debug.g_err_stage:='l_etc_method_code_tbl :'||l_etc_method_code_tbl.COUNT;
3814: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3815: pa_debug.g_err_stage:='l_res_type_code_tbl :'||l_res_type_code_tbl.COUNT;
3816: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3817: pa_debug.g_err_stage:='l_fc_res_type_code_tbl :'||l_fc_res_type_code_tbl.COUNT;
3818: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3819: pa_debug.g_err_stage:='l_resource_class_code_tbl :'||l_resource_class_code_tbl.COUNT;
3820: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3817: pa_debug.g_err_stage:='l_fc_res_type_code_tbl :'||l_fc_res_type_code_tbl.COUNT;

3813: pa_debug.g_err_stage:='l_etc_method_code_tbl :'||l_etc_method_code_tbl.COUNT;
3814: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3815: pa_debug.g_err_stage:='l_res_type_code_tbl :'||l_res_type_code_tbl.COUNT;
3816: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3817: pa_debug.g_err_stage:='l_fc_res_type_code_tbl :'||l_fc_res_type_code_tbl.COUNT;
3818: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3819: pa_debug.g_err_stage:='l_resource_class_code_tbl :'||l_resource_class_code_tbl.COUNT;
3820: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3821: pa_debug.g_err_stage:='l_organization_id_tbl :'||l_organization_id_tbl.COUNT;

Line 3818: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3814: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3815: pa_debug.g_err_stage:='l_res_type_code_tbl :'||l_res_type_code_tbl.COUNT;
3816: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3817: pa_debug.g_err_stage:='l_fc_res_type_code_tbl :'||l_fc_res_type_code_tbl.COUNT;
3818: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3819: pa_debug.g_err_stage:='l_resource_class_code_tbl :'||l_resource_class_code_tbl.COUNT;
3820: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3821: pa_debug.g_err_stage:='l_organization_id_tbl :'||l_organization_id_tbl.COUNT;
3822: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3819: pa_debug.g_err_stage:='l_resource_class_code_tbl :'||l_resource_class_code_tbl.COUNT;

3815: pa_debug.g_err_stage:='l_res_type_code_tbl :'||l_res_type_code_tbl.COUNT;
3816: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3817: pa_debug.g_err_stage:='l_fc_res_type_code_tbl :'||l_fc_res_type_code_tbl.COUNT;
3818: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3819: pa_debug.g_err_stage:='l_resource_class_code_tbl :'||l_resource_class_code_tbl.COUNT;
3820: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3821: pa_debug.g_err_stage:='l_organization_id_tbl :'||l_organization_id_tbl.COUNT;
3822: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3823: pa_debug.g_err_stage:='l_job_id_tbl :'||l_job_id_tbl.COUNT;

Line 3820: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3816: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3817: pa_debug.g_err_stage:='l_fc_res_type_code_tbl :'||l_fc_res_type_code_tbl.COUNT;
3818: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3819: pa_debug.g_err_stage:='l_resource_class_code_tbl :'||l_resource_class_code_tbl.COUNT;
3820: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3821: pa_debug.g_err_stage:='l_organization_id_tbl :'||l_organization_id_tbl.COUNT;
3822: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3823: pa_debug.g_err_stage:='l_job_id_tbl :'||l_job_id_tbl.COUNT;
3824: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3821: pa_debug.g_err_stage:='l_organization_id_tbl :'||l_organization_id_tbl.COUNT;

3817: pa_debug.g_err_stage:='l_fc_res_type_code_tbl :'||l_fc_res_type_code_tbl.COUNT;
3818: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3819: pa_debug.g_err_stage:='l_resource_class_code_tbl :'||l_resource_class_code_tbl.COUNT;
3820: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3821: pa_debug.g_err_stage:='l_organization_id_tbl :'||l_organization_id_tbl.COUNT;
3822: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3823: pa_debug.g_err_stage:='l_job_id_tbl :'||l_job_id_tbl.COUNT;
3824: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3825: pa_debug.g_err_stage:='l_person_id_tbl :'||l_person_id_tbl.COUNT;

Line 3822: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3818: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3819: pa_debug.g_err_stage:='l_resource_class_code_tbl :'||l_resource_class_code_tbl.COUNT;
3820: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3821: pa_debug.g_err_stage:='l_organization_id_tbl :'||l_organization_id_tbl.COUNT;
3822: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3823: pa_debug.g_err_stage:='l_job_id_tbl :'||l_job_id_tbl.COUNT;
3824: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3825: pa_debug.g_err_stage:='l_person_id_tbl :'||l_person_id_tbl.COUNT;
3826: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3823: pa_debug.g_err_stage:='l_job_id_tbl :'||l_job_id_tbl.COUNT;

3819: pa_debug.g_err_stage:='l_resource_class_code_tbl :'||l_resource_class_code_tbl.COUNT;
3820: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3821: pa_debug.g_err_stage:='l_organization_id_tbl :'||l_organization_id_tbl.COUNT;
3822: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3823: pa_debug.g_err_stage:='l_job_id_tbl :'||l_job_id_tbl.COUNT;
3824: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3825: pa_debug.g_err_stage:='l_person_id_tbl :'||l_person_id_tbl.COUNT;
3826: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3827: pa_debug.g_err_stage:='l_revenue_category_code_tbl :'||l_revenue_category_code_tbl.COUNT;

Line 3824: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3820: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3821: pa_debug.g_err_stage:='l_organization_id_tbl :'||l_organization_id_tbl.COUNT;
3822: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3823: pa_debug.g_err_stage:='l_job_id_tbl :'||l_job_id_tbl.COUNT;
3824: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3825: pa_debug.g_err_stage:='l_person_id_tbl :'||l_person_id_tbl.COUNT;
3826: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3827: pa_debug.g_err_stage:='l_revenue_category_code_tbl :'||l_revenue_category_code_tbl.COUNT;
3828: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3825: pa_debug.g_err_stage:='l_person_id_tbl :'||l_person_id_tbl.COUNT;

3821: pa_debug.g_err_stage:='l_organization_id_tbl :'||l_organization_id_tbl.COUNT;
3822: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3823: pa_debug.g_err_stage:='l_job_id_tbl :'||l_job_id_tbl.COUNT;
3824: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3825: pa_debug.g_err_stage:='l_person_id_tbl :'||l_person_id_tbl.COUNT;
3826: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3827: pa_debug.g_err_stage:='l_revenue_category_code_tbl :'||l_revenue_category_code_tbl.COUNT;
3828: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3829: pa_debug.g_err_stage:='l_expenditure_type_tbl :'||l_expenditure_type_tbl.COUNT;

Line 3826: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3822: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3823: pa_debug.g_err_stage:='l_job_id_tbl :'||l_job_id_tbl.COUNT;
3824: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3825: pa_debug.g_err_stage:='l_person_id_tbl :'||l_person_id_tbl.COUNT;
3826: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3827: pa_debug.g_err_stage:='l_revenue_category_code_tbl :'||l_revenue_category_code_tbl.COUNT;
3828: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3829: pa_debug.g_err_stage:='l_expenditure_type_tbl :'||l_expenditure_type_tbl.COUNT;
3830: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3827: pa_debug.g_err_stage:='l_revenue_category_code_tbl :'||l_revenue_category_code_tbl.COUNT;

3823: pa_debug.g_err_stage:='l_job_id_tbl :'||l_job_id_tbl.COUNT;
3824: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3825: pa_debug.g_err_stage:='l_person_id_tbl :'||l_person_id_tbl.COUNT;
3826: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3827: pa_debug.g_err_stage:='l_revenue_category_code_tbl :'||l_revenue_category_code_tbl.COUNT;
3828: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3829: pa_debug.g_err_stage:='l_expenditure_type_tbl :'||l_expenditure_type_tbl.COUNT;
3830: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3831: pa_debug.g_err_stage:='l_expenditure_category_tbl :'||l_expenditure_category_tbl.COUNT;

Line 3828: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3824: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3825: pa_debug.g_err_stage:='l_person_id_tbl :'||l_person_id_tbl.COUNT;
3826: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3827: pa_debug.g_err_stage:='l_revenue_category_code_tbl :'||l_revenue_category_code_tbl.COUNT;
3828: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3829: pa_debug.g_err_stage:='l_expenditure_type_tbl :'||l_expenditure_type_tbl.COUNT;
3830: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3831: pa_debug.g_err_stage:='l_expenditure_category_tbl :'||l_expenditure_category_tbl.COUNT;
3832: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3829: pa_debug.g_err_stage:='l_expenditure_type_tbl :'||l_expenditure_type_tbl.COUNT;

3825: pa_debug.g_err_stage:='l_person_id_tbl :'||l_person_id_tbl.COUNT;
3826: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3827: pa_debug.g_err_stage:='l_revenue_category_code_tbl :'||l_revenue_category_code_tbl.COUNT;
3828: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3829: pa_debug.g_err_stage:='l_expenditure_type_tbl :'||l_expenditure_type_tbl.COUNT;
3830: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3831: pa_debug.g_err_stage:='l_expenditure_category_tbl :'||l_expenditure_category_tbl.COUNT;
3832: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3833: pa_debug.g_err_stage:='l_non_labor_resource_tbl :'||l_non_labor_resource_tbl.COUNT;

Line 3830: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3826: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3827: pa_debug.g_err_stage:='l_revenue_category_code_tbl :'||l_revenue_category_code_tbl.COUNT;
3828: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3829: pa_debug.g_err_stage:='l_expenditure_type_tbl :'||l_expenditure_type_tbl.COUNT;
3830: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3831: pa_debug.g_err_stage:='l_expenditure_category_tbl :'||l_expenditure_category_tbl.COUNT;
3832: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3833: pa_debug.g_err_stage:='l_non_labor_resource_tbl :'||l_non_labor_resource_tbl.COUNT;
3834: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3831: pa_debug.g_err_stage:='l_expenditure_category_tbl :'||l_expenditure_category_tbl.COUNT;

3827: pa_debug.g_err_stage:='l_revenue_category_code_tbl :'||l_revenue_category_code_tbl.COUNT;
3828: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3829: pa_debug.g_err_stage:='l_expenditure_type_tbl :'||l_expenditure_type_tbl.COUNT;
3830: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3831: pa_debug.g_err_stage:='l_expenditure_category_tbl :'||l_expenditure_category_tbl.COUNT;
3832: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3833: pa_debug.g_err_stage:='l_non_labor_resource_tbl :'||l_non_labor_resource_tbl.COUNT;
3834: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3835: pa_debug.g_err_stage:='l_event_type_tbl :'||l_event_type_tbl.COUNT;

Line 3832: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3828: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3829: pa_debug.g_err_stage:='l_expenditure_type_tbl :'||l_expenditure_type_tbl.COUNT;
3830: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3831: pa_debug.g_err_stage:='l_expenditure_category_tbl :'||l_expenditure_category_tbl.COUNT;
3832: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3833: pa_debug.g_err_stage:='l_non_labor_resource_tbl :'||l_non_labor_resource_tbl.COUNT;
3834: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3835: pa_debug.g_err_stage:='l_event_type_tbl :'||l_event_type_tbl.COUNT;
3836: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3833: pa_debug.g_err_stage:='l_non_labor_resource_tbl :'||l_non_labor_resource_tbl.COUNT;

3829: pa_debug.g_err_stage:='l_expenditure_type_tbl :'||l_expenditure_type_tbl.COUNT;
3830: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3831: pa_debug.g_err_stage:='l_expenditure_category_tbl :'||l_expenditure_category_tbl.COUNT;
3832: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3833: pa_debug.g_err_stage:='l_non_labor_resource_tbl :'||l_non_labor_resource_tbl.COUNT;
3834: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3835: pa_debug.g_err_stage:='l_event_type_tbl :'||l_event_type_tbl.COUNT;
3836: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3837: pa_debug.g_err_stage:='l_supplier_id_tbl :'||l_supplier_id_tbl.COUNT;

Line 3834: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3830: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3831: pa_debug.g_err_stage:='l_expenditure_category_tbl :'||l_expenditure_category_tbl.COUNT;
3832: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3833: pa_debug.g_err_stage:='l_non_labor_resource_tbl :'||l_non_labor_resource_tbl.COUNT;
3834: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3835: pa_debug.g_err_stage:='l_event_type_tbl :'||l_event_type_tbl.COUNT;
3836: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3837: pa_debug.g_err_stage:='l_supplier_id_tbl :'||l_supplier_id_tbl.COUNT;
3838: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3835: pa_debug.g_err_stage:='l_event_type_tbl :'||l_event_type_tbl.COUNT;

3831: pa_debug.g_err_stage:='l_expenditure_category_tbl :'||l_expenditure_category_tbl.COUNT;
3832: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3833: pa_debug.g_err_stage:='l_non_labor_resource_tbl :'||l_non_labor_resource_tbl.COUNT;
3834: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3835: pa_debug.g_err_stage:='l_event_type_tbl :'||l_event_type_tbl.COUNT;
3836: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3837: pa_debug.g_err_stage:='l_supplier_id_tbl :'||l_supplier_id_tbl.COUNT;
3838: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3839: pa_debug.g_err_stage:='l_inventory_item_id_tbl :'||l_inventory_item_id_tbl.COUNT;

Line 3836: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3832: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3833: pa_debug.g_err_stage:='l_non_labor_resource_tbl :'||l_non_labor_resource_tbl.COUNT;
3834: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3835: pa_debug.g_err_stage:='l_event_type_tbl :'||l_event_type_tbl.COUNT;
3836: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3837: pa_debug.g_err_stage:='l_supplier_id_tbl :'||l_supplier_id_tbl.COUNT;
3838: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3839: pa_debug.g_err_stage:='l_inventory_item_id_tbl :'||l_inventory_item_id_tbl.COUNT;
3840: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3837: pa_debug.g_err_stage:='l_supplier_id_tbl :'||l_supplier_id_tbl.COUNT;

3833: pa_debug.g_err_stage:='l_non_labor_resource_tbl :'||l_non_labor_resource_tbl.COUNT;
3834: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3835: pa_debug.g_err_stage:='l_event_type_tbl :'||l_event_type_tbl.COUNT;
3836: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3837: pa_debug.g_err_stage:='l_supplier_id_tbl :'||l_supplier_id_tbl.COUNT;
3838: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3839: pa_debug.g_err_stage:='l_inventory_item_id_tbl :'||l_inventory_item_id_tbl.COUNT;
3840: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3841: pa_debug.g_err_stage:='l_bom_resource_id_tbl :'||l_bom_resource_id_tbl.COUNT;

Line 3838: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3834: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3835: pa_debug.g_err_stage:='l_event_type_tbl :'||l_event_type_tbl.COUNT;
3836: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3837: pa_debug.g_err_stage:='l_supplier_id_tbl :'||l_supplier_id_tbl.COUNT;
3838: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3839: pa_debug.g_err_stage:='l_inventory_item_id_tbl :'||l_inventory_item_id_tbl.COUNT;
3840: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3841: pa_debug.g_err_stage:='l_bom_resource_id_tbl :'||l_bom_resource_id_tbl.COUNT;
3842: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3839: pa_debug.g_err_stage:='l_inventory_item_id_tbl :'||l_inventory_item_id_tbl.COUNT;

3835: pa_debug.g_err_stage:='l_event_type_tbl :'||l_event_type_tbl.COUNT;
3836: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3837: pa_debug.g_err_stage:='l_supplier_id_tbl :'||l_supplier_id_tbl.COUNT;
3838: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3839: pa_debug.g_err_stage:='l_inventory_item_id_tbl :'||l_inventory_item_id_tbl.COUNT;
3840: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3841: pa_debug.g_err_stage:='l_bom_resource_id_tbl :'||l_bom_resource_id_tbl.COUNT;
3842: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3843: pa_debug.g_err_stage:='l_inventory_item_id_tbl :'||l_inventory_item_id_tbl.COUNT;

Line 3840: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3836: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3837: pa_debug.g_err_stage:='l_supplier_id_tbl :'||l_supplier_id_tbl.COUNT;
3838: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3839: pa_debug.g_err_stage:='l_inventory_item_id_tbl :'||l_inventory_item_id_tbl.COUNT;
3840: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3841: pa_debug.g_err_stage:='l_bom_resource_id_tbl :'||l_bom_resource_id_tbl.COUNT;
3842: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3843: pa_debug.g_err_stage:='l_inventory_item_id_tbl :'||l_inventory_item_id_tbl.COUNT;
3844: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3841: pa_debug.g_err_stage:='l_bom_resource_id_tbl :'||l_bom_resource_id_tbl.COUNT;

3837: pa_debug.g_err_stage:='l_supplier_id_tbl :'||l_supplier_id_tbl.COUNT;
3838: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3839: pa_debug.g_err_stage:='l_inventory_item_id_tbl :'||l_inventory_item_id_tbl.COUNT;
3840: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3841: pa_debug.g_err_stage:='l_bom_resource_id_tbl :'||l_bom_resource_id_tbl.COUNT;
3842: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3843: pa_debug.g_err_stage:='l_inventory_item_id_tbl :'||l_inventory_item_id_tbl.COUNT;
3844: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3845: pa_debug.g_err_stage:='l_item_category_id_tbl :'||l_item_category_id_tbl.COUNT;

Line 3842: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3838: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3839: pa_debug.g_err_stage:='l_inventory_item_id_tbl :'||l_inventory_item_id_tbl.COUNT;
3840: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3841: pa_debug.g_err_stage:='l_bom_resource_id_tbl :'||l_bom_resource_id_tbl.COUNT;
3842: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3843: pa_debug.g_err_stage:='l_inventory_item_id_tbl :'||l_inventory_item_id_tbl.COUNT;
3844: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3845: pa_debug.g_err_stage:='l_item_category_id_tbl :'||l_item_category_id_tbl.COUNT;
3846: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3843: pa_debug.g_err_stage:='l_inventory_item_id_tbl :'||l_inventory_item_id_tbl.COUNT;

3839: pa_debug.g_err_stage:='l_inventory_item_id_tbl :'||l_inventory_item_id_tbl.COUNT;
3840: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3841: pa_debug.g_err_stage:='l_bom_resource_id_tbl :'||l_bom_resource_id_tbl.COUNT;
3842: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3843: pa_debug.g_err_stage:='l_inventory_item_id_tbl :'||l_inventory_item_id_tbl.COUNT;
3844: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3845: pa_debug.g_err_stage:='l_item_category_id_tbl :'||l_item_category_id_tbl.COUNT;
3846: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3847: pa_debug.g_err_stage:='l_mfc_cost_type_id_tbl :'||l_mfc_cost_type_id_tbl.COUNT;

Line 3844: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3840: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3841: pa_debug.g_err_stage:='l_bom_resource_id_tbl :'||l_bom_resource_id_tbl.COUNT;
3842: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3843: pa_debug.g_err_stage:='l_inventory_item_id_tbl :'||l_inventory_item_id_tbl.COUNT;
3844: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3845: pa_debug.g_err_stage:='l_item_category_id_tbl :'||l_item_category_id_tbl.COUNT;
3846: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3847: pa_debug.g_err_stage:='l_mfc_cost_type_id_tbl :'||l_mfc_cost_type_id_tbl.COUNT;
3848: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3845: pa_debug.g_err_stage:='l_item_category_id_tbl :'||l_item_category_id_tbl.COUNT;

3841: pa_debug.g_err_stage:='l_bom_resource_id_tbl :'||l_bom_resource_id_tbl.COUNT;
3842: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3843: pa_debug.g_err_stage:='l_inventory_item_id_tbl :'||l_inventory_item_id_tbl.COUNT;
3844: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3845: pa_debug.g_err_stage:='l_item_category_id_tbl :'||l_item_category_id_tbl.COUNT;
3846: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3847: pa_debug.g_err_stage:='l_mfc_cost_type_id_tbl :'||l_mfc_cost_type_id_tbl.COUNT;
3848: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3849: pa_debug.g_err_stage:='l_rate_expenditure_type_tbl :'||l_rate_expenditure_type_tbl.COUNT;

Line 3846: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3842: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3843: pa_debug.g_err_stage:='l_inventory_item_id_tbl :'||l_inventory_item_id_tbl.COUNT;
3844: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3845: pa_debug.g_err_stage:='l_item_category_id_tbl :'||l_item_category_id_tbl.COUNT;
3846: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3847: pa_debug.g_err_stage:='l_mfc_cost_type_id_tbl :'||l_mfc_cost_type_id_tbl.COUNT;
3848: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3849: pa_debug.g_err_stage:='l_rate_expenditure_type_tbl :'||l_rate_expenditure_type_tbl.COUNT;
3850: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3847: pa_debug.g_err_stage:='l_mfc_cost_type_id_tbl :'||l_mfc_cost_type_id_tbl.COUNT;

3843: pa_debug.g_err_stage:='l_inventory_item_id_tbl :'||l_inventory_item_id_tbl.COUNT;
3844: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3845: pa_debug.g_err_stage:='l_item_category_id_tbl :'||l_item_category_id_tbl.COUNT;
3846: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3847: pa_debug.g_err_stage:='l_mfc_cost_type_id_tbl :'||l_mfc_cost_type_id_tbl.COUNT;
3848: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3849: pa_debug.g_err_stage:='l_rate_expenditure_type_tbl :'||l_rate_expenditure_type_tbl.COUNT;
3850: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3851: pa_debug.g_err_stage:='l_rate_func_curr_code_tbl :'||l_rate_func_curr_code_tbl.COUNT;

Line 3848: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3844: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3845: pa_debug.g_err_stage:='l_item_category_id_tbl :'||l_item_category_id_tbl.COUNT;
3846: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3847: pa_debug.g_err_stage:='l_mfc_cost_type_id_tbl :'||l_mfc_cost_type_id_tbl.COUNT;
3848: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3849: pa_debug.g_err_stage:='l_rate_expenditure_type_tbl :'||l_rate_expenditure_type_tbl.COUNT;
3850: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3851: pa_debug.g_err_stage:='l_rate_func_curr_code_tbl :'||l_rate_func_curr_code_tbl.COUNT;
3852: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3849: pa_debug.g_err_stage:='l_rate_expenditure_type_tbl :'||l_rate_expenditure_type_tbl.COUNT;

3845: pa_debug.g_err_stage:='l_item_category_id_tbl :'||l_item_category_id_tbl.COUNT;
3846: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3847: pa_debug.g_err_stage:='l_mfc_cost_type_id_tbl :'||l_mfc_cost_type_id_tbl.COUNT;
3848: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3849: pa_debug.g_err_stage:='l_rate_expenditure_type_tbl :'||l_rate_expenditure_type_tbl.COUNT;
3850: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3851: pa_debug.g_err_stage:='l_rate_func_curr_code_tbl :'||l_rate_func_curr_code_tbl.COUNT;
3852: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3853: pa_debug.g_err_stage:='l_rate_based_flag_tbl :'||l_rate_based_flag_tbl.COUNT;

Line 3850: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3846: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3847: pa_debug.g_err_stage:='l_mfc_cost_type_id_tbl :'||l_mfc_cost_type_id_tbl.COUNT;
3848: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3849: pa_debug.g_err_stage:='l_rate_expenditure_type_tbl :'||l_rate_expenditure_type_tbl.COUNT;
3850: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3851: pa_debug.g_err_stage:='l_rate_func_curr_code_tbl :'||l_rate_func_curr_code_tbl.COUNT;
3852: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3853: pa_debug.g_err_stage:='l_rate_based_flag_tbl :'||l_rate_based_flag_tbl.COUNT;
3854: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3851: pa_debug.g_err_stage:='l_rate_func_curr_code_tbl :'||l_rate_func_curr_code_tbl.COUNT;

3847: pa_debug.g_err_stage:='l_mfc_cost_type_id_tbl :'||l_mfc_cost_type_id_tbl.COUNT;
3848: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3849: pa_debug.g_err_stage:='l_rate_expenditure_type_tbl :'||l_rate_expenditure_type_tbl.COUNT;
3850: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3851: pa_debug.g_err_stage:='l_rate_func_curr_code_tbl :'||l_rate_func_curr_code_tbl.COUNT;
3852: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3853: pa_debug.g_err_stage:='l_rate_based_flag_tbl :'||l_rate_based_flag_tbl.COUNT;
3854: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3855: pa_debug.g_err_stage:='l_resource_class_flag_tbl :'||l_resource_class_flag_tbl.COUNT;

Line 3852: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3848: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3849: pa_debug.g_err_stage:='l_rate_expenditure_type_tbl :'||l_rate_expenditure_type_tbl.COUNT;
3850: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3851: pa_debug.g_err_stage:='l_rate_func_curr_code_tbl :'||l_rate_func_curr_code_tbl.COUNT;
3852: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3853: pa_debug.g_err_stage:='l_rate_based_flag_tbl :'||l_rate_based_flag_tbl.COUNT;
3854: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3855: pa_debug.g_err_stage:='l_resource_class_flag_tbl :'||l_resource_class_flag_tbl.COUNT;
3856: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3853: pa_debug.g_err_stage:='l_rate_based_flag_tbl :'||l_rate_based_flag_tbl.COUNT;

3849: pa_debug.g_err_stage:='l_rate_expenditure_type_tbl :'||l_rate_expenditure_type_tbl.COUNT;
3850: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3851: pa_debug.g_err_stage:='l_rate_func_curr_code_tbl :'||l_rate_func_curr_code_tbl.COUNT;
3852: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3853: pa_debug.g_err_stage:='l_rate_based_flag_tbl :'||l_rate_based_flag_tbl.COUNT;
3854: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3855: pa_debug.g_err_stage:='l_resource_class_flag_tbl :'||l_resource_class_flag_tbl.COUNT;
3856: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3857: pa_debug.g_err_stage:='l_named_role_tbl :'||l_named_role_tbl.COUNT;

Line 3854: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3850: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3851: pa_debug.g_err_stage:='l_rate_func_curr_code_tbl :'||l_rate_func_curr_code_tbl.COUNT;
3852: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3853: pa_debug.g_err_stage:='l_rate_based_flag_tbl :'||l_rate_based_flag_tbl.COUNT;
3854: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3855: pa_debug.g_err_stage:='l_resource_class_flag_tbl :'||l_resource_class_flag_tbl.COUNT;
3856: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3857: pa_debug.g_err_stage:='l_named_role_tbl :'||l_named_role_tbl.COUNT;
3858: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3855: pa_debug.g_err_stage:='l_resource_class_flag_tbl :'||l_resource_class_flag_tbl.COUNT;

3851: pa_debug.g_err_stage:='l_rate_func_curr_code_tbl :'||l_rate_func_curr_code_tbl.COUNT;
3852: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3853: pa_debug.g_err_stage:='l_rate_based_flag_tbl :'||l_rate_based_flag_tbl.COUNT;
3854: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3855: pa_debug.g_err_stage:='l_resource_class_flag_tbl :'||l_resource_class_flag_tbl.COUNT;
3856: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3857: pa_debug.g_err_stage:='l_named_role_tbl :'||l_named_role_tbl.COUNT;
3858: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3859: pa_debug.g_err_stage:='l_incur_by_res_class_code_tbl :'||l_incur_by_res_class_code_tbl.COUNT;

Line 3856: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3852: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3853: pa_debug.g_err_stage:='l_rate_based_flag_tbl :'||l_rate_based_flag_tbl.COUNT;
3854: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3855: pa_debug.g_err_stage:='l_resource_class_flag_tbl :'||l_resource_class_flag_tbl.COUNT;
3856: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3857: pa_debug.g_err_stage:='l_named_role_tbl :'||l_named_role_tbl.COUNT;
3858: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3859: pa_debug.g_err_stage:='l_incur_by_res_class_code_tbl :'||l_incur_by_res_class_code_tbl.COUNT;
3860: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3857: pa_debug.g_err_stage:='l_named_role_tbl :'||l_named_role_tbl.COUNT;

3853: pa_debug.g_err_stage:='l_rate_based_flag_tbl :'||l_rate_based_flag_tbl.COUNT;
3854: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3855: pa_debug.g_err_stage:='l_resource_class_flag_tbl :'||l_resource_class_flag_tbl.COUNT;
3856: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3857: pa_debug.g_err_stage:='l_named_role_tbl :'||l_named_role_tbl.COUNT;
3858: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3859: pa_debug.g_err_stage:='l_incur_by_res_class_code_tbl :'||l_incur_by_res_class_code_tbl.COUNT;
3860: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3861: pa_debug.g_err_stage:='l_budget_version_id :'||l_budget_version_id;

Line 3858: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3854: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3855: pa_debug.g_err_stage:='l_resource_class_flag_tbl :'||l_resource_class_flag_tbl.COUNT;
3856: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3857: pa_debug.g_err_stage:='l_named_role_tbl :'||l_named_role_tbl.COUNT;
3858: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3859: pa_debug.g_err_stage:='l_incur_by_res_class_code_tbl :'||l_incur_by_res_class_code_tbl.COUNT;
3860: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3861: pa_debug.g_err_stage:='l_budget_version_id :'||l_budget_version_id;
3862: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3859: pa_debug.g_err_stage:='l_incur_by_res_class_code_tbl :'||l_incur_by_res_class_code_tbl.COUNT;

3855: pa_debug.g_err_stage:='l_resource_class_flag_tbl :'||l_resource_class_flag_tbl.COUNT;
3856: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3857: pa_debug.g_err_stage:='l_named_role_tbl :'||l_named_role_tbl.COUNT;
3858: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3859: pa_debug.g_err_stage:='l_incur_by_res_class_code_tbl :'||l_incur_by_res_class_code_tbl.COUNT;
3860: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3861: pa_debug.g_err_stage:='l_budget_version_id :'||l_budget_version_id;
3862: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3863: pa_debug.g_err_stage:='p_project_id :'||p_project_id;

Line 3860: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3856: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3857: pa_debug.g_err_stage:='l_named_role_tbl :'||l_named_role_tbl.COUNT;
3858: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3859: pa_debug.g_err_stage:='l_incur_by_res_class_code_tbl :'||l_incur_by_res_class_code_tbl.COUNT;
3860: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3861: pa_debug.g_err_stage:='l_budget_version_id :'||l_budget_version_id;
3862: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3863: pa_debug.g_err_stage:='p_project_id :'||p_project_id;
3864: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3861: pa_debug.g_err_stage:='l_budget_version_id :'||l_budget_version_id;

3857: pa_debug.g_err_stage:='l_named_role_tbl :'||l_named_role_tbl.COUNT;
3858: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3859: pa_debug.g_err_stage:='l_incur_by_res_class_code_tbl :'||l_incur_by_res_class_code_tbl.COUNT;
3860: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3861: pa_debug.g_err_stage:='l_budget_version_id :'||l_budget_version_id;
3862: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3863: pa_debug.g_err_stage:='p_project_id :'||p_project_id;
3864: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3865: pa_debug.g_err_stage:='task_id :'||l_proj_element_id_tbl(i);

Line 3862: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3858: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3859: pa_debug.g_err_stage:='l_incur_by_res_class_code_tbl :'||l_incur_by_res_class_code_tbl.COUNT;
3860: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3861: pa_debug.g_err_stage:='l_budget_version_id :'||l_budget_version_id;
3862: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3863: pa_debug.g_err_stage:='p_project_id :'||p_project_id;
3864: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3865: pa_debug.g_err_stage:='task_id :'||l_proj_element_id_tbl(i);
3866: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3863: pa_debug.g_err_stage:='p_project_id :'||p_project_id;

3859: pa_debug.g_err_stage:='l_incur_by_res_class_code_tbl :'||l_incur_by_res_class_code_tbl.COUNT;
3860: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3861: pa_debug.g_err_stage:='l_budget_version_id :'||l_budget_version_id;
3862: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3863: pa_debug.g_err_stage:='p_project_id :'||p_project_id;
3864: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3865: pa_debug.g_err_stage:='task_id :'||l_proj_element_id_tbl(i);
3866: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3867: pa_debug.g_err_stage:='project_assignment_id : -1';

Line 3864: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3860: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3861: pa_debug.g_err_stage:='l_budget_version_id :'||l_budget_version_id;
3862: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3863: pa_debug.g_err_stage:='p_project_id :'||p_project_id;
3864: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3865: pa_debug.g_err_stage:='task_id :'||l_proj_element_id_tbl(i);
3866: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3867: pa_debug.g_err_stage:='project_assignment_id : -1';
3868: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3865: pa_debug.g_err_stage:='task_id :'||l_proj_element_id_tbl(i);

3861: pa_debug.g_err_stage:='l_budget_version_id :'||l_budget_version_id;
3862: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3863: pa_debug.g_err_stage:='p_project_id :'||p_project_id;
3864: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3865: pa_debug.g_err_stage:='task_id :'||l_proj_element_id_tbl(i);
3866: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3867: pa_debug.g_err_stage:='project_assignment_id : -1';
3868: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3869: pa_debug.g_err_stage:='RESOURCE_LIST_MEMBER_ID :'||l_people_res_class_rlm_id;

Line 3866: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3862: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3863: pa_debug.g_err_stage:='p_project_id :'||p_project_id;
3864: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3865: pa_debug.g_err_stage:='task_id :'||l_proj_element_id_tbl(i);
3866: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3867: pa_debug.g_err_stage:='project_assignment_id : -1';
3868: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3869: pa_debug.g_err_stage:='RESOURCE_LIST_MEMBER_ID :'||l_people_res_class_rlm_id;
3870: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);*/

Line 3867: pa_debug.g_err_stage:='project_assignment_id : -1';

3863: pa_debug.g_err_stage:='p_project_id :'||p_project_id;
3864: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3865: pa_debug.g_err_stage:='task_id :'||l_proj_element_id_tbl(i);
3866: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3867: pa_debug.g_err_stage:='project_assignment_id : -1';
3868: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3869: pa_debug.g_err_stage:='RESOURCE_LIST_MEMBER_ID :'||l_people_res_class_rlm_id;
3870: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);*/
3871:

Line 3868: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3864: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3865: pa_debug.g_err_stage:='task_id :'||l_proj_element_id_tbl(i);
3866: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3867: pa_debug.g_err_stage:='project_assignment_id : -1';
3868: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3869: pa_debug.g_err_stage:='RESOURCE_LIST_MEMBER_ID :'||l_people_res_class_rlm_id;
3870: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);*/
3871:
3872: /* l_trace_stage := 761;

Line 3869: pa_debug.g_err_stage:='RESOURCE_LIST_MEMBER_ID :'||l_people_res_class_rlm_id;

3865: pa_debug.g_err_stage:='task_id :'||l_proj_element_id_tbl(i);
3866: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3867: pa_debug.g_err_stage:='project_assignment_id : -1';
3868: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3869: pa_debug.g_err_stage:='RESOURCE_LIST_MEMBER_ID :'||l_people_res_class_rlm_id;
3870: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);*/
3871:
3872: /* l_trace_stage := 761;
3873: hr_utility.trace('l_proj_element_id_tbl(i) => '||to_char(l_proj_element_id_tbl(i)));

Line 3870: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);*/

3866: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3867: pa_debug.g_err_stage:='project_assignment_id : -1';
3868: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3869: pa_debug.g_err_stage:='RESOURCE_LIST_MEMBER_ID :'||l_people_res_class_rlm_id;
3870: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);*/
3871:
3872: /* l_trace_stage := 761;
3873: hr_utility.trace('l_proj_element_id_tbl(i) => '||to_char(l_proj_element_id_tbl(i)));
3874: hr_utility.trace('l_unit_of_measure_tbl(l_ppl_index) => '||to_char(l_unit_of_measure_tbl(l_ppl_index)));

Line 3911: pa_debug.g_err_stage:='BULK INSERTING DATA - p_context - Workplan :'||p_context ;

3907: -- Bug 3749516 Changing All reference of l_ppl_equip_index to l_ppl_index below
3908: l_ppl_index:=1; --This will be used in the bulk insert for people -- -- Bug 3749516
3909:
3910: IF l_debug_mode = 'Y' THEN
3911: pa_debug.g_err_stage:='BULK INSERTING DATA - p_context - Workplan :'||p_context ;
3912: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3913:
3914: pa_debug.g_err_stage:='BULK INSERTING Workplan DATA - rlm id :'||l_eligible_rlm_ids_tbl(l_ppl_index) ;
3915: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,6);

Line 3912: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3908: l_ppl_index:=1; --This will be used in the bulk insert for people -- -- Bug 3749516
3909:
3910: IF l_debug_mode = 'Y' THEN
3911: pa_debug.g_err_stage:='BULK INSERTING DATA - p_context - Workplan :'||p_context ;
3912: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3913:
3914: pa_debug.g_err_stage:='BULK INSERTING Workplan DATA - rlm id :'||l_eligible_rlm_ids_tbl(l_ppl_index) ;
3915: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,6);
3916: END IF;

Line 3914: pa_debug.g_err_stage:='BULK INSERTING Workplan DATA - rlm id :'||l_eligible_rlm_ids_tbl(l_ppl_index) ;

3910: IF l_debug_mode = 'Y' THEN
3911: pa_debug.g_err_stage:='BULK INSERTING DATA - p_context - Workplan :'||p_context ;
3912: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3913:
3914: pa_debug.g_err_stage:='BULK INSERTING Workplan DATA - rlm id :'||l_eligible_rlm_ids_tbl(l_ppl_index) ;
3915: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,6);
3916: END IF;
3917:
3918: FOR i IN p_task_elem_version_id_tbl.FIRST .. p_task_elem_version_id_tbl.LAST LOOP

Line 3915: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,6);

3911: pa_debug.g_err_stage:='BULK INSERTING DATA - p_context - Workplan :'||p_context ;
3912: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3913:
3914: pa_debug.g_err_stage:='BULK INSERTING Workplan DATA - rlm id :'||l_eligible_rlm_ids_tbl(l_ppl_index) ;
3915: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,6);
3916: END IF;
3917:
3918: FOR i IN p_task_elem_version_id_tbl.FIRST .. p_task_elem_version_id_tbl.LAST LOOP
3919: IF ((p_planned_people_effort_tbl.EXISTS(i)) AND

Line 3949: pa_debug.g_err_stage:='AFTER PREPARING INS DATA :'||p_context ;

3945: l_ins_cal_raw_cost_tbl.delete(l_ins_index,l_ins_cal_raw_cost_tbl.count);
3946:
3947:
3948: IF l_debug_mode = 'Y' THEN
3949: pa_debug.g_err_stage:='AFTER PREPARING INS DATA :'||p_context ;
3950: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3951:
3952: IF l_ins_task_elem_version_id_tbl.COUNT >0 THEN
3953: FOR i in l_ins_task_elem_version_id_tbl.FIRST .. l_ins_task_elem_version_id_tbl.LAST LOOP

Line 3950: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3946:
3947:
3948: IF l_debug_mode = 'Y' THEN
3949: pa_debug.g_err_stage:='AFTER PREPARING INS DATA :'||p_context ;
3950: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3951:
3952: IF l_ins_task_elem_version_id_tbl.COUNT >0 THEN
3953: FOR i in l_ins_task_elem_version_id_tbl.FIRST .. l_ins_task_elem_version_id_tbl.LAST LOOP
3954: pa_debug.g_err_stage:='l_ins_proj_element_id_tbl :'||l_ins_proj_element_id_tbl(i) ;

Line 3954: pa_debug.g_err_stage:='l_ins_proj_element_id_tbl :'||l_ins_proj_element_id_tbl(i) ;

3950: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3951:
3952: IF l_ins_task_elem_version_id_tbl.COUNT >0 THEN
3953: FOR i in l_ins_task_elem_version_id_tbl.FIRST .. l_ins_task_elem_version_id_tbl.LAST LOOP
3954: pa_debug.g_err_stage:='l_ins_proj_element_id_tbl :'||l_ins_proj_element_id_tbl(i) ;
3955: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3956:
3957: pa_debug.g_err_stage:='l_ins_task_elem_version_id_tbl :'||l_ins_task_elem_version_id_tbl(i) ;
3958: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3955: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3951:
3952: IF l_ins_task_elem_version_id_tbl.COUNT >0 THEN
3953: FOR i in l_ins_task_elem_version_id_tbl.FIRST .. l_ins_task_elem_version_id_tbl.LAST LOOP
3954: pa_debug.g_err_stage:='l_ins_proj_element_id_tbl :'||l_ins_proj_element_id_tbl(i) ;
3955: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3956:
3957: pa_debug.g_err_stage:='l_ins_task_elem_version_id_tbl :'||l_ins_task_elem_version_id_tbl(i) ;
3958: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3959:

Line 3957: pa_debug.g_err_stage:='l_ins_task_elem_version_id_tbl :'||l_ins_task_elem_version_id_tbl(i) ;

3953: FOR i in l_ins_task_elem_version_id_tbl.FIRST .. l_ins_task_elem_version_id_tbl.LAST LOOP
3954: pa_debug.g_err_stage:='l_ins_proj_element_id_tbl :'||l_ins_proj_element_id_tbl(i) ;
3955: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3956:
3957: pa_debug.g_err_stage:='l_ins_task_elem_version_id_tbl :'||l_ins_task_elem_version_id_tbl(i) ;
3958: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3959:
3960: pa_debug.g_err_stage:='l_ins_start_date_tbl :'||l_ins_start_date_tbl(i) ;
3961: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3958: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3954: pa_debug.g_err_stage:='l_ins_proj_element_id_tbl :'||l_ins_proj_element_id_tbl(i) ;
3955: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3956:
3957: pa_debug.g_err_stage:='l_ins_task_elem_version_id_tbl :'||l_ins_task_elem_version_id_tbl(i) ;
3958: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3959:
3960: pa_debug.g_err_stage:='l_ins_start_date_tbl :'||l_ins_start_date_tbl(i) ;
3961: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3962:

Line 3960: pa_debug.g_err_stage:='l_ins_start_date_tbl :'||l_ins_start_date_tbl(i) ;

3956:
3957: pa_debug.g_err_stage:='l_ins_task_elem_version_id_tbl :'||l_ins_task_elem_version_id_tbl(i) ;
3958: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3959:
3960: pa_debug.g_err_stage:='l_ins_start_date_tbl :'||l_ins_start_date_tbl(i) ;
3961: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3962:
3963: pa_debug.g_err_stage:='l_ins_end_date_tbl :'||l_ins_end_date_tbl(i) ;
3964: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 3961: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3957: pa_debug.g_err_stage:='l_ins_task_elem_version_id_tbl :'||l_ins_task_elem_version_id_tbl(i) ;
3958: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3959:
3960: pa_debug.g_err_stage:='l_ins_start_date_tbl :'||l_ins_start_date_tbl(i) ;
3961: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3962:
3963: pa_debug.g_err_stage:='l_ins_end_date_tbl :'||l_ins_end_date_tbl(i) ;
3964: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3965: END LOOP;

Line 3963: pa_debug.g_err_stage:='l_ins_end_date_tbl :'||l_ins_end_date_tbl(i) ;

3959:
3960: pa_debug.g_err_stage:='l_ins_start_date_tbl :'||l_ins_start_date_tbl(i) ;
3961: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3962:
3963: pa_debug.g_err_stage:='l_ins_end_date_tbl :'||l_ins_end_date_tbl(i) ;
3964: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3965: END LOOP;
3966: END IF;
3967: END IF;

Line 3964: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

3960: pa_debug.g_err_stage:='l_ins_start_date_tbl :'||l_ins_start_date_tbl(i) ;
3961: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3962:
3963: pa_debug.g_err_stage:='l_ins_end_date_tbl :'||l_ins_end_date_tbl(i) ;
3964: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
3965: END LOOP;
3966: END IF;
3967: END IF;
3968:

Line 4149: pa_debug.g_err_stage:='BULK INSERTING DATA - WORPLAN - PEOPLE '||l_res_assignment_id_temp_tbl(k);

4145: IF l_res_assignment_id_temp_tbl(k) IS NOT NULL THEN
4146: l_trace_stage := 780;
4147: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
4148: IF l_debug_mode = 'Y' THEN
4149: pa_debug.g_err_stage:='BULK INSERTING DATA - WORPLAN - PEOPLE '||l_res_assignment_id_temp_tbl(k);
4150: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4151: END IF;
4152: l_quantity_tbl(l_index) := l_ins_cal_people_effort_tbl(k);
4153: l_res_assignment_id_tbl(l_index) := l_res_assignment_id_temp_tbl(k);

Line 4150: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

4146: l_trace_stage := 780;
4147: -- hr_utility.trace('PA_FP_PLAN_TXN_PUB.add_planning_transactions: '||to_char(l_trace_stage));
4148: IF l_debug_mode = 'Y' THEN
4149: pa_debug.g_err_stage:='BULK INSERTING DATA - WORPLAN - PEOPLE '||l_res_assignment_id_temp_tbl(k);
4150: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4151: END IF;
4152: l_quantity_tbl(l_index) := l_ins_cal_people_effort_tbl(k);
4153: l_res_assignment_id_tbl(l_index) := l_res_assignment_id_temp_tbl(k);
4154: -- IF l_spread_amounts_for_ver = 'Y' THEN

Line 4208: pa_debug.g_err_stage:='BULK INSERTING DATA - Context TASK p_context : '||p_context;

4204: -- for p_context - TASK_ASSIGNMENTS
4205: --------------------------------------------
4206: IF p_context = PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_TASK THEN
4207: IF l_debug_mode = 'Y' THEN
4208: pa_debug.g_err_stage:='BULK INSERTING DATA - Context TASK p_context : '||p_context;
4209: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4210: END IF;
4211: --dbms_output.put_line('Inserting for TA');
4212: ---------------------------------------------------------

Line 4209: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

4205: --------------------------------------------
4206: IF p_context = PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_TASK THEN
4207: IF l_debug_mode = 'Y' THEN
4208: pa_debug.g_err_stage:='BULK INSERTING DATA - Context TASK p_context : '||p_context;
4209: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4210: END IF;
4211: --dbms_output.put_line('Inserting for TA');
4212: ---------------------------------------------------------
4213: -- BULK Inserting records into pa_resource_assignments

Line 4395: pa_debug.g_err_stage:='For Budget and Forcast p_context - data mismatch';

4391: -------------------------------------------------------------------------------
4392:
4393: IF l_res_assignment_id_temp_tbl.COUNT <> l_eligible_rlm_ids_tbl.COUNT THEN
4394: IF l_debug_mode = 'Y' THEN
4395: pa_debug.g_err_stage:='For Budget and Forcast p_context - data mismatch';
4396: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4397: END IF;
4398: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
4399: END IF;

Line 4396: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

4392:
4393: IF l_res_assignment_id_temp_tbl.COUNT <> l_eligible_rlm_ids_tbl.COUNT THEN
4394: IF l_debug_mode = 'Y' THEN
4395: pa_debug.g_err_stage:='For Budget and Forcast p_context - data mismatch';
4396: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4397: END IF;
4398: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
4399: END IF;
4400: -----------------------------------------------------------------------

Line 4411: pa_debug.g_err_stage:='BULK INSERTING DATA - TASK Setting DATA - raid count : '||l_res_assignment_id_temp_tbl.COUNT;

4407: IF ( l_res_assignment_id_temp_tbl.COUNT >0) THEN
4408: FOR k IN l_res_assignment_id_temp_tbl.FIRST .. l_res_assignment_id_temp_tbl.LAST LOOP
4409:
4410: IF l_debug_mode = 'Y' THEN
4411: pa_debug.g_err_stage:='BULK INSERTING DATA - TASK Setting DATA - raid count : '||l_res_assignment_id_temp_tbl.COUNT;
4412: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4413: END IF;
4414:
4415: l_res_assignment_id_tbl(l_index) := l_res_assignment_id_temp_tbl(k);

Line 4412: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

4408: FOR k IN l_res_assignment_id_temp_tbl.FIRST .. l_res_assignment_id_temp_tbl.LAST LOOP
4409:
4410: IF l_debug_mode = 'Y' THEN
4411: pa_debug.g_err_stage:='BULK INSERTING DATA - TASK Setting DATA - raid count : '||l_res_assignment_id_temp_tbl.COUNT;
4412: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4413: END IF;
4414:
4415: l_res_assignment_id_tbl(l_index) := l_res_assignment_id_temp_tbl(k);
4416:

Line 4431: pa_debug.g_err_stage:='BULK INSERTING DATA - TASK spread amount flag';

4427: /* bug fix:Bug fix:5726773 AND (p_burdened_cost_tbl(k) <> 0))) THEN */
4428: AND (p_burdened_cost_tbl(k) is NOT NULL))) THEN
4429:
4430: IF l_debug_mode = 'Y' THEN
4431: pa_debug.g_err_stage:='BULK INSERTING DATA - TASK spread amount flag';
4432: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4433: END IF;
4434: l_spread_amount_flags_tbl(l_index) := 'Y';
4435: l_call_calc_api := 'Y';

Line 4432: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

4428: AND (p_burdened_cost_tbl(k) is NOT NULL))) THEN
4429:
4430: IF l_debug_mode = 'Y' THEN
4431: pa_debug.g_err_stage:='BULK INSERTING DATA - TASK spread amount flag';
4432: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4433: END IF;
4434: l_spread_amount_flags_tbl(l_index) := 'Y';
4435: l_call_calc_api := 'Y';
4436:

Line 4538: pa_debug.g_err_stage:='BULK INSERTING DATA - Context TASK p_context : '||p_context;

4534: -------------------------------------------------------------------
4535:
4536: BEGIN
4537: IF l_debug_mode = 'Y' THEN
4538: pa_debug.g_err_stage:='BULK INSERTING DATA - Context TASK p_context : '||p_context;
4539: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4540:
4541: pa_debug.g_err_stage:='l_eligible_rlm_ids_tbl.count '||l_eligible_rlm_ids_tbl.count;
4542: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 4539: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

4535:
4536: BEGIN
4537: IF l_debug_mode = 'Y' THEN
4538: pa_debug.g_err_stage:='BULK INSERTING DATA - Context TASK p_context : '||p_context;
4539: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4540:
4541: pa_debug.g_err_stage:='l_eligible_rlm_ids_tbl.count '||l_eligible_rlm_ids_tbl.count;
4542: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4543:

Line 4541: pa_debug.g_err_stage:='l_eligible_rlm_ids_tbl.count '||l_eligible_rlm_ids_tbl.count;

4537: IF l_debug_mode = 'Y' THEN
4538: pa_debug.g_err_stage:='BULK INSERTING DATA - Context TASK p_context : '||p_context;
4539: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4540:
4541: pa_debug.g_err_stage:='l_eligible_rlm_ids_tbl.count '||l_eligible_rlm_ids_tbl.count;
4542: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4543:
4544: pa_debug.g_err_stage:='l_bf_quantity_tbl.count '||l_bf_quantity_tbl.count;
4545: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 4542: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

4538: pa_debug.g_err_stage:='BULK INSERTING DATA - Context TASK p_context : '||p_context;
4539: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4540:
4541: pa_debug.g_err_stage:='l_eligible_rlm_ids_tbl.count '||l_eligible_rlm_ids_tbl.count;
4542: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4543:
4544: pa_debug.g_err_stage:='l_bf_quantity_tbl.count '||l_bf_quantity_tbl.count;
4545: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4546:

Line 4544: pa_debug.g_err_stage:='l_bf_quantity_tbl.count '||l_bf_quantity_tbl.count;

4540:
4541: pa_debug.g_err_stage:='l_eligible_rlm_ids_tbl.count '||l_eligible_rlm_ids_tbl.count;
4542: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4543:
4544: pa_debug.g_err_stage:='l_bf_quantity_tbl.count '||l_bf_quantity_tbl.count;
4545: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4546:
4547: pa_debug.g_err_stage:='l_bf_raw_cost_tbl.count '||l_bf_raw_cost_tbl.count;
4548: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 4545: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

4541: pa_debug.g_err_stage:='l_eligible_rlm_ids_tbl.count '||l_eligible_rlm_ids_tbl.count;
4542: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4543:
4544: pa_debug.g_err_stage:='l_bf_quantity_tbl.count '||l_bf_quantity_tbl.count;
4545: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4546:
4547: pa_debug.g_err_stage:='l_bf_raw_cost_tbl.count '||l_bf_raw_cost_tbl.count;
4548: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4549:

Line 4547: pa_debug.g_err_stage:='l_bf_raw_cost_tbl.count '||l_bf_raw_cost_tbl.count;

4543:
4544: pa_debug.g_err_stage:='l_bf_quantity_tbl.count '||l_bf_quantity_tbl.count;
4545: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4546:
4547: pa_debug.g_err_stage:='l_bf_raw_cost_tbl.count '||l_bf_raw_cost_tbl.count;
4548: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4549:
4550: pa_debug.g_err_stage:='l_bf_burdened_cost_tbl.count '||l_bf_burdened_cost_tbl.count;
4551: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 4548: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

4544: pa_debug.g_err_stage:='l_bf_quantity_tbl.count '||l_bf_quantity_tbl.count;
4545: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4546:
4547: pa_debug.g_err_stage:='l_bf_raw_cost_tbl.count '||l_bf_raw_cost_tbl.count;
4548: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4549:
4550: pa_debug.g_err_stage:='l_bf_burdened_cost_tbl.count '||l_bf_burdened_cost_tbl.count;
4551: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4552:

Line 4550: pa_debug.g_err_stage:='l_bf_burdened_cost_tbl.count '||l_bf_burdened_cost_tbl.count;

4546:
4547: pa_debug.g_err_stage:='l_bf_raw_cost_tbl.count '||l_bf_raw_cost_tbl.count;
4548: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4549:
4550: pa_debug.g_err_stage:='l_bf_burdened_cost_tbl.count '||l_bf_burdened_cost_tbl.count;
4551: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4552:
4553: pa_debug.g_err_stage:='l_bf_revenue_tbl.count '||l_bf_revenue_tbl.count;
4554: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 4551: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

4547: pa_debug.g_err_stage:='l_bf_raw_cost_tbl.count '||l_bf_raw_cost_tbl.count;
4548: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4549:
4550: pa_debug.g_err_stage:='l_bf_burdened_cost_tbl.count '||l_bf_burdened_cost_tbl.count;
4551: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4552:
4553: pa_debug.g_err_stage:='l_bf_revenue_tbl.count '||l_bf_revenue_tbl.count;
4554: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4555:

Line 4553: pa_debug.g_err_stage:='l_bf_revenue_tbl.count '||l_bf_revenue_tbl.count;

4549:
4550: pa_debug.g_err_stage:='l_bf_burdened_cost_tbl.count '||l_bf_burdened_cost_tbl.count;
4551: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4552:
4553: pa_debug.g_err_stage:='l_bf_revenue_tbl.count '||l_bf_revenue_tbl.count;
4554: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4555:
4556: pa_debug.g_err_stage:='l_bf_currency_code_tbl.count '||l_bf_currency_code_tbl.count;
4557: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 4554: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

4550: pa_debug.g_err_stage:='l_bf_burdened_cost_tbl.count '||l_bf_burdened_cost_tbl.count;
4551: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4552:
4553: pa_debug.g_err_stage:='l_bf_revenue_tbl.count '||l_bf_revenue_tbl.count;
4554: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4555:
4556: pa_debug.g_err_stage:='l_bf_currency_code_tbl.count '||l_bf_currency_code_tbl.count;
4557: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4558:

Line 4556: pa_debug.g_err_stage:='l_bf_currency_code_tbl.count '||l_bf_currency_code_tbl.count;

4552:
4553: pa_debug.g_err_stage:='l_bf_revenue_tbl.count '||l_bf_revenue_tbl.count;
4554: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4555:
4556: pa_debug.g_err_stage:='l_bf_currency_code_tbl.count '||l_bf_currency_code_tbl.count;
4557: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4558:
4559: pa_debug.g_err_stage:='l_bf_cost_rate_tbl.count '||l_bf_cost_rate_tbl.count;
4560: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 4557: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

4553: pa_debug.g_err_stage:='l_bf_revenue_tbl.count '||l_bf_revenue_tbl.count;
4554: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4555:
4556: pa_debug.g_err_stage:='l_bf_currency_code_tbl.count '||l_bf_currency_code_tbl.count;
4557: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4558:
4559: pa_debug.g_err_stage:='l_bf_cost_rate_tbl.count '||l_bf_cost_rate_tbl.count;
4560: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4561:

Line 4559: pa_debug.g_err_stage:='l_bf_cost_rate_tbl.count '||l_bf_cost_rate_tbl.count;

4555:
4556: pa_debug.g_err_stage:='l_bf_currency_code_tbl.count '||l_bf_currency_code_tbl.count;
4557: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4558:
4559: pa_debug.g_err_stage:='l_bf_cost_rate_tbl.count '||l_bf_cost_rate_tbl.count;
4560: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4561:
4562: pa_debug.g_err_stage:='l_bf_bill_rate_tbl.count '||l_bf_bill_rate_tbl.count;
4563: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 4560: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

4556: pa_debug.g_err_stage:='l_bf_currency_code_tbl.count '||l_bf_currency_code_tbl.count;
4557: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4558:
4559: pa_debug.g_err_stage:='l_bf_cost_rate_tbl.count '||l_bf_cost_rate_tbl.count;
4560: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4561:
4562: pa_debug.g_err_stage:='l_bf_bill_rate_tbl.count '||l_bf_bill_rate_tbl.count;
4563: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4564:

Line 4562: pa_debug.g_err_stage:='l_bf_bill_rate_tbl.count '||l_bf_bill_rate_tbl.count;

4558:
4559: pa_debug.g_err_stage:='l_bf_cost_rate_tbl.count '||l_bf_cost_rate_tbl.count;
4560: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4561:
4562: pa_debug.g_err_stage:='l_bf_bill_rate_tbl.count '||l_bf_bill_rate_tbl.count;
4563: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4564:
4565: pa_debug.g_err_stage:='l_bf_burdened_rate_tbl.count '||l_bf_burdened_rate_tbl.count;
4566: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 4563: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

4559: pa_debug.g_err_stage:='l_bf_cost_rate_tbl.count '||l_bf_cost_rate_tbl.count;
4560: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4561:
4562: pa_debug.g_err_stage:='l_bf_bill_rate_tbl.count '||l_bf_bill_rate_tbl.count;
4563: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4564:
4565: pa_debug.g_err_stage:='l_bf_burdened_rate_tbl.count '||l_bf_burdened_rate_tbl.count;
4566: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4567:

Line 4565: pa_debug.g_err_stage:='l_bf_burdened_rate_tbl.count '||l_bf_burdened_rate_tbl.count;

4561:
4562: pa_debug.g_err_stage:='l_bf_bill_rate_tbl.count '||l_bf_bill_rate_tbl.count;
4563: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4564:
4565: pa_debug.g_err_stage:='l_bf_burdened_rate_tbl.count '||l_bf_burdened_rate_tbl.count;
4566: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4567:
4568:
4569: END IF;

Line 4566: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

4562: pa_debug.g_err_stage:='l_bf_bill_rate_tbl.count '||l_bf_bill_rate_tbl.count;
4563: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4564:
4565: pa_debug.g_err_stage:='l_bf_burdened_rate_tbl.count '||l_bf_burdened_rate_tbl.count;
4566: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4567:
4568:
4569: END IF;
4570:

Line 4778: pa_debug.g_err_stage:='No of inserted records + No. of errored records is not equal to total no. of input records';

4774:
4775:
4776: IF (l_index + SQL%BULK_EXCEPTIONS.COUNT ) <> l_eligible_rlm_ids_tbl.COUNT THEN
4777:
4778: pa_debug.g_err_stage:='No of inserted records + No. of errored records is not equal to total no. of input records';
4779: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4780:
4781: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
4782: p_msg_name => 'PA_FP_INV_PARAM_PASSED',

Line 4779: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

4775:
4776: IF (l_index + SQL%BULK_EXCEPTIONS.COUNT ) <> l_eligible_rlm_ids_tbl.COUNT THEN
4777:
4778: pa_debug.g_err_stage:='No of inserted records + No. of errored records is not equal to total no. of input records';
4779: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4780:
4781: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
4782: p_msg_name => 'PA_FP_INV_PARAM_PASSED',
4783: p_token1 => 'PROCEDURENAME',

Line 4874: pa_debug.g_err_stage:='No of duplicates found '||SQL%BULK_EXCEPTIONS.COUNT;

4870: END IF;--IF p_one_to_one_mapping_flag='Y' THEN
4871:
4872: ELSE
4873:
4874: pa_debug.g_err_stage:='No of duplicates found '||SQL%BULK_EXCEPTIONS.COUNT;
4875: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4876:
4877: RAISE;
4878:

Line 4875: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

4871:
4872: ELSE
4873:
4874: pa_debug.g_err_stage:='No of duplicates found '||SQL%BULK_EXCEPTIONS.COUNT;
4875: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4876:
4877: RAISE;
4878:
4879: END IF;

Line 4884: pa_debug.g_err_stage:='FLAG 2 '||l_bf_ra_id_tbl.COUNT;

4880:
4881: END;
4882:
4883: IF l_debug_mode = 'Y' THEN
4884: pa_debug.g_err_stage:='FLAG 2 '||l_bf_ra_id_tbl.COUNT;
4885: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4886: END IF;
4887:
4888: -------------------------------------------------------------------------------

Line 4885: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

4881: END;
4882:
4883: IF l_debug_mode = 'Y' THEN
4884: pa_debug.g_err_stage:='FLAG 2 '||l_bf_ra_id_tbl.COUNT;
4885: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4886: END IF;
4887:
4888: -------------------------------------------------------------------------------
4889: --No of records in rlm id tbl should be equal to the no of records in ra id tb;

Line 4895: pa_debug.g_err_stage:='INSIDE Bulk Data insert for budget/forecast';

4891: IF l_bf_ra_id_tbl.COUNT <> l_eligible_rlm_ids_tbl.COUNT AND
4892: (p_skip_duplicates_flag = 'N') THEN
4893:
4894: IF l_debug_mode = 'Y' THEN
4895: pa_debug.g_err_stage:='INSIDE Bulk Data insert for budget/forecast';
4896: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4897:
4898: pa_debug.g_err_stage:='For Budget and Forcast p_context - data mismatch';
4899: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 4896: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

4892: (p_skip_duplicates_flag = 'N') THEN
4893:
4894: IF l_debug_mode = 'Y' THEN
4895: pa_debug.g_err_stage:='INSIDE Bulk Data insert for budget/forecast';
4896: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4897:
4898: pa_debug.g_err_stage:='For Budget and Forcast p_context - data mismatch';
4899: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4900: END IF;

Line 4898: pa_debug.g_err_stage:='For Budget and Forcast p_context - data mismatch';

4894: IF l_debug_mode = 'Y' THEN
4895: pa_debug.g_err_stage:='INSIDE Bulk Data insert for budget/forecast';
4896: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4897:
4898: pa_debug.g_err_stage:='For Budget and Forcast p_context - data mismatch';
4899: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4900: END IF;
4901: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
4902:

Line 4899: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

4895: pa_debug.g_err_stage:='INSIDE Bulk Data insert for budget/forecast';
4896: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4897:
4898: pa_debug.g_err_stage:='For Budget and Forcast p_context - data mismatch';
4899: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4900: END IF;
4901: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
4902:
4903: END IF;

Line 4958: pa_debug.g_err_stage:='Amount exists and preparing the tbls for calc API';

4954: END IF;
4955:
4956: IF l_amount_exists ='Y' THEN
4957: IF l_debug_mode = 'Y' THEN
4958: pa_debug.g_err_stage:='Amount exists and preparing the tbls for calc API';
4959: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4960: END IF;
4961:
4962: IF l_bf_currency_code_tbl.EXISTS(k) AND

Line 4959: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

4955:
4956: IF l_amount_exists ='Y' THEN
4957: IF l_debug_mode = 'Y' THEN
4958: pa_debug.g_err_stage:='Amount exists and preparing the tbls for calc API';
4959: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4960: END IF;
4961:
4962: IF l_bf_currency_code_tbl.EXISTS(k) AND
4963: NVL(l_bf_currency_code_tbl(k),FND_API.G_MISS_CHAR) <> FND_API.G_MISS_CHAR THEN

Line 4968: pa_debug.g_err_stage:='Currency code not passed when amounts are passed';

4964: l_currency_code_tbl(l_index) := l_bf_currency_code_tbl(k);
4965: ELSE
4966:
4967: IF l_debug_mode = 'Y' THEN
4968: pa_debug.g_err_stage:='Currency code not passed when amounts are passed';
4969: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4970: END IF;
4971: --dbms_output.put_line('curr code not passed');
4972: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',

Line 4969: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

4965: ELSE
4966:
4967: IF l_debug_mode = 'Y' THEN
4968: pa_debug.g_err_stage:='Currency code not passed when amounts are passed';
4969: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
4970: END IF;
4971: --dbms_output.put_line('curr code not passed');
4972: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
4973: p_msg_name => 'PA_FP_INV_PARAM_PASSED');

Line 5033: pa_debug.g_err_stage:='CALCULATE PARAM l_res_assignment_id_tbl :'||l_res_assignment_id_tbl(i);

5029:
5030: IF l_debug_mode = 'Y' THEN
5031: IF l_res_assignment_id_tbl.COUNT > 0 THEN
5032: FOR i in l_res_assignment_id_tbl.FIRST .. l_res_assignment_id_tbl.LAST LOOP
5033: pa_debug.g_err_stage:='CALCULATE PARAM l_res_assignment_id_tbl :'||l_res_assignment_id_tbl(i);
5034: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5035:
5036: pa_debug.g_err_stage:='CALCULATE PARAM l_quantity_tbl :'||l_quantity_tbl(i);
5037: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 5034: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

5030: IF l_debug_mode = 'Y' THEN
5031: IF l_res_assignment_id_tbl.COUNT > 0 THEN
5032: FOR i in l_res_assignment_id_tbl.FIRST .. l_res_assignment_id_tbl.LAST LOOP
5033: pa_debug.g_err_stage:='CALCULATE PARAM l_res_assignment_id_tbl :'||l_res_assignment_id_tbl(i);
5034: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5035:
5036: pa_debug.g_err_stage:='CALCULATE PARAM l_quantity_tbl :'||l_quantity_tbl(i);
5037: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5038:

Line 5036: pa_debug.g_err_stage:='CALCULATE PARAM l_quantity_tbl :'||l_quantity_tbl(i);

5032: FOR i in l_res_assignment_id_tbl.FIRST .. l_res_assignment_id_tbl.LAST LOOP
5033: pa_debug.g_err_stage:='CALCULATE PARAM l_res_assignment_id_tbl :'||l_res_assignment_id_tbl(i);
5034: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5035:
5036: pa_debug.g_err_stage:='CALCULATE PARAM l_quantity_tbl :'||l_quantity_tbl(i);
5037: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5038:
5039: pa_debug.g_err_stage:='CALCULATE PARAM l_raw_cost_tbl :'||l_raw_cost_tbl(i);
5040: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 5037: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

5033: pa_debug.g_err_stage:='CALCULATE PARAM l_res_assignment_id_tbl :'||l_res_assignment_id_tbl(i);
5034: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5035:
5036: pa_debug.g_err_stage:='CALCULATE PARAM l_quantity_tbl :'||l_quantity_tbl(i);
5037: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5038:
5039: pa_debug.g_err_stage:='CALCULATE PARAM l_raw_cost_tbl :'||l_raw_cost_tbl(i);
5040: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5041:

Line 5039: pa_debug.g_err_stage:='CALCULATE PARAM l_raw_cost_tbl :'||l_raw_cost_tbl(i);

5035:
5036: pa_debug.g_err_stage:='CALCULATE PARAM l_quantity_tbl :'||l_quantity_tbl(i);
5037: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5038:
5039: pa_debug.g_err_stage:='CALCULATE PARAM l_raw_cost_tbl :'||l_raw_cost_tbl(i);
5040: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5041:
5042: pa_debug.g_err_stage:='CALCULATE PARAM l_burdened_cost_tbl :'||l_burdened_cost_tbl(i);
5043: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 5040: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

5036: pa_debug.g_err_stage:='CALCULATE PARAM l_quantity_tbl :'||l_quantity_tbl(i);
5037: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5038:
5039: pa_debug.g_err_stage:='CALCULATE PARAM l_raw_cost_tbl :'||l_raw_cost_tbl(i);
5040: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5041:
5042: pa_debug.g_err_stage:='CALCULATE PARAM l_burdened_cost_tbl :'||l_burdened_cost_tbl(i);
5043: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5044:

Line 5042: pa_debug.g_err_stage:='CALCULATE PARAM l_burdened_cost_tbl :'||l_burdened_cost_tbl(i);

5038:
5039: pa_debug.g_err_stage:='CALCULATE PARAM l_raw_cost_tbl :'||l_raw_cost_tbl(i);
5040: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5041:
5042: pa_debug.g_err_stage:='CALCULATE PARAM l_burdened_cost_tbl :'||l_burdened_cost_tbl(i);
5043: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5044:
5045: pa_debug.g_err_stage:='CALCULATE PARAM l_revenue_tbl :'||l_revenue_tbl(i);
5046: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 5043: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

5039: pa_debug.g_err_stage:='CALCULATE PARAM l_raw_cost_tbl :'||l_raw_cost_tbl(i);
5040: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5041:
5042: pa_debug.g_err_stage:='CALCULATE PARAM l_burdened_cost_tbl :'||l_burdened_cost_tbl(i);
5043: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5044:
5045: pa_debug.g_err_stage:='CALCULATE PARAM l_revenue_tbl :'||l_revenue_tbl(i);
5046: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5047:

Line 5045: pa_debug.g_err_stage:='CALCULATE PARAM l_revenue_tbl :'||l_revenue_tbl(i);

5041:
5042: pa_debug.g_err_stage:='CALCULATE PARAM l_burdened_cost_tbl :'||l_burdened_cost_tbl(i);
5043: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5044:
5045: pa_debug.g_err_stage:='CALCULATE PARAM l_revenue_tbl :'||l_revenue_tbl(i);
5046: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5047:
5048: pa_debug.g_err_stage:='CALCULATE PARAM l_currency_code_tbl :'||l_currency_code_tbl(i);
5049: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 5046: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

5042: pa_debug.g_err_stage:='CALCULATE PARAM l_burdened_cost_tbl :'||l_burdened_cost_tbl(i);
5043: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5044:
5045: pa_debug.g_err_stage:='CALCULATE PARAM l_revenue_tbl :'||l_revenue_tbl(i);
5046: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5047:
5048: pa_debug.g_err_stage:='CALCULATE PARAM l_currency_code_tbl :'||l_currency_code_tbl(i);
5049: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5050:

Line 5048: pa_debug.g_err_stage:='CALCULATE PARAM l_currency_code_tbl :'||l_currency_code_tbl(i);

5044:
5045: pa_debug.g_err_stage:='CALCULATE PARAM l_revenue_tbl :'||l_revenue_tbl(i);
5046: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5047:
5048: pa_debug.g_err_stage:='CALCULATE PARAM l_currency_code_tbl :'||l_currency_code_tbl(i);
5049: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5050:
5051: pa_debug.g_err_stage:='CALCULATE PARAM l_cost_rate_tbl :'||l_cost_rate_tbl(i);
5052: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 5049: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

5045: pa_debug.g_err_stage:='CALCULATE PARAM l_revenue_tbl :'||l_revenue_tbl(i);
5046: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5047:
5048: pa_debug.g_err_stage:='CALCULATE PARAM l_currency_code_tbl :'||l_currency_code_tbl(i);
5049: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5050:
5051: pa_debug.g_err_stage:='CALCULATE PARAM l_cost_rate_tbl :'||l_cost_rate_tbl(i);
5052: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5053:

Line 5051: pa_debug.g_err_stage:='CALCULATE PARAM l_cost_rate_tbl :'||l_cost_rate_tbl(i);

5047:
5048: pa_debug.g_err_stage:='CALCULATE PARAM l_currency_code_tbl :'||l_currency_code_tbl(i);
5049: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5050:
5051: pa_debug.g_err_stage:='CALCULATE PARAM l_cost_rate_tbl :'||l_cost_rate_tbl(i);
5052: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5053:
5054: pa_debug.g_err_stage:='CALCULATE PARAM l_burden_multiplier_tbl :'||l_burden_multiplier_tbl(i);
5055: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 5052: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

5048: pa_debug.g_err_stage:='CALCULATE PARAM l_currency_code_tbl :'||l_currency_code_tbl(i);
5049: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5050:
5051: pa_debug.g_err_stage:='CALCULATE PARAM l_cost_rate_tbl :'||l_cost_rate_tbl(i);
5052: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5053:
5054: pa_debug.g_err_stage:='CALCULATE PARAM l_burden_multiplier_tbl :'||l_burden_multiplier_tbl(i);
5055: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5056:

Line 5054: pa_debug.g_err_stage:='CALCULATE PARAM l_burden_multiplier_tbl :'||l_burden_multiplier_tbl(i);

5050:
5051: pa_debug.g_err_stage:='CALCULATE PARAM l_cost_rate_tbl :'||l_cost_rate_tbl(i);
5052: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5053:
5054: pa_debug.g_err_stage:='CALCULATE PARAM l_burden_multiplier_tbl :'||l_burden_multiplier_tbl(i);
5055: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5056:
5057: pa_debug.g_err_stage:='CALCULATE PARAM l_bill_rate_tbl :'||l_bill_rate_tbl(i);
5058: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

Line 5055: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

5051: pa_debug.g_err_stage:='CALCULATE PARAM l_cost_rate_tbl :'||l_cost_rate_tbl(i);
5052: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5053:
5054: pa_debug.g_err_stage:='CALCULATE PARAM l_burden_multiplier_tbl :'||l_burden_multiplier_tbl(i);
5055: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5056:
5057: pa_debug.g_err_stage:='CALCULATE PARAM l_bill_rate_tbl :'||l_bill_rate_tbl(i);
5058: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5059: END LOOP;

Line 5057: pa_debug.g_err_stage:='CALCULATE PARAM l_bill_rate_tbl :'||l_bill_rate_tbl(i);

5053:
5054: pa_debug.g_err_stage:='CALCULATE PARAM l_burden_multiplier_tbl :'||l_burden_multiplier_tbl(i);
5055: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5056:
5057: pa_debug.g_err_stage:='CALCULATE PARAM l_bill_rate_tbl :'||l_bill_rate_tbl(i);
5058: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5059: END LOOP;
5060: END IF;
5061: END IF;

Line 5058: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

5054: pa_debug.g_err_stage:='CALCULATE PARAM l_burden_multiplier_tbl :'||l_burden_multiplier_tbl(i);
5055: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5056:
5057: pa_debug.g_err_stage:='CALCULATE PARAM l_bill_rate_tbl :'||l_bill_rate_tbl(i);
5058: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5059: END LOOP;
5060: END IF;
5061: END IF;
5062:

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

5088: ,x_msg_data => l_msg_data);
5089:
5090: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5091: IF l_debug_mode = 'Y' THEN
5092: pa_debug.g_err_stage:='Called API PA_FP_CALC_PLAN_PKG.calculate api returned error';
5093: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5094: END IF;
5095:
5096: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;

Line 5093: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

5089:
5090: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5091: IF l_debug_mode = 'Y' THEN
5092: pa_debug.g_err_stage:='Called API PA_FP_CALC_PLAN_PKG.calculate api returned error';
5093: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5094: END IF;
5095:
5096: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
5097: END IF;

Line 5121: pa_debug.g_err_stage:='Called API PA_PROJ_TASK_STRUC_PUB.process_wbs_updates_wrp';

5117: END IF;
5118:
5119: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5120: IF l_debug_mode = 'Y' THEN
5121: pa_debug.g_err_stage:='Called API PA_PROJ_TASK_STRUC_PUB.process_wbs_updates_wrp';
5122: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5123: END IF;
5124:
5125: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;

Line 5122: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

5118:
5119: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5120: IF l_debug_mode = 'Y' THEN
5121: pa_debug.g_err_stage:='Called API PA_PROJ_TASK_STRUC_PUB.process_wbs_updates_wrp';
5122: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5123: END IF;
5124:
5125: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
5126: END IF;

Line 5145: pa_debug.g_err_stage:='Called API PA_FIN_PLAN_PUB.create_default_plan_txn_rec returned error';

5141: );
5142:
5143: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5144: IF l_debug_mode = 'Y' THEN
5145: pa_debug.g_err_stage:='Called API PA_FIN_PLAN_PUB.create_default_plan_txn_rec returned error';
5146: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage, 3);
5147: END IF;
5148: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
5149: END IF; /* 7161809 */

Line 5146: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage, 3);

5142:
5143: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5144: IF l_debug_mode = 'Y' THEN
5145: pa_debug.g_err_stage:='Called API PA_FIN_PLAN_PUB.create_default_plan_txn_rec returned error';
5146: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage, 3);
5147: END IF;
5148: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
5149: END IF; /* 7161809 */
5150:

Line 5171: pa_debug.g_err_stage:='Called API pa_fp_gen_amount_utils.get_plan_version_dtls returned error';

5167:
5168: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5169:
5170: IF l_debug_mode = 'Y' THEN
5171: pa_debug.g_err_stage:='Called API pa_fp_gen_amount_utils.get_plan_version_dtls returned error';
5172: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage, 3);
5173: END IF;
5174: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
5175: END IF;

Line 5172: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage, 3);

5168: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5169:
5170: IF l_debug_mode = 'Y' THEN
5171: pa_debug.g_err_stage:='Called API pa_fp_gen_amount_utils.get_plan_version_dtls returned error';
5172: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage, 3);
5173: END IF;
5174: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
5175: END IF;
5176:

Line 5236: pa_debug.g_err_stage:='Called API pa_res_asg_currency_pub.maintain_data returned error';

5232:
5233: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5234:
5235: IF l_debug_mode = 'Y' THEN
5236: pa_debug.g_err_stage:='Called API pa_res_asg_currency_pub.maintain_data returned error';
5237: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage, 3);
5238: END IF;
5239: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
5240: END IF; */

Line 5237: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage, 3);

5233: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5234:
5235: IF l_debug_mode = 'Y' THEN
5236: pa_debug.g_err_stage:='Called API pa_res_asg_currency_pub.maintain_data returned error';
5237: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage, 3);
5238: END IF;
5239: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
5240: END IF; */
5241:

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

5239: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
5240: END IF; */
5241:
5242: IF l_debug_mode = 'Y' THEN
5243: pa_debug.g_err_stage:='CALLED THE PA_FP_CALC_PLAN_PKG.CALCULATE API';
5244: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5245: pa_debug.reset_curr_function;
5246: END IF;
5247: EXCEPTION

Line 5244: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

5240: END IF; */
5241:
5242: IF l_debug_mode = 'Y' THEN
5243: pa_debug.g_err_stage:='CALLED THE PA_FP_CALC_PLAN_PKG.CALCULATE API';
5244: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5245: pa_debug.reset_curr_function;
5246: END IF;
5247: EXCEPTION
5248:

Line 5245: pa_debug.reset_curr_function;

5241:
5242: IF l_debug_mode = 'Y' THEN
5243: pa_debug.g_err_stage:='CALLED THE PA_FP_CALC_PLAN_PKG.CALCULATE API';
5244: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
5245: pa_debug.reset_curr_function;
5246: END IF;
5247: EXCEPTION
5248:
5249: WHEN PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc THEN

Line 5269: pa_debug.reset_curr_function;

5265: x_msg_count := l_msg_count;
5266: END IF;
5267: x_return_status := FND_API.G_RET_STS_ERROR;
5268: IF l_debug_mode = 'Y' THEN
5269: pa_debug.reset_curr_function;
5270: END IF;
5271: WHEN OTHERS THEN
5272:
5273: ROLLBACK TO SAVEPOINT ADD_PLANNING_TRANS_SP;

Line 5281: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;

5277: FND_MSG_PUB.add_exc_msg( p_pkg_name => 'PA_FP_PLANNING_TRANSACTION_PUB'
5278: ,p_procedure_name => 'add_planning_transactions');
5279:
5280: IF l_debug_mode = 'Y' THEN
5281: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;
5282: pa_debug.write('add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,5);
5283: pa_debug.reset_curr_function;
5284: END IF;
5285: RAISE;

Line 5282: pa_debug.write('add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,5);

5278: ,p_procedure_name => 'add_planning_transactions');
5279:
5280: IF l_debug_mode = 'Y' THEN
5281: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;
5282: pa_debug.write('add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,5);
5283: pa_debug.reset_curr_function;
5284: END IF;
5285: RAISE;
5286:

Line 5283: pa_debug.reset_curr_function;

5279:
5280: IF l_debug_mode = 'Y' THEN
5281: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;
5282: pa_debug.write('add_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,5);
5283: pa_debug.reset_curr_function;
5284: END IF;
5285: RAISE;
5286:
5287: END add_planning_transactions;

Line 5602: l_debug_mode := 'Y'; --NVL(FND_PROFILE.value('PA_DEBUG_MODE'),'N');

5598:
5599:
5600: x_msg_count := 0;
5601: x_return_status := FND_API.G_RET_STS_SUCCESS;
5602: l_debug_mode := 'Y'; --NVL(FND_PROFILE.value('PA_DEBUG_MODE'),'N');
5603:
5604: --Added for Bug 4200168
5605: IF p_pji_rollup_required = 'Y' THEN
5606: l_pji_rollup_required := 'Y';

Line 5614: pa_debug.set_curr_function( p_function => 'Update_Planning_Transactions',

5610:
5611: pa_task_assignment_utils.g_require_progress_rollup := 'N';
5612:
5613: IF l_debug_mode = 'Y' THEN
5614: pa_debug.set_curr_function( p_function => 'Update_Planning_Transactions',
5615: p_debug_mode => l_debug_mode );
5616: END IF;
5617: --dbms_output.put_line('In upd planning txn');
5618:

Line 5625: pa_debug.g_err_stage := 'Checking for required parameters';

5621: */
5622: SAVEPOINT Update_Planning_Transactions;
5623:
5624: IF l_debug_mode = 'Y' THEN
5625: pa_debug.g_err_stage := 'Checking for required parameters';
5626: print_msg(pa_debug.g_err_stage,l_module_name);
5627: END IF;
5628:
5629: /* Check for required parameters

Line 5626: print_msg(pa_debug.g_err_stage,l_module_name);

5622: SAVEPOINT Update_Planning_Transactions;
5623:
5624: IF l_debug_mode = 'Y' THEN
5625: pa_debug.g_err_stage := 'Checking for required parameters';
5626: print_msg(pa_debug.g_err_stage,l_module_name);
5627: END IF;
5628:
5629: /* Check for required parameters
5630: */

Line 5633: pa_debug.g_err_stage := 'Extending the local pl/sql tables: p_context =>' ||p_context;

5629: /* Check for required parameters
5630: */
5631:
5632: IF l_debug_mode = 'Y' THEN
5633: pa_debug.g_err_stage := 'Extending the local pl/sql tables: p_context =>' ||p_context;
5634: print_msg(pa_debug.g_err_stage,l_module_name);
5635: END IF;
5636:
5637:

Line 5634: print_msg(pa_debug.g_err_stage,l_module_name);

5630: */
5631:
5632: IF l_debug_mode = 'Y' THEN
5633: pa_debug.g_err_stage := 'Extending the local pl/sql tables: p_context =>' ||p_context;
5634: print_msg(pa_debug.g_err_stage,l_module_name);
5635: END IF;
5636:
5637:
5638:

Line 5645: pa_debug.g_err_stage := 'The Context IN parameter is NULL';

5641: ,PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_WORKPLAN
5642: ,PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_TASK
5643: ,PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_BUDGET ) THEN
5644:
5645: pa_debug.g_err_stage := 'The Context IN parameter is NULL';
5646: pa_debug.write(l_module_name, pa_debug.g_err_stage,l_debug_level5);
5647: --dbms_output.put_line('p_context is null');
5648:
5649: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',

Line 5646: pa_debug.write(l_module_name, pa_debug.g_err_stage,l_debug_level5);

5642: ,PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_TASK
5643: ,PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_BUDGET ) THEN
5644:
5645: pa_debug.g_err_stage := 'The Context IN parameter is NULL';
5646: pa_debug.write(l_module_name, pa_debug.g_err_stage,l_debug_level5);
5647: --dbms_output.put_line('p_context is null');
5648:
5649: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
5650: p_msg_name => 'PA_FP_INV_PARAM_PASSED');

Line 5656: pa_debug.g_err_stage:= 'Checking for required parameters';

5652: END IF;
5653: --dbms_output.put_line('U01');
5654:
5655: IF l_debug_mode = 'Y' THEN
5656: pa_debug.g_err_stage:= 'Checking for required parameters';
5657: print_msg(pa_debug.g_err_stage,l_module_name);
5658: END IF;
5659:
5660:

Line 5657: print_msg(pa_debug.g_err_stage,l_module_name);

5653: --dbms_output.put_line('U01');
5654:
5655: IF l_debug_mode = 'Y' THEN
5656: pa_debug.g_err_stage:= 'Checking for required parameters';
5657: print_msg(pa_debug.g_err_stage,l_module_name);
5658: END IF;
5659:
5660:
5661: /* Check for business rules violations

Line 5664: pa_debug.g_err_stage:= 'Validating input parameters';

5660:
5661: /* Check for business rules violations
5662: */
5663: IF l_debug_mode = 'Y' THEN
5664: pa_debug.g_err_stage:= 'Validating input parameters';
5665: print_msg(pa_debug.g_err_stage,l_module_name);
5666: END IF;
5667:
5668: l_trace_stage := 50;

Line 5665: print_msg(pa_debug.g_err_stage,l_module_name);

5661: /* Check for business rules violations
5662: */
5663: IF l_debug_mode = 'Y' THEN
5664: pa_debug.g_err_stage:= 'Validating input parameters';
5665: print_msg(pa_debug.g_err_stage,l_module_name);
5666: END IF;
5667:
5668: l_trace_stage := 50;
5669: --hr_utility.trace('PA_FP_PLAN_TXN_PUB.update_planning_transactions: '||to_char(l_trace_stage));

Line 5677: pa_debug.g_err_stage:= 'p_struct_elem_version_id is null';

5673: */
5674: IF p_context = PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_WORKPLAN OR p_context = PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_TASK THEN
5675: IF p_struct_elem_version_id IS NULL THEN
5676: IF l_debug_mode = 'Y' THEN
5677: pa_debug.g_err_stage:= 'p_struct_elem_version_id is null';
5678: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
5679: END IF;
5680: --dbms_output.put_line('p_struct_elem_version_id is null');
5681:

Line 5678: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);

5674: IF p_context = PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_WORKPLAN OR p_context = PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_TASK THEN
5675: IF p_struct_elem_version_id IS NULL THEN
5676: IF l_debug_mode = 'Y' THEN
5677: pa_debug.g_err_stage:= 'p_struct_elem_version_id is null';
5678: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
5679: END IF;
5680: --dbms_output.put_line('p_struct_elem_version_id is null');
5681:
5682: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',

Line 5689: pa_debug.g_err_stage:='Calling add plan txn to create the version';

5685: ELSE
5686: l_budget_version_id := PA_PLANNING_TRANSACTION_UTILS.Get_wp_budget_version_id(p_struct_elem_version_id);
5687: IF l_budget_version_id IS NULL THEN
5688: IF l_debug_mode = 'Y' THEN
5689: pa_debug.g_err_stage:='Calling add plan txn to create the version';
5690: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
5691: END IF;
5692:
5693: BEGIN

Line 5690: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);

5686: l_budget_version_id := PA_PLANNING_TRANSACTION_UTILS.Get_wp_budget_version_id(p_struct_elem_version_id);
5687: IF l_budget_version_id IS NULL THEN
5688: IF l_debug_mode = 'Y' THEN
5689: pa_debug.g_err_stage:='Calling add plan txn to create the version';
5690: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
5691: END IF;
5692:
5693: BEGIN
5694: SELECT project_id

Line 5702: pa_debug.g_err_stage:='Invalid value for p_struct_elem_version_id';

5698: AND ROWNUM=1;
5699: EXCEPTION
5700: WHEN NO_DATA_FOUND THEN
5701: IF l_debug_mode = 'Y' THEN
5702: pa_debug.g_err_stage:='Invalid value for p_struct_elem_version_id';
5703: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
5704: END IF;
5705: --dbms_output.put_line('Invalid value for p_struct_elem_version_id');
5706: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',

Line 5703: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);

5699: EXCEPTION
5700: WHEN NO_DATA_FOUND THEN
5701: IF l_debug_mode = 'Y' THEN
5702: pa_debug.g_err_stage:='Invalid value for p_struct_elem_version_id';
5703: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
5704: END IF;
5705: --dbms_output.put_line('Invalid value for p_struct_elem_version_id');
5706: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
5707: p_msg_name => 'PA_FP_INV_PARAM_PASSED');

Line 5723: pa_debug.g_err_stage:='Called API pa_fp_planning_transaction_pub.add_planning_transaction api returned error';

5719: ,x_msg_data => l_msg_data
5720: ,x_msg_count => l_msg_count);
5721: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5722: IF l_debug_mode = 'Y' THEN
5723: pa_debug.g_err_stage:='Called API pa_fp_planning_transaction_pub.add_planning_transaction api returned error';
5724: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
5725: END IF;
5726: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
5727: END IF;

Line 5724: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);

5720: ,x_msg_count => l_msg_count);
5721: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5722: IF l_debug_mode = 'Y' THEN
5723: pa_debug.g_err_stage:='Called API pa_fp_planning_transaction_pub.add_planning_transaction api returned error';
5724: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
5725: END IF;
5726: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
5727: END IF;
5728: l_budget_version_id := PA_PLANNING_TRANSACTION_UTILS.Get_wp_budget_version_id(p_struct_elem_version_id);

Line 5737: pa_debug.g_err_stage:= 'p_budget_version_id is null';

5733: */
5734: ELSIF p_context = PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_BUDGET OR p_context = PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_FORECAST THEN
5735: IF p_budget_version_id IS NULL THEN
5736: IF l_debug_mode = 'Y' THEN
5737: pa_debug.g_err_stage:= 'p_budget_version_id is null';
5738: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
5739: END IF;
5740: --dbms_output.put_line('p_budget_version_id is null');
5741: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',

Line 5738: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);

5734: ELSIF p_context = PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_BUDGET OR p_context = PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_FORECAST THEN
5735: IF p_budget_version_id IS NULL THEN
5736: IF l_debug_mode = 'Y' THEN
5737: pa_debug.g_err_stage:= 'p_budget_version_id is null';
5738: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
5739: END IF;
5740: --dbms_output.put_line('p_budget_version_id is null');
5741: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
5742: p_msg_name => 'PA_FP_INV_PARAM_PASSED');

Line 5765: pa_debug.g_err_stage:='Select failed on pa_budget_versions.';

5761: WHERE budget_version_id = l_budget_version_id;
5762: EXCEPTION
5763: WHEN OTHERS THEN
5764: IF l_debug_mode = 'Y' THEN
5765: pa_debug.g_err_stage:='Select failed on pa_budget_versions.';
5766: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
5767: END IF;
5768: RAISE;
5769: END;

Line 5766: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);

5762: EXCEPTION
5763: WHEN OTHERS THEN
5764: IF l_debug_mode = 'Y' THEN
5765: pa_debug.g_err_stage:='Select failed on pa_budget_versions.';
5766: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
5767: END IF;
5768: RAISE;
5769: END;
5770:

Line 5777: pa_debug.g_err_stage:='Processing IN Date Tables for G_MISS_DATE';

5773: Instead when this API is called from Java instead of G_MISS_DATE '01-Jan-4712' is passed.
5774: Added code below to Replace '01-Jan-4712' by FND_API.G_MISS_DATE
5775: */
5776: IF l_debug_mode = 'Y' THEN
5777: pa_debug.g_err_stage:='Processing IN Date Tables for G_MISS_DATE';
5778: pa_debug.write('PA_FP_PLANNING_TXN_PUB.update_planning_transactions:'||l_module_name,pa_debug.g_err_stage,3);
5779: END IF;
5780:
5781: l_in_start_date_tbl := p_start_date_tbl;

Line 5778: pa_debug.write('PA_FP_PLANNING_TXN_PUB.update_planning_transactions:'||l_module_name,pa_debug.g_err_stage,3);

5774: Added code below to Replace '01-Jan-4712' by FND_API.G_MISS_DATE
5775: */
5776: IF l_debug_mode = 'Y' THEN
5777: pa_debug.g_err_stage:='Processing IN Date Tables for G_MISS_DATE';
5778: pa_debug.write('PA_FP_PLANNING_TXN_PUB.update_planning_transactions:'||l_module_name,pa_debug.g_err_stage,3);
5779: END IF;
5780:
5781: l_in_start_date_tbl := p_start_date_tbl;
5782: l_in_end_date_tbl := p_end_date_tbl;

Line 5886: pa_debug.g_err_stage:='Called API pa_planning_transaction_pub.check_and_create_task_rec_info api returned error';

5882: ,x_msg_count => l_msg_count);
5883:
5884: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5885: IF l_debug_mode = 'Y' THEN
5886: pa_debug.g_err_stage:='Called API pa_planning_transaction_pub.check_and_create_task_rec_info api returned error';
5887: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
5888: END IF;
5889: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
5890: END IF;

Line 5887: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);

5883:
5884: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
5885: IF l_debug_mode = 'Y' THEN
5886: pa_debug.g_err_stage:='Called API pa_planning_transaction_pub.check_and_create_task_rec_info api returned error';
5887: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
5888: END IF;
5889: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
5890: END IF;
5891: --dbms_output.put_line ('pq1 is '||l_total_quantity_tbl(1));

Line 5901: pa_debug.g_err_stage:='No Data Returned from the api-----Returning';

5897: has called add plan tran api with effort and hence no more prorcessing is required.
5898: */
5899: IF l_resource_assignment_id_tbl.COUNT = 0 THEN
5900: IF l_debug_mode = 'Y' THEN
5901: pa_debug.g_err_stage:='No Data Returned from the api-----Returning';
5902: print_msg(pa_debug.g_err_stage,l_module_name);
5903: END IF;
5904: --dbms_output.put_line('No Data Returned from the api-----Returning');
5905: IF l_debug_mode = 'Y' THEN

Line 5902: print_msg(pa_debug.g_err_stage,l_module_name);

5898: */
5899: IF l_resource_assignment_id_tbl.COUNT = 0 THEN
5900: IF l_debug_mode = 'Y' THEN
5901: pa_debug.g_err_stage:='No Data Returned from the api-----Returning';
5902: print_msg(pa_debug.g_err_stage,l_module_name);
5903: END IF;
5904: --dbms_output.put_line('No Data Returned from the api-----Returning');
5905: IF l_debug_mode = 'Y' THEN
5906: pa_debug.reset_curr_function;

Line 5906: pa_debug.reset_curr_function;

5902: print_msg(pa_debug.g_err_stage,l_module_name);
5903: END IF;
5904: --dbms_output.put_line('No Data Returned from the api-----Returning');
5905: IF l_debug_mode = 'Y' THEN
5906: pa_debug.reset_curr_function;
5907: END IF;
5908: RETURN;
5909: END IF;
5910:

Line 5921: pa_debug.g_err_stage:='Non Workplan type context';

5917: /* The context is of not work plan type
5918: */
5919: --dbms_output.put_line('U3');
5920: IF l_debug_mode = 'Y' THEN
5921: pa_debug.g_err_stage:='Non Workplan type context';
5922: print_msg(pa_debug.g_err_stage,l_module_name);
5923: END IF;
5924: IF p_resource_assignment_id_tbl.COUNT =0 THEN
5925: IF l_debug_mode = 'Y' THEN

Line 5922: print_msg(pa_debug.g_err_stage,l_module_name);

5918: */
5919: --dbms_output.put_line('U3');
5920: IF l_debug_mode = 'Y' THEN
5921: pa_debug.g_err_stage:='Non Workplan type context';
5922: print_msg(pa_debug.g_err_stage,l_module_name);
5923: END IF;
5924: IF p_resource_assignment_id_tbl.COUNT =0 THEN
5925: IF l_debug_mode = 'Y' THEN
5926: pa_debug.g_err_stage:='Resource Assignment Id table is empty---- Returning';

Line 5926: pa_debug.g_err_stage:='Resource Assignment Id table is empty---- Returning';

5922: print_msg(pa_debug.g_err_stage,l_module_name);
5923: END IF;
5924: IF p_resource_assignment_id_tbl.COUNT =0 THEN
5925: IF l_debug_mode = 'Y' THEN
5926: pa_debug.g_err_stage:='Resource Assignment Id table is empty---- Returning';
5927: print_msg(pa_debug.g_err_stage,l_module_name);
5928: END IF;
5929: IF l_debug_mode = 'Y' THEN
5930: pa_debug.reset_curr_function;

Line 5927: print_msg(pa_debug.g_err_stage,l_module_name);

5923: END IF;
5924: IF p_resource_assignment_id_tbl.COUNT =0 THEN
5925: IF l_debug_mode = 'Y' THEN
5926: pa_debug.g_err_stage:='Resource Assignment Id table is empty---- Returning';
5927: print_msg(pa_debug.g_err_stage,l_module_name);
5928: END IF;
5929: IF l_debug_mode = 'Y' THEN
5930: pa_debug.reset_curr_function;
5931: END IF;

Line 5930: pa_debug.reset_curr_function;

5926: pa_debug.g_err_stage:='Resource Assignment Id table is empty---- Returning';
5927: print_msg(pa_debug.g_err_stage,l_module_name);
5928: END IF;
5929: IF l_debug_mode = 'Y' THEN
5930: pa_debug.reset_curr_function;
5931: END IF;
5932: --dbms_output.put_line('Empty ra id tbl returning');
5933: RETURN;
5934: ELSE

Line 5957: pa_debug.g_err_stage:='the contents of p_currency_code_tbl not equal in number to contents in res assmt tbl';

5953: --have same no of elements as that p_resource_assignment_id_tbl
5954: IF p_context = PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_BUDGET OR p_context = PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_FORECAST THEN
5955: IF p_resource_assignment_id_tbl.COUNT <> p_currency_code_tbl.COUNT THEN
5956: IF l_debug_mode = 'Y' THEN
5957: pa_debug.g_err_stage:='the contents of p_currency_code_tbl not equal in number to contents in res assmt tbl';
5958: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
5959: END IF;
5960: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
5961: p_msg_name => 'PA_FP_INV_PARAM_PASSED');

Line 5958: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);

5954: IF p_context = PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_BUDGET OR p_context = PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_FORECAST THEN
5955: IF p_resource_assignment_id_tbl.COUNT <> p_currency_code_tbl.COUNT THEN
5956: IF l_debug_mode = 'Y' THEN
5957: pa_debug.g_err_stage:='the contents of p_currency_code_tbl not equal in number to contents in res assmt tbl';
5958: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
5959: END IF;
5960: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
5961: p_msg_name => 'PA_FP_INV_PARAM_PASSED');
5962: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;

Line 5972: pa_debug.g_err_stage:='Fetching spread curve id for fixed date spread curve';

5968:
5969: -- Fetching spread curve id for fixed date spread curve : Bug 3607061 - Starts
5970: BEGIN
5971: IF l_debug_mode = 'Y' THEN
5972: pa_debug.g_err_stage:='Fetching spread curve id for fixed date spread curve';
5973: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
5974: END IF;
5975: Select spread_curve_id
5976: into l_fixed_date_sp_id

Line 5973: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);

5969: -- Fetching spread curve id for fixed date spread curve : Bug 3607061 - Starts
5970: BEGIN
5971: IF l_debug_mode = 'Y' THEN
5972: pa_debug.g_err_stage:='Fetching spread curve id for fixed date spread curve';
5973: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
5974: END IF;
5975: Select spread_curve_id
5976: into l_fixed_date_sp_id
5977: from pa_spread_curves_b

Line 5981: pa_debug.g_err_stage:='Fetching spread curve id l_fixed_date_sp_id:'||l_fixed_date_sp_id;

5977: from pa_spread_curves_b
5978: where spread_curve_code = 'FIXED_DATE';
5979:
5980: IF l_debug_mode = 'Y' THEN
5981: pa_debug.g_err_stage:='Fetching spread curve id l_fixed_date_sp_id:'||l_fixed_date_sp_id;
5982: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
5983: END IF;
5984:
5985: EXCEPTION

Line 5982: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);

5978: where spread_curve_code = 'FIXED_DATE';
5979:
5980: IF l_debug_mode = 'Y' THEN
5981: pa_debug.g_err_stage:='Fetching spread curve id l_fixed_date_sp_id:'||l_fixed_date_sp_id;
5982: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
5983: END IF;
5984:
5985: EXCEPTION
5986: WHEN NO_DATA_FOUND THEN

Line 5988: pa_debug.g_err_stage:='Fixed date spread curve not found in system';

5984:
5985: EXCEPTION
5986: WHEN NO_DATA_FOUND THEN
5987: IF l_debug_mode = 'Y' THEN
5988: pa_debug.g_err_stage:='Fixed date spread curve not found in system';
5989: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
5990: END IF;
5991: RAISE;
5992: END;

Line 5989: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);

5985: EXCEPTION
5986: WHEN NO_DATA_FOUND THEN
5987: IF l_debug_mode = 'Y' THEN
5988: pa_debug.g_err_stage:='Fixed date spread curve not found in system';
5989: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
5990: END IF;
5991: RAISE;
5992: END;
5993: -- Fetching spread curve id for fixed date spread curve : Bug 3607061 - Ends

Line 5997: pa_debug.g_err_stage := 'Extending the local pl/sql tables';

5993: -- Fetching spread curve id for fixed date spread curve : Bug 3607061 - Ends
5994:
5995: --Extend all the local pl/sql tables.
5996: IF l_debug_mode = 'Y' THEN
5997: pa_debug.g_err_stage := 'Extending the local pl/sql tables';
5998: print_msg(pa_debug.g_err_stage,l_module_name);
5999: END IF;
6000:
6001: l_trace_stage := 200;

Line 5998: print_msg(pa_debug.g_err_stage,l_module_name);

5994:
5995: --Extend all the local pl/sql tables.
5996: IF l_debug_mode = 'Y' THEN
5997: pa_debug.g_err_stage := 'Extending the local pl/sql tables';
5998: print_msg(pa_debug.g_err_stage,l_module_name);
5999: END IF;
6000:
6001: l_trace_stage := 200;
6002: --hr_utility.trace('PA_FP_PLAN_TXN_PUB.update_planning_transactions: '||to_char(l_trace_stage));

Line 6151: pa_debug.g_err_stage:='About to loop thru for assigning to rec types';

6147: -- 2. BULK update will possible since the values that are not passed will be defaulted to FND_API.G_MISS_XXX
6148:
6149:
6150: IF l_debug_mode = 'Y' THEN
6151: pa_debug.g_err_stage:='About to loop thru for assigning to rec types';
6152: print_msg(pa_debug.g_err_stage,l_module_name);
6153: END IF;
6154:
6155:

Line 6152: print_msg(pa_debug.g_err_stage,l_module_name);

6148:
6149:
6150: IF l_debug_mode = 'Y' THEN
6151: pa_debug.g_err_stage:='About to loop thru for assigning to rec types';
6152: print_msg(pa_debug.g_err_stage,l_module_name);
6153: END IF;
6154:
6155:
6156: FOR i IN l_resource_assignment_id_tbl.FIRST .. l_resource_assignment_id_tbl.LAST LOOP

Line 6476: pa_debug.g_err_stage:='Calling API pa_task_assignment_utils.Validate_Update_Assignment';

6472: /*-------------------------------------------------
6473: Calling Task validation API
6474: -------------------------------------------------*/
6475: IF l_debug_mode = 'Y' THEN
6476: pa_debug.g_err_stage:='Calling API pa_task_assignment_utils.Validate_Update_Assignment';
6477: pa_debug.write(l_module_name,pa_debug.g_err_stage,
6478: l_debug_level3);
6479: END IF;
6480:

Line 6477: pa_debug.write(l_module_name,pa_debug.g_err_stage,

6473: Calling Task validation API
6474: -------------------------------------------------*/
6475: IF l_debug_mode = 'Y' THEN
6476: pa_debug.g_err_stage:='Calling API pa_task_assignment_utils.Validate_Update_Assignment';
6477: pa_debug.write(l_module_name,pa_debug.g_err_stage,
6478: l_debug_level3);
6479: END IF;
6480:
6481: --hr_utility.trace('PA_FP_PLAN_TXN_PUB.update_planning_transactions: before calling validate_update_assignment');

Line 6494: pa_debug.g_err_stage:='Called API PA_TASK_ASSIGNMENT_UTILS.Validate_Update_Assignment returned error';

6490: --hr_utility.trace('PA_FP_PLAN_TXN_PUB.update_planning_transactions: after calling validate_update_assignment');
6491:
6492: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
6493: IF l_debug_mode = 'Y' THEN
6494: pa_debug.g_err_stage:='Called API PA_TASK_ASSIGNMENT_UTILS.Validate_Update_Assignment returned error';
6495: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
6496: END IF;
6497: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
6498: END IF;

Line 6495: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);

6491:
6492: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
6493: IF l_debug_mode = 'Y' THEN
6494: pa_debug.g_err_stage:='Called API PA_TASK_ASSIGNMENT_UTILS.Validate_Update_Assignment returned error';
6495: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
6496: END IF;
6497: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
6498: END IF;
6499:

Line 6503: pa_debug.g_err_stage:='Validate API returned 0 records';

6499:
6500: --If the rec tbl returned by validate API does not contain records then return
6501: IF l_resource_rec_tbl.COUNT=0 THEN
6502: IF l_debug_mode = 'Y' THEN
6503: pa_debug.g_err_stage:='Validate API returned 0 records';
6504: print_msg(pa_debug.g_err_stage,l_module_name);
6505: pa_debug.reset_curr_function;
6506: END IF;
6507: RETURN;

Line 6504: print_msg(pa_debug.g_err_stage,l_module_name);

6500: --If the rec tbl returned by validate API does not contain records then return
6501: IF l_resource_rec_tbl.COUNT=0 THEN
6502: IF l_debug_mode = 'Y' THEN
6503: pa_debug.g_err_stage:='Validate API returned 0 records';
6504: print_msg(pa_debug.g_err_stage,l_module_name);
6505: pa_debug.reset_curr_function;
6506: END IF;
6507: RETURN;
6508: END IF;

Line 6505: pa_debug.reset_curr_function;

6501: IF l_resource_rec_tbl.COUNT=0 THEN
6502: IF l_debug_mode = 'Y' THEN
6503: pa_debug.g_err_stage:='Validate API returned 0 records';
6504: print_msg(pa_debug.g_err_stage,l_module_name);
6505: pa_debug.reset_curr_function;
6506: END IF;
6507: RETURN;
6508: END IF;
6509:

Line 6643: pa_debug.g_err_stage:='Deriving SP Fixed Date';

6639: since this check will be done in Process_res_chg_Derv_calc_prms 3762278
6640: -- Added for Bug 3607061 - Starts
6641: -- Please not that FIXED DATE SPREAD CURVE ID is SEEDED as 6, so we are able to hard code it below
6642: IF l_debug_mode = 'Y' THEN
6643: pa_debug.g_err_stage:='Deriving SP Fixed Date';
6644: print_msg(pa_debug.g_err_stage,l_module_name);
6645: END IF;
6646: IF l_spread_curve_id_tbl(i) = l_fixed_date_sp_id THEN
6647: IF l_debug_mode = 'Y' THEN

Line 6644: print_msg(pa_debug.g_err_stage,l_module_name);

6640: -- Added for Bug 3607061 - Starts
6641: -- Please not that FIXED DATE SPREAD CURVE ID is SEEDED as 6, so we are able to hard code it below
6642: IF l_debug_mode = 'Y' THEN
6643: pa_debug.g_err_stage:='Deriving SP Fixed Date';
6644: print_msg(pa_debug.g_err_stage,l_module_name);
6645: END IF;
6646: IF l_spread_curve_id_tbl(i) = l_fixed_date_sp_id THEN
6647: IF l_debug_mode = 'Y' THEN
6648: pa_debug.g_err_stage:='Spread Curve Id is of FIXED_DATE';

Line 6648: pa_debug.g_err_stage:='Spread Curve Id is of FIXED_DATE';

6644: print_msg(pa_debug.g_err_stage,l_module_name);
6645: END IF;
6646: IF l_spread_curve_id_tbl(i) = l_fixed_date_sp_id THEN
6647: IF l_debug_mode = 'Y' THEN
6648: pa_debug.g_err_stage:='Spread Curve Id is of FIXED_DATE';
6649: print_msg(pa_debug.g_err_stage,l_module_name);
6650: END IF;
6651: IF l_sp_fixed_date_tbl(i) = FND_API.G_MISS_DATE THEN
6652: IF l_debug_mode = 'Y' THEN

Line 6649: print_msg(pa_debug.g_err_stage,l_module_name);

6645: END IF;
6646: IF l_spread_curve_id_tbl(i) = l_fixed_date_sp_id THEN
6647: IF l_debug_mode = 'Y' THEN
6648: pa_debug.g_err_stage:='Spread Curve Id is of FIXED_DATE';
6649: print_msg(pa_debug.g_err_stage,l_module_name);
6650: END IF;
6651: IF l_sp_fixed_date_tbl(i) = FND_API.G_MISS_DATE THEN
6652: IF l_debug_mode = 'Y' THEN
6653: pa_debug.g_err_stage:='Error - cannot nullify sp_fixed_date for Fixed Date Spread curve';

Line 6653: pa_debug.g_err_stage:='Error - cannot nullify sp_fixed_date for Fixed Date Spread curve';

6649: print_msg(pa_debug.g_err_stage,l_module_name);
6650: END IF;
6651: IF l_sp_fixed_date_tbl(i) = FND_API.G_MISS_DATE THEN
6652: IF l_debug_mode = 'Y' THEN
6653: pa_debug.g_err_stage:='Error - cannot nullify sp_fixed_date for Fixed Date Spread curve';
6654: print_msg(pa_debug.g_err_stage,l_module_name);
6655: END IF;
6656: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
6657: p_msg_name => 'PA_FP_SP_FIXED_DATE_NULL');

Line 6654: print_msg(pa_debug.g_err_stage,l_module_name);

6650: END IF;
6651: IF l_sp_fixed_date_tbl(i) = FND_API.G_MISS_DATE THEN
6652: IF l_debug_mode = 'Y' THEN
6653: pa_debug.g_err_stage:='Error - cannot nullify sp_fixed_date for Fixed Date Spread curve';
6654: print_msg(pa_debug.g_err_stage,l_module_name);
6655: END IF;
6656: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
6657: p_msg_name => 'PA_FP_SP_FIXED_DATE_NULL');
6658: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;

Line 6681: pa_debug.g_err_stage:='Cpa_budget_utils.Get_Project_Currency_Info returned error';

6677: , x_return_status => x_return_status);
6678: --dbms_output.put_line('4');
6679: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
6680: IF l_debug_mode = 'Y' THEN
6681: pa_debug.g_err_stage:='Cpa_budget_utils.Get_Project_Currency_Info returned error';
6682: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
6683: END IF;
6684: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
6685: END IF;

Line 6682: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);

6678: --dbms_output.put_line('4');
6679: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
6680: IF l_debug_mode = 'Y' THEN
6681: pa_debug.g_err_stage:='Cpa_budget_utils.Get_Project_Currency_Info returned error';
6682: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
6683: END IF;
6684: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
6685: END IF;
6686:

Line 6691: pa_debug.g_err_stage:='Preparing the pl/sql tables for calling calc api for BF';

6687: --Derive the tables that are required for Calculate API
6688: IF p_context = PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_BUDGET OR p_context = PA_FP_CONSTANTS_PKG.G_PLAN_CLASS_FORECAST THEN
6689:
6690: IF l_debug_mode = 'Y' THEN
6691: pa_debug.g_err_stage:='Preparing the pl/sql tables for calling calc api for BF';
6692: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
6693: END IF;
6694:
6695:

Line 6692: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);

6688: IF p_context = PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_BUDGET OR p_context = PA_FP_CONSTANTS_PKG.G_PLAN_CLASS_FORECAST THEN
6689:
6690: IF l_debug_mode = 'Y' THEN
6691: pa_debug.g_err_stage:='Preparing the pl/sql tables for calling calc api for BF';
6692: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
6693: END IF;
6694:
6695:
6696: l_override_currency_code_tbl := p_txn_currency_override_tbl;

Line 6731: pa_debug.g_err_stage:='About to bulk collect into pl/sql tables req for calc api '||l_override_currency_code_tbl.last;

6727: -- i.e. the difference between the existing quantity and the quantity passed.
6728: ELSIF p_context = PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_TASK OR p_context = PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_WORKPLAN THEN
6729:
6730: IF l_debug_mode = 'Y' THEN
6731: pa_debug.g_err_stage:='About to bulk collect into pl/sql tables req for calc api '||l_override_currency_code_tbl.last;
6732: print_msg(pa_debug.g_err_stage,l_module_name);
6733: END IF;
6734:
6735: /* Preparing PLSql Tables for Rates for Calling Calculate API*/

Line 6732: print_msg(pa_debug.g_err_stage,l_module_name);

6728: ELSIF p_context = PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_TASK OR p_context = PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_WORKPLAN THEN
6729:
6730: IF l_debug_mode = 'Y' THEN
6731: pa_debug.g_err_stage:='About to bulk collect into pl/sql tables req for calc api '||l_override_currency_code_tbl.last;
6732: print_msg(pa_debug.g_err_stage,l_module_name);
6733: END IF;
6734:
6735: /* Preparing PLSql Tables for Rates for Calling Calculate API*/
6736: -- Bug 3760166

Line 6791: pa_debug.g_err_stage:='Done with preparing the tables';

6787: * got passed from the UI and ultimately returned back by the
6788: * validate TA api */
6789:
6790: IF l_debug_mode = 'Y' THEN
6791: pa_debug.g_err_stage:='Done with preparing the tables';
6792: print_msg(pa_debug.g_err_stage,l_module_name);
6793: END IF;
6794:
6795: END IF;

Line 6792: print_msg(pa_debug.g_err_stage,l_module_name);

6788: * validate TA api */
6789:
6790: IF l_debug_mode = 'Y' THEN
6791: pa_debug.g_err_stage:='Done with preparing the tables';
6792: print_msg(pa_debug.g_err_stage,l_module_name);
6793: END IF;
6794:
6795: END IF;
6796:

Line 6800: pa_debug.g_err_stage:='Calling API Derive_Parameters_For_Calc_Api';

6796:
6797: /* Calling the api Derive_Parameters_For_Calc_Api
6798: */
6799: IF l_debug_mode = 'Y' THEN
6800: pa_debug.g_err_stage:='Calling API Derive_Parameters_For_Calc_Api';
6801: print_msg(pa_debug.g_err_stage,l_module_name);
6802: END IF;
6803: --dbms_output.put_line('l_b_multiplier_tbl cnt is '||l_burdened_rate_override_tbl.count);
6804: --dbms_output.put_line('5');

Line 6801: print_msg(pa_debug.g_err_stage,l_module_name);

6797: /* Calling the api Derive_Parameters_For_Calc_Api
6798: */
6799: IF l_debug_mode = 'Y' THEN
6800: pa_debug.g_err_stage:='Calling API Derive_Parameters_For_Calc_Api';
6801: print_msg(pa_debug.g_err_stage,l_module_name);
6802: END IF;
6803: --dbms_output.put_line('l_b_multiplier_tbl cnt is '||l_burdened_rate_override_tbl.count);
6804: --dbms_output.put_line('5');
6805: Process_res_chg_Derv_calc_prms

Line 6862: pa_debug.g_err_stage:='Derive_Parameters_For_Calc_Api returned error';

6858: ,x_msg_count => x_msg_count );
6859:
6860: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
6861: IF l_debug_mode = 'Y' THEN
6862: pa_debug.g_err_stage:='Derive_Parameters_For_Calc_Api returned error';
6863: print_msg(pa_debug.g_err_stage,l_module_name);
6864: END IF;
6865: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
6866: END IF;

Line 6863: print_msg(pa_debug.g_err_stage,l_module_name);

6859:
6860: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
6861: IF l_debug_mode = 'Y' THEN
6862: pa_debug.g_err_stage:='Derive_Parameters_For_Calc_Api returned error';
6863: print_msg(pa_debug.g_err_stage,l_module_name);
6864: END IF;
6865: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
6866: END IF;
6867:

Line 6873: pa_debug.g_err_stage:='Bulk updating pa_resource_assignments. start '||l_resource_assignment_id_tbl.FIRST ||' end '||l_resource_assignment_id_tbl.LAST;

6869: --for a resource assignment with fixed spread curve. Hence the value returned should be considered
6870: l_sp_fixed_date_tbl := l_sp_fixed_date_new_tbl;
6871: --dbms_output.put_line(' cccc l_burdened_rate_override_tbl cnt is '||l_burdened_rate_override_tbl.count);
6872: IF l_debug_mode = 'Y' THEN
6873: pa_debug.g_err_stage:='Bulk updating pa_resource_assignments. start '||l_resource_assignment_id_tbl.FIRST ||' end '||l_resource_assignment_id_tbl.LAST;
6874: print_msg(pa_debug.g_err_stage,l_module_name);
6875: END IF;
6876:
6877: --dbms_output.put_line('6');

Line 6874: print_msg(pa_debug.g_err_stage,l_module_name);

6870: l_sp_fixed_date_tbl := l_sp_fixed_date_new_tbl;
6871: --dbms_output.put_line(' cccc l_burdened_rate_override_tbl cnt is '||l_burdened_rate_override_tbl.count);
6872: IF l_debug_mode = 'Y' THEN
6873: pa_debug.g_err_stage:='Bulk updating pa_resource_assignments. start '||l_resource_assignment_id_tbl.FIRST ||' end '||l_resource_assignment_id_tbl.LAST;
6874: print_msg(pa_debug.g_err_stage,l_module_name);
6875: END IF;
6876:
6877: --dbms_output.put_line('6');
6878: --Prepare the pl/sql tables for the all columns in pa_resource_assignments to make use of bulk update

Line 7010: pa_debug.g_err_stage:='p_distrib_amts - '||p_distrib_amts;

7006: l_plan_start_date_old_tbl as l_plan_start_date_new_tbl so that there is
7007: no distribution of amounts as the old and the new dates are the same.
7008: */
7009: IF l_debug_mode = 'Y' THEN
7010: pa_debug.g_err_stage:='p_distrib_amts - '||p_distrib_amts;
7011: pa_debug.write(l_module_name,pa_debug.g_err_stage,3);
7012: END IF;
7013: IF (nvl(p_distrib_amts,'Y') = 'N') THEN
7014: l_plan_start_date_old_tbl := l_plan_start_date_new_tbl ;

Line 7011: pa_debug.write(l_module_name,pa_debug.g_err_stage,3);

7007: no distribution of amounts as the old and the new dates are the same.
7008: */
7009: IF l_debug_mode = 'Y' THEN
7010: pa_debug.g_err_stage:='p_distrib_amts - '||p_distrib_amts;
7011: pa_debug.write(l_module_name,pa_debug.g_err_stage,3);
7012: END IF;
7013: IF (nvl(p_distrib_amts,'Y') = 'N') THEN
7014: l_plan_start_date_old_tbl := l_plan_start_date_new_tbl ;
7015: l_plan_end_date_old_tbl := l_plan_end_date_new_tbl ;

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

7017:
7018: /* End of coding done for Bug 5684639.*/
7019:
7020: IF l_debug_mode = 'Y' THEN
7021: pa_debug.g_err_stage:='Calling API PA_FP_CALC_PLAN_PKG.calculate';
7022: print_msg(pa_debug.g_err_stage,l_module_name);
7023: pa_debug.g_err_stage:='Parameters to PA_FP_CALC_PLAN_PKG.calculate';
7024: print_msg(pa_debug.g_err_stage,l_module_name);
7025:

Line 7022: print_msg(pa_debug.g_err_stage,l_module_name);

7018: /* End of coding done for Bug 5684639.*/
7019:
7020: IF l_debug_mode = 'Y' THEN
7021: pa_debug.g_err_stage:='Calling API PA_FP_CALC_PLAN_PKG.calculate';
7022: print_msg(pa_debug.g_err_stage,l_module_name);
7023: pa_debug.g_err_stage:='Parameters to PA_FP_CALC_PLAN_PKG.calculate';
7024: print_msg(pa_debug.g_err_stage,l_module_name);
7025:
7026: IF l_resource_assignment_id_tbl.COUNT>0 THEN

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

7019:
7020: IF l_debug_mode = 'Y' THEN
7021: pa_debug.g_err_stage:='Calling API PA_FP_CALC_PLAN_PKG.calculate';
7022: print_msg(pa_debug.g_err_stage,l_module_name);
7023: pa_debug.g_err_stage:='Parameters to PA_FP_CALC_PLAN_PKG.calculate';
7024: print_msg(pa_debug.g_err_stage,l_module_name);
7025:
7026: IF l_resource_assignment_id_tbl.COUNT>0 THEN
7027:

Line 7024: print_msg(pa_debug.g_err_stage,l_module_name);

7020: IF l_debug_mode = 'Y' THEN
7021: pa_debug.g_err_stage:='Calling API PA_FP_CALC_PLAN_PKG.calculate';
7022: print_msg(pa_debug.g_err_stage,l_module_name);
7023: pa_debug.g_err_stage:='Parameters to PA_FP_CALC_PLAN_PKG.calculate';
7024: print_msg(pa_debug.g_err_stage,l_module_name);
7025:
7026: IF l_resource_assignment_id_tbl.COUNT>0 THEN
7027:
7028: FOR i in l_resource_assignment_id_tbl.FIRST .. l_resource_assignment_id_tbl.LAST LOOP

Line 7030: pa_debug.g_err_stage:='l_resource_assignment_id_tbl('||i||') is '||l_resource_assignment_id_tbl(i);

7026: IF l_resource_assignment_id_tbl.COUNT>0 THEN
7027:
7028: FOR i in l_resource_assignment_id_tbl.FIRST .. l_resource_assignment_id_tbl.LAST LOOP
7029:
7030: pa_debug.g_err_stage:='l_resource_assignment_id_tbl('||i||') is '||l_resource_assignment_id_tbl(i);
7031: print_msg(pa_debug.g_err_stage,l_module_name);
7032: --dbms_output.put_line( pa_debug.g_err_stage);
7033:
7034: pa_debug.g_err_stage:='l_currency_code_tbl('||i||') is '||l_currency_code_tbl(i);

Line 7031: print_msg(pa_debug.g_err_stage,l_module_name);

7027:
7028: FOR i in l_resource_assignment_id_tbl.FIRST .. l_resource_assignment_id_tbl.LAST LOOP
7029:
7030: pa_debug.g_err_stage:='l_resource_assignment_id_tbl('||i||') is '||l_resource_assignment_id_tbl(i);
7031: print_msg(pa_debug.g_err_stage,l_module_name);
7032: --dbms_output.put_line( pa_debug.g_err_stage);
7033:
7034: pa_debug.g_err_stage:='l_currency_code_tbl('||i||') is '||l_currency_code_tbl(i);
7035: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7032: --dbms_output.put_line( pa_debug.g_err_stage);

7028: FOR i in l_resource_assignment_id_tbl.FIRST .. l_resource_assignment_id_tbl.LAST LOOP
7029:
7030: pa_debug.g_err_stage:='l_resource_assignment_id_tbl('||i||') is '||l_resource_assignment_id_tbl(i);
7031: print_msg(pa_debug.g_err_stage,l_module_name);
7032: --dbms_output.put_line( pa_debug.g_err_stage);
7033:
7034: pa_debug.g_err_stage:='l_currency_code_tbl('||i||') is '||l_currency_code_tbl(i);
7035: print_msg(pa_debug.g_err_stage,l_module_name);
7036: --dbms_output.put_line( pa_debug.g_err_stage);

Line 7034: pa_debug.g_err_stage:='l_currency_code_tbl('||i||') is '||l_currency_code_tbl(i);

7030: pa_debug.g_err_stage:='l_resource_assignment_id_tbl('||i||') is '||l_resource_assignment_id_tbl(i);
7031: print_msg(pa_debug.g_err_stage,l_module_name);
7032: --dbms_output.put_line( pa_debug.g_err_stage);
7033:
7034: pa_debug.g_err_stage:='l_currency_code_tbl('||i||') is '||l_currency_code_tbl(i);
7035: print_msg(pa_debug.g_err_stage,l_module_name);
7036: --dbms_output.put_line( pa_debug.g_err_stage);
7037:
7038: IF p_currency_code_tbl.EXISTS(i) THEN

Line 7035: print_msg(pa_debug.g_err_stage,l_module_name);

7031: print_msg(pa_debug.g_err_stage,l_module_name);
7032: --dbms_output.put_line( pa_debug.g_err_stage);
7033:
7034: pa_debug.g_err_stage:='l_currency_code_tbl('||i||') is '||l_currency_code_tbl(i);
7035: print_msg(pa_debug.g_err_stage,l_module_name);
7036: --dbms_output.put_line( pa_debug.g_err_stage);
7037:
7038: IF p_currency_code_tbl.EXISTS(i) THEN
7039: pa_debug.g_err_stage:='p_currency_code_tbl('||i||') is '||p_currency_code_tbl(i);

Line 7036: --dbms_output.put_line( pa_debug.g_err_stage);

7032: --dbms_output.put_line( pa_debug.g_err_stage);
7033:
7034: pa_debug.g_err_stage:='l_currency_code_tbl('||i||') is '||l_currency_code_tbl(i);
7035: print_msg(pa_debug.g_err_stage,l_module_name);
7036: --dbms_output.put_line( pa_debug.g_err_stage);
7037:
7038: IF p_currency_code_tbl.EXISTS(i) THEN
7039: pa_debug.g_err_stage:='p_currency_code_tbl('||i||') is '||p_currency_code_tbl(i);
7040: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7039: pa_debug.g_err_stage:='p_currency_code_tbl('||i||') is '||p_currency_code_tbl(i);

7035: print_msg(pa_debug.g_err_stage,l_module_name);
7036: --dbms_output.put_line( pa_debug.g_err_stage);
7037:
7038: IF p_currency_code_tbl.EXISTS(i) THEN
7039: pa_debug.g_err_stage:='p_currency_code_tbl('||i||') is '||p_currency_code_tbl(i);
7040: print_msg(pa_debug.g_err_stage,l_module_name);
7041: ELSE
7042: pa_debug.g_err_stage:='p_currency_code_tbl('||i||') does not exist ';
7043: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7040: print_msg(pa_debug.g_err_stage,l_module_name);

7036: --dbms_output.put_line( pa_debug.g_err_stage);
7037:
7038: IF p_currency_code_tbl.EXISTS(i) THEN
7039: pa_debug.g_err_stage:='p_currency_code_tbl('||i||') is '||p_currency_code_tbl(i);
7040: print_msg(pa_debug.g_err_stage,l_module_name);
7041: ELSE
7042: pa_debug.g_err_stage:='p_currency_code_tbl('||i||') does not exist ';
7043: print_msg(pa_debug.g_err_stage,l_module_name);
7044: END IF;

Line 7042: pa_debug.g_err_stage:='p_currency_code_tbl('||i||') does not exist ';

7038: IF p_currency_code_tbl.EXISTS(i) THEN
7039: pa_debug.g_err_stage:='p_currency_code_tbl('||i||') is '||p_currency_code_tbl(i);
7040: print_msg(pa_debug.g_err_stage,l_module_name);
7041: ELSE
7042: pa_debug.g_err_stage:='p_currency_code_tbl('||i||') does not exist ';
7043: print_msg(pa_debug.g_err_stage,l_module_name);
7044: END IF;
7045: --dbms_output.put_line( pa_debug.g_err_stage);
7046:

Line 7043: print_msg(pa_debug.g_err_stage,l_module_name);

7039: pa_debug.g_err_stage:='p_currency_code_tbl('||i||') is '||p_currency_code_tbl(i);
7040: print_msg(pa_debug.g_err_stage,l_module_name);
7041: ELSE
7042: pa_debug.g_err_stage:='p_currency_code_tbl('||i||') does not exist ';
7043: print_msg(pa_debug.g_err_stage,l_module_name);
7044: END IF;
7045: --dbms_output.put_line( pa_debug.g_err_stage);
7046:
7047: pa_debug.g_err_stage:='l_override_currency_code_tbl('||i||') is '||l_override_currency_code_tbl(i);

Line 7045: --dbms_output.put_line( pa_debug.g_err_stage);

7041: ELSE
7042: pa_debug.g_err_stage:='p_currency_code_tbl('||i||') does not exist ';
7043: print_msg(pa_debug.g_err_stage,l_module_name);
7044: END IF;
7045: --dbms_output.put_line( pa_debug.g_err_stage);
7046:
7047: pa_debug.g_err_stage:='l_override_currency_code_tbl('||i||') is '||l_override_currency_code_tbl(i);
7048: print_msg(pa_debug.g_err_stage,l_module_name);
7049: --dbms_output.put_line( pa_debug.g_err_stage);

Line 7047: pa_debug.g_err_stage:='l_override_currency_code_tbl('||i||') is '||l_override_currency_code_tbl(i);

7043: print_msg(pa_debug.g_err_stage,l_module_name);
7044: END IF;
7045: --dbms_output.put_line( pa_debug.g_err_stage);
7046:
7047: pa_debug.g_err_stage:='l_override_currency_code_tbl('||i||') is '||l_override_currency_code_tbl(i);
7048: print_msg(pa_debug.g_err_stage,l_module_name);
7049: --dbms_output.put_line( pa_debug.g_err_stage);
7050:
7051: IF p_txn_currency_override_tbl.EXISTS(i) THEN

Line 7048: print_msg(pa_debug.g_err_stage,l_module_name);

7044: END IF;
7045: --dbms_output.put_line( pa_debug.g_err_stage);
7046:
7047: pa_debug.g_err_stage:='l_override_currency_code_tbl('||i||') is '||l_override_currency_code_tbl(i);
7048: print_msg(pa_debug.g_err_stage,l_module_name);
7049: --dbms_output.put_line( pa_debug.g_err_stage);
7050:
7051: IF p_txn_currency_override_tbl.EXISTS(i) THEN
7052: pa_debug.g_err_stage:='p_txn_currency_override_tbl('||i||') is '||p_txn_currency_override_tbl(i);

Line 7049: --dbms_output.put_line( pa_debug.g_err_stage);

7045: --dbms_output.put_line( pa_debug.g_err_stage);
7046:
7047: pa_debug.g_err_stage:='l_override_currency_code_tbl('||i||') is '||l_override_currency_code_tbl(i);
7048: print_msg(pa_debug.g_err_stage,l_module_name);
7049: --dbms_output.put_line( pa_debug.g_err_stage);
7050:
7051: IF p_txn_currency_override_tbl.EXISTS(i) THEN
7052: pa_debug.g_err_stage:='p_txn_currency_override_tbl('||i||') is '||p_txn_currency_override_tbl(i);
7053: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7052: pa_debug.g_err_stage:='p_txn_currency_override_tbl('||i||') is '||p_txn_currency_override_tbl(i);

7048: print_msg(pa_debug.g_err_stage,l_module_name);
7049: --dbms_output.put_line( pa_debug.g_err_stage);
7050:
7051: IF p_txn_currency_override_tbl.EXISTS(i) THEN
7052: pa_debug.g_err_stage:='p_txn_currency_override_tbl('||i||') is '||p_txn_currency_override_tbl(i);
7053: print_msg(pa_debug.g_err_stage,l_module_name);
7054: ELSE
7055: pa_debug.g_err_stage:='p_txn_currency_override_tbl('||i||') does not exist ';
7056: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7053: print_msg(pa_debug.g_err_stage,l_module_name);

7049: --dbms_output.put_line( pa_debug.g_err_stage);
7050:
7051: IF p_txn_currency_override_tbl.EXISTS(i) THEN
7052: pa_debug.g_err_stage:='p_txn_currency_override_tbl('||i||') is '||p_txn_currency_override_tbl(i);
7053: print_msg(pa_debug.g_err_stage,l_module_name);
7054: ELSE
7055: pa_debug.g_err_stage:='p_txn_currency_override_tbl('||i||') does not exist ';
7056: print_msg(pa_debug.g_err_stage,l_module_name);
7057: END IF;

Line 7055: pa_debug.g_err_stage:='p_txn_currency_override_tbl('||i||') does not exist ';

7051: IF p_txn_currency_override_tbl.EXISTS(i) THEN
7052: pa_debug.g_err_stage:='p_txn_currency_override_tbl('||i||') is '||p_txn_currency_override_tbl(i);
7053: print_msg(pa_debug.g_err_stage,l_module_name);
7054: ELSE
7055: pa_debug.g_err_stage:='p_txn_currency_override_tbl('||i||') does not exist ';
7056: print_msg(pa_debug.g_err_stage,l_module_name);
7057: END IF;
7058: --dbms_output.put_line( pa_debug.g_err_stage);
7059:

Line 7056: print_msg(pa_debug.g_err_stage,l_module_name);

7052: pa_debug.g_err_stage:='p_txn_currency_override_tbl('||i||') is '||p_txn_currency_override_tbl(i);
7053: print_msg(pa_debug.g_err_stage,l_module_name);
7054: ELSE
7055: pa_debug.g_err_stage:='p_txn_currency_override_tbl('||i||') does not exist ';
7056: print_msg(pa_debug.g_err_stage,l_module_name);
7057: END IF;
7058: --dbms_output.put_line( pa_debug.g_err_stage);
7059:
7060: pa_debug.g_err_stage:='l_total_quantity_tbl('||i||') is '||l_total_quantity_tbl(i);

Line 7058: --dbms_output.put_line( pa_debug.g_err_stage);

7054: ELSE
7055: pa_debug.g_err_stage:='p_txn_currency_override_tbl('||i||') does not exist ';
7056: print_msg(pa_debug.g_err_stage,l_module_name);
7057: END IF;
7058: --dbms_output.put_line( pa_debug.g_err_stage);
7059:
7060: pa_debug.g_err_stage:='l_total_quantity_tbl('||i||') is '||l_total_quantity_tbl(i);
7061: print_msg(pa_debug.g_err_stage,l_module_name);
7062: --dbms_output.put_line( pa_debug.g_err_stage);

Line 7060: pa_debug.g_err_stage:='l_total_quantity_tbl('||i||') is '||l_total_quantity_tbl(i);

7056: print_msg(pa_debug.g_err_stage,l_module_name);
7057: END IF;
7058: --dbms_output.put_line( pa_debug.g_err_stage);
7059:
7060: pa_debug.g_err_stage:='l_total_quantity_tbl('||i||') is '||l_total_quantity_tbl(i);
7061: print_msg(pa_debug.g_err_stage,l_module_name);
7062: --dbms_output.put_line( pa_debug.g_err_stage);
7063:
7064: IF p_quantity_tbl.EXISTS(i) THEN

Line 7061: print_msg(pa_debug.g_err_stage,l_module_name);

7057: END IF;
7058: --dbms_output.put_line( pa_debug.g_err_stage);
7059:
7060: pa_debug.g_err_stage:='l_total_quantity_tbl('||i||') is '||l_total_quantity_tbl(i);
7061: print_msg(pa_debug.g_err_stage,l_module_name);
7062: --dbms_output.put_line( pa_debug.g_err_stage);
7063:
7064: IF p_quantity_tbl.EXISTS(i) THEN
7065: pa_debug.g_err_stage:='p_quantity_tbl('||i||') is '||p_quantity_tbl(i);

Line 7062: --dbms_output.put_line( pa_debug.g_err_stage);

7058: --dbms_output.put_line( pa_debug.g_err_stage);
7059:
7060: pa_debug.g_err_stage:='l_total_quantity_tbl('||i||') is '||l_total_quantity_tbl(i);
7061: print_msg(pa_debug.g_err_stage,l_module_name);
7062: --dbms_output.put_line( pa_debug.g_err_stage);
7063:
7064: IF p_quantity_tbl.EXISTS(i) THEN
7065: pa_debug.g_err_stage:='p_quantity_tbl('||i||') is '||p_quantity_tbl(i);
7066: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7065: pa_debug.g_err_stage:='p_quantity_tbl('||i||') is '||p_quantity_tbl(i);

7061: print_msg(pa_debug.g_err_stage,l_module_name);
7062: --dbms_output.put_line( pa_debug.g_err_stage);
7063:
7064: IF p_quantity_tbl.EXISTS(i) THEN
7065: pa_debug.g_err_stage:='p_quantity_tbl('||i||') is '||p_quantity_tbl(i);
7066: print_msg(pa_debug.g_err_stage,l_module_name);
7067: ELSE
7068: pa_debug.g_err_stage:='p_quantity_tbl('||i||') does not exist ';
7069: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7066: print_msg(pa_debug.g_err_stage,l_module_name);

7062: --dbms_output.put_line( pa_debug.g_err_stage);
7063:
7064: IF p_quantity_tbl.EXISTS(i) THEN
7065: pa_debug.g_err_stage:='p_quantity_tbl('||i||') is '||p_quantity_tbl(i);
7066: print_msg(pa_debug.g_err_stage,l_module_name);
7067: ELSE
7068: pa_debug.g_err_stage:='p_quantity_tbl('||i||') does not exist ';
7069: print_msg(pa_debug.g_err_stage,l_module_name);
7070: END IF;

Line 7068: pa_debug.g_err_stage:='p_quantity_tbl('||i||') does not exist ';

7064: IF p_quantity_tbl.EXISTS(i) THEN
7065: pa_debug.g_err_stage:='p_quantity_tbl('||i||') is '||p_quantity_tbl(i);
7066: print_msg(pa_debug.g_err_stage,l_module_name);
7067: ELSE
7068: pa_debug.g_err_stage:='p_quantity_tbl('||i||') does not exist ';
7069: print_msg(pa_debug.g_err_stage,l_module_name);
7070: END IF;
7071: --dbms_output.put_line( pa_debug.g_err_stage);
7072:

Line 7069: print_msg(pa_debug.g_err_stage,l_module_name);

7065: pa_debug.g_err_stage:='p_quantity_tbl('||i||') is '||p_quantity_tbl(i);
7066: print_msg(pa_debug.g_err_stage,l_module_name);
7067: ELSE
7068: pa_debug.g_err_stage:='p_quantity_tbl('||i||') does not exist ';
7069: print_msg(pa_debug.g_err_stage,l_module_name);
7070: END IF;
7071: --dbms_output.put_line( pa_debug.g_err_stage);
7072:
7073: pa_debug.g_err_stage:='l_total_raw_cost_tbl('||i||') is '||l_total_raw_cost_tbl(i);

Line 7071: --dbms_output.put_line( pa_debug.g_err_stage);

7067: ELSE
7068: pa_debug.g_err_stage:='p_quantity_tbl('||i||') does not exist ';
7069: print_msg(pa_debug.g_err_stage,l_module_name);
7070: END IF;
7071: --dbms_output.put_line( pa_debug.g_err_stage);
7072:
7073: pa_debug.g_err_stage:='l_total_raw_cost_tbl('||i||') is '||l_total_raw_cost_tbl(i);
7074: print_msg(pa_debug.g_err_stage,l_module_name);
7075: --dbms_output.put_line( pa_debug.g_err_stage);

Line 7073: pa_debug.g_err_stage:='l_total_raw_cost_tbl('||i||') is '||l_total_raw_cost_tbl(i);

7069: print_msg(pa_debug.g_err_stage,l_module_name);
7070: END IF;
7071: --dbms_output.put_line( pa_debug.g_err_stage);
7072:
7073: pa_debug.g_err_stage:='l_total_raw_cost_tbl('||i||') is '||l_total_raw_cost_tbl(i);
7074: print_msg(pa_debug.g_err_stage,l_module_name);
7075: --dbms_output.put_line( pa_debug.g_err_stage);
7076:
7077: IF p_raw_cost_tbl.EXISTS(i) THEN

Line 7074: print_msg(pa_debug.g_err_stage,l_module_name);

7070: END IF;
7071: --dbms_output.put_line( pa_debug.g_err_stage);
7072:
7073: pa_debug.g_err_stage:='l_total_raw_cost_tbl('||i||') is '||l_total_raw_cost_tbl(i);
7074: print_msg(pa_debug.g_err_stage,l_module_name);
7075: --dbms_output.put_line( pa_debug.g_err_stage);
7076:
7077: IF p_raw_cost_tbl.EXISTS(i) THEN
7078: pa_debug.g_err_stage:='p_raw_cost_tbl('||i||') is '||p_raw_cost_tbl(i);

Line 7075: --dbms_output.put_line( pa_debug.g_err_stage);

7071: --dbms_output.put_line( pa_debug.g_err_stage);
7072:
7073: pa_debug.g_err_stage:='l_total_raw_cost_tbl('||i||') is '||l_total_raw_cost_tbl(i);
7074: print_msg(pa_debug.g_err_stage,l_module_name);
7075: --dbms_output.put_line( pa_debug.g_err_stage);
7076:
7077: IF p_raw_cost_tbl.EXISTS(i) THEN
7078: pa_debug.g_err_stage:='p_raw_cost_tbl('||i||') is '||p_raw_cost_tbl(i);
7079: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7078: pa_debug.g_err_stage:='p_raw_cost_tbl('||i||') is '||p_raw_cost_tbl(i);

7074: print_msg(pa_debug.g_err_stage,l_module_name);
7075: --dbms_output.put_line( pa_debug.g_err_stage);
7076:
7077: IF p_raw_cost_tbl.EXISTS(i) THEN
7078: pa_debug.g_err_stage:='p_raw_cost_tbl('||i||') is '||p_raw_cost_tbl(i);
7079: print_msg(pa_debug.g_err_stage,l_module_name);
7080: ELSE
7081: pa_debug.g_err_stage:='p_raw_cost_tbl('||i||') does not exist ';
7082: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7079: print_msg(pa_debug.g_err_stage,l_module_name);

7075: --dbms_output.put_line( pa_debug.g_err_stage);
7076:
7077: IF p_raw_cost_tbl.EXISTS(i) THEN
7078: pa_debug.g_err_stage:='p_raw_cost_tbl('||i||') is '||p_raw_cost_tbl(i);
7079: print_msg(pa_debug.g_err_stage,l_module_name);
7080: ELSE
7081: pa_debug.g_err_stage:='p_raw_cost_tbl('||i||') does not exist ';
7082: print_msg(pa_debug.g_err_stage,l_module_name);
7083: END IF;

Line 7081: pa_debug.g_err_stage:='p_raw_cost_tbl('||i||') does not exist ';

7077: IF p_raw_cost_tbl.EXISTS(i) THEN
7078: pa_debug.g_err_stage:='p_raw_cost_tbl('||i||') is '||p_raw_cost_tbl(i);
7079: print_msg(pa_debug.g_err_stage,l_module_name);
7080: ELSE
7081: pa_debug.g_err_stage:='p_raw_cost_tbl('||i||') does not exist ';
7082: print_msg(pa_debug.g_err_stage,l_module_name);
7083: END IF;
7084: --dbms_output.put_line( pa_debug.g_err_stage);
7085:

Line 7082: print_msg(pa_debug.g_err_stage,l_module_name);

7078: pa_debug.g_err_stage:='p_raw_cost_tbl('||i||') is '||p_raw_cost_tbl(i);
7079: print_msg(pa_debug.g_err_stage,l_module_name);
7080: ELSE
7081: pa_debug.g_err_stage:='p_raw_cost_tbl('||i||') does not exist ';
7082: print_msg(pa_debug.g_err_stage,l_module_name);
7083: END IF;
7084: --dbms_output.put_line( pa_debug.g_err_stage);
7085:
7086: pa_debug.g_err_stage:='l_burdened_cost_tbl('||i||') is '||l_burdened_cost_tbl(i);

Line 7084: --dbms_output.put_line( pa_debug.g_err_stage);

7080: ELSE
7081: pa_debug.g_err_stage:='p_raw_cost_tbl('||i||') does not exist ';
7082: print_msg(pa_debug.g_err_stage,l_module_name);
7083: END IF;
7084: --dbms_output.put_line( pa_debug.g_err_stage);
7085:
7086: pa_debug.g_err_stage:='l_burdened_cost_tbl('||i||') is '||l_burdened_cost_tbl(i);
7087: print_msg(pa_debug.g_err_stage,l_module_name);
7088: --dbms_output.put_line( pa_debug.g_err_stage);

Line 7086: pa_debug.g_err_stage:='l_burdened_cost_tbl('||i||') is '||l_burdened_cost_tbl(i);

7082: print_msg(pa_debug.g_err_stage,l_module_name);
7083: END IF;
7084: --dbms_output.put_line( pa_debug.g_err_stage);
7085:
7086: pa_debug.g_err_stage:='l_burdened_cost_tbl('||i||') is '||l_burdened_cost_tbl(i);
7087: print_msg(pa_debug.g_err_stage,l_module_name);
7088: --dbms_output.put_line( pa_debug.g_err_stage);
7089:
7090: IF p_burdened_cost_tbl.EXISTS(i) THEN

Line 7087: print_msg(pa_debug.g_err_stage,l_module_name);

7083: END IF;
7084: --dbms_output.put_line( pa_debug.g_err_stage);
7085:
7086: pa_debug.g_err_stage:='l_burdened_cost_tbl('||i||') is '||l_burdened_cost_tbl(i);
7087: print_msg(pa_debug.g_err_stage,l_module_name);
7088: --dbms_output.put_line( pa_debug.g_err_stage);
7089:
7090: IF p_burdened_cost_tbl.EXISTS(i) THEN
7091: pa_debug.g_err_stage:='p_burdened_cost_tbl('||i||') is '||p_burdened_cost_tbl(i);

Line 7088: --dbms_output.put_line( pa_debug.g_err_stage);

7084: --dbms_output.put_line( pa_debug.g_err_stage);
7085:
7086: pa_debug.g_err_stage:='l_burdened_cost_tbl('||i||') is '||l_burdened_cost_tbl(i);
7087: print_msg(pa_debug.g_err_stage,l_module_name);
7088: --dbms_output.put_line( pa_debug.g_err_stage);
7089:
7090: IF p_burdened_cost_tbl.EXISTS(i) THEN
7091: pa_debug.g_err_stage:='p_burdened_cost_tbl('||i||') is '||p_burdened_cost_tbl(i);
7092: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7091: pa_debug.g_err_stage:='p_burdened_cost_tbl('||i||') is '||p_burdened_cost_tbl(i);

7087: print_msg(pa_debug.g_err_stage,l_module_name);
7088: --dbms_output.put_line( pa_debug.g_err_stage);
7089:
7090: IF p_burdened_cost_tbl.EXISTS(i) THEN
7091: pa_debug.g_err_stage:='p_burdened_cost_tbl('||i||') is '||p_burdened_cost_tbl(i);
7092: print_msg(pa_debug.g_err_stage,l_module_name);
7093: ELSE
7094: pa_debug.g_err_stage:='p_burdened_cost_tbl('||i||') does not exist ';
7095: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7092: print_msg(pa_debug.g_err_stage,l_module_name);

7088: --dbms_output.put_line( pa_debug.g_err_stage);
7089:
7090: IF p_burdened_cost_tbl.EXISTS(i) THEN
7091: pa_debug.g_err_stage:='p_burdened_cost_tbl('||i||') is '||p_burdened_cost_tbl(i);
7092: print_msg(pa_debug.g_err_stage,l_module_name);
7093: ELSE
7094: pa_debug.g_err_stage:='p_burdened_cost_tbl('||i||') does not exist ';
7095: print_msg(pa_debug.g_err_stage,l_module_name);
7096: END IF;

Line 7094: pa_debug.g_err_stage:='p_burdened_cost_tbl('||i||') does not exist ';

7090: IF p_burdened_cost_tbl.EXISTS(i) THEN
7091: pa_debug.g_err_stage:='p_burdened_cost_tbl('||i||') is '||p_burdened_cost_tbl(i);
7092: print_msg(pa_debug.g_err_stage,l_module_name);
7093: ELSE
7094: pa_debug.g_err_stage:='p_burdened_cost_tbl('||i||') does not exist ';
7095: print_msg(pa_debug.g_err_stage,l_module_name);
7096: END IF;
7097: --dbms_output.put_line( pa_debug.g_err_stage);
7098:

Line 7095: print_msg(pa_debug.g_err_stage,l_module_name);

7091: pa_debug.g_err_stage:='p_burdened_cost_tbl('||i||') is '||p_burdened_cost_tbl(i);
7092: print_msg(pa_debug.g_err_stage,l_module_name);
7093: ELSE
7094: pa_debug.g_err_stage:='p_burdened_cost_tbl('||i||') does not exist ';
7095: print_msg(pa_debug.g_err_stage,l_module_name);
7096: END IF;
7097: --dbms_output.put_line( pa_debug.g_err_stage);
7098:
7099: pa_debug.g_err_stage:='l_revenue_tbl('||i||') is '||l_revenue_tbl(i);

Line 7097: --dbms_output.put_line( pa_debug.g_err_stage);

7093: ELSE
7094: pa_debug.g_err_stage:='p_burdened_cost_tbl('||i||') does not exist ';
7095: print_msg(pa_debug.g_err_stage,l_module_name);
7096: END IF;
7097: --dbms_output.put_line( pa_debug.g_err_stage);
7098:
7099: pa_debug.g_err_stage:='l_revenue_tbl('||i||') is '||l_revenue_tbl(i);
7100: print_msg(pa_debug.g_err_stage,l_module_name);
7101: --dbms_output.put_line( pa_debug.g_err_stage);

Line 7099: pa_debug.g_err_stage:='l_revenue_tbl('||i||') is '||l_revenue_tbl(i);

7095: print_msg(pa_debug.g_err_stage,l_module_name);
7096: END IF;
7097: --dbms_output.put_line( pa_debug.g_err_stage);
7098:
7099: pa_debug.g_err_stage:='l_revenue_tbl('||i||') is '||l_revenue_tbl(i);
7100: print_msg(pa_debug.g_err_stage,l_module_name);
7101: --dbms_output.put_line( pa_debug.g_err_stage);
7102:
7103: IF p_revenue_tbl.EXISTS(i) THEN

Line 7100: print_msg(pa_debug.g_err_stage,l_module_name);

7096: END IF;
7097: --dbms_output.put_line( pa_debug.g_err_stage);
7098:
7099: pa_debug.g_err_stage:='l_revenue_tbl('||i||') is '||l_revenue_tbl(i);
7100: print_msg(pa_debug.g_err_stage,l_module_name);
7101: --dbms_output.put_line( pa_debug.g_err_stage);
7102:
7103: IF p_revenue_tbl.EXISTS(i) THEN
7104: pa_debug.g_err_stage:='p_revenue_tbl('||i||') is '||p_revenue_tbl(i);

Line 7101: --dbms_output.put_line( pa_debug.g_err_stage);

7097: --dbms_output.put_line( pa_debug.g_err_stage);
7098:
7099: pa_debug.g_err_stage:='l_revenue_tbl('||i||') is '||l_revenue_tbl(i);
7100: print_msg(pa_debug.g_err_stage,l_module_name);
7101: --dbms_output.put_line( pa_debug.g_err_stage);
7102:
7103: IF p_revenue_tbl.EXISTS(i) THEN
7104: pa_debug.g_err_stage:='p_revenue_tbl('||i||') is '||p_revenue_tbl(i);
7105: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7104: pa_debug.g_err_stage:='p_revenue_tbl('||i||') is '||p_revenue_tbl(i);

7100: print_msg(pa_debug.g_err_stage,l_module_name);
7101: --dbms_output.put_line( pa_debug.g_err_stage);
7102:
7103: IF p_revenue_tbl.EXISTS(i) THEN
7104: pa_debug.g_err_stage:='p_revenue_tbl('||i||') is '||p_revenue_tbl(i);
7105: print_msg(pa_debug.g_err_stage,l_module_name);
7106: ELSE
7107: pa_debug.g_err_stage:='p_revenue_tbl('||i||') does not exist ';
7108: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7105: print_msg(pa_debug.g_err_stage,l_module_name);

7101: --dbms_output.put_line( pa_debug.g_err_stage);
7102:
7103: IF p_revenue_tbl.EXISTS(i) THEN
7104: pa_debug.g_err_stage:='p_revenue_tbl('||i||') is '||p_revenue_tbl(i);
7105: print_msg(pa_debug.g_err_stage,l_module_name);
7106: ELSE
7107: pa_debug.g_err_stage:='p_revenue_tbl('||i||') does not exist ';
7108: print_msg(pa_debug.g_err_stage,l_module_name);
7109: END IF;

Line 7107: pa_debug.g_err_stage:='p_revenue_tbl('||i||') does not exist ';

7103: IF p_revenue_tbl.EXISTS(i) THEN
7104: pa_debug.g_err_stage:='p_revenue_tbl('||i||') is '||p_revenue_tbl(i);
7105: print_msg(pa_debug.g_err_stage,l_module_name);
7106: ELSE
7107: pa_debug.g_err_stage:='p_revenue_tbl('||i||') does not exist ';
7108: print_msg(pa_debug.g_err_stage,l_module_name);
7109: END IF;
7110: --dbms_output.put_line( pa_debug.g_err_stage);
7111:

Line 7108: print_msg(pa_debug.g_err_stage,l_module_name);

7104: pa_debug.g_err_stage:='p_revenue_tbl('||i||') is '||p_revenue_tbl(i);
7105: print_msg(pa_debug.g_err_stage,l_module_name);
7106: ELSE
7107: pa_debug.g_err_stage:='p_revenue_tbl('||i||') does not exist ';
7108: print_msg(pa_debug.g_err_stage,l_module_name);
7109: END IF;
7110: --dbms_output.put_line( pa_debug.g_err_stage);
7111:
7112: pa_debug.g_err_stage:='l_raw_cost_rate_tbl('||i||') is '||l_raw_cost_rate_tbl(i);

Line 7110: --dbms_output.put_line( pa_debug.g_err_stage);

7106: ELSE
7107: pa_debug.g_err_stage:='p_revenue_tbl('||i||') does not exist ';
7108: print_msg(pa_debug.g_err_stage,l_module_name);
7109: END IF;
7110: --dbms_output.put_line( pa_debug.g_err_stage);
7111:
7112: pa_debug.g_err_stage:='l_raw_cost_rate_tbl('||i||') is '||l_raw_cost_rate_tbl(i);
7113: print_msg(pa_debug.g_err_stage,l_module_name);
7114: --dbms_output.put_line( pa_debug.g_err_stage);

Line 7112: pa_debug.g_err_stage:='l_raw_cost_rate_tbl('||i||') is '||l_raw_cost_rate_tbl(i);

7108: print_msg(pa_debug.g_err_stage,l_module_name);
7109: END IF;
7110: --dbms_output.put_line( pa_debug.g_err_stage);
7111:
7112: pa_debug.g_err_stage:='l_raw_cost_rate_tbl('||i||') is '||l_raw_cost_rate_tbl(i);
7113: print_msg(pa_debug.g_err_stage,l_module_name);
7114: --dbms_output.put_line( pa_debug.g_err_stage);
7115:
7116: IF p_cost_rate_tbl.EXISTS(i) THEN

Line 7113: print_msg(pa_debug.g_err_stage,l_module_name);

7109: END IF;
7110: --dbms_output.put_line( pa_debug.g_err_stage);
7111:
7112: pa_debug.g_err_stage:='l_raw_cost_rate_tbl('||i||') is '||l_raw_cost_rate_tbl(i);
7113: print_msg(pa_debug.g_err_stage,l_module_name);
7114: --dbms_output.put_line( pa_debug.g_err_stage);
7115:
7116: IF p_cost_rate_tbl.EXISTS(i) THEN
7117: pa_debug.g_err_stage:='p_cost_rate_tbl('||i||') is '||p_cost_rate_tbl(i);

Line 7114: --dbms_output.put_line( pa_debug.g_err_stage);

7110: --dbms_output.put_line( pa_debug.g_err_stage);
7111:
7112: pa_debug.g_err_stage:='l_raw_cost_rate_tbl('||i||') is '||l_raw_cost_rate_tbl(i);
7113: print_msg(pa_debug.g_err_stage,l_module_name);
7114: --dbms_output.put_line( pa_debug.g_err_stage);
7115:
7116: IF p_cost_rate_tbl.EXISTS(i) THEN
7117: pa_debug.g_err_stage:='p_cost_rate_tbl('||i||') is '||p_cost_rate_tbl(i);
7118: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7117: pa_debug.g_err_stage:='p_cost_rate_tbl('||i||') is '||p_cost_rate_tbl(i);

7113: print_msg(pa_debug.g_err_stage,l_module_name);
7114: --dbms_output.put_line( pa_debug.g_err_stage);
7115:
7116: IF p_cost_rate_tbl.EXISTS(i) THEN
7117: pa_debug.g_err_stage:='p_cost_rate_tbl('||i||') is '||p_cost_rate_tbl(i);
7118: print_msg(pa_debug.g_err_stage,l_module_name);
7119: ELSE
7120: pa_debug.g_err_stage:='p_cost_rate_tbl('||i||') does not exist ';
7121: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7118: print_msg(pa_debug.g_err_stage,l_module_name);

7114: --dbms_output.put_line( pa_debug.g_err_stage);
7115:
7116: IF p_cost_rate_tbl.EXISTS(i) THEN
7117: pa_debug.g_err_stage:='p_cost_rate_tbl('||i||') is '||p_cost_rate_tbl(i);
7118: print_msg(pa_debug.g_err_stage,l_module_name);
7119: ELSE
7120: pa_debug.g_err_stage:='p_cost_rate_tbl('||i||') does not exist ';
7121: print_msg(pa_debug.g_err_stage,l_module_name);
7122: END IF;

Line 7120: pa_debug.g_err_stage:='p_cost_rate_tbl('||i||') does not exist ';

7116: IF p_cost_rate_tbl.EXISTS(i) THEN
7117: pa_debug.g_err_stage:='p_cost_rate_tbl('||i||') is '||p_cost_rate_tbl(i);
7118: print_msg(pa_debug.g_err_stage,l_module_name);
7119: ELSE
7120: pa_debug.g_err_stage:='p_cost_rate_tbl('||i||') does not exist ';
7121: print_msg(pa_debug.g_err_stage,l_module_name);
7122: END IF;
7123: --dbms_output.put_line( pa_debug.g_err_stage);
7124:

Line 7121: print_msg(pa_debug.g_err_stage,l_module_name);

7117: pa_debug.g_err_stage:='p_cost_rate_tbl('||i||') is '||p_cost_rate_tbl(i);
7118: print_msg(pa_debug.g_err_stage,l_module_name);
7119: ELSE
7120: pa_debug.g_err_stage:='p_cost_rate_tbl('||i||') does not exist ';
7121: print_msg(pa_debug.g_err_stage,l_module_name);
7122: END IF;
7123: --dbms_output.put_line( pa_debug.g_err_stage);
7124:
7125: pa_debug.g_err_stage:='l_cost_rate_override_tbl('||i||') is '||l_cost_rate_override_tbl(i);

Line 7123: --dbms_output.put_line( pa_debug.g_err_stage);

7119: ELSE
7120: pa_debug.g_err_stage:='p_cost_rate_tbl('||i||') does not exist ';
7121: print_msg(pa_debug.g_err_stage,l_module_name);
7122: END IF;
7123: --dbms_output.put_line( pa_debug.g_err_stage);
7124:
7125: pa_debug.g_err_stage:='l_cost_rate_override_tbl('||i||') is '||l_cost_rate_override_tbl(i);
7126: print_msg(pa_debug.g_err_stage,l_module_name);
7127: --dbms_output.put_line( pa_debug.g_err_stage);

Line 7125: pa_debug.g_err_stage:='l_cost_rate_override_tbl('||i||') is '||l_cost_rate_override_tbl(i);

7121: print_msg(pa_debug.g_err_stage,l_module_name);
7122: END IF;
7123: --dbms_output.put_line( pa_debug.g_err_stage);
7124:
7125: pa_debug.g_err_stage:='l_cost_rate_override_tbl('||i||') is '||l_cost_rate_override_tbl(i);
7126: print_msg(pa_debug.g_err_stage,l_module_name);
7127: --dbms_output.put_line( pa_debug.g_err_stage);
7128:
7129: IF p_cost_rate_override_tbl.EXISTS(i) THEN

Line 7126: print_msg(pa_debug.g_err_stage,l_module_name);

7122: END IF;
7123: --dbms_output.put_line( pa_debug.g_err_stage);
7124:
7125: pa_debug.g_err_stage:='l_cost_rate_override_tbl('||i||') is '||l_cost_rate_override_tbl(i);
7126: print_msg(pa_debug.g_err_stage,l_module_name);
7127: --dbms_output.put_line( pa_debug.g_err_stage);
7128:
7129: IF p_cost_rate_override_tbl.EXISTS(i) THEN
7130: pa_debug.g_err_stage:='p_cost_rate_override_tbl('||i||') is '||p_cost_rate_override_tbl(i);

Line 7127: --dbms_output.put_line( pa_debug.g_err_stage);

7123: --dbms_output.put_line( pa_debug.g_err_stage);
7124:
7125: pa_debug.g_err_stage:='l_cost_rate_override_tbl('||i||') is '||l_cost_rate_override_tbl(i);
7126: print_msg(pa_debug.g_err_stage,l_module_name);
7127: --dbms_output.put_line( pa_debug.g_err_stage);
7128:
7129: IF p_cost_rate_override_tbl.EXISTS(i) THEN
7130: pa_debug.g_err_stage:='p_cost_rate_override_tbl('||i||') is '||p_cost_rate_override_tbl(i);
7131: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7130: pa_debug.g_err_stage:='p_cost_rate_override_tbl('||i||') is '||p_cost_rate_override_tbl(i);

7126: print_msg(pa_debug.g_err_stage,l_module_name);
7127: --dbms_output.put_line( pa_debug.g_err_stage);
7128:
7129: IF p_cost_rate_override_tbl.EXISTS(i) THEN
7130: pa_debug.g_err_stage:='p_cost_rate_override_tbl('||i||') is '||p_cost_rate_override_tbl(i);
7131: print_msg(pa_debug.g_err_stage,l_module_name);
7132: ELSE
7133: pa_debug.g_err_stage:='p_cost_rate_override_tbl('||i||') does not exist ';
7134: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7131: print_msg(pa_debug.g_err_stage,l_module_name);

7127: --dbms_output.put_line( pa_debug.g_err_stage);
7128:
7129: IF p_cost_rate_override_tbl.EXISTS(i) THEN
7130: pa_debug.g_err_stage:='p_cost_rate_override_tbl('||i||') is '||p_cost_rate_override_tbl(i);
7131: print_msg(pa_debug.g_err_stage,l_module_name);
7132: ELSE
7133: pa_debug.g_err_stage:='p_cost_rate_override_tbl('||i||') does not exist ';
7134: print_msg(pa_debug.g_err_stage,l_module_name);
7135: END IF;

Line 7133: pa_debug.g_err_stage:='p_cost_rate_override_tbl('||i||') does not exist ';

7129: IF p_cost_rate_override_tbl.EXISTS(i) THEN
7130: pa_debug.g_err_stage:='p_cost_rate_override_tbl('||i||') is '||p_cost_rate_override_tbl(i);
7131: print_msg(pa_debug.g_err_stage,l_module_name);
7132: ELSE
7133: pa_debug.g_err_stage:='p_cost_rate_override_tbl('||i||') does not exist ';
7134: print_msg(pa_debug.g_err_stage,l_module_name);
7135: END IF;
7136: --dbms_output.put_line( pa_debug.g_err_stage);
7137:

Line 7134: print_msg(pa_debug.g_err_stage,l_module_name);

7130: pa_debug.g_err_stage:='p_cost_rate_override_tbl('||i||') is '||p_cost_rate_override_tbl(i);
7131: print_msg(pa_debug.g_err_stage,l_module_name);
7132: ELSE
7133: pa_debug.g_err_stage:='p_cost_rate_override_tbl('||i||') does not exist ';
7134: print_msg(pa_debug.g_err_stage,l_module_name);
7135: END IF;
7136: --dbms_output.put_line( pa_debug.g_err_stage);
7137:
7138: pa_debug.g_err_stage:='l_b_multiplier_tbl('||i||') is '||l_b_multiplier_tbl(i);

Line 7136: --dbms_output.put_line( pa_debug.g_err_stage);

7132: ELSE
7133: pa_debug.g_err_stage:='p_cost_rate_override_tbl('||i||') does not exist ';
7134: print_msg(pa_debug.g_err_stage,l_module_name);
7135: END IF;
7136: --dbms_output.put_line( pa_debug.g_err_stage);
7137:
7138: pa_debug.g_err_stage:='l_b_multiplier_tbl('||i||') is '||l_b_multiplier_tbl(i);
7139: print_msg(pa_debug.g_err_stage,l_module_name);
7140: --dbms_output.put_line( pa_debug.g_err_stage);

Line 7138: pa_debug.g_err_stage:='l_b_multiplier_tbl('||i||') is '||l_b_multiplier_tbl(i);

7134: print_msg(pa_debug.g_err_stage,l_module_name);
7135: END IF;
7136: --dbms_output.put_line( pa_debug.g_err_stage);
7137:
7138: pa_debug.g_err_stage:='l_b_multiplier_tbl('||i||') is '||l_b_multiplier_tbl(i);
7139: print_msg(pa_debug.g_err_stage,l_module_name);
7140: --dbms_output.put_line( pa_debug.g_err_stage);
7141:
7142: IF p_burdened_rate_tbl.EXISTS(i) THEN

Line 7139: print_msg(pa_debug.g_err_stage,l_module_name);

7135: END IF;
7136: --dbms_output.put_line( pa_debug.g_err_stage);
7137:
7138: pa_debug.g_err_stage:='l_b_multiplier_tbl('||i||') is '||l_b_multiplier_tbl(i);
7139: print_msg(pa_debug.g_err_stage,l_module_name);
7140: --dbms_output.put_line( pa_debug.g_err_stage);
7141:
7142: IF p_burdened_rate_tbl.EXISTS(i) THEN
7143: pa_debug.g_err_stage:='p_burdened_rate_tbl('||i||') is '||p_burdened_rate_tbl(i);

Line 7140: --dbms_output.put_line( pa_debug.g_err_stage);

7136: --dbms_output.put_line( pa_debug.g_err_stage);
7137:
7138: pa_debug.g_err_stage:='l_b_multiplier_tbl('||i||') is '||l_b_multiplier_tbl(i);
7139: print_msg(pa_debug.g_err_stage,l_module_name);
7140: --dbms_output.put_line( pa_debug.g_err_stage);
7141:
7142: IF p_burdened_rate_tbl.EXISTS(i) THEN
7143: pa_debug.g_err_stage:='p_burdened_rate_tbl('||i||') is '||p_burdened_rate_tbl(i);
7144: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7143: pa_debug.g_err_stage:='p_burdened_rate_tbl('||i||') is '||p_burdened_rate_tbl(i);

7139: print_msg(pa_debug.g_err_stage,l_module_name);
7140: --dbms_output.put_line( pa_debug.g_err_stage);
7141:
7142: IF p_burdened_rate_tbl.EXISTS(i) THEN
7143: pa_debug.g_err_stage:='p_burdened_rate_tbl('||i||') is '||p_burdened_rate_tbl(i);
7144: print_msg(pa_debug.g_err_stage,l_module_name);
7145: ELSE
7146: pa_debug.g_err_stage:='p_burdened_rate_tbl('||i||') does not exist ';
7147: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7144: print_msg(pa_debug.g_err_stage,l_module_name);

7140: --dbms_output.put_line( pa_debug.g_err_stage);
7141:
7142: IF p_burdened_rate_tbl.EXISTS(i) THEN
7143: pa_debug.g_err_stage:='p_burdened_rate_tbl('||i||') is '||p_burdened_rate_tbl(i);
7144: print_msg(pa_debug.g_err_stage,l_module_name);
7145: ELSE
7146: pa_debug.g_err_stage:='p_burdened_rate_tbl('||i||') does not exist ';
7147: print_msg(pa_debug.g_err_stage,l_module_name);
7148: END IF;

Line 7146: pa_debug.g_err_stage:='p_burdened_rate_tbl('||i||') does not exist ';

7142: IF p_burdened_rate_tbl.EXISTS(i) THEN
7143: pa_debug.g_err_stage:='p_burdened_rate_tbl('||i||') is '||p_burdened_rate_tbl(i);
7144: print_msg(pa_debug.g_err_stage,l_module_name);
7145: ELSE
7146: pa_debug.g_err_stage:='p_burdened_rate_tbl('||i||') does not exist ';
7147: print_msg(pa_debug.g_err_stage,l_module_name);
7148: END IF;
7149: --dbms_output.put_line( pa_debug.g_err_stage);
7150:

Line 7147: print_msg(pa_debug.g_err_stage,l_module_name);

7143: pa_debug.g_err_stage:='p_burdened_rate_tbl('||i||') is '||p_burdened_rate_tbl(i);
7144: print_msg(pa_debug.g_err_stage,l_module_name);
7145: ELSE
7146: pa_debug.g_err_stage:='p_burdened_rate_tbl('||i||') does not exist ';
7147: print_msg(pa_debug.g_err_stage,l_module_name);
7148: END IF;
7149: --dbms_output.put_line( pa_debug.g_err_stage);
7150:
7151: pa_debug.g_err_stage:='l_burdened_rate_override_tbl('||i||') is '||l_burdened_rate_override_tbl(i);

Line 7149: --dbms_output.put_line( pa_debug.g_err_stage);

7145: ELSE
7146: pa_debug.g_err_stage:='p_burdened_rate_tbl('||i||') does not exist ';
7147: print_msg(pa_debug.g_err_stage,l_module_name);
7148: END IF;
7149: --dbms_output.put_line( pa_debug.g_err_stage);
7150:
7151: pa_debug.g_err_stage:='l_burdened_rate_override_tbl('||i||') is '||l_burdened_rate_override_tbl(i);
7152: print_msg(pa_debug.g_err_stage,l_module_name);
7153: --dbms_output.put_line( pa_debug.g_err_stage);

Line 7151: pa_debug.g_err_stage:='l_burdened_rate_override_tbl('||i||') is '||l_burdened_rate_override_tbl(i);

7147: print_msg(pa_debug.g_err_stage,l_module_name);
7148: END IF;
7149: --dbms_output.put_line( pa_debug.g_err_stage);
7150:
7151: pa_debug.g_err_stage:='l_burdened_rate_override_tbl('||i||') is '||l_burdened_rate_override_tbl(i);
7152: print_msg(pa_debug.g_err_stage,l_module_name);
7153: --dbms_output.put_line( pa_debug.g_err_stage);
7154:
7155: IF p_burdened_rate_override_tbl.EXISTS(i) THEN

Line 7152: print_msg(pa_debug.g_err_stage,l_module_name);

7148: END IF;
7149: --dbms_output.put_line( pa_debug.g_err_stage);
7150:
7151: pa_debug.g_err_stage:='l_burdened_rate_override_tbl('||i||') is '||l_burdened_rate_override_tbl(i);
7152: print_msg(pa_debug.g_err_stage,l_module_name);
7153: --dbms_output.put_line( pa_debug.g_err_stage);
7154:
7155: IF p_burdened_rate_override_tbl.EXISTS(i) THEN
7156: pa_debug.g_err_stage:='p_burdened_rate_override_tbl('||i||') is '||p_burdened_rate_override_tbl(i);

Line 7153: --dbms_output.put_line( pa_debug.g_err_stage);

7149: --dbms_output.put_line( pa_debug.g_err_stage);
7150:
7151: pa_debug.g_err_stage:='l_burdened_rate_override_tbl('||i||') is '||l_burdened_rate_override_tbl(i);
7152: print_msg(pa_debug.g_err_stage,l_module_name);
7153: --dbms_output.put_line( pa_debug.g_err_stage);
7154:
7155: IF p_burdened_rate_override_tbl.EXISTS(i) THEN
7156: pa_debug.g_err_stage:='p_burdened_rate_override_tbl('||i||') is '||p_burdened_rate_override_tbl(i);
7157: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7156: pa_debug.g_err_stage:='p_burdened_rate_override_tbl('||i||') is '||p_burdened_rate_override_tbl(i);

7152: print_msg(pa_debug.g_err_stage,l_module_name);
7153: --dbms_output.put_line( pa_debug.g_err_stage);
7154:
7155: IF p_burdened_rate_override_tbl.EXISTS(i) THEN
7156: pa_debug.g_err_stage:='p_burdened_rate_override_tbl('||i||') is '||p_burdened_rate_override_tbl(i);
7157: print_msg(pa_debug.g_err_stage,l_module_name);
7158: ELSE
7159: pa_debug.g_err_stage:='p_burdened_rate_override_tbl('||i||') does not exist ';
7160: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7157: print_msg(pa_debug.g_err_stage,l_module_name);

7153: --dbms_output.put_line( pa_debug.g_err_stage);
7154:
7155: IF p_burdened_rate_override_tbl.EXISTS(i) THEN
7156: pa_debug.g_err_stage:='p_burdened_rate_override_tbl('||i||') is '||p_burdened_rate_override_tbl(i);
7157: print_msg(pa_debug.g_err_stage,l_module_name);
7158: ELSE
7159: pa_debug.g_err_stage:='p_burdened_rate_override_tbl('||i||') does not exist ';
7160: print_msg(pa_debug.g_err_stage,l_module_name);
7161: END IF;

Line 7159: pa_debug.g_err_stage:='p_burdened_rate_override_tbl('||i||') does not exist ';

7155: IF p_burdened_rate_override_tbl.EXISTS(i) THEN
7156: pa_debug.g_err_stage:='p_burdened_rate_override_tbl('||i||') is '||p_burdened_rate_override_tbl(i);
7157: print_msg(pa_debug.g_err_stage,l_module_name);
7158: ELSE
7159: pa_debug.g_err_stage:='p_burdened_rate_override_tbl('||i||') does not exist ';
7160: print_msg(pa_debug.g_err_stage,l_module_name);
7161: END IF;
7162: --dbms_output.put_line( pa_debug.g_err_stage);
7163:

Line 7160: print_msg(pa_debug.g_err_stage,l_module_name);

7156: pa_debug.g_err_stage:='p_burdened_rate_override_tbl('||i||') is '||p_burdened_rate_override_tbl(i);
7157: print_msg(pa_debug.g_err_stage,l_module_name);
7158: ELSE
7159: pa_debug.g_err_stage:='p_burdened_rate_override_tbl('||i||') does not exist ';
7160: print_msg(pa_debug.g_err_stage,l_module_name);
7161: END IF;
7162: --dbms_output.put_line( pa_debug.g_err_stage);
7163:
7164: pa_debug.g_err_stage:='l_bill_rate_tbl('||i||') is '||l_bill_rate_tbl(i);

Line 7162: --dbms_output.put_line( pa_debug.g_err_stage);

7158: ELSE
7159: pa_debug.g_err_stage:='p_burdened_rate_override_tbl('||i||') does not exist ';
7160: print_msg(pa_debug.g_err_stage,l_module_name);
7161: END IF;
7162: --dbms_output.put_line( pa_debug.g_err_stage);
7163:
7164: pa_debug.g_err_stage:='l_bill_rate_tbl('||i||') is '||l_bill_rate_tbl(i);
7165: print_msg(pa_debug.g_err_stage,l_module_name);
7166: --dbms_output.put_line( pa_debug.g_err_stage);

Line 7164: pa_debug.g_err_stage:='l_bill_rate_tbl('||i||') is '||l_bill_rate_tbl(i);

7160: print_msg(pa_debug.g_err_stage,l_module_name);
7161: END IF;
7162: --dbms_output.put_line( pa_debug.g_err_stage);
7163:
7164: pa_debug.g_err_stage:='l_bill_rate_tbl('||i||') is '||l_bill_rate_tbl(i);
7165: print_msg(pa_debug.g_err_stage,l_module_name);
7166: --dbms_output.put_line( pa_debug.g_err_stage);
7167:
7168: IF p_bill_rate_tbl.EXISTS(i) THEN

Line 7165: print_msg(pa_debug.g_err_stage,l_module_name);

7161: END IF;
7162: --dbms_output.put_line( pa_debug.g_err_stage);
7163:
7164: pa_debug.g_err_stage:='l_bill_rate_tbl('||i||') is '||l_bill_rate_tbl(i);
7165: print_msg(pa_debug.g_err_stage,l_module_name);
7166: --dbms_output.put_line( pa_debug.g_err_stage);
7167:
7168: IF p_bill_rate_tbl.EXISTS(i) THEN
7169: pa_debug.g_err_stage:='p_bill_rate_tbl('||i||') is '||p_bill_rate_tbl(i);

Line 7166: --dbms_output.put_line( pa_debug.g_err_stage);

7162: --dbms_output.put_line( pa_debug.g_err_stage);
7163:
7164: pa_debug.g_err_stage:='l_bill_rate_tbl('||i||') is '||l_bill_rate_tbl(i);
7165: print_msg(pa_debug.g_err_stage,l_module_name);
7166: --dbms_output.put_line( pa_debug.g_err_stage);
7167:
7168: IF p_bill_rate_tbl.EXISTS(i) THEN
7169: pa_debug.g_err_stage:='p_bill_rate_tbl('||i||') is '||p_bill_rate_tbl(i);
7170: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7169: pa_debug.g_err_stage:='p_bill_rate_tbl('||i||') is '||p_bill_rate_tbl(i);

7165: print_msg(pa_debug.g_err_stage,l_module_name);
7166: --dbms_output.put_line( pa_debug.g_err_stage);
7167:
7168: IF p_bill_rate_tbl.EXISTS(i) THEN
7169: pa_debug.g_err_stage:='p_bill_rate_tbl('||i||') is '||p_bill_rate_tbl(i);
7170: print_msg(pa_debug.g_err_stage,l_module_name);
7171: ELSE
7172: pa_debug.g_err_stage:='p_bill_rate_tbl('||i||') does not exist ';
7173: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7170: print_msg(pa_debug.g_err_stage,l_module_name);

7166: --dbms_output.put_line( pa_debug.g_err_stage);
7167:
7168: IF p_bill_rate_tbl.EXISTS(i) THEN
7169: pa_debug.g_err_stage:='p_bill_rate_tbl('||i||') is '||p_bill_rate_tbl(i);
7170: print_msg(pa_debug.g_err_stage,l_module_name);
7171: ELSE
7172: pa_debug.g_err_stage:='p_bill_rate_tbl('||i||') does not exist ';
7173: print_msg(pa_debug.g_err_stage,l_module_name);
7174: END IF;

Line 7172: pa_debug.g_err_stage:='p_bill_rate_tbl('||i||') does not exist ';

7168: IF p_bill_rate_tbl.EXISTS(i) THEN
7169: pa_debug.g_err_stage:='p_bill_rate_tbl('||i||') is '||p_bill_rate_tbl(i);
7170: print_msg(pa_debug.g_err_stage,l_module_name);
7171: ELSE
7172: pa_debug.g_err_stage:='p_bill_rate_tbl('||i||') does not exist ';
7173: print_msg(pa_debug.g_err_stage,l_module_name);
7174: END IF;
7175: --dbms_output.put_line( pa_debug.g_err_stage);
7176:

Line 7173: print_msg(pa_debug.g_err_stage,l_module_name);

7169: pa_debug.g_err_stage:='p_bill_rate_tbl('||i||') is '||p_bill_rate_tbl(i);
7170: print_msg(pa_debug.g_err_stage,l_module_name);
7171: ELSE
7172: pa_debug.g_err_stage:='p_bill_rate_tbl('||i||') does not exist ';
7173: print_msg(pa_debug.g_err_stage,l_module_name);
7174: END IF;
7175: --dbms_output.put_line( pa_debug.g_err_stage);
7176:
7177: pa_debug.g_err_stage:='l_bill_rate_override_tbl('||i||') is '||l_bill_rate_override_tbl(i);

Line 7175: --dbms_output.put_line( pa_debug.g_err_stage);

7171: ELSE
7172: pa_debug.g_err_stage:='p_bill_rate_tbl('||i||') does not exist ';
7173: print_msg(pa_debug.g_err_stage,l_module_name);
7174: END IF;
7175: --dbms_output.put_line( pa_debug.g_err_stage);
7176:
7177: pa_debug.g_err_stage:='l_bill_rate_override_tbl('||i||') is '||l_bill_rate_override_tbl(i);
7178: print_msg(pa_debug.g_err_stage,l_module_name);
7179: --dbms_output.put_line( pa_debug.g_err_stage);

Line 7177: pa_debug.g_err_stage:='l_bill_rate_override_tbl('||i||') is '||l_bill_rate_override_tbl(i);

7173: print_msg(pa_debug.g_err_stage,l_module_name);
7174: END IF;
7175: --dbms_output.put_line( pa_debug.g_err_stage);
7176:
7177: pa_debug.g_err_stage:='l_bill_rate_override_tbl('||i||') is '||l_bill_rate_override_tbl(i);
7178: print_msg(pa_debug.g_err_stage,l_module_name);
7179: --dbms_output.put_line( pa_debug.g_err_stage);
7180:
7181: IF p_bill_rate_override_tbl.EXISTS(i) THEN

Line 7178: print_msg(pa_debug.g_err_stage,l_module_name);

7174: END IF;
7175: --dbms_output.put_line( pa_debug.g_err_stage);
7176:
7177: pa_debug.g_err_stage:='l_bill_rate_override_tbl('||i||') is '||l_bill_rate_override_tbl(i);
7178: print_msg(pa_debug.g_err_stage,l_module_name);
7179: --dbms_output.put_line( pa_debug.g_err_stage);
7180:
7181: IF p_bill_rate_override_tbl.EXISTS(i) THEN
7182: pa_debug.g_err_stage:='p_bill_rate_override_tbl('||i||') is '||p_bill_rate_override_tbl(i);

Line 7179: --dbms_output.put_line( pa_debug.g_err_stage);

7175: --dbms_output.put_line( pa_debug.g_err_stage);
7176:
7177: pa_debug.g_err_stage:='l_bill_rate_override_tbl('||i||') is '||l_bill_rate_override_tbl(i);
7178: print_msg(pa_debug.g_err_stage,l_module_name);
7179: --dbms_output.put_line( pa_debug.g_err_stage);
7180:
7181: IF p_bill_rate_override_tbl.EXISTS(i) THEN
7182: pa_debug.g_err_stage:='p_bill_rate_override_tbl('||i||') is '||p_bill_rate_override_tbl(i);
7183: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7182: pa_debug.g_err_stage:='p_bill_rate_override_tbl('||i||') is '||p_bill_rate_override_tbl(i);

7178: print_msg(pa_debug.g_err_stage,l_module_name);
7179: --dbms_output.put_line( pa_debug.g_err_stage);
7180:
7181: IF p_bill_rate_override_tbl.EXISTS(i) THEN
7182: pa_debug.g_err_stage:='p_bill_rate_override_tbl('||i||') is '||p_bill_rate_override_tbl(i);
7183: print_msg(pa_debug.g_err_stage,l_module_name);
7184: ELSE
7185: pa_debug.g_err_stage:='p_bill_rate_override_tbl('||i||') does not exist ';
7186: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7183: print_msg(pa_debug.g_err_stage,l_module_name);

7179: --dbms_output.put_line( pa_debug.g_err_stage);
7180:
7181: IF p_bill_rate_override_tbl.EXISTS(i) THEN
7182: pa_debug.g_err_stage:='p_bill_rate_override_tbl('||i||') is '||p_bill_rate_override_tbl(i);
7183: print_msg(pa_debug.g_err_stage,l_module_name);
7184: ELSE
7185: pa_debug.g_err_stage:='p_bill_rate_override_tbl('||i||') does not exist ';
7186: print_msg(pa_debug.g_err_stage,l_module_name);
7187: END IF;

Line 7185: pa_debug.g_err_stage:='p_bill_rate_override_tbl('||i||') does not exist ';

7181: IF p_bill_rate_override_tbl.EXISTS(i) THEN
7182: pa_debug.g_err_stage:='p_bill_rate_override_tbl('||i||') is '||p_bill_rate_override_tbl(i);
7183: print_msg(pa_debug.g_err_stage,l_module_name);
7184: ELSE
7185: pa_debug.g_err_stage:='p_bill_rate_override_tbl('||i||') does not exist ';
7186: print_msg(pa_debug.g_err_stage,l_module_name);
7187: END IF;
7188: --dbms_output.put_line( pa_debug.g_err_stage);
7189:

Line 7186: print_msg(pa_debug.g_err_stage,l_module_name);

7182: pa_debug.g_err_stage:='p_bill_rate_override_tbl('||i||') is '||p_bill_rate_override_tbl(i);
7183: print_msg(pa_debug.g_err_stage,l_module_name);
7184: ELSE
7185: pa_debug.g_err_stage:='p_bill_rate_override_tbl('||i||') does not exist ';
7186: print_msg(pa_debug.g_err_stage,l_module_name);
7187: END IF;
7188: --dbms_output.put_line( pa_debug.g_err_stage);
7189:
7190: pa_debug.g_err_stage:='l_rlm_id_change_flag_tbl('||i||') is '||l_rlm_id_change_flag_tbl(i);

Line 7188: --dbms_output.put_line( pa_debug.g_err_stage);

7184: ELSE
7185: pa_debug.g_err_stage:='p_bill_rate_override_tbl('||i||') does not exist ';
7186: print_msg(pa_debug.g_err_stage,l_module_name);
7187: END IF;
7188: --dbms_output.put_line( pa_debug.g_err_stage);
7189:
7190: pa_debug.g_err_stage:='l_rlm_id_change_flag_tbl('||i||') is '||l_rlm_id_change_flag_tbl(i);
7191: print_msg(pa_debug.g_err_stage,l_module_name);
7192: --dbms_output.put_line( pa_debug.g_err_stage);

Line 7190: pa_debug.g_err_stage:='l_rlm_id_change_flag_tbl('||i||') is '||l_rlm_id_change_flag_tbl(i);

7186: print_msg(pa_debug.g_err_stage,l_module_name);
7187: END IF;
7188: --dbms_output.put_line( pa_debug.g_err_stage);
7189:
7190: pa_debug.g_err_stage:='l_rlm_id_change_flag_tbl('||i||') is '||l_rlm_id_change_flag_tbl(i);
7191: print_msg(pa_debug.g_err_stage,l_module_name);
7192: --dbms_output.put_line( pa_debug.g_err_stage);
7193: pa_debug.g_err_stage:='l_mfc_cost_type_id_old_tbl('||i||') is '||l_mfc_cost_type_id_old_tbl(i);
7194: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7191: print_msg(pa_debug.g_err_stage,l_module_name);

7187: END IF;
7188: --dbms_output.put_line( pa_debug.g_err_stage);
7189:
7190: pa_debug.g_err_stage:='l_rlm_id_change_flag_tbl('||i||') is '||l_rlm_id_change_flag_tbl(i);
7191: print_msg(pa_debug.g_err_stage,l_module_name);
7192: --dbms_output.put_line( pa_debug.g_err_stage);
7193: pa_debug.g_err_stage:='l_mfc_cost_type_id_old_tbl('||i||') is '||l_mfc_cost_type_id_old_tbl(i);
7194: print_msg(pa_debug.g_err_stage,l_module_name);
7195: --dbms_output.put_line( pa_debug.g_err_stage);

Line 7192: --dbms_output.put_line( pa_debug.g_err_stage);

7188: --dbms_output.put_line( pa_debug.g_err_stage);
7189:
7190: pa_debug.g_err_stage:='l_rlm_id_change_flag_tbl('||i||') is '||l_rlm_id_change_flag_tbl(i);
7191: print_msg(pa_debug.g_err_stage,l_module_name);
7192: --dbms_output.put_line( pa_debug.g_err_stage);
7193: pa_debug.g_err_stage:='l_mfc_cost_type_id_old_tbl('||i||') is '||l_mfc_cost_type_id_old_tbl(i);
7194: print_msg(pa_debug.g_err_stage,l_module_name);
7195: --dbms_output.put_line( pa_debug.g_err_stage);
7196: pa_debug.g_err_stage:='l_mfc_cost_type_id_new_tbl('||i||') is '||l_mfc_cost_type_id_new_tbl(i);

Line 7193: pa_debug.g_err_stage:='l_mfc_cost_type_id_old_tbl('||i||') is '||l_mfc_cost_type_id_old_tbl(i);

7189:
7190: pa_debug.g_err_stage:='l_rlm_id_change_flag_tbl('||i||') is '||l_rlm_id_change_flag_tbl(i);
7191: print_msg(pa_debug.g_err_stage,l_module_name);
7192: --dbms_output.put_line( pa_debug.g_err_stage);
7193: pa_debug.g_err_stage:='l_mfc_cost_type_id_old_tbl('||i||') is '||l_mfc_cost_type_id_old_tbl(i);
7194: print_msg(pa_debug.g_err_stage,l_module_name);
7195: --dbms_output.put_line( pa_debug.g_err_stage);
7196: pa_debug.g_err_stage:='l_mfc_cost_type_id_new_tbl('||i||') is '||l_mfc_cost_type_id_new_tbl(i);
7197: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7194: print_msg(pa_debug.g_err_stage,l_module_name);

7190: pa_debug.g_err_stage:='l_rlm_id_change_flag_tbl('||i||') is '||l_rlm_id_change_flag_tbl(i);
7191: print_msg(pa_debug.g_err_stage,l_module_name);
7192: --dbms_output.put_line( pa_debug.g_err_stage);
7193: pa_debug.g_err_stage:='l_mfc_cost_type_id_old_tbl('||i||') is '||l_mfc_cost_type_id_old_tbl(i);
7194: print_msg(pa_debug.g_err_stage,l_module_name);
7195: --dbms_output.put_line( pa_debug.g_err_stage);
7196: pa_debug.g_err_stage:='l_mfc_cost_type_id_new_tbl('||i||') is '||l_mfc_cost_type_id_new_tbl(i);
7197: print_msg(pa_debug.g_err_stage,l_module_name);
7198: --dbms_output.put_line( pa_debug.g_err_stage);

Line 7195: --dbms_output.put_line( pa_debug.g_err_stage);

7191: print_msg(pa_debug.g_err_stage,l_module_name);
7192: --dbms_output.put_line( pa_debug.g_err_stage);
7193: pa_debug.g_err_stage:='l_mfc_cost_type_id_old_tbl('||i||') is '||l_mfc_cost_type_id_old_tbl(i);
7194: print_msg(pa_debug.g_err_stage,l_module_name);
7195: --dbms_output.put_line( pa_debug.g_err_stage);
7196: pa_debug.g_err_stage:='l_mfc_cost_type_id_new_tbl('||i||') is '||l_mfc_cost_type_id_new_tbl(i);
7197: print_msg(pa_debug.g_err_stage,l_module_name);
7198: --dbms_output.put_line( pa_debug.g_err_stage);
7199: pa_debug.g_err_stage:='l_spread_curve_id_old_tbl('||i||') is '||l_spread_curve_id_old_tbl(i);

Line 7196: pa_debug.g_err_stage:='l_mfc_cost_type_id_new_tbl('||i||') is '||l_mfc_cost_type_id_new_tbl(i);

7192: --dbms_output.put_line( pa_debug.g_err_stage);
7193: pa_debug.g_err_stage:='l_mfc_cost_type_id_old_tbl('||i||') is '||l_mfc_cost_type_id_old_tbl(i);
7194: print_msg(pa_debug.g_err_stage,l_module_name);
7195: --dbms_output.put_line( pa_debug.g_err_stage);
7196: pa_debug.g_err_stage:='l_mfc_cost_type_id_new_tbl('||i||') is '||l_mfc_cost_type_id_new_tbl(i);
7197: print_msg(pa_debug.g_err_stage,l_module_name);
7198: --dbms_output.put_line( pa_debug.g_err_stage);
7199: pa_debug.g_err_stage:='l_spread_curve_id_old_tbl('||i||') is '||l_spread_curve_id_old_tbl(i);
7200: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7197: print_msg(pa_debug.g_err_stage,l_module_name);

7193: pa_debug.g_err_stage:='l_mfc_cost_type_id_old_tbl('||i||') is '||l_mfc_cost_type_id_old_tbl(i);
7194: print_msg(pa_debug.g_err_stage,l_module_name);
7195: --dbms_output.put_line( pa_debug.g_err_stage);
7196: pa_debug.g_err_stage:='l_mfc_cost_type_id_new_tbl('||i||') is '||l_mfc_cost_type_id_new_tbl(i);
7197: print_msg(pa_debug.g_err_stage,l_module_name);
7198: --dbms_output.put_line( pa_debug.g_err_stage);
7199: pa_debug.g_err_stage:='l_spread_curve_id_old_tbl('||i||') is '||l_spread_curve_id_old_tbl(i);
7200: print_msg(pa_debug.g_err_stage,l_module_name);
7201: --dbms_output.put_line( pa_debug.g_err_stage);

Line 7198: --dbms_output.put_line( pa_debug.g_err_stage);

7194: print_msg(pa_debug.g_err_stage,l_module_name);
7195: --dbms_output.put_line( pa_debug.g_err_stage);
7196: pa_debug.g_err_stage:='l_mfc_cost_type_id_new_tbl('||i||') is '||l_mfc_cost_type_id_new_tbl(i);
7197: print_msg(pa_debug.g_err_stage,l_module_name);
7198: --dbms_output.put_line( pa_debug.g_err_stage);
7199: pa_debug.g_err_stage:='l_spread_curve_id_old_tbl('||i||') is '||l_spread_curve_id_old_tbl(i);
7200: print_msg(pa_debug.g_err_stage,l_module_name);
7201: --dbms_output.put_line( pa_debug.g_err_stage);
7202: pa_debug.g_err_stage:='l_spread_curve_id_new_tbl('||i||') is '||l_spread_curve_id_new_tbl(i);

Line 7199: pa_debug.g_err_stage:='l_spread_curve_id_old_tbl('||i||') is '||l_spread_curve_id_old_tbl(i);

7195: --dbms_output.put_line( pa_debug.g_err_stage);
7196: pa_debug.g_err_stage:='l_mfc_cost_type_id_new_tbl('||i||') is '||l_mfc_cost_type_id_new_tbl(i);
7197: print_msg(pa_debug.g_err_stage,l_module_name);
7198: --dbms_output.put_line( pa_debug.g_err_stage);
7199: pa_debug.g_err_stage:='l_spread_curve_id_old_tbl('||i||') is '||l_spread_curve_id_old_tbl(i);
7200: print_msg(pa_debug.g_err_stage,l_module_name);
7201: --dbms_output.put_line( pa_debug.g_err_stage);
7202: pa_debug.g_err_stage:='l_spread_curve_id_new_tbl('||i||') is '||l_spread_curve_id_new_tbl(i);
7203: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7200: print_msg(pa_debug.g_err_stage,l_module_name);

7196: pa_debug.g_err_stage:='l_mfc_cost_type_id_new_tbl('||i||') is '||l_mfc_cost_type_id_new_tbl(i);
7197: print_msg(pa_debug.g_err_stage,l_module_name);
7198: --dbms_output.put_line( pa_debug.g_err_stage);
7199: pa_debug.g_err_stage:='l_spread_curve_id_old_tbl('||i||') is '||l_spread_curve_id_old_tbl(i);
7200: print_msg(pa_debug.g_err_stage,l_module_name);
7201: --dbms_output.put_line( pa_debug.g_err_stage);
7202: pa_debug.g_err_stage:='l_spread_curve_id_new_tbl('||i||') is '||l_spread_curve_id_new_tbl(i);
7203: print_msg(pa_debug.g_err_stage,l_module_name);
7204: --dbms_output.put_line( pa_debug.g_err_stage);

Line 7201: --dbms_output.put_line( pa_debug.g_err_stage);

7197: print_msg(pa_debug.g_err_stage,l_module_name);
7198: --dbms_output.put_line( pa_debug.g_err_stage);
7199: pa_debug.g_err_stage:='l_spread_curve_id_old_tbl('||i||') is '||l_spread_curve_id_old_tbl(i);
7200: print_msg(pa_debug.g_err_stage,l_module_name);
7201: --dbms_output.put_line( pa_debug.g_err_stage);
7202: pa_debug.g_err_stage:='l_spread_curve_id_new_tbl('||i||') is '||l_spread_curve_id_new_tbl(i);
7203: print_msg(pa_debug.g_err_stage,l_module_name);
7204: --dbms_output.put_line( pa_debug.g_err_stage);
7205: pa_debug.g_err_stage:='l_sp_fixed_date_old_tbl('||i||') is '||l_sp_fixed_date_old_tbl(i);

Line 7202: pa_debug.g_err_stage:='l_spread_curve_id_new_tbl('||i||') is '||l_spread_curve_id_new_tbl(i);

7198: --dbms_output.put_line( pa_debug.g_err_stage);
7199: pa_debug.g_err_stage:='l_spread_curve_id_old_tbl('||i||') is '||l_spread_curve_id_old_tbl(i);
7200: print_msg(pa_debug.g_err_stage,l_module_name);
7201: --dbms_output.put_line( pa_debug.g_err_stage);
7202: pa_debug.g_err_stage:='l_spread_curve_id_new_tbl('||i||') is '||l_spread_curve_id_new_tbl(i);
7203: print_msg(pa_debug.g_err_stage,l_module_name);
7204: --dbms_output.put_line( pa_debug.g_err_stage);
7205: pa_debug.g_err_stage:='l_sp_fixed_date_old_tbl('||i||') is '||l_sp_fixed_date_old_tbl(i);
7206: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7203: print_msg(pa_debug.g_err_stage,l_module_name);

7199: pa_debug.g_err_stage:='l_spread_curve_id_old_tbl('||i||') is '||l_spread_curve_id_old_tbl(i);
7200: print_msg(pa_debug.g_err_stage,l_module_name);
7201: --dbms_output.put_line( pa_debug.g_err_stage);
7202: pa_debug.g_err_stage:='l_spread_curve_id_new_tbl('||i||') is '||l_spread_curve_id_new_tbl(i);
7203: print_msg(pa_debug.g_err_stage,l_module_name);
7204: --dbms_output.put_line( pa_debug.g_err_stage);
7205: pa_debug.g_err_stage:='l_sp_fixed_date_old_tbl('||i||') is '||l_sp_fixed_date_old_tbl(i);
7206: print_msg(pa_debug.g_err_stage,l_module_name);
7207: --dbms_output.put_line( pa_debug.g_err_stage);

Line 7204: --dbms_output.put_line( pa_debug.g_err_stage);

7200: print_msg(pa_debug.g_err_stage,l_module_name);
7201: --dbms_output.put_line( pa_debug.g_err_stage);
7202: pa_debug.g_err_stage:='l_spread_curve_id_new_tbl('||i||') is '||l_spread_curve_id_new_tbl(i);
7203: print_msg(pa_debug.g_err_stage,l_module_name);
7204: --dbms_output.put_line( pa_debug.g_err_stage);
7205: pa_debug.g_err_stage:='l_sp_fixed_date_old_tbl('||i||') is '||l_sp_fixed_date_old_tbl(i);
7206: print_msg(pa_debug.g_err_stage,l_module_name);
7207: --dbms_output.put_line( pa_debug.g_err_stage);
7208: if l_sp_fixed_date_new_tbl(i) = fnd_api.g_miss_date then

Line 7205: pa_debug.g_err_stage:='l_sp_fixed_date_old_tbl('||i||') is '||l_sp_fixed_date_old_tbl(i);

7201: --dbms_output.put_line( pa_debug.g_err_stage);
7202: pa_debug.g_err_stage:='l_spread_curve_id_new_tbl('||i||') is '||l_spread_curve_id_new_tbl(i);
7203: print_msg(pa_debug.g_err_stage,l_module_name);
7204: --dbms_output.put_line( pa_debug.g_err_stage);
7205: pa_debug.g_err_stage:='l_sp_fixed_date_old_tbl('||i||') is '||l_sp_fixed_date_old_tbl(i);
7206: print_msg(pa_debug.g_err_stage,l_module_name);
7207: --dbms_output.put_line( pa_debug.g_err_stage);
7208: if l_sp_fixed_date_new_tbl(i) = fnd_api.g_miss_date then
7209: pa_debug.g_err_stage:='l_sp_fixed_date_new_tbl('||i||') is g miss date';

Line 7206: print_msg(pa_debug.g_err_stage,l_module_name);

7202: pa_debug.g_err_stage:='l_spread_curve_id_new_tbl('||i||') is '||l_spread_curve_id_new_tbl(i);
7203: print_msg(pa_debug.g_err_stage,l_module_name);
7204: --dbms_output.put_line( pa_debug.g_err_stage);
7205: pa_debug.g_err_stage:='l_sp_fixed_date_old_tbl('||i||') is '||l_sp_fixed_date_old_tbl(i);
7206: print_msg(pa_debug.g_err_stage,l_module_name);
7207: --dbms_output.put_line( pa_debug.g_err_stage);
7208: if l_sp_fixed_date_new_tbl(i) = fnd_api.g_miss_date then
7209: pa_debug.g_err_stage:='l_sp_fixed_date_new_tbl('||i||') is g miss date';
7210: else

Line 7207: --dbms_output.put_line( pa_debug.g_err_stage);

7203: print_msg(pa_debug.g_err_stage,l_module_name);
7204: --dbms_output.put_line( pa_debug.g_err_stage);
7205: pa_debug.g_err_stage:='l_sp_fixed_date_old_tbl('||i||') is '||l_sp_fixed_date_old_tbl(i);
7206: print_msg(pa_debug.g_err_stage,l_module_name);
7207: --dbms_output.put_line( pa_debug.g_err_stage);
7208: if l_sp_fixed_date_new_tbl(i) = fnd_api.g_miss_date then
7209: pa_debug.g_err_stage:='l_sp_fixed_date_new_tbl('||i||') is g miss date';
7210: else
7211: pa_debug.g_err_stage:='l_sp_fixed_date_new_tbl('||i||') is '||l_sp_fixed_date_new_tbl(i);

Line 7209: pa_debug.g_err_stage:='l_sp_fixed_date_new_tbl('||i||') is g miss date';

7205: pa_debug.g_err_stage:='l_sp_fixed_date_old_tbl('||i||') is '||l_sp_fixed_date_old_tbl(i);
7206: print_msg(pa_debug.g_err_stage,l_module_name);
7207: --dbms_output.put_line( pa_debug.g_err_stage);
7208: if l_sp_fixed_date_new_tbl(i) = fnd_api.g_miss_date then
7209: pa_debug.g_err_stage:='l_sp_fixed_date_new_tbl('||i||') is g miss date';
7210: else
7211: pa_debug.g_err_stage:='l_sp_fixed_date_new_tbl('||i||') is '||l_sp_fixed_date_new_tbl(i);
7212: end if;
7213: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7211: pa_debug.g_err_stage:='l_sp_fixed_date_new_tbl('||i||') is '||l_sp_fixed_date_new_tbl(i);

7207: --dbms_output.put_line( pa_debug.g_err_stage);
7208: if l_sp_fixed_date_new_tbl(i) = fnd_api.g_miss_date then
7209: pa_debug.g_err_stage:='l_sp_fixed_date_new_tbl('||i||') is g miss date';
7210: else
7211: pa_debug.g_err_stage:='l_sp_fixed_date_new_tbl('||i||') is '||l_sp_fixed_date_new_tbl(i);
7212: end if;
7213: print_msg(pa_debug.g_err_stage,l_module_name);
7214: --dbms_output.put_line( pa_debug.g_err_stage);
7215: pa_debug.g_err_stage:='l_plan_start_date_old_tbl('||i||') is '||l_plan_start_date_old_tbl(i);

Line 7213: print_msg(pa_debug.g_err_stage,l_module_name);

7209: pa_debug.g_err_stage:='l_sp_fixed_date_new_tbl('||i||') is g miss date';
7210: else
7211: pa_debug.g_err_stage:='l_sp_fixed_date_new_tbl('||i||') is '||l_sp_fixed_date_new_tbl(i);
7212: end if;
7213: print_msg(pa_debug.g_err_stage,l_module_name);
7214: --dbms_output.put_line( pa_debug.g_err_stage);
7215: pa_debug.g_err_stage:='l_plan_start_date_old_tbl('||i||') is '||l_plan_start_date_old_tbl(i);
7216: print_msg(pa_debug.g_err_stage,l_module_name);
7217: --dbms_output.put_line( pa_debug.g_err_stage);

Line 7214: --dbms_output.put_line( pa_debug.g_err_stage);

7210: else
7211: pa_debug.g_err_stage:='l_sp_fixed_date_new_tbl('||i||') is '||l_sp_fixed_date_new_tbl(i);
7212: end if;
7213: print_msg(pa_debug.g_err_stage,l_module_name);
7214: --dbms_output.put_line( pa_debug.g_err_stage);
7215: pa_debug.g_err_stage:='l_plan_start_date_old_tbl('||i||') is '||l_plan_start_date_old_tbl(i);
7216: print_msg(pa_debug.g_err_stage,l_module_name);
7217: --dbms_output.put_line( pa_debug.g_err_stage);
7218: if l_plan_start_date_new_tbl(i) = fnd_api.g_miss_date then

Line 7215: pa_debug.g_err_stage:='l_plan_start_date_old_tbl('||i||') is '||l_plan_start_date_old_tbl(i);

7211: pa_debug.g_err_stage:='l_sp_fixed_date_new_tbl('||i||') is '||l_sp_fixed_date_new_tbl(i);
7212: end if;
7213: print_msg(pa_debug.g_err_stage,l_module_name);
7214: --dbms_output.put_line( pa_debug.g_err_stage);
7215: pa_debug.g_err_stage:='l_plan_start_date_old_tbl('||i||') is '||l_plan_start_date_old_tbl(i);
7216: print_msg(pa_debug.g_err_stage,l_module_name);
7217: --dbms_output.put_line( pa_debug.g_err_stage);
7218: if l_plan_start_date_new_tbl(i) = fnd_api.g_miss_date then
7219: pa_debug.g_err_stage:='l_plan_start_date_new_tbl('||i||') is g miss date';

Line 7216: print_msg(pa_debug.g_err_stage,l_module_name);

7212: end if;
7213: print_msg(pa_debug.g_err_stage,l_module_name);
7214: --dbms_output.put_line( pa_debug.g_err_stage);
7215: pa_debug.g_err_stage:='l_plan_start_date_old_tbl('||i||') is '||l_plan_start_date_old_tbl(i);
7216: print_msg(pa_debug.g_err_stage,l_module_name);
7217: --dbms_output.put_line( pa_debug.g_err_stage);
7218: if l_plan_start_date_new_tbl(i) = fnd_api.g_miss_date then
7219: pa_debug.g_err_stage:='l_plan_start_date_new_tbl('||i||') is g miss date';
7220: else

Line 7217: --dbms_output.put_line( pa_debug.g_err_stage);

7213: print_msg(pa_debug.g_err_stage,l_module_name);
7214: --dbms_output.put_line( pa_debug.g_err_stage);
7215: pa_debug.g_err_stage:='l_plan_start_date_old_tbl('||i||') is '||l_plan_start_date_old_tbl(i);
7216: print_msg(pa_debug.g_err_stage,l_module_name);
7217: --dbms_output.put_line( pa_debug.g_err_stage);
7218: if l_plan_start_date_new_tbl(i) = fnd_api.g_miss_date then
7219: pa_debug.g_err_stage:='l_plan_start_date_new_tbl('||i||') is g miss date';
7220: else
7221: pa_debug.g_err_stage:='l_plan_start_date_new_tbl('||i||') is '||l_plan_start_date_new_tbl(i);

Line 7219: pa_debug.g_err_stage:='l_plan_start_date_new_tbl('||i||') is g miss date';

7215: pa_debug.g_err_stage:='l_plan_start_date_old_tbl('||i||') is '||l_plan_start_date_old_tbl(i);
7216: print_msg(pa_debug.g_err_stage,l_module_name);
7217: --dbms_output.put_line( pa_debug.g_err_stage);
7218: if l_plan_start_date_new_tbl(i) = fnd_api.g_miss_date then
7219: pa_debug.g_err_stage:='l_plan_start_date_new_tbl('||i||') is g miss date';
7220: else
7221: pa_debug.g_err_stage:='l_plan_start_date_new_tbl('||i||') is '||l_plan_start_date_new_tbl(i);
7222: end if;
7223: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7221: pa_debug.g_err_stage:='l_plan_start_date_new_tbl('||i||') is '||l_plan_start_date_new_tbl(i);

7217: --dbms_output.put_line( pa_debug.g_err_stage);
7218: if l_plan_start_date_new_tbl(i) = fnd_api.g_miss_date then
7219: pa_debug.g_err_stage:='l_plan_start_date_new_tbl('||i||') is g miss date';
7220: else
7221: pa_debug.g_err_stage:='l_plan_start_date_new_tbl('||i||') is '||l_plan_start_date_new_tbl(i);
7222: end if;
7223: print_msg(pa_debug.g_err_stage,l_module_name);
7224: --dbms_output.put_line( pa_debug.g_err_stage);
7225: pa_debug.g_err_stage:='l_plan_end_date_old_tbl('||i||') is '||l_plan_end_date_old_tbl(i);

Line 7223: print_msg(pa_debug.g_err_stage,l_module_name);

7219: pa_debug.g_err_stage:='l_plan_start_date_new_tbl('||i||') is g miss date';
7220: else
7221: pa_debug.g_err_stage:='l_plan_start_date_new_tbl('||i||') is '||l_plan_start_date_new_tbl(i);
7222: end if;
7223: print_msg(pa_debug.g_err_stage,l_module_name);
7224: --dbms_output.put_line( pa_debug.g_err_stage);
7225: pa_debug.g_err_stage:='l_plan_end_date_old_tbl('||i||') is '||l_plan_end_date_old_tbl(i);
7226: print_msg(pa_debug.g_err_stage,l_module_name);
7227: --dbms_output.put_line( pa_debug.g_err_stage);

Line 7224: --dbms_output.put_line( pa_debug.g_err_stage);

7220: else
7221: pa_debug.g_err_stage:='l_plan_start_date_new_tbl('||i||') is '||l_plan_start_date_new_tbl(i);
7222: end if;
7223: print_msg(pa_debug.g_err_stage,l_module_name);
7224: --dbms_output.put_line( pa_debug.g_err_stage);
7225: pa_debug.g_err_stage:='l_plan_end_date_old_tbl('||i||') is '||l_plan_end_date_old_tbl(i);
7226: print_msg(pa_debug.g_err_stage,l_module_name);
7227: --dbms_output.put_line( pa_debug.g_err_stage);
7228: if l_plan_end_date_new_tbl(i) = fnd_api.g_miss_date then

Line 7225: pa_debug.g_err_stage:='l_plan_end_date_old_tbl('||i||') is '||l_plan_end_date_old_tbl(i);

7221: pa_debug.g_err_stage:='l_plan_start_date_new_tbl('||i||') is '||l_plan_start_date_new_tbl(i);
7222: end if;
7223: print_msg(pa_debug.g_err_stage,l_module_name);
7224: --dbms_output.put_line( pa_debug.g_err_stage);
7225: pa_debug.g_err_stage:='l_plan_end_date_old_tbl('||i||') is '||l_plan_end_date_old_tbl(i);
7226: print_msg(pa_debug.g_err_stage,l_module_name);
7227: --dbms_output.put_line( pa_debug.g_err_stage);
7228: if l_plan_end_date_new_tbl(i) = fnd_api.g_miss_date then
7229: pa_debug.g_err_stage:='l_plan_end_date_new_tbl('||i||') is g miss date';

Line 7226: print_msg(pa_debug.g_err_stage,l_module_name);

7222: end if;
7223: print_msg(pa_debug.g_err_stage,l_module_name);
7224: --dbms_output.put_line( pa_debug.g_err_stage);
7225: pa_debug.g_err_stage:='l_plan_end_date_old_tbl('||i||') is '||l_plan_end_date_old_tbl(i);
7226: print_msg(pa_debug.g_err_stage,l_module_name);
7227: --dbms_output.put_line( pa_debug.g_err_stage);
7228: if l_plan_end_date_new_tbl(i) = fnd_api.g_miss_date then
7229: pa_debug.g_err_stage:='l_plan_end_date_new_tbl('||i||') is g miss date';
7230: else

Line 7227: --dbms_output.put_line( pa_debug.g_err_stage);

7223: print_msg(pa_debug.g_err_stage,l_module_name);
7224: --dbms_output.put_line( pa_debug.g_err_stage);
7225: pa_debug.g_err_stage:='l_plan_end_date_old_tbl('||i||') is '||l_plan_end_date_old_tbl(i);
7226: print_msg(pa_debug.g_err_stage,l_module_name);
7227: --dbms_output.put_line( pa_debug.g_err_stage);
7228: if l_plan_end_date_new_tbl(i) = fnd_api.g_miss_date then
7229: pa_debug.g_err_stage:='l_plan_end_date_new_tbl('||i||') is g miss date';
7230: else
7231: pa_debug.g_err_stage:='l_plan_end_date_new_tbl('||i||') is '||l_plan_end_date_new_tbl(i);

Line 7229: pa_debug.g_err_stage:='l_plan_end_date_new_tbl('||i||') is g miss date';

7225: pa_debug.g_err_stage:='l_plan_end_date_old_tbl('||i||') is '||l_plan_end_date_old_tbl(i);
7226: print_msg(pa_debug.g_err_stage,l_module_name);
7227: --dbms_output.put_line( pa_debug.g_err_stage);
7228: if l_plan_end_date_new_tbl(i) = fnd_api.g_miss_date then
7229: pa_debug.g_err_stage:='l_plan_end_date_new_tbl('||i||') is g miss date';
7230: else
7231: pa_debug.g_err_stage:='l_plan_end_date_new_tbl('||i||') is '||l_plan_end_date_new_tbl(i);
7232: end if;
7233: print_msg(pa_debug.g_err_stage,l_module_name);

Line 7231: pa_debug.g_err_stage:='l_plan_end_date_new_tbl('||i||') is '||l_plan_end_date_new_tbl(i);

7227: --dbms_output.put_line( pa_debug.g_err_stage);
7228: if l_plan_end_date_new_tbl(i) = fnd_api.g_miss_date then
7229: pa_debug.g_err_stage:='l_plan_end_date_new_tbl('||i||') is g miss date';
7230: else
7231: pa_debug.g_err_stage:='l_plan_end_date_new_tbl('||i||') is '||l_plan_end_date_new_tbl(i);
7232: end if;
7233: print_msg(pa_debug.g_err_stage,l_module_name);
7234: --dbms_output.put_line( pa_debug.g_err_stage);
7235:

Line 7233: print_msg(pa_debug.g_err_stage,l_module_name);

7229: pa_debug.g_err_stage:='l_plan_end_date_new_tbl('||i||') is g miss date';
7230: else
7231: pa_debug.g_err_stage:='l_plan_end_date_new_tbl('||i||') is '||l_plan_end_date_new_tbl(i);
7232: end if;
7233: print_msg(pa_debug.g_err_stage,l_module_name);
7234: --dbms_output.put_line( pa_debug.g_err_stage);
7235:
7236: END LOOP;
7237: END IF;

Line 7234: --dbms_output.put_line( pa_debug.g_err_stage);

7230: else
7231: pa_debug.g_err_stage:='l_plan_end_date_new_tbl('||i||') is '||l_plan_end_date_new_tbl(i);
7232: end if;
7233: print_msg(pa_debug.g_err_stage,l_module_name);
7234: --dbms_output.put_line( pa_debug.g_err_stage);
7235:
7236: END LOOP;
7237: END IF;
7238: END IF;

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

7299:
7300: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
7301:
7302: IF l_debug_mode = 'Y' THEN
7303: pa_debug.g_err_stage:='Called API PA_FP_CALC_PLAN_PKG.calculate returned error';
7304: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);
7305: END IF;
7306: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
7307: END IF;

Line 7304: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);

7300: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
7301:
7302: IF l_debug_mode = 'Y' THEN
7303: pa_debug.g_err_stage:='Called API PA_FP_CALC_PLAN_PKG.calculate returned error';
7304: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);
7305: END IF;
7306: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
7307: END IF;
7308:

Line 7324: pa_debug.g_err_stage:='Called API pa_fp_gen_amount_utils.get_plan_version_dtls returned error';

7320:
7321: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
7322:
7323: IF l_debug_mode = 'Y' THEN
7324: pa_debug.g_err_stage:='Called API pa_fp_gen_amount_utils.get_plan_version_dtls returned error';
7325: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);
7326: END IF;
7327: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
7328: END IF;

Line 7325: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);

7321: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
7322:
7323: IF l_debug_mode = 'Y' THEN
7324: pa_debug.g_err_stage:='Called API pa_fp_gen_amount_utils.get_plan_version_dtls returned error';
7325: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);
7326: END IF;
7327: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
7328: END IF;
7329:

Line 7366: pa_debug.g_err_stage:='Called API pa_res_asg_currency_pub.maintain_data returned error';

7362:
7363: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
7364:
7365: IF l_debug_mode = 'Y' THEN
7366: pa_debug.g_err_stage:='Called API pa_res_asg_currency_pub.maintain_data returned error';
7367: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);
7368: END IF;
7369: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
7370: END IF;

Line 7367: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);

7363: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
7364:
7365: IF l_debug_mode = 'Y' THEN
7366: pa_debug.g_err_stage:='Called API pa_res_asg_currency_pub.maintain_data returned error';
7367: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);
7368: END IF;
7369: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
7370: END IF;
7371: */

Line 7395: pa_debug.g_err_stage:='Called API PA_PROJ_TASK_STRUC_PUB.process_wbs_updates_wrp';

7391:
7392:
7393: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
7394: IF l_debug_mode = 'Y' THEN
7395: pa_debug.g_err_stage:='Called API PA_PROJ_TASK_STRUC_PUB.process_wbs_updates_wrp';
7396: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.update_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
7397: END IF;
7398:
7399: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;

Line 7396: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.update_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

7392:
7393: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
7394: IF l_debug_mode = 'Y' THEN
7395: pa_debug.g_err_stage:='Called API PA_PROJ_TASK_STRUC_PUB.process_wbs_updates_wrp';
7396: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.update_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
7397: END IF;
7398:
7399: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
7400: END IF;

Line 7404: pa_debug.reset_curr_function;

7400: END IF;
7401: --End bug 4492493
7402:
7403: IF l_debug_mode = 'Y' THEN
7404: pa_debug.reset_curr_function;
7405: END IF;
7406:
7407: EXCEPTION
7408: WHEN PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc THEN

Line 7410: pa_debug.g_err_stage:='In invalid args exception';

7406:
7407: EXCEPTION
7408: WHEN PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc THEN
7409: IF l_debug_mode = 'Y' THEN
7410: pa_debug.g_err_stage:='In invalid args exception';
7411: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);
7412: END IF;
7413:
7414: l_msg_count := FND_MSG_PUB.count_msg;

Line 7411: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);

7407: EXCEPTION
7408: WHEN PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc THEN
7409: IF l_debug_mode = 'Y' THEN
7410: pa_debug.g_err_stage:='In invalid args exception';
7411: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);
7412: END IF;
7413:
7414: l_msg_count := FND_MSG_PUB.count_msg;
7415: IF l_msg_count = 1 THEN

Line 7418: pa_debug.g_err_stage:='In invalid args exception 1';

7414: l_msg_count := FND_MSG_PUB.count_msg;
7415: IF l_msg_count = 1 THEN
7416:
7417: IF l_debug_mode = 'Y' THEN
7418: pa_debug.g_err_stage:='In invalid args exception 1';
7419: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);
7420: END IF;
7421:
7422: PA_INTERFACE_UTILS_PUB.get_messages

Line 7419: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);

7415: IF l_msg_count = 1 THEN
7416:
7417: IF l_debug_mode = 'Y' THEN
7418: pa_debug.g_err_stage:='In invalid args exception 1';
7419: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);
7420: END IF;
7421:
7422: PA_INTERFACE_UTILS_PUB.get_messages
7423: ( p_encoded => FND_API.G_TRUE

Line 7433: pa_debug.g_err_stage:='In invalid args exception 2';

7429: x_msg_data := l_data;
7430: x_msg_count := l_msg_count;
7431: ELSE
7432: IF l_debug_mode = 'Y' THEN
7433: pa_debug.g_err_stage:='In invalid args exception 2';
7434: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);
7435: END IF;
7436:
7437: x_msg_count := l_msg_count;

Line 7434: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);

7430: x_msg_count := l_msg_count;
7431: ELSE
7432: IF l_debug_mode = 'Y' THEN
7433: pa_debug.g_err_stage:='In invalid args exception 2';
7434: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);
7435: END IF;
7436:
7437: x_msg_count := l_msg_count;
7438:

Line 7443: pa_debug.g_err_stage:='In invalid args exception 3';

7439: END IF;
7440: ROLLBACK TO Update_Planning_Transactions;
7441: x_return_status := FND_API.G_RET_STS_ERROR;
7442: IF l_debug_mode = 'Y' THEN
7443: pa_debug.g_err_stage:='In invalid args exception 3';
7444: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);
7445: pa_debug.reset_curr_function;
7446: END IF;
7447: IF l_debug_mode = 'Y' THEN

Line 7444: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);

7440: ROLLBACK TO Update_Planning_Transactions;
7441: x_return_status := FND_API.G_RET_STS_ERROR;
7442: IF l_debug_mode = 'Y' THEN
7443: pa_debug.g_err_stage:='In invalid args exception 3';
7444: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);
7445: pa_debug.reset_curr_function;
7446: END IF;
7447: IF l_debug_mode = 'Y' THEN
7448: pa_debug.g_err_stage:='In invalid args exception 4 ';

Line 7445: pa_debug.reset_curr_function;

7441: x_return_status := FND_API.G_RET_STS_ERROR;
7442: IF l_debug_mode = 'Y' THEN
7443: pa_debug.g_err_stage:='In invalid args exception 3';
7444: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);
7445: pa_debug.reset_curr_function;
7446: END IF;
7447: IF l_debug_mode = 'Y' THEN
7448: pa_debug.g_err_stage:='In invalid args exception 4 ';
7449: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);

Line 7448: pa_debug.g_err_stage:='In invalid args exception 4 ';

7444: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);
7445: pa_debug.reset_curr_function;
7446: END IF;
7447: IF l_debug_mode = 'Y' THEN
7448: pa_debug.g_err_stage:='In invalid args exception 4 ';
7449: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);
7450: END IF;
7451:
7452:

Line 7449: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);

7445: pa_debug.reset_curr_function;
7446: END IF;
7447: IF l_debug_mode = 'Y' THEN
7448: pa_debug.g_err_stage:='In invalid args exception 4 ';
7449: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);
7450: END IF;
7451:
7452:
7453: WHEN OTHERS THEN

Line 7461: pa_debug.g_err_stage:='Unexpected Error' || SQLERRM;

7457: FND_MSG_PUB.add_exc_msg( p_pkg_name => 'PA_FP_PLANNING_TRANSACTION_PUB'
7458: ,p_procedure_name => 'Update_Planning_Transactions');
7459:
7460: IF l_debug_mode = 'Y' THEN
7461: pa_debug.g_err_stage:='Unexpected Error' || SQLERRM;
7462: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);
7463: pa_debug.reset_curr_function;
7464: END IF;
7465: ROLLBACK TO Update_Planning_Transactions;

Line 7462: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);

7458: ,p_procedure_name => 'Update_Planning_Transactions');
7459:
7460: IF l_debug_mode = 'Y' THEN
7461: pa_debug.g_err_stage:='Unexpected Error' || SQLERRM;
7462: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);
7463: pa_debug.reset_curr_function;
7464: END IF;
7465: ROLLBACK TO Update_Planning_Transactions;
7466:

Line 7463: pa_debug.reset_curr_function;

7459:
7460: IF l_debug_mode = 'Y' THEN
7461: pa_debug.g_err_stage:='Unexpected Error' || SQLERRM;
7462: pa_debug.write(l_module_name,pa_debug.g_err_stage, l_debug_level3);
7463: pa_debug.reset_curr_function;
7464: END IF;
7465: ROLLBACK TO Update_Planning_Transactions;
7466:
7467: RAISE;

Line 7587: pa_debug.g_err_stage:='In copy planning txn';

7583: l_named_role_tbl SYSTEM.pa_varchar2_80_tbl_type:=SYSTEM.pa_varchar2_80_tbl_type();
7584:
7585: BEGIN
7586: IF l_debug_mode = 'Y' THEN
7587: pa_debug.g_err_stage:='In copy planning txn';
7588: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);
7589: END IF;
7590: --dbms_output.put_line('in copy plan txn1');
7591: x_msg_count := 0;

Line 7588: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);

7584:
7585: BEGIN
7586: IF l_debug_mode = 'Y' THEN
7587: pa_debug.g_err_stage:='In copy planning txn';
7588: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);
7589: END IF;
7590: --dbms_output.put_line('in copy plan txn1');
7591: x_msg_count := 0;
7592: x_return_status := FND_API.G_RET_STS_SUCCESS;

Line 7606: fnd_profile.get('PA_DEBUG_MODE',l_debug_mode);

7602:
7603: pa_task_assignment_utils.g_require_progress_rollup := 'N';
7604:
7605:
7606: fnd_profile.get('PA_DEBUG_MODE',l_debug_mode);
7607: l_debug_mode := NVL(l_debug_mode, 'Y');
7608:
7609: -- Set curr function
7610: IF l_debug_mode = 'Y' THEN

Line 7611: pa_debug.set_curr_function(

7607: l_debug_mode := NVL(l_debug_mode, 'Y');
7608:
7609: -- Set curr function
7610: IF l_debug_mode = 'Y' THEN
7611: pa_debug.set_curr_function(
7612: p_function =>'plan_txn_pub.copy_plan_txn'
7613: ,p_debug_mode => l_debug_mode );
7614:
7615: pa_debug.g_err_stage:='Validating input parameters';

Line 7615: pa_debug.g_err_stage:='Validating input parameters';

7611: pa_debug.set_curr_function(
7612: p_function =>'plan_txn_pub.copy_plan_txn'
7613: ,p_debug_mode => l_debug_mode );
7614:
7615: pa_debug.g_err_stage:='Validating input parameters';
7616: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);
7617: END IF;
7618:
7619: IF p_src_version_id_tbl.count <> p_targ_version_id_tbl.count THEN

Line 7616: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);

7612: p_function =>'plan_txn_pub.copy_plan_txn'
7613: ,p_debug_mode => l_debug_mode );
7614:
7615: pa_debug.g_err_stage:='Validating input parameters';
7616: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);
7617: END IF;
7618:
7619: IF p_src_version_id_tbl.count <> p_targ_version_id_tbl.count THEN
7620:

Line 7622: pa_debug.g_err_stage:='No of elements in p_src_version_id_tbl is not same as p_targ_version_id_tbl';

7618:
7619: IF p_src_version_id_tbl.count <> p_targ_version_id_tbl.count THEN
7620:
7621: IF l_debug_mode = 'Y' THEN
7622: pa_debug.g_err_stage:='No of elements in p_src_version_id_tbl is not same as p_targ_version_id_tbl';
7623: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);
7624: END IF;
7625:
7626: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',

Line 7623: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);

7619: IF p_src_version_id_tbl.count <> p_targ_version_id_tbl.count THEN
7620:
7621: IF l_debug_mode = 'Y' THEN
7622: pa_debug.g_err_stage:='No of elements in p_src_version_id_tbl is not same as p_targ_version_id_tbl';
7623: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);
7624: END IF;
7625:
7626: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
7627: p_msg_name => 'PA_FP_INV_PARAM_PASSED');

Line 7638: pa_debug.g_err_stage:='The input tables are empty' ;

7634: IF p_src_version_id_tbl.count=0 THEN
7635:
7636: IF l_debug_mode = 'Y' THEN
7637:
7638: pa_debug.g_err_stage:='The input tables are empty' ;
7639: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);
7640: pa_debug.reset_curr_function;
7641: END IF;
7642: RETURN;

Line 7639: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);

7635:
7636: IF l_debug_mode = 'Y' THEN
7637:
7638: pa_debug.g_err_stage:='The input tables are empty' ;
7639: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);
7640: pa_debug.reset_curr_function;
7641: END IF;
7642: RETURN;
7643:

Line 7640: pa_debug.reset_curr_function;

7636: IF l_debug_mode = 'Y' THEN
7637:
7638: pa_debug.g_err_stage:='The input tables are empty' ;
7639: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);
7640: pa_debug.reset_curr_function;
7641: END IF;
7642: RETURN;
7643:
7644: END IF;

Line 7652: pa_debug.g_err_stage:='p_context is '||p_context;

7648: p_src_project_id IS NULL OR
7649: p_target_project_id IS NULL THEN
7650:
7651: IF l_debug_mode = 'Y' THEN
7652: pa_debug.g_err_stage:='p_context is '||p_context;
7653: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);
7654: END IF;
7655:
7656: IF l_debug_mode = 'Y' THEN

Line 7653: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);

7649: p_target_project_id IS NULL THEN
7650:
7651: IF l_debug_mode = 'Y' THEN
7652: pa_debug.g_err_stage:='p_context is '||p_context;
7653: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);
7654: END IF;
7655:
7656: IF l_debug_mode = 'Y' THEN
7657: pa_debug.g_err_stage:='p_src_project_id is '||p_src_project_id;

Line 7657: pa_debug.g_err_stage:='p_src_project_id is '||p_src_project_id;

7653: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);
7654: END IF;
7655:
7656: IF l_debug_mode = 'Y' THEN
7657: pa_debug.g_err_stage:='p_src_project_id is '||p_src_project_id;
7658: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);
7659: END IF;
7660:
7661: IF l_debug_mode = 'Y' THEN

Line 7658: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);

7654: END IF;
7655:
7656: IF l_debug_mode = 'Y' THEN
7657: pa_debug.g_err_stage:='p_src_project_id is '||p_src_project_id;
7658: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);
7659: END IF;
7660:
7661: IF l_debug_mode = 'Y' THEN
7662: pa_debug.g_err_stage:='p_target_project_id is '||p_target_project_id;

Line 7662: pa_debug.g_err_stage:='p_target_project_id is '||p_target_project_id;

7658: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);
7659: END IF;
7660:
7661: IF l_debug_mode = 'Y' THEN
7662: pa_debug.g_err_stage:='p_target_project_id is '||p_target_project_id;
7663: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);
7664: END IF;
7665:
7666: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',

Line 7663: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);

7659: END IF;
7660:
7661: IF l_debug_mode = 'Y' THEN
7662: pa_debug.g_err_stage:='p_target_project_id is '||p_target_project_id;
7663: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);
7664: END IF;
7665:
7666: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
7667: p_msg_name => 'PA_FP_INV_PARAM_PASSED');

Line 7687: pa_debug.g_err_stage:='The calling context is workplan / task assignment p_src_version_id_tbl(1) '||p_src_version_id_tbl(1);

7683: IF p_context=PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_WORKPLAN OR
7684: p_context=PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_TASK THEN
7685:
7686: IF l_debug_mode = 'Y' THEN
7687: pa_debug.g_err_stage:='The calling context is workplan / task assignment p_src_version_id_tbl(1) '||p_src_version_id_tbl(1);
7688: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);
7689: END IF;
7690: --dbms_output.put_line('in copy plan txn2');
7691: --Derive the plan version id for the source and target element version ids

Line 7688: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);

7684: p_context=PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_TASK THEN
7685:
7686: IF l_debug_mode = 'Y' THEN
7687: pa_debug.g_err_stage:='The calling context is workplan / task assignment p_src_version_id_tbl(1) '||p_src_version_id_tbl(1);
7688: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);
7689: END IF;
7690: --dbms_output.put_line('in copy plan txn2');
7691: --Derive the plan version id for the source and target element version ids
7692: SELECT pbv.budget_version_id

Line 7701: pa_debug.g_err_stage:='The calling context is workplan / task assignment p_targ_version_id_tbl(1) '||p_targ_version_id_tbl(1);

7697: AND pt.element_version_id=p_src_version_id_tbl(1)
7698: AND pbv.wp_version_flag='Y';
7699:
7700: IF l_debug_mode = 'Y' THEN
7701: pa_debug.g_err_stage:='The calling context is workplan / task assignment p_targ_version_id_tbl(1) '||p_targ_version_id_tbl(1);
7702: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);
7703: END IF;
7704:
7705:

Line 7702: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);

7698: AND pbv.wp_version_flag='Y';
7699:
7700: IF l_debug_mode = 'Y' THEN
7701: pa_debug.g_err_stage:='The calling context is workplan / task assignment p_targ_version_id_tbl(1) '||p_targ_version_id_tbl(1);
7702: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);
7703: END IF;
7704:
7705:
7706: --dbms_output.put_line('in copy plan txn2.5');

Line 7717: pa_debug.g_err_stage:='The calling context is workplan / task assignment';

7713: AND pbv.wp_version_flag='Y';
7714:
7715: --CALL THE TA VALIDATION API
7716: IF l_debug_mode = 'Y' THEN
7717: pa_debug.g_err_stage:='The calling context is workplan / task assignment';
7718: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);
7719: END IF;
7720: --dbms_output.put_line('p_targ_version_id_tbl.count is '||p_targ_version_id_tbl.count);
7721:

Line 7718: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);

7714:
7715: --CALL THE TA VALIDATION API
7716: IF l_debug_mode = 'Y' THEN
7717: pa_debug.g_err_stage:='The calling context is workplan / task assignment';
7718: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);
7719: END IF;
7720: --dbms_output.put_line('p_targ_version_id_tbl.count is '||p_targ_version_id_tbl.count);
7721:
7722: --This value will be used only when the x_calculate_flag of the below validate api is

Line 7752: pa_debug.g_err_stage:='validate_copy_assignment returned error '||x_return_status;

7748: --dbms_output.put_line('l_calculate_flag is '||l_calculate_flag);
7749: --This code is for debugging only. Should be removed later
7750: IF l_debug_mode = 'Y' THEN
7751:
7752: pa_debug.g_err_stage:='validate_copy_assignment returned error '||x_return_status;
7753: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);
7754:
7755: END IF;
7756:

Line 7753: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);

7749: --This code is for debugging only. Should be removed later
7750: IF l_debug_mode = 'Y' THEN
7751:
7752: pa_debug.g_err_stage:='validate_copy_assignment returned error '||x_return_status;
7753: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);
7754:
7755: END IF;
7756:
7757: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 7761: pa_debug.g_err_stage:='validate_copy_assignment returned error';

7757: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
7758:
7759: IF l_debug_mode = 'Y' THEN
7760:
7761: pa_debug.g_err_stage:='validate_copy_assignment returned error';
7762: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);
7763:
7764: END IF;
7765: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;

Line 7762: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);

7758:
7759: IF l_debug_mode = 'Y' THEN
7760:
7761: pa_debug.g_err_stage:='validate_copy_assignment returned error';
7762: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);
7763:
7764: END IF;
7765: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
7766:

Line 7772: pa_debug.g_err_stage:='Validate API returned 0 records in the res rec table-- returning';

7768:
7769: IF l_resource_rec_tbl.COUNT =0 THEN
7770: IF l_debug_mode = 'Y' THEN
7771:
7772: pa_debug.g_err_stage:='Validate API returned 0 records in the res rec table-- returning';
7773: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);
7774: pa_debug.reset_curr_function;
7775: END IF;
7776: RETURN;

Line 7773: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);

7769: IF l_resource_rec_tbl.COUNT =0 THEN
7770: IF l_debug_mode = 'Y' THEN
7771:
7772: pa_debug.g_err_stage:='Validate API returned 0 records in the res rec table-- returning';
7773: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);
7774: pa_debug.reset_curr_function;
7775: END IF;
7776: RETURN;
7777: END IF;

Line 7774: pa_debug.reset_curr_function;

7770: IF l_debug_mode = 'Y' THEN
7771:
7772: pa_debug.g_err_stage:='Validate API returned 0 records in the res rec table-- returning';
7773: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);
7774: pa_debug.reset_curr_function;
7775: END IF;
7776: RETURN;
7777: END IF;
7778:

Line 7808: pa_debug.g_err_stage:='Calling pa_fp_copy_from_pkg.create_res_task_maps '||l_ra_id_tbl.last;

7804:
7805: END IF;
7806:
7807: IF l_debug_mode = 'Y' THEN
7808: pa_debug.g_err_stage:='Calling pa_fp_copy_from_pkg.create_res_task_maps '||l_ra_id_tbl.last;
7809: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);
7810: END IF;
7811: --dbms_output.put_line('calling create res task maps');
7812:

Line 7809: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);

7805: END IF;
7806:
7807: IF l_debug_mode = 'Y' THEN
7808: pa_debug.g_err_stage:='Calling pa_fp_copy_from_pkg.create_res_task_maps '||l_ra_id_tbl.last;
7809: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);
7810: END IF;
7811: --dbms_output.put_line('calling create res task maps');
7812:
7813: --Call the API to create the mapping between source and target version ids.

Line 7835: pa_debug.g_err_stage:='create_res_task_maps returned error';

7831: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
7832:
7833: IF l_debug_mode = 'Y' THEN
7834:
7835: pa_debug.g_err_stage:='create_res_task_maps returned error';
7836: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);
7837:
7838: END IF;
7839: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;

Line 7836: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);

7832:
7833: IF l_debug_mode = 'Y' THEN
7834:
7835: pa_debug.g_err_stage:='create_res_task_maps returned error';
7836: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);
7837:
7838: END IF;
7839: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
7840:

Line 7845: pa_debug.g_err_stage:='Calling PA_FP_COPY_FROM_PKG.Copy_Resource_Assignments';

7841: END IF;
7842:
7843:
7844: IF l_debug_mode = 'Y' THEN
7845: pa_debug.g_err_stage:='Calling PA_FP_COPY_FROM_PKG.Copy_Resource_Assignments';
7846: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);
7847: END IF;
7848:
7849: --dbms_output.put_line('calling copy res assmts S '||l_src_budget_version_id ||' T '||l_targ_budget_version_id );

Line 7846: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);

7842:
7843:
7844: IF l_debug_mode = 'Y' THEN
7845: pa_debug.g_err_stage:='Calling PA_FP_COPY_FROM_PKG.Copy_Resource_Assignments';
7846: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);
7847: END IF;
7848:
7849: --dbms_output.put_line('calling copy res assmts S '||l_src_budget_version_id ||' T '||l_targ_budget_version_id );
7850: --Call the API to copy the resource assignments for the target version

Line 7866: pa_debug.g_err_stage:='Copy_Resource_Assignments returned error';

7862: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
7863:
7864: IF l_debug_mode = 'Y' THEN
7865:
7866: pa_debug.g_err_stage:='Copy_Resource_Assignments returned error';
7867: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);
7868:
7869: END IF;
7870: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;

Line 7867: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);

7863:
7864: IF l_debug_mode = 'Y' THEN
7865:
7866: pa_debug.g_err_stage:='Copy_Resource_Assignments returned error';
7867: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);
7868:
7869: END IF;
7870: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
7871:

Line 7889: pa_debug.g_err_stage:='Called API pa_fp_gen_amount_utils.get_plan_version_dtls returned error';

7885:
7886: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
7887:
7888: IF l_debug_mode = 'Y' THEN
7889: pa_debug.g_err_stage:='Called API pa_fp_gen_amount_utils.get_plan_version_dtls returned error';
7890: print_msg(pa_debug.g_err_stage,l_module_name);
7891: END IF;
7892: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
7893: END IF;

Line 7890: print_msg(pa_debug.g_err_stage,l_module_name);

7886: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
7887:
7888: IF l_debug_mode = 'Y' THEN
7889: pa_debug.g_err_stage:='Called API pa_fp_gen_amount_utils.get_plan_version_dtls returned error';
7890: print_msg(pa_debug.g_err_stage,l_module_name);
7891: END IF;
7892: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
7893: END IF;
7894:

Line 7942: pa_debug.g_err_stage:='Called API pa_res_asg_currency_pub.maintain_data returned error';

7938:
7939: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
7940:
7941: IF l_debug_mode = 'Y' THEN
7942: pa_debug.g_err_stage:='Called API pa_res_asg_currency_pub.maintain_data returned error';
7943: print_msg(pa_debug.g_err_stage,l_module_name);
7944: END IF;
7945: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
7946: END IF;

Line 7943: print_msg(pa_debug.g_err_stage,l_module_name);

7939: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
7940:
7941: IF l_debug_mode = 'Y' THEN
7942: pa_debug.g_err_stage:='Called API pa_res_asg_currency_pub.maintain_data returned error';
7943: print_msg(pa_debug.g_err_stage,l_module_name);
7944: END IF;
7945: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
7946: END IF;
7947: -- END Bug 5070740

Line 7952: pa_debug.g_err_stage:='About to update named role/parent assignment id in pa_resource_assignments';

7948:
7949: --Bug 4097749. Update the resource assigments created above with the named_role attribute returned by
7950: --the TA validate API
7951: IF l_debug_mode = 'Y' THEN
7952: pa_debug.g_err_stage:='About to update named role/parent assignment id in pa_resource_assignments';
7953: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);
7954: END IF;
7955:
7956: --Bug 4215676 . Modified the update sql for performance issues.

Line 7953: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);

7949: --Bug 4097749. Update the resource assigments created above with the named_role attribute returned by
7950: --the TA validate API
7951: IF l_debug_mode = 'Y' THEN
7952: pa_debug.g_err_stage:='About to update named role/parent assignment id in pa_resource_assignments';
7953: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);
7954: END IF;
7955:
7956: --Bug 4215676 . Modified the update sql for performance issues.
7957: --The parent assignment id should be NULLED out.Please see the comment on exaclty similar DML UPDATE below

Line 8010: pa_debug.g_err_stage:='Done with updating named role/parent assignment id in pa_resource_assignments';

8006: WHERE parent_assignment_id = l_ra_id_tbl(i)
8007: AND budget_version_id = l_targ_budget_version_id;
8008:
8009: IF l_debug_mode = 'Y' THEN
8010: pa_debug.g_err_stage:='Done with updating named role/parent assignment id in pa_resource_assignments';
8011: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);
8012: END IF;
8013:
8014:

Line 8011: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);

8007: AND budget_version_id = l_targ_budget_version_id;
8008:
8009: IF l_debug_mode = 'Y' THEN
8010: pa_debug.g_err_stage:='Done with updating named role/parent assignment id in pa_resource_assignments';
8011: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);
8012: END IF;
8013:
8014:
8015: IF l_debug_mode = 'Y' THEN

Line 8016: pa_debug.g_err_stage:='Calling Calculate API';

8012: END IF;
8013:
8014:
8015: IF l_debug_mode = 'Y' THEN
8016: pa_debug.g_err_stage:='Calling Calculate API';
8017: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);
8018: END IF;
8019: --dbms_output.put_line('in cal=y');
8020:

Line 8017: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);

8013:
8014:
8015: IF l_debug_mode = 'Y' THEN
8016: pa_debug.g_err_stage:='Calling Calculate API';
8017: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);
8018: END IF;
8019: --dbms_output.put_line('in cal=y');
8020:
8021: pa_budget_utils.Get_Project_Currency_Info

Line 8032: pa_debug.g_err_stage:='Cpa_budget_utils.Get_Project_Currency_Info returned error';

8028: , x_return_status => x_return_status);
8029:
8030: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
8031: IF l_debug_mode = 'Y' THEN
8032: pa_debug.g_err_stage:='Cpa_budget_utils.Get_Project_Currency_Info returned error';
8033: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
8034: END IF;
8035: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
8036: END IF;

Line 8033: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);

8029:
8030: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
8031: IF l_debug_mode = 'Y' THEN
8032: pa_debug.g_err_stage:='Cpa_budget_utils.Get_Project_Currency_Info returned error';
8033: pa_debug.write(l_module_name,pa_debug.g_err_stage,l_debug_level5);
8034: END IF;
8035: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
8036: END IF;
8037:

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

8122: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
8123:
8124: IF l_debug_mode = 'Y' THEN
8125:
8126: pa_debug.g_err_stage:='PA_FP_CALC_PLAN_PKG.calculate returned error';
8127: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);
8128:
8129: END IF;
8130: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;

Line 8127: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);

8123:
8124: IF l_debug_mode = 'Y' THEN
8125:
8126: pa_debug.g_err_stage:='PA_FP_CALC_PLAN_PKG.calculate returned error';
8127: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);
8128:
8129: END IF;
8130: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
8131:

Line 8139: pa_debug.g_err_stage:='Calling PA_FP_COPY_FROM_PKG.Copy_Budget_Lines';

8135: ELSE--Calculate Flag is N
8136:
8137: --dbms_output.put_line('in cal<>y');
8138: IF l_debug_mode = 'Y' THEN
8139: pa_debug.g_err_stage:='Calling PA_FP_COPY_FROM_PKG.Copy_Budget_Lines';
8140: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);
8141: END IF;
8142:
8143: PA_FP_COPY_FROM_PKG.Copy_Budget_Lines(

Line 8140: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);

8136:
8137: --dbms_output.put_line('in cal<>y');
8138: IF l_debug_mode = 'Y' THEN
8139: pa_debug.g_err_stage:='Calling PA_FP_COPY_FROM_PKG.Copy_Budget_Lines';
8140: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);
8141: END IF;
8142:
8143: PA_FP_COPY_FROM_PKG.Copy_Budget_Lines(
8144: p_source_plan_version_id => l_src_budget_version_id

Line 8157: pa_debug.g_err_stage:='Copy_Budget_Lines returned error';

8153: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
8154:
8155: IF l_debug_mode = 'Y' THEN
8156:
8157: pa_debug.g_err_stage:='Copy_Budget_Lines returned error';
8158: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);
8159:
8160: END IF;
8161: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;

Line 8158: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);

8154:
8155: IF l_debug_mode = 'Y' THEN
8156:
8157: pa_debug.g_err_stage:='Copy_Budget_Lines returned error';
8158: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level5);
8159:
8160: END IF;
8161: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
8162:

Line 8168: pa_debug.g_err_stage:='About to update named role/parent assignment id in pa_resource_assignments';

8164:
8165: --Bug 4097749. Update the resource assigments created above with the named_role attribute returned by
8166: --the TA validate API
8167: IF l_debug_mode = 'Y' THEN
8168: pa_debug.g_err_stage:='About to update named role/parent assignment id in pa_resource_assignments';
8169: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);
8170: END IF;
8171:
8172: --Bug 4215676 . Modified the update sql for performance issues.

Line 8169: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);

8165: --Bug 4097749. Update the resource assigments created above with the named_role attribute returned by
8166: --the TA validate API
8167: IF l_debug_mode = 'Y' THEN
8168: pa_debug.g_err_stage:='About to update named role/parent assignment id in pa_resource_assignments';
8169: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);
8170: END IF;
8171:
8172: --Bug 4215676 . Modified the update sql for performance issues.
8173: --The parent assignment id should be NULLED out since (copy resource assignments copies the source

Line 8188: pa_debug.g_err_stage:='Done with updating named role/parent assignment id in pa_resource_assignments';

8184: WHERE parent_assignment_id = l_ra_id_tbl(i)
8185: AND budget_version_id = l_targ_budget_version_id;
8186:
8187: IF l_debug_mode = 'Y' THEN
8188: pa_debug.g_err_stage:='Done with updating named role/parent assignment id in pa_resource_assignments';
8189: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);
8190: END IF;
8191:
8192:

Line 8189: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);

8185: AND budget_version_id = l_targ_budget_version_id;
8186:
8187: IF l_debug_mode = 'Y' THEN
8188: pa_debug.g_err_stage:='Done with updating named role/parent assignment id in pa_resource_assignments';
8189: pa_debug.write( l_module_name,pa_debug.g_err_stage,l_debug_level3);
8190: END IF;
8191:
8192:
8193: --Code changes for bug#4200168 starts here.

Line 8283: pa_debug.g_err_stage:='convert_txn_currency returned error';

8279: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
8280:
8281: IF l_debug_mode = 'Y' THEN
8282:
8283: pa_debug.g_err_stage:='convert_txn_currency returned error';
8284: pa_debug.write( l_module_name,pa_debug.g_err_stage,5);
8285:
8286: END IF;
8287:

Line 8284: pa_debug.write( l_module_name,pa_debug.g_err_stage,5);

8280:
8281: IF l_debug_mode = 'Y' THEN
8282:
8283: pa_debug.g_err_stage:='convert_txn_currency returned error';
8284: pa_debug.write( l_module_name,pa_debug.g_err_stage,5);
8285:
8286: END IF;
8287:
8288: RAISE PA_FP_CONSTANTS_PKG.INVALID_ARG_EXC;

Line 8309: pa_debug.g_err_stage:='PA_PLANNING_TRANSACTION_UTILS.call_update_rep_lines_api returned error';

8305:
8306: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
8307:
8308: IF l_debug_mode = 'Y' THEN
8309: pa_debug.g_err_stage:='PA_PLANNING_TRANSACTION_UTILS.call_update_rep_lines_api returned error';
8310: pa_debug.write( l_module_name,pa_debug.g_err_stage,5);
8311: END IF;
8312: RAISE PA_FP_CONSTANTS_PKG.INVALID_ARG_EXC;
8313: END IF;

Line 8310: pa_debug.write( l_module_name,pa_debug.g_err_stage,5);

8306: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
8307:
8308: IF l_debug_mode = 'Y' THEN
8309: pa_debug.g_err_stage:='PA_PLANNING_TRANSACTION_UTILS.call_update_rep_lines_api returned error';
8310: pa_debug.write( l_module_name,pa_debug.g_err_stage,5);
8311: END IF;
8312: RAISE PA_FP_CONSTANTS_PKG.INVALID_ARG_EXC;
8313: END IF;
8314:

Line 8338: pa_debug.g_err_stage:='Called API PA_PROJ_TASK_STRUC_PUB.process_wbs_updates_wrp';

8334: END IF;
8335:
8336: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
8337: IF l_debug_mode = 'Y' THEN
8338: pa_debug.g_err_stage:='Called API PA_PROJ_TASK_STRUC_PUB.process_wbs_updates_wrp';
8339: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.copy_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
8340: END IF;
8341:
8342: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;

Line 8339: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.copy_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);

8335:
8336: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
8337: IF l_debug_mode = 'Y' THEN
8338: pa_debug.g_err_stage:='Called API PA_PROJ_TASK_STRUC_PUB.process_wbs_updates_wrp';
8339: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.copy_planning_transactions: ' || g_module_name,pa_debug.g_err_stage,3);
8340: END IF;
8341:
8342: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
8343: END IF;

Line 8394: pa_debug.g_err_stage:='Called API pa_res_asg_currency_pub.maintain_data returned error';

8390:
8391: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
8392:
8393: IF l_debug_mode = 'Y' THEN
8394: pa_debug.g_err_stage:='Called API pa_res_asg_currency_pub.maintain_data returned error';
8395: print_msg(pa_debug.g_err_stage,l_module_name);
8396: END IF;
8397: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
8398: END IF;

Line 8395: print_msg(pa_debug.g_err_stage,l_module_name);

8391: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
8392:
8393: IF l_debug_mode = 'Y' THEN
8394: pa_debug.g_err_stage:='Called API pa_res_asg_currency_pub.maintain_data returned error';
8395: print_msg(pa_debug.g_err_stage,l_module_name);
8396: END IF;
8397: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
8398: END IF;
8399:

Line 8401: pa_debug.g_err_stage:='Exiting copy_planning_transactions';

8397: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
8398: END IF;
8399:
8400: IF l_debug_mode = 'Y' THEN
8401: pa_debug.g_err_stage:='Exiting copy_planning_transactions';
8402: print_msg(pa_debug.g_err_stage,l_module_name);
8403: -- reset curr function
8404: pa_debug.reset_curr_function;
8405: END IF;

Line 8402: print_msg(pa_debug.g_err_stage,l_module_name);

8398: END IF;
8399:
8400: IF l_debug_mode = 'Y' THEN
8401: pa_debug.g_err_stage:='Exiting copy_planning_transactions';
8402: print_msg(pa_debug.g_err_stage,l_module_name);
8403: -- reset curr function
8404: pa_debug.reset_curr_function;
8405: END IF;
8406: EXCEPTION

Line 8404: pa_debug.reset_curr_function;

8400: IF l_debug_mode = 'Y' THEN
8401: pa_debug.g_err_stage:='Exiting copy_planning_transactions';
8402: print_msg(pa_debug.g_err_stage,l_module_name);
8403: -- reset curr function
8404: pa_debug.reset_curr_function;
8405: END IF;
8406: EXCEPTION
8407:
8408: WHEN PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc THEN

Line 8429: pa_debug.g_err_stage:='Invalid Arguments Passed Or called api raised an error';

8425: x_return_status := FND_API.G_RET_STS_ERROR;
8426: ROLLBACK TO copy_plan_txn;
8427:
8428: IF l_debug_mode = 'Y' THEN
8429: pa_debug.g_err_stage:='Invalid Arguments Passed Or called api raised an error';
8430: pa_debug.write( l_module_name,pa_debug.g_err_stage,5);
8431: -- reset curr function
8432: pa_debug.reset_curr_function;
8433: END IF;

Line 8430: pa_debug.write( l_module_name,pa_debug.g_err_stage,5);

8426: ROLLBACK TO copy_plan_txn;
8427:
8428: IF l_debug_mode = 'Y' THEN
8429: pa_debug.g_err_stage:='Invalid Arguments Passed Or called api raised an error';
8430: pa_debug.write( l_module_name,pa_debug.g_err_stage,5);
8431: -- reset curr function
8432: pa_debug.reset_curr_function;
8433: END IF;
8434: RETURN;

Line 8432: pa_debug.reset_curr_function;

8428: IF l_debug_mode = 'Y' THEN
8429: pa_debug.g_err_stage:='Invalid Arguments Passed Or called api raised an error';
8430: pa_debug.write( l_module_name,pa_debug.g_err_stage,5);
8431: -- reset curr function
8432: pa_debug.reset_curr_function;
8433: END IF;
8434: RETURN;
8435: WHEN Others THEN
8436: ROLLBACK TO copy_plan_txn;

Line 8445: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;

8441: FND_MSG_PUB.add_exc_msg( p_pkg_name => 'pa_fp_planning_transaction_pub'
8442: ,p_procedure_name => 'copy_planning_transactions');
8443:
8444: IF l_debug_mode = 'Y' THEN
8445: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;
8446: pa_debug.write( l_module_name,pa_debug.g_err_stage,5);
8447: pa_debug.Reset_Curr_Function();
8448: END IF;
8449: RAISE;

Line 8446: pa_debug.write( l_module_name,pa_debug.g_err_stage,5);

8442: ,p_procedure_name => 'copy_planning_transactions');
8443:
8444: IF l_debug_mode = 'Y' THEN
8445: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;
8446: pa_debug.write( l_module_name,pa_debug.g_err_stage,5);
8447: pa_debug.Reset_Curr_Function();
8448: END IF;
8449: RAISE;
8450: END copy_planning_transactions;

Line 8447: pa_debug.Reset_Curr_Function();

8443:
8444: IF l_debug_mode = 'Y' THEN
8445: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;
8446: pa_debug.write( l_module_name,pa_debug.g_err_stage,5);
8447: pa_debug.Reset_Curr_Function();
8448: END IF;
8449: RAISE;
8450: END copy_planning_transactions;
8451:

Line 8601: fnd_profile.get('PA_DEBUG_MODE',l_debug_mode);

8597: x_return_status := FND_API.G_RET_STS_SUCCESS;
8598:
8599: pa_task_assignment_utils.g_require_progress_rollup := 'N';
8600:
8601: fnd_profile.get('PA_DEBUG_MODE',l_debug_mode);
8602: l_debug_mode := NVL(l_debug_mode, 'N');
8603:
8604: -- Set curr function
8605: IF l_debug_mode = 'Y' THEN

Line 8606: pa_debug.set_curr_function(

8602: l_debug_mode := NVL(l_debug_mode, 'N');
8603:
8604: -- Set curr function
8605: IF l_debug_mode = 'Y' THEN
8606: pa_debug.set_curr_function(
8607: p_function =>'PA_FP_PLAN_TXN_PUB.delete_planning_transactions'
8608: ,p_debug_mode => l_debug_mode );
8609: END IF;
8610:

Line 8613: pa_debug.g_err_stage := 'p_context=>'|| p_context||']p_task_or_res =>'||p_task_or_res||']';

8609: END IF;
8610:
8611: IF l_debug_mode = 'Y' THEN
8612: /** printing all in params */
8613: pa_debug.g_err_stage := 'p_context=>'|| p_context||']p_task_or_res =>'||p_task_or_res||']';
8614: pa_debug.g_err_stage := pa_debug.g_err_stage||'p_validate_delete_flag=>'||p_validate_delete_flag||']';
8615: pa_debug.g_err_stage := pa_debug.g_err_stage||'p_calling_module=>'||p_calling_module||']';
8616: pa_debug.g_err_stage := pa_debug.g_err_stage||'RollupReqFlg=>'||p_rollup_required_flag||']';
8617: pa_debug.g_err_stage := pa_debug.g_err_stage||'PJiRollupFlg=>'||p_pji_rollup_required||']';

Line 8614: pa_debug.g_err_stage := pa_debug.g_err_stage||'p_validate_delete_flag=>'||p_validate_delete_flag||']';

8610:
8611: IF l_debug_mode = 'Y' THEN
8612: /** printing all in params */
8613: pa_debug.g_err_stage := 'p_context=>'|| p_context||']p_task_or_res =>'||p_task_or_res||']';
8614: pa_debug.g_err_stage := pa_debug.g_err_stage||'p_validate_delete_flag=>'||p_validate_delete_flag||']';
8615: pa_debug.g_err_stage := pa_debug.g_err_stage||'p_calling_module=>'||p_calling_module||']';
8616: pa_debug.g_err_stage := pa_debug.g_err_stage||'RollupReqFlg=>'||p_rollup_required_flag||']';
8617: pa_debug.g_err_stage := pa_debug.g_err_stage||'PJiRollupFlg=>'||p_pji_rollup_required||']';
8618: pa_debug.g_err_stage := pa_debug.g_err_stage||'ElemVerTbCt['||p_element_version_id_tbl.count||']';

Line 8615: pa_debug.g_err_stage := pa_debug.g_err_stage||'p_calling_module=>'||p_calling_module||']';

8611: IF l_debug_mode = 'Y' THEN
8612: /** printing all in params */
8613: pa_debug.g_err_stage := 'p_context=>'|| p_context||']p_task_or_res =>'||p_task_or_res||']';
8614: pa_debug.g_err_stage := pa_debug.g_err_stage||'p_validate_delete_flag=>'||p_validate_delete_flag||']';
8615: pa_debug.g_err_stage := pa_debug.g_err_stage||'p_calling_module=>'||p_calling_module||']';
8616: pa_debug.g_err_stage := pa_debug.g_err_stage||'RollupReqFlg=>'||p_rollup_required_flag||']';
8617: pa_debug.g_err_stage := pa_debug.g_err_stage||'PJiRollupFlg=>'||p_pji_rollup_required||']';
8618: pa_debug.g_err_stage := pa_debug.g_err_stage||'ElemVerTbCt['||p_element_version_id_tbl.count||']';
8619: pa_debug.g_err_stage := pa_debug.g_err_stage||'RaIdCt['||p_resource_assignment_tbl.count||']';

Line 8616: pa_debug.g_err_stage := pa_debug.g_err_stage||'RollupReqFlg=>'||p_rollup_required_flag||']';

8612: /** printing all in params */
8613: pa_debug.g_err_stage := 'p_context=>'|| p_context||']p_task_or_res =>'||p_task_or_res||']';
8614: pa_debug.g_err_stage := pa_debug.g_err_stage||'p_validate_delete_flag=>'||p_validate_delete_flag||']';
8615: pa_debug.g_err_stage := pa_debug.g_err_stage||'p_calling_module=>'||p_calling_module||']';
8616: pa_debug.g_err_stage := pa_debug.g_err_stage||'RollupReqFlg=>'||p_rollup_required_flag||']';
8617: pa_debug.g_err_stage := pa_debug.g_err_stage||'PJiRollupFlg=>'||p_pji_rollup_required||']';
8618: pa_debug.g_err_stage := pa_debug.g_err_stage||'ElemVerTbCt['||p_element_version_id_tbl.count||']';
8619: pa_debug.g_err_stage := pa_debug.g_err_stage||'RaIdCt['||p_resource_assignment_tbl.count||']';
8620: pa_debug.g_err_stage := pa_debug.g_err_stage||'TaskIdCt['||p_task_id_tbl.count||']';

Line 8617: pa_debug.g_err_stage := pa_debug.g_err_stage||'PJiRollupFlg=>'||p_pji_rollup_required||']';

8613: pa_debug.g_err_stage := 'p_context=>'|| p_context||']p_task_or_res =>'||p_task_or_res||']';
8614: pa_debug.g_err_stage := pa_debug.g_err_stage||'p_validate_delete_flag=>'||p_validate_delete_flag||']';
8615: pa_debug.g_err_stage := pa_debug.g_err_stage||'p_calling_module=>'||p_calling_module||']';
8616: pa_debug.g_err_stage := pa_debug.g_err_stage||'RollupReqFlg=>'||p_rollup_required_flag||']';
8617: pa_debug.g_err_stage := pa_debug.g_err_stage||'PJiRollupFlg=>'||p_pji_rollup_required||']';
8618: pa_debug.g_err_stage := pa_debug.g_err_stage||'ElemVerTbCt['||p_element_version_id_tbl.count||']';
8619: pa_debug.g_err_stage := pa_debug.g_err_stage||'RaIdCt['||p_resource_assignment_tbl.count||']';
8620: pa_debug.g_err_stage := pa_debug.g_err_stage||'TaskIdCt['||p_task_id_tbl.count||']';
8621: pa_debug.g_err_stage := pa_debug.g_err_stage||'rbsElmCt['||p_rbs_element_id_tbl.count||']';

Line 8618: pa_debug.g_err_stage := pa_debug.g_err_stage||'ElemVerTbCt['||p_element_version_id_tbl.count||']';

8614: pa_debug.g_err_stage := pa_debug.g_err_stage||'p_validate_delete_flag=>'||p_validate_delete_flag||']';
8615: pa_debug.g_err_stage := pa_debug.g_err_stage||'p_calling_module=>'||p_calling_module||']';
8616: pa_debug.g_err_stage := pa_debug.g_err_stage||'RollupReqFlg=>'||p_rollup_required_flag||']';
8617: pa_debug.g_err_stage := pa_debug.g_err_stage||'PJiRollupFlg=>'||p_pji_rollup_required||']';
8618: pa_debug.g_err_stage := pa_debug.g_err_stage||'ElemVerTbCt['||p_element_version_id_tbl.count||']';
8619: pa_debug.g_err_stage := pa_debug.g_err_stage||'RaIdCt['||p_resource_assignment_tbl.count||']';
8620: pa_debug.g_err_stage := pa_debug.g_err_stage||'TaskIdCt['||p_task_id_tbl.count||']';
8621: pa_debug.g_err_stage := pa_debug.g_err_stage||'rbsElmCt['||p_rbs_element_id_tbl.count||']';
8622: print_msg(pa_debug.g_err_stage,l_module_name);

Line 8619: pa_debug.g_err_stage := pa_debug.g_err_stage||'RaIdCt['||p_resource_assignment_tbl.count||']';

8615: pa_debug.g_err_stage := pa_debug.g_err_stage||'p_calling_module=>'||p_calling_module||']';
8616: pa_debug.g_err_stage := pa_debug.g_err_stage||'RollupReqFlg=>'||p_rollup_required_flag||']';
8617: pa_debug.g_err_stage := pa_debug.g_err_stage||'PJiRollupFlg=>'||p_pji_rollup_required||']';
8618: pa_debug.g_err_stage := pa_debug.g_err_stage||'ElemVerTbCt['||p_element_version_id_tbl.count||']';
8619: pa_debug.g_err_stage := pa_debug.g_err_stage||'RaIdCt['||p_resource_assignment_tbl.count||']';
8620: pa_debug.g_err_stage := pa_debug.g_err_stage||'TaskIdCt['||p_task_id_tbl.count||']';
8621: pa_debug.g_err_stage := pa_debug.g_err_stage||'rbsElmCt['||p_rbs_element_id_tbl.count||']';
8622: print_msg(pa_debug.g_err_stage,l_module_name);
8623: End If;

Line 8620: pa_debug.g_err_stage := pa_debug.g_err_stage||'TaskIdCt['||p_task_id_tbl.count||']';

8616: pa_debug.g_err_stage := pa_debug.g_err_stage||'RollupReqFlg=>'||p_rollup_required_flag||']';
8617: pa_debug.g_err_stage := pa_debug.g_err_stage||'PJiRollupFlg=>'||p_pji_rollup_required||']';
8618: pa_debug.g_err_stage := pa_debug.g_err_stage||'ElemVerTbCt['||p_element_version_id_tbl.count||']';
8619: pa_debug.g_err_stage := pa_debug.g_err_stage||'RaIdCt['||p_resource_assignment_tbl.count||']';
8620: pa_debug.g_err_stage := pa_debug.g_err_stage||'TaskIdCt['||p_task_id_tbl.count||']';
8621: pa_debug.g_err_stage := pa_debug.g_err_stage||'rbsElmCt['||p_rbs_element_id_tbl.count||']';
8622: print_msg(pa_debug.g_err_stage,l_module_name);
8623: End If;
8624: -------------------------------------------------------------------------------------------

Line 8621: pa_debug.g_err_stage := pa_debug.g_err_stage||'rbsElmCt['||p_rbs_element_id_tbl.count||']';

8617: pa_debug.g_err_stage := pa_debug.g_err_stage||'PJiRollupFlg=>'||p_pji_rollup_required||']';
8618: pa_debug.g_err_stage := pa_debug.g_err_stage||'ElemVerTbCt['||p_element_version_id_tbl.count||']';
8619: pa_debug.g_err_stage := pa_debug.g_err_stage||'RaIdCt['||p_resource_assignment_tbl.count||']';
8620: pa_debug.g_err_stage := pa_debug.g_err_stage||'TaskIdCt['||p_task_id_tbl.count||']';
8621: pa_debug.g_err_stage := pa_debug.g_err_stage||'rbsElmCt['||p_rbs_element_id_tbl.count||']';
8622: print_msg(pa_debug.g_err_stage,l_module_name);
8623: End If;
8624: -------------------------------------------------------------------------------------------
8625: -- Extending all table lengths to the permissible values they would take.

Line 8622: print_msg(pa_debug.g_err_stage,l_module_name);

8618: pa_debug.g_err_stage := pa_debug.g_err_stage||'ElemVerTbCt['||p_element_version_id_tbl.count||']';
8619: pa_debug.g_err_stage := pa_debug.g_err_stage||'RaIdCt['||p_resource_assignment_tbl.count||']';
8620: pa_debug.g_err_stage := pa_debug.g_err_stage||'TaskIdCt['||p_task_id_tbl.count||']';
8621: pa_debug.g_err_stage := pa_debug.g_err_stage||'rbsElmCt['||p_rbs_element_id_tbl.count||']';
8622: print_msg(pa_debug.g_err_stage,l_module_name);
8623: End If;
8624: -------------------------------------------------------------------------------------------
8625: -- Extending all table lengths to the permissible values they would take.
8626: -------------------------------------------------------------------------------------------

Line 8628: pa_debug.g_err_stage:='Extending all table lengths to the permissible values they would take';

8624: -------------------------------------------------------------------------------------------
8625: -- Extending all table lengths to the permissible values they would take.
8626: -------------------------------------------------------------------------------------------
8627: IF l_debug_mode = 'Y' THEN
8628: pa_debug.g_err_stage:='Extending all table lengths to the permissible values they would take';
8629: print_msg(pa_debug.g_err_stage,l_module_name);
8630: END IF;
8631:
8632: IF l_debug_mode = 'Y' THEN

Line 8629: print_msg(pa_debug.g_err_stage,l_module_name);

8625: -- Extending all table lengths to the permissible values they would take.
8626: -------------------------------------------------------------------------------------------
8627: IF l_debug_mode = 'Y' THEN
8628: pa_debug.g_err_stage:='Extending all table lengths to the permissible values they would take';
8629: print_msg(pa_debug.g_err_stage,l_module_name);
8630: END IF;
8631:
8632: IF l_debug_mode = 'Y' THEN
8633: pa_debug.g_err_stage:='Extending all table lengths to the permissible values they would take';

Line 8633: pa_debug.g_err_stage:='Extending all table lengths to the permissible values they would take';

8629: print_msg(pa_debug.g_err_stage,l_module_name);
8630: END IF;
8631:
8632: IF l_debug_mode = 'Y' THEN
8633: pa_debug.g_err_stage:='Extending all table lengths to the permissible values they would take';
8634: print_msg(pa_debug.g_err_stage,l_module_name);
8635: END IF;
8636:
8637: IF p_element_version_id_tbl.COUNT > 0 THEN

Line 8634: print_msg(pa_debug.g_err_stage,l_module_name);

8630: END IF;
8631:
8632: IF l_debug_mode = 'Y' THEN
8633: pa_debug.g_err_stage:='Extending all table lengths to the permissible values they would take';
8634: print_msg(pa_debug.g_err_stage,l_module_name);
8635: END IF;
8636:
8637: IF p_element_version_id_tbl.COUNT > 0 THEN
8638: l_delete_task_flag_tbl.extend(p_element_version_id_tbl.LAST);

Line 8649: pa_debug.g_err_stage:='Validating input parameters';

8645: ----------------------------------------------------
8646: -- Validating input parameters
8647: ----------------------------------------------------
8648: IF l_debug_mode = 'Y' THEN
8649: pa_debug.g_err_stage:='Validating input parameters';
8650: print_msg(pa_debug.g_err_stage,l_module_name);
8651: END IF;
8652:
8653: --Check for mandatory parameters

Line 8650: print_msg(pa_debug.g_err_stage,l_module_name);

8646: -- Validating input parameters
8647: ----------------------------------------------------
8648: IF l_debug_mode = 'Y' THEN
8649: pa_debug.g_err_stage:='Validating input parameters';
8650: print_msg(pa_debug.g_err_stage,l_module_name);
8651: END IF;
8652:
8653: --Check for mandatory parameters
8654: IF p_context IS NULL OR

Line 8658: pa_debug.g_err_stage:='p_context Is'||p_context;

8654: IF p_context IS NULL OR
8655: p_task_or_res IS NULL THEN
8656:
8657: IF l_debug_mode = 'Y' THEN
8658: pa_debug.g_err_stage:='p_context Is'||p_context;
8659: pa_debug.g_err_stage:=pa_debug.g_err_stage||': p_task_or_res Is'||p_task_or_res;
8660: print_msg(pa_debug.g_err_stage,l_module_name);
8661: END IF;
8662:

Line 8659: pa_debug.g_err_stage:=pa_debug.g_err_stage||': p_task_or_res Is'||p_task_or_res;

8655: p_task_or_res IS NULL THEN
8656:
8657: IF l_debug_mode = 'Y' THEN
8658: pa_debug.g_err_stage:='p_context Is'||p_context;
8659: pa_debug.g_err_stage:=pa_debug.g_err_stage||': p_task_or_res Is'||p_task_or_res;
8660: print_msg(pa_debug.g_err_stage,l_module_name);
8661: END IF;
8662:
8663: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',

Line 8660: print_msg(pa_debug.g_err_stage,l_module_name);

8656:
8657: IF l_debug_mode = 'Y' THEN
8658: pa_debug.g_err_stage:='p_context Is'||p_context;
8659: pa_debug.g_err_stage:=pa_debug.g_err_stage||': p_task_or_res Is'||p_task_or_res;
8660: print_msg(pa_debug.g_err_stage,l_module_name);
8661: END IF;
8662:
8663: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
8664: p_msg_name => 'PA_FP_INV_PARAM_PASSED');

Line 8670: pa_debug.g_err_stage:='calling module is PROCESS_RES_CHG_DERV_CALC_PRMS when p_task_or_res is TASKS';

8666: END IF;
8667:
8668: IF p_task_or_res = 'TASKS' AND p_calling_module='PROCESS_RES_CHG_DERV_CALC_PRMS' THEN
8669: IF l_debug_mode = 'Y' THEN
8670: pa_debug.g_err_stage:='calling module is PROCESS_RES_CHG_DERV_CALC_PRMS when p_task_or_res is TASKS';
8671: print_msg(pa_debug.g_err_stage,l_module_name);
8672: END IF;
8673: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
8674: p_msg_name => 'PA_FP_INV_PARAM_PASSED',

Line 8671: print_msg(pa_debug.g_err_stage,l_module_name);

8667:
8668: IF p_task_or_res = 'TASKS' AND p_calling_module='PROCESS_RES_CHG_DERV_CALC_PRMS' THEN
8669: IF l_debug_mode = 'Y' THEN
8670: pa_debug.g_err_stage:='calling module is PROCESS_RES_CHG_DERV_CALC_PRMS when p_task_or_res is TASKS';
8671: print_msg(pa_debug.g_err_stage,l_module_name);
8672: END IF;
8673: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
8674: p_msg_name => 'PA_FP_INV_PARAM_PASSED',
8675: p_token1 => 'PROCEDURENAME',

Line 8685: pa_debug.g_err_stage:='P_task_or_res is Task for B/F Context';

8681: IF ( p_task_or_res = 'TASKS'
8682: AND p_context in (PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_BUDGET,
8683: PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_FORECAST)) THEN
8684: IF l_debug_mode = 'Y' THEN
8685: pa_debug.g_err_stage:='P_task_or_res is Task for B/F Context';
8686: print_msg(pa_debug.g_err_stage,l_module_name);
8687: END IF;
8688: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
8689: p_msg_name => 'PA_FP_INV_PARAM_PASSED',

Line 8686: print_msg(pa_debug.g_err_stage,l_module_name);

8682: AND p_context in (PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_BUDGET,
8683: PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_FORECAST)) THEN
8684: IF l_debug_mode = 'Y' THEN
8685: pa_debug.g_err_stage:='P_task_or_res is Task for B/F Context';
8686: print_msg(pa_debug.g_err_stage,l_module_name);
8687: END IF;
8688: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
8689: p_msg_name => 'PA_FP_INV_PARAM_PASSED',
8690: p_token1 => 'PROCEDURENAME',

Line 8704: pa_debug.g_err_stage:='p_resource_assignment_tbl.COUNT IS '||p_resource_assignment_tbl.COUNT ;

8700: p_rate_based_flag_tbl.COUNT <> p_resource_assignment_tbl.COUNT OR
8701: p_resource_class_code_tbl.COUNT <> p_resource_assignment_tbl.COUNT ) THEN
8702:
8703: IF l_debug_mode = 'Y' THEN
8704: pa_debug.g_err_stage:='p_resource_assignment_tbl.COUNT IS '||p_resource_assignment_tbl.COUNT ;
8705: print_msg(pa_debug.g_err_stage,l_module_name);
8706:
8707: pa_debug.g_err_stage:='p_task_id_tbl.COUNT IS '||p_task_id_tbl.COUNT ;
8708: print_msg(pa_debug.g_err_stage,l_module_name);

Line 8705: print_msg(pa_debug.g_err_stage,l_module_name);

8701: p_resource_class_code_tbl.COUNT <> p_resource_assignment_tbl.COUNT ) THEN
8702:
8703: IF l_debug_mode = 'Y' THEN
8704: pa_debug.g_err_stage:='p_resource_assignment_tbl.COUNT IS '||p_resource_assignment_tbl.COUNT ;
8705: print_msg(pa_debug.g_err_stage,l_module_name);
8706:
8707: pa_debug.g_err_stage:='p_task_id_tbl.COUNT IS '||p_task_id_tbl.COUNT ;
8708: print_msg(pa_debug.g_err_stage,l_module_name);
8709:

Line 8707: pa_debug.g_err_stage:='p_task_id_tbl.COUNT IS '||p_task_id_tbl.COUNT ;

8703: IF l_debug_mode = 'Y' THEN
8704: pa_debug.g_err_stage:='p_resource_assignment_tbl.COUNT IS '||p_resource_assignment_tbl.COUNT ;
8705: print_msg(pa_debug.g_err_stage,l_module_name);
8706:
8707: pa_debug.g_err_stage:='p_task_id_tbl.COUNT IS '||p_task_id_tbl.COUNT ;
8708: print_msg(pa_debug.g_err_stage,l_module_name);
8709:
8710: pa_debug.g_err_stage:='p_rbs_element_id_tbl.COUNT IS '||p_rbs_element_id_tbl.COUNT ;
8711: print_msg(pa_debug.g_err_stage,l_module_name);

Line 8708: print_msg(pa_debug.g_err_stage,l_module_name);

8704: pa_debug.g_err_stage:='p_resource_assignment_tbl.COUNT IS '||p_resource_assignment_tbl.COUNT ;
8705: print_msg(pa_debug.g_err_stage,l_module_name);
8706:
8707: pa_debug.g_err_stage:='p_task_id_tbl.COUNT IS '||p_task_id_tbl.COUNT ;
8708: print_msg(pa_debug.g_err_stage,l_module_name);
8709:
8710: pa_debug.g_err_stage:='p_rbs_element_id_tbl.COUNT IS '||p_rbs_element_id_tbl.COUNT ;
8711: print_msg(pa_debug.g_err_stage,l_module_name);
8712:

Line 8710: pa_debug.g_err_stage:='p_rbs_element_id_tbl.COUNT IS '||p_rbs_element_id_tbl.COUNT ;

8706:
8707: pa_debug.g_err_stage:='p_task_id_tbl.COUNT IS '||p_task_id_tbl.COUNT ;
8708: print_msg(pa_debug.g_err_stage,l_module_name);
8709:
8710: pa_debug.g_err_stage:='p_rbs_element_id_tbl.COUNT IS '||p_rbs_element_id_tbl.COUNT ;
8711: print_msg(pa_debug.g_err_stage,l_module_name);
8712:
8713: pa_debug.g_err_stage:='p_rate_based_flag_tbl.COUNT IS '||p_rate_based_flag_tbl.COUNT ;
8714: print_msg(pa_debug.g_err_stage,l_module_name);

Line 8711: print_msg(pa_debug.g_err_stage,l_module_name);

8707: pa_debug.g_err_stage:='p_task_id_tbl.COUNT IS '||p_task_id_tbl.COUNT ;
8708: print_msg(pa_debug.g_err_stage,l_module_name);
8709:
8710: pa_debug.g_err_stage:='p_rbs_element_id_tbl.COUNT IS '||p_rbs_element_id_tbl.COUNT ;
8711: print_msg(pa_debug.g_err_stage,l_module_name);
8712:
8713: pa_debug.g_err_stage:='p_rate_based_flag_tbl.COUNT IS '||p_rate_based_flag_tbl.COUNT ;
8714: print_msg(pa_debug.g_err_stage,l_module_name);
8715:

Line 8713: pa_debug.g_err_stage:='p_rate_based_flag_tbl.COUNT IS '||p_rate_based_flag_tbl.COUNT ;

8709:
8710: pa_debug.g_err_stage:='p_rbs_element_id_tbl.COUNT IS '||p_rbs_element_id_tbl.COUNT ;
8711: print_msg(pa_debug.g_err_stage,l_module_name);
8712:
8713: pa_debug.g_err_stage:='p_rate_based_flag_tbl.COUNT IS '||p_rate_based_flag_tbl.COUNT ;
8714: print_msg(pa_debug.g_err_stage,l_module_name);
8715:
8716: pa_debug.g_err_stage:='p_resource_class_code_tbl.COUNT IS '||p_resource_class_code_tbl.COUNT ;
8717: print_msg(pa_debug.g_err_stage,l_module_name);

Line 8714: print_msg(pa_debug.g_err_stage,l_module_name);

8710: pa_debug.g_err_stage:='p_rbs_element_id_tbl.COUNT IS '||p_rbs_element_id_tbl.COUNT ;
8711: print_msg(pa_debug.g_err_stage,l_module_name);
8712:
8713: pa_debug.g_err_stage:='p_rate_based_flag_tbl.COUNT IS '||p_rate_based_flag_tbl.COUNT ;
8714: print_msg(pa_debug.g_err_stage,l_module_name);
8715:
8716: pa_debug.g_err_stage:='p_resource_class_code_tbl.COUNT IS '||p_resource_class_code_tbl.COUNT ;
8717: print_msg(pa_debug.g_err_stage,l_module_name);
8718:

Line 8716: pa_debug.g_err_stage:='p_resource_class_code_tbl.COUNT IS '||p_resource_class_code_tbl.COUNT ;

8712:
8713: pa_debug.g_err_stage:='p_rate_based_flag_tbl.COUNT IS '||p_rate_based_flag_tbl.COUNT ;
8714: print_msg(pa_debug.g_err_stage,l_module_name);
8715:
8716: pa_debug.g_err_stage:='p_resource_class_code_tbl.COUNT IS '||p_resource_class_code_tbl.COUNT ;
8717: print_msg(pa_debug.g_err_stage,l_module_name);
8718:
8719: pa_debug.g_err_stage:='p_resource_assignment_tbl.COUNT IS '||p_resource_assignment_tbl.COUNT ;
8720: print_msg(pa_debug.g_err_stage,l_module_name);

Line 8717: print_msg(pa_debug.g_err_stage,l_module_name);

8713: pa_debug.g_err_stage:='p_rate_based_flag_tbl.COUNT IS '||p_rate_based_flag_tbl.COUNT ;
8714: print_msg(pa_debug.g_err_stage,l_module_name);
8715:
8716: pa_debug.g_err_stage:='p_resource_class_code_tbl.COUNT IS '||p_resource_class_code_tbl.COUNT ;
8717: print_msg(pa_debug.g_err_stage,l_module_name);
8718:
8719: pa_debug.g_err_stage:='p_resource_assignment_tbl.COUNT IS '||p_resource_assignment_tbl.COUNT ;
8720: print_msg(pa_debug.g_err_stage,l_module_name);
8721:

Line 8719: pa_debug.g_err_stage:='p_resource_assignment_tbl.COUNT IS '||p_resource_assignment_tbl.COUNT ;

8715:
8716: pa_debug.g_err_stage:='p_resource_class_code_tbl.COUNT IS '||p_resource_class_code_tbl.COUNT ;
8717: print_msg(pa_debug.g_err_stage,l_module_name);
8718:
8719: pa_debug.g_err_stage:='p_resource_assignment_tbl.COUNT IS '||p_resource_assignment_tbl.COUNT ;
8720: print_msg(pa_debug.g_err_stage,l_module_name);
8721:
8722: END IF;
8723: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',

Line 8720: print_msg(pa_debug.g_err_stage,l_module_name);

8716: pa_debug.g_err_stage:='p_resource_class_code_tbl.COUNT IS '||p_resource_class_code_tbl.COUNT ;
8717: print_msg(pa_debug.g_err_stage,l_module_name);
8718:
8719: pa_debug.g_err_stage:='p_resource_assignment_tbl.COUNT IS '||p_resource_assignment_tbl.COUNT ;
8720: print_msg(pa_debug.g_err_stage,l_module_name);
8721:
8722: END IF;
8723: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
8724: p_msg_name => 'PA_FP_INV_PARAM_PASSED',

Line 8739: pa_debug.g_err_stage:='The input table is empty. returning';

8735: (p_task_or_res = 'ASSIGNMENT' AND
8736: p_resource_assignment_tbl.count =0) THEN
8737:
8738: IF l_debug_mode = 'Y' THEN
8739: pa_debug.g_err_stage:='The input table is empty. returning';
8740: print_msg(pa_debug.g_err_stage,l_module_name);
8741: pa_debug.reset_curr_function;
8742: END IF;
8743: RETURN;

Line 8740: print_msg(pa_debug.g_err_stage,l_module_name);

8736: p_resource_assignment_tbl.count =0) THEN
8737:
8738: IF l_debug_mode = 'Y' THEN
8739: pa_debug.g_err_stage:='The input table is empty. returning';
8740: print_msg(pa_debug.g_err_stage,l_module_name);
8741: pa_debug.reset_curr_function;
8742: END IF;
8743: RETURN;
8744: END IF;

Line 8741: pa_debug.reset_curr_function;

8737:
8738: IF l_debug_mode = 'Y' THEN
8739: pa_debug.g_err_stage:='The input table is empty. returning';
8740: print_msg(pa_debug.g_err_stage,l_module_name);
8741: pa_debug.reset_curr_function;
8742: END IF;
8743: RETURN;
8744: END IF;
8745:

Line 8768: pa_debug.g_err_stage:='The calling context is task assignment. Calling the validation API';

8764: IF p_context = PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_TASK OR
8765: p_context = PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_WORKPLAN THEN --{
8766:
8767: IF l_debug_mode = 'Y' THEN
8768: pa_debug.g_err_stage:='The calling context is task assignment. Calling the validation API';
8769: print_msg(pa_debug.g_err_stage,l_module_name);
8770: END IF;
8771:
8772: PA_TASK_ASSIGNMENT_UTILS.VALIDATE_DELETE_ASSIGNMENT

Line 8769: print_msg(pa_debug.g_err_stage,l_module_name);

8765: p_context = PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_WORKPLAN THEN --{
8766:
8767: IF l_debug_mode = 'Y' THEN
8768: pa_debug.g_err_stage:='The calling context is task assignment. Calling the validation API';
8769: print_msg(pa_debug.g_err_stage,l_module_name);
8770: END IF;
8771:
8772: PA_TASK_ASSIGNMENT_UTILS.VALIDATE_DELETE_ASSIGNMENT
8773: ( p_context => p_context

Line 8786: pa_debug.g_err_stage:= 'After calling Validate OutParms: l_delete_task_flag_tblCount[';

8782: ,x_task_assmt_ids_tbl => l_task_assmt_ids_tbl --Bug 4951422
8783: ,x_return_status => x_return_status);
8784:
8785: IF l_debug_mode = 'Y' THEN
8786: pa_debug.g_err_stage:= 'After calling Validate OutParms: l_delete_task_flag_tblCount[';
8787: pa_debug.g_err_stage:= pa_debug.g_err_stage||l_delete_task_flag_tbl.count||']';
8788: pa_debug.g_err_stage:= pa_debug.g_err_stage||'l_delete_assmt_flag_tblcount[';
8789: pa_debug.g_err_stage:= pa_debug.g_err_stage||l_delete_assmt_flag_tbl.count||']';
8790: pa_debug.g_err_stage:= pa_debug.g_err_stage||'l_task_assmt_ids_tblCount[';

Line 8787: pa_debug.g_err_stage:= pa_debug.g_err_stage||l_delete_task_flag_tbl.count||']';

8783: ,x_return_status => x_return_status);
8784:
8785: IF l_debug_mode = 'Y' THEN
8786: pa_debug.g_err_stage:= 'After calling Validate OutParms: l_delete_task_flag_tblCount[';
8787: pa_debug.g_err_stage:= pa_debug.g_err_stage||l_delete_task_flag_tbl.count||']';
8788: pa_debug.g_err_stage:= pa_debug.g_err_stage||'l_delete_assmt_flag_tblcount[';
8789: pa_debug.g_err_stage:= pa_debug.g_err_stage||l_delete_assmt_flag_tbl.count||']';
8790: pa_debug.g_err_stage:= pa_debug.g_err_stage||'l_task_assmt_ids_tblCount[';
8791: pa_debug.g_err_stage:= pa_debug.g_err_stage||l_task_assmt_ids_tbl.count||']';

Line 8788: pa_debug.g_err_stage:= pa_debug.g_err_stage||'l_delete_assmt_flag_tblcount[';

8784:
8785: IF l_debug_mode = 'Y' THEN
8786: pa_debug.g_err_stage:= 'After calling Validate OutParms: l_delete_task_flag_tblCount[';
8787: pa_debug.g_err_stage:= pa_debug.g_err_stage||l_delete_task_flag_tbl.count||']';
8788: pa_debug.g_err_stage:= pa_debug.g_err_stage||'l_delete_assmt_flag_tblcount[';
8789: pa_debug.g_err_stage:= pa_debug.g_err_stage||l_delete_assmt_flag_tbl.count||']';
8790: pa_debug.g_err_stage:= pa_debug.g_err_stage||'l_task_assmt_ids_tblCount[';
8791: pa_debug.g_err_stage:= pa_debug.g_err_stage||l_task_assmt_ids_tbl.count||']';
8792: pa_debug.g_err_stage:= pa_debug.g_err_stage||'RetSts['||x_return_status||']';

Line 8789: pa_debug.g_err_stage:= pa_debug.g_err_stage||l_delete_assmt_flag_tbl.count||']';

8785: IF l_debug_mode = 'Y' THEN
8786: pa_debug.g_err_stage:= 'After calling Validate OutParms: l_delete_task_flag_tblCount[';
8787: pa_debug.g_err_stage:= pa_debug.g_err_stage||l_delete_task_flag_tbl.count||']';
8788: pa_debug.g_err_stage:= pa_debug.g_err_stage||'l_delete_assmt_flag_tblcount[';
8789: pa_debug.g_err_stage:= pa_debug.g_err_stage||l_delete_assmt_flag_tbl.count||']';
8790: pa_debug.g_err_stage:= pa_debug.g_err_stage||'l_task_assmt_ids_tblCount[';
8791: pa_debug.g_err_stage:= pa_debug.g_err_stage||l_task_assmt_ids_tbl.count||']';
8792: pa_debug.g_err_stage:= pa_debug.g_err_stage||'RetSts['||x_return_status||']';
8793: print_msg(pa_debug.g_err_stage,l_module_name);

Line 8790: pa_debug.g_err_stage:= pa_debug.g_err_stage||'l_task_assmt_ids_tblCount[';

8786: pa_debug.g_err_stage:= 'After calling Validate OutParms: l_delete_task_flag_tblCount[';
8787: pa_debug.g_err_stage:= pa_debug.g_err_stage||l_delete_task_flag_tbl.count||']';
8788: pa_debug.g_err_stage:= pa_debug.g_err_stage||'l_delete_assmt_flag_tblcount[';
8789: pa_debug.g_err_stage:= pa_debug.g_err_stage||l_delete_assmt_flag_tbl.count||']';
8790: pa_debug.g_err_stage:= pa_debug.g_err_stage||'l_task_assmt_ids_tblCount[';
8791: pa_debug.g_err_stage:= pa_debug.g_err_stage||l_task_assmt_ids_tbl.count||']';
8792: pa_debug.g_err_stage:= pa_debug.g_err_stage||'RetSts['||x_return_status||']';
8793: print_msg(pa_debug.g_err_stage,l_module_name);
8794: End If;

Line 8791: pa_debug.g_err_stage:= pa_debug.g_err_stage||l_task_assmt_ids_tbl.count||']';

8787: pa_debug.g_err_stage:= pa_debug.g_err_stage||l_delete_task_flag_tbl.count||']';
8788: pa_debug.g_err_stage:= pa_debug.g_err_stage||'l_delete_assmt_flag_tblcount[';
8789: pa_debug.g_err_stage:= pa_debug.g_err_stage||l_delete_assmt_flag_tbl.count||']';
8790: pa_debug.g_err_stage:= pa_debug.g_err_stage||'l_task_assmt_ids_tblCount[';
8791: pa_debug.g_err_stage:= pa_debug.g_err_stage||l_task_assmt_ids_tbl.count||']';
8792: pa_debug.g_err_stage:= pa_debug.g_err_stage||'RetSts['||x_return_status||']';
8793: print_msg(pa_debug.g_err_stage,l_module_name);
8794: End If;
8795:

Line 8792: pa_debug.g_err_stage:= pa_debug.g_err_stage||'RetSts['||x_return_status||']';

8788: pa_debug.g_err_stage:= pa_debug.g_err_stage||'l_delete_assmt_flag_tblcount[';
8789: pa_debug.g_err_stage:= pa_debug.g_err_stage||l_delete_assmt_flag_tbl.count||']';
8790: pa_debug.g_err_stage:= pa_debug.g_err_stage||'l_task_assmt_ids_tblCount[';
8791: pa_debug.g_err_stage:= pa_debug.g_err_stage||l_task_assmt_ids_tbl.count||']';
8792: pa_debug.g_err_stage:= pa_debug.g_err_stage||'RetSts['||x_return_status||']';
8793: print_msg(pa_debug.g_err_stage,l_module_name);
8794: End If;
8795:
8796: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 8793: print_msg(pa_debug.g_err_stage,l_module_name);

8789: pa_debug.g_err_stage:= pa_debug.g_err_stage||l_delete_assmt_flag_tbl.count||']';
8790: pa_debug.g_err_stage:= pa_debug.g_err_stage||'l_task_assmt_ids_tblCount[';
8791: pa_debug.g_err_stage:= pa_debug.g_err_stage||l_task_assmt_ids_tbl.count||']';
8792: pa_debug.g_err_stage:= pa_debug.g_err_stage||'RetSts['||x_return_status||']';
8793: print_msg(pa_debug.g_err_stage,l_module_name);
8794: End If;
8795:
8796: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
8797: IF l_debug_mode = 'Y' THEN

Line 8798: pa_debug.g_err_stage:='The calling context is task assignment. Calling the validation API';

8794: End If;
8795:
8796: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
8797: IF l_debug_mode = 'Y' THEN
8798: pa_debug.g_err_stage:='The calling context is task assignment. Calling the validation API';
8799: print_msg(pa_debug.g_err_stage,l_module_name);
8800: END IF;
8801: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
8802: End If;

Line 8799: print_msg(pa_debug.g_err_stage,l_module_name);

8795:
8796: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
8797: IF l_debug_mode = 'Y' THEN
8798: pa_debug.g_err_stage:='The calling context is task assignment. Calling the validation API';
8799: print_msg(pa_debug.g_err_stage,l_module_name);
8800: END IF;
8801: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
8802: End If;
8803: END IF; --}

Line 8828: pa_debug.g_err_stage:=l_cntr||'..Getting budget version id from p_element_version_id_tbl';

8824: FOR i IN p_element_version_id_tbl.FIRST .. p_element_version_id_tbl.LAST LOOP
8825: l_cntr := i;
8826: BEGIN
8827: IF l_debug_mode = 'Y' THEN
8828: pa_debug.g_err_stage:=l_cntr||'..Getting budget version id from p_element_version_id_tbl';
8829: pa_debug.g_err_stage:=pa_debug.g_err_stage||'['||p_element_version_id_tbl(l_cntr)||']';
8830: print_msg(pa_debug.g_err_stage,l_module_name);
8831: END IF;
8832: SELECT pbv.project_id

Line 8829: pa_debug.g_err_stage:=pa_debug.g_err_stage||'['||p_element_version_id_tbl(l_cntr)||']';

8825: l_cntr := i;
8826: BEGIN
8827: IF l_debug_mode = 'Y' THEN
8828: pa_debug.g_err_stage:=l_cntr||'..Getting budget version id from p_element_version_id_tbl';
8829: pa_debug.g_err_stage:=pa_debug.g_err_stage||'['||p_element_version_id_tbl(l_cntr)||']';
8830: print_msg(pa_debug.g_err_stage,l_module_name);
8831: END IF;
8832: SELECT pbv.project_id
8833: ,pbv.budget_version_id

Line 8830: print_msg(pa_debug.g_err_stage,l_module_name);

8826: BEGIN
8827: IF l_debug_mode = 'Y' THEN
8828: pa_debug.g_err_stage:=l_cntr||'..Getting budget version id from p_element_version_id_tbl';
8829: pa_debug.g_err_stage:=pa_debug.g_err_stage||'['||p_element_version_id_tbl(l_cntr)||']';
8830: print_msg(pa_debug.g_err_stage,l_module_name);
8831: END IF;
8832: SELECT pbv.project_id
8833: ,pbv.budget_version_id
8834: ,pbv.ci_id

Line 8849: pa_debug.g_err_stage:='No Data Found: No budget Exists for this Task Element Version Ids';

8845: EXIT;
8846: EXCEPTION
8847: WHEN NO_DATA_FOUND THEN
8848: IF l_debug_mode = 'Y' THEN
8849: pa_debug.g_err_stage:='No Data Found: No budget Exists for this Task Element Version Ids';
8850: print_msg(pa_debug.g_err_stage,l_module_name);
8851: END IF;
8852: NULL;
8853: END;

Line 8850: print_msg(pa_debug.g_err_stage,l_module_name);

8846: EXCEPTION
8847: WHEN NO_DATA_FOUND THEN
8848: IF l_debug_mode = 'Y' THEN
8849: pa_debug.g_err_stage:='No Data Found: No budget Exists for this Task Element Version Ids';
8850: print_msg(pa_debug.g_err_stage,l_module_name);
8851: END IF;
8852: NULL;
8853: END;
8854: END LOOP;

Line 8864: pa_debug.g_err_stage:='2..Getting budget version id from l_task_assmt_ids_tbl';

8860: l_task_assmt_ids_tbl is NOT NULL and -- Bug 5408333 fix - ORA-06531: Reference to uninitialized collection
8861: l_task_assmt_ids_tbl.COUNT > 0 Then
8862: BEGIN
8863: IF l_debug_mode = 'Y' THEN
8864: pa_debug.g_err_stage:='2..Getting budget version id from l_task_assmt_ids_tbl';
8865: pa_debug.g_err_stage:=pa_debug.g_err_stage||'['||l_task_assmt_ids_tbl(1)||']';
8866: print_msg(pa_debug.g_err_stage,l_module_name);
8867: END IF;
8868: SELECT pbv.project_id

Line 8865: pa_debug.g_err_stage:=pa_debug.g_err_stage||'['||l_task_assmt_ids_tbl(1)||']';

8861: l_task_assmt_ids_tbl.COUNT > 0 Then
8862: BEGIN
8863: IF l_debug_mode = 'Y' THEN
8864: pa_debug.g_err_stage:='2..Getting budget version id from l_task_assmt_ids_tbl';
8865: pa_debug.g_err_stage:=pa_debug.g_err_stage||'['||l_task_assmt_ids_tbl(1)||']';
8866: print_msg(pa_debug.g_err_stage,l_module_name);
8867: END IF;
8868: SELECT pbv.project_id
8869: ,pbv.budget_version_id

Line 8866: print_msg(pa_debug.g_err_stage,l_module_name);

8862: BEGIN
8863: IF l_debug_mode = 'Y' THEN
8864: pa_debug.g_err_stage:='2..Getting budget version id from l_task_assmt_ids_tbl';
8865: pa_debug.g_err_stage:=pa_debug.g_err_stage||'['||l_task_assmt_ids_tbl(1)||']';
8866: print_msg(pa_debug.g_err_stage,l_module_name);
8867: END IF;
8868: SELECT pbv.project_id
8869: ,pbv.budget_version_id
8870: ,pbv.ci_id

Line 8881: pa_debug.g_err_stage:='No Data Found: No budget Exists for this Task Assignment Ids';

8877: AND pra.resource_assignment_id =l_task_assmt_ids_tbl(1);
8878: EXCEPTION
8879: WHEN NO_DATA_FOUND THEN
8880: IF l_debug_mode = 'Y' THEN
8881: pa_debug.g_err_stage:='No Data Found: No budget Exists for this Task Assignment Ids';
8882: print_msg(pa_debug.g_err_stage,l_module_name);
8883: END IF;
8884: NULL;
8885: END;

Line 8882: print_msg(pa_debug.g_err_stage,l_module_name);

8878: EXCEPTION
8879: WHEN NO_DATA_FOUND THEN
8880: IF l_debug_mode = 'Y' THEN
8881: pa_debug.g_err_stage:='No Data Found: No budget Exists for this Task Assignment Ids';
8882: print_msg(pa_debug.g_err_stage,l_module_name);
8883: END IF;
8884: NULL;
8885: END;
8886:

Line 8900: pa_debug.g_err_stage:='2..Getting budget version id from p_resource_assignment_tbl';

8896:
8897: BEGIN
8898:
8899: IF l_debug_mode = 'Y' THEN
8900: pa_debug.g_err_stage:='2..Getting budget version id from p_resource_assignment_tbl';
8901: pa_debug.g_err_stage:=pa_debug.g_err_stage||'['||p_resource_assignment_tbl(1)||']';
8902: print_msg(pa_debug.g_err_stage,l_module_name);
8903: END IF;
8904: SELECT pbv.project_id

Line 8901: pa_debug.g_err_stage:=pa_debug.g_err_stage||'['||p_resource_assignment_tbl(1)||']';

8897: BEGIN
8898:
8899: IF l_debug_mode = 'Y' THEN
8900: pa_debug.g_err_stage:='2..Getting budget version id from p_resource_assignment_tbl';
8901: pa_debug.g_err_stage:=pa_debug.g_err_stage||'['||p_resource_assignment_tbl(1)||']';
8902: print_msg(pa_debug.g_err_stage,l_module_name);
8903: END IF;
8904: SELECT pbv.project_id
8905: ,pbv.budget_version_id

Line 8902: print_msg(pa_debug.g_err_stage,l_module_name);

8898:
8899: IF l_debug_mode = 'Y' THEN
8900: pa_debug.g_err_stage:='2..Getting budget version id from p_resource_assignment_tbl';
8901: pa_debug.g_err_stage:=pa_debug.g_err_stage||'['||p_resource_assignment_tbl(1)||']';
8902: print_msg(pa_debug.g_err_stage,l_module_name);
8903: END IF;
8904: SELECT pbv.project_id
8905: ,pbv.budget_version_id
8906: ,pbv.ci_id

Line 8917: pa_debug.g_err_stage:='No Data Found: No budget Exists for this resource Assignment Ids';

8913: AND pra.resource_assignment_id =p_resource_assignment_tbl(1);
8914: EXCEPTION
8915: WHEN NO_DATA_FOUND THEN
8916: IF l_debug_mode = 'Y' THEN
8917: pa_debug.g_err_stage:='No Data Found: No budget Exists for this resource Assignment Ids';
8918: print_msg(pa_debug.g_err_stage,l_module_name);
8919: END IF;
8920: NULL;
8921: END;

Line 8918: print_msg(pa_debug.g_err_stage,l_module_name);

8914: EXCEPTION
8915: WHEN NO_DATA_FOUND THEN
8916: IF l_debug_mode = 'Y' THEN
8917: pa_debug.g_err_stage:='No Data Found: No budget Exists for this resource Assignment Ids';
8918: print_msg(pa_debug.g_err_stage,l_module_name);
8919: END IF;
8920: NULL;
8921: END;
8922:

Line 8926: pa_debug.g_err_stage:='ProjId['||l_project_id||']BudgetVers['||l_budget_version_id||']Ciid['||l_ci_id||']';

8922:
8923: END IF; --}
8924:
8925: IF l_debug_mode = 'Y' THEN
8926: pa_debug.g_err_stage:='ProjId['||l_project_id||']BudgetVers['||l_budget_version_id||']Ciid['||l_ci_id||']';
8927: print_msg(pa_debug.g_err_stage,l_module_name);
8928: END IF;
8929:
8930: If l_budget_version_id is NULL Then

Line 8927: print_msg(pa_debug.g_err_stage,l_module_name);

8923: END IF; --}
8924:
8925: IF l_debug_mode = 'Y' THEN
8926: pa_debug.g_err_stage:='ProjId['||l_project_id||']BudgetVers['||l_budget_version_id||']Ciid['||l_ci_id||']';
8927: print_msg(pa_debug.g_err_stage,l_module_name);
8928: END IF;
8929:
8930: If l_budget_version_id is NULL Then
8931: IF l_debug_mode = 'Y' THEN

Line 8932: pa_debug.g_err_stage:='Exiting delete_planning_transactions as No budget version exists';

8928: END IF;
8929:
8930: If l_budget_version_id is NULL Then
8931: IF l_debug_mode = 'Y' THEN
8932: pa_debug.g_err_stage:='Exiting delete_planning_transactions as No budget version exists';
8933: print_msg(pa_debug.g_err_stage,l_module_name);
8934: pa_debug.reset_curr_function;
8935: END IF;
8936: RETURN;

Line 8933: print_msg(pa_debug.g_err_stage,l_module_name);

8929:
8930: If l_budget_version_id is NULL Then
8931: IF l_debug_mode = 'Y' THEN
8932: pa_debug.g_err_stage:='Exiting delete_planning_transactions as No budget version exists';
8933: print_msg(pa_debug.g_err_stage,l_module_name);
8934: pa_debug.reset_curr_function;
8935: END IF;
8936: RETURN;
8937: End If;

Line 8934: pa_debug.reset_curr_function;

8930: If l_budget_version_id is NULL Then
8931: IF l_debug_mode = 'Y' THEN
8932: pa_debug.g_err_stage:='Exiting delete_planning_transactions as No budget version exists';
8933: print_msg(pa_debug.g_err_stage,l_module_name);
8934: pa_debug.reset_curr_function;
8935: END IF;
8936: RETURN;
8937: End If;
8938: /* End of Bug fix:5349668: */

Line 8947: pa_debug.g_err_stage:='No elements in the l_delete_task_flag_tbl';

8943: IF p_task_or_res = 'TASKS' THEN
8944:
8945: IF l_delete_task_flag_tbl.count=0 THEN
8946: IF l_debug_mode = 'Y' THEN
8947: pa_debug.g_err_stage:='No elements in the l_delete_task_flag_tbl';
8948: print_msg(pa_debug.g_err_stage,l_module_name);
8949: pa_debug.reset_curr_function;
8950: END IF;
8951: RETURN;

Line 8948: print_msg(pa_debug.g_err_stage,l_module_name);

8944:
8945: IF l_delete_task_flag_tbl.count=0 THEN
8946: IF l_debug_mode = 'Y' THEN
8947: pa_debug.g_err_stage:='No elements in the l_delete_task_flag_tbl';
8948: print_msg(pa_debug.g_err_stage,l_module_name);
8949: pa_debug.reset_curr_function;
8950: END IF;
8951: RETURN;
8952: END IF;

Line 8949: pa_debug.reset_curr_function;

8945: IF l_delete_task_flag_tbl.count=0 THEN
8946: IF l_debug_mode = 'Y' THEN
8947: pa_debug.g_err_stage:='No elements in the l_delete_task_flag_tbl';
8948: print_msg(pa_debug.g_err_stage,l_module_name);
8949: pa_debug.reset_curr_function;
8950: END IF;
8951: RETURN;
8952: END IF;
8953:

Line 8956: pa_debug.g_err_stage:='Num elements in l_delete_task_flag_tbl, p_element_version_id_tbl dont match';

8952: END IF;
8953:
8954: IF l_delete_task_flag_tbl.count<>p_element_version_id_tbl.count THEN
8955: IF l_debug_mode = 'Y' THEN
8956: pa_debug.g_err_stage:='Num elements in l_delete_task_flag_tbl, p_element_version_id_tbl dont match';
8957: print_msg(pa_debug.g_err_stage,l_module_name);
8958: END IF;
8959: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
8960: p_msg_name => 'PA_FP_INV_PARAM_PASSED');

Line 8957: print_msg(pa_debug.g_err_stage,l_module_name);

8953:
8954: IF l_delete_task_flag_tbl.count<>p_element_version_id_tbl.count THEN
8955: IF l_debug_mode = 'Y' THEN
8956: pa_debug.g_err_stage:='Num elements in l_delete_task_flag_tbl, p_element_version_id_tbl dont match';
8957: print_msg(pa_debug.g_err_stage,l_module_name);
8958: END IF;
8959: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
8960: p_msg_name => 'PA_FP_INV_PARAM_PASSED');
8961: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;

Line 8970: pa_debug.g_err_stage:='Deleting all budget lines based on l_task_assmt_ids_tbl';

8966: --that wbs_elememnt_version_id will be populated only for Workplan versions and hence all the checks done in
8967: --the commented SQL are already done in that API
8968: IF l_task_assmt_ids_tbl.COUNT > 0 Then --{
8969: IF l_debug_mode = 'Y' THEN
8970: pa_debug.g_err_stage:='Deleting all budget lines based on l_task_assmt_ids_tbl';
8971: print_msg(pa_debug.g_err_stage,l_module_name);
8972: END IF;
8973: FORALL i IN 1..l_task_assmt_ids_tbl.COUNT
8974: DELETE

Line 8971: print_msg(pa_debug.g_err_stage,l_module_name);

8967: --the commented SQL are already done in that API
8968: IF l_task_assmt_ids_tbl.COUNT > 0 Then --{
8969: IF l_debug_mode = 'Y' THEN
8970: pa_debug.g_err_stage:='Deleting all budget lines based on l_task_assmt_ids_tbl';
8971: print_msg(pa_debug.g_err_stage,l_module_name);
8972: END IF;
8973: FORALL i IN 1..l_task_assmt_ids_tbl.COUNT
8974: DELETE
8975: FROM pa_budget_lines pbl

Line 9023: pa_debug.g_err_stage:='Deleting all resource assignments for the tasks for which the fla is passed as Y';

9019: l_pfc_cur_conv_rej_code_tbl,
9020: l_resource_assignment_id_tbl;
9021:
9022: IF l_debug_mode = 'Y' THEN
9023: pa_debug.g_err_stage:='Deleting all resource assignments for the tasks for which the fla is passed as Y';
9024: print_msg(pa_debug.g_err_stage,l_module_name);
9025: END IF;
9026:
9027: -- IPM changes - populate tmp table to use for deletion later

Line 9024: print_msg(pa_debug.g_err_stage,l_module_name);

9020: l_resource_assignment_id_tbl;
9021:
9022: IF l_debug_mode = 'Y' THEN
9023: pa_debug.g_err_stage:='Deleting all resource assignments for the tasks for which the fla is passed as Y';
9024: print_msg(pa_debug.g_err_stage,l_module_name);
9025: END IF;
9026:
9027: -- IPM changes - populate tmp table to use for deletion later
9028: IF l_resource_assignment_id_tbl.COUNT > 0 THEN

Line 9088: pa_debug.g_err_stage:='No elements in the l_delete_assmt_flag_tbl';

9084: ELSIF p_task_or_res = 'ASSIGNMENT' THEN
9085:
9086: IF l_delete_assmt_flag_tbl.count=0 THEN
9087: IF l_debug_mode = 'Y' THEN
9088: pa_debug.g_err_stage:='No elements in the l_delete_assmt_flag_tbl';
9089: print_msg(pa_debug.g_err_stage,l_module_name);
9090: pa_debug.reset_curr_function;
9091: END IF;
9092: RETURN;

Line 9089: print_msg(pa_debug.g_err_stage,l_module_name);

9085:
9086: IF l_delete_assmt_flag_tbl.count=0 THEN
9087: IF l_debug_mode = 'Y' THEN
9088: pa_debug.g_err_stage:='No elements in the l_delete_assmt_flag_tbl';
9089: print_msg(pa_debug.g_err_stage,l_module_name);
9090: pa_debug.reset_curr_function;
9091: END IF;
9092: RETURN;
9093: END IF;

Line 9090: pa_debug.reset_curr_function;

9086: IF l_delete_assmt_flag_tbl.count=0 THEN
9087: IF l_debug_mode = 'Y' THEN
9088: pa_debug.g_err_stage:='No elements in the l_delete_assmt_flag_tbl';
9089: print_msg(pa_debug.g_err_stage,l_module_name);
9090: pa_debug.reset_curr_function;
9091: END IF;
9092: RETURN;
9093: END IF;
9094:

Line 9097: pa_debug.g_err_stage:='No of elements in l_delete_task_flag_tbl ';

9093: END IF;
9094:
9095: IF l_delete_assmt_flag_tbl.count<>p_resource_assignment_tbl.count THEN
9096: IF l_debug_mode = 'Y' THEN
9097: pa_debug.g_err_stage:='No of elements in l_delete_task_flag_tbl ';
9098: pa_debug.g_err_stage:=pa_debug.g_err_stage||'and p_resource_assignment_tbl dont match';
9099: print_msg(pa_debug.g_err_stage,l_module_name);
9100: END IF;
9101: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',

Line 9098: pa_debug.g_err_stage:=pa_debug.g_err_stage||'and p_resource_assignment_tbl dont match';

9094:
9095: IF l_delete_assmt_flag_tbl.count<>p_resource_assignment_tbl.count THEN
9096: IF l_debug_mode = 'Y' THEN
9097: pa_debug.g_err_stage:='No of elements in l_delete_task_flag_tbl ';
9098: pa_debug.g_err_stage:=pa_debug.g_err_stage||'and p_resource_assignment_tbl dont match';
9099: print_msg(pa_debug.g_err_stage,l_module_name);
9100: END IF;
9101: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
9102: p_msg_name => 'PA_FP_INV_PARAM_PASSED');

Line 9099: print_msg(pa_debug.g_err_stage,l_module_name);

9095: IF l_delete_assmt_flag_tbl.count<>p_resource_assignment_tbl.count THEN
9096: IF l_debug_mode = 'Y' THEN
9097: pa_debug.g_err_stage:='No of elements in l_delete_task_flag_tbl ';
9098: pa_debug.g_err_stage:=pa_debug.g_err_stage||'and p_resource_assignment_tbl dont match';
9099: print_msg(pa_debug.g_err_stage,l_module_name);
9100: END IF;
9101: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
9102: p_msg_name => 'PA_FP_INV_PARAM_PASSED');
9103: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;

Line 9107: pa_debug.g_err_stage:='Deleting all budget lines for the res assmts for Assignment Context';

9103: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
9104: END IF;
9105:
9106: IF l_debug_mode = 'Y' THEN
9107: pa_debug.g_err_stage:='Deleting all budget lines for the res assmts for Assignment Context';
9108: print_msg(pa_debug.g_err_stage,l_module_name);
9109: END IF;
9110:
9111: FORALL i IN l_delete_assmt_flag_tbl.first..l_delete_assmt_flag_tbl.last

Line 9108: print_msg(pa_debug.g_err_stage,l_module_name);

9104: END IF;
9105:
9106: IF l_debug_mode = 'Y' THEN
9107: pa_debug.g_err_stage:='Deleting all budget lines for the res assmts for Assignment Context';
9108: print_msg(pa_debug.g_err_stage,l_module_name);
9109: END IF;
9110:
9111: FORALL i IN l_delete_assmt_flag_tbl.first..l_delete_assmt_flag_tbl.last
9112: DELETE

Line 9168: pa_debug.g_err_stage:='Deleting all resource assignments for the tasks for which the fla is passed as Y';

9164: l_pfc_cur_conv_rej_code_tbl,
9165: l_resource_assignment_id_tbl;
9166:
9167: IF l_debug_mode = 'Y' THEN
9168: pa_debug.g_err_stage:='Deleting all resource assignments for the tasks for which the fla is passed as Y';
9169: print_msg(pa_debug.g_err_stage,l_module_name);
9170: END IF;
9171:
9172: -- IPM changes - populate tmp table to use for deletion later

Line 9169: print_msg(pa_debug.g_err_stage,l_module_name);

9165: l_resource_assignment_id_tbl;
9166:
9167: IF l_debug_mode = 'Y' THEN
9168: pa_debug.g_err_stage:='Deleting all resource assignments for the tasks for which the fla is passed as Y';
9169: print_msg(pa_debug.g_err_stage,l_module_name);
9170: END IF;
9171:
9172: -- IPM changes - populate tmp table to use for deletion later
9173: -- hr_utility.trace('RM DEL6');

Line 9238: pa_debug.g_err_stage:='No elements in the p_element_version_id_tbl';

9234: IF p_task_or_res = 'TASKS' THEN
9235:
9236: IF p_element_version_id_tbl.count=0 THEN
9237: IF l_debug_mode = 'Y' THEN
9238: pa_debug.g_err_stage:='No elements in the p_element_version_id_tbl';
9239: print_msg(pa_debug.g_err_stage,l_module_name);
9240: pa_debug.reset_curr_function;
9241: END IF;
9242: RETURN;

Line 9239: print_msg(pa_debug.g_err_stage,l_module_name);

9235:
9236: IF p_element_version_id_tbl.count=0 THEN
9237: IF l_debug_mode = 'Y' THEN
9238: pa_debug.g_err_stage:='No elements in the p_element_version_id_tbl';
9239: print_msg(pa_debug.g_err_stage,l_module_name);
9240: pa_debug.reset_curr_function;
9241: END IF;
9242: RETURN;
9243: END IF;

Line 9240: pa_debug.reset_curr_function;

9236: IF p_element_version_id_tbl.count=0 THEN
9237: IF l_debug_mode = 'Y' THEN
9238: pa_debug.g_err_stage:='No elements in the p_element_version_id_tbl';
9239: print_msg(pa_debug.g_err_stage,l_module_name);
9240: pa_debug.reset_curr_function;
9241: END IF;
9242: RETURN;
9243: END IF;
9244:

Line 9256: pa_debug.g_err_stage:='l_wp_version_flag IS '||l_wp_version_flag;

9252: l_ta_display_flag:='N'; */ --Bug 3808720
9253: END IF;
9254:
9255: IF l_debug_mode = 'Y' THEN
9256: pa_debug.g_err_stage:='l_wp_version_flag IS '||l_wp_version_flag;
9257: print_msg(pa_debug.g_err_stage,l_module_name);
9258: END IF;
9259:
9260:

Line 9257: print_msg(pa_debug.g_err_stage,l_module_name);

9253: END IF;
9254:
9255: IF l_debug_mode = 'Y' THEN
9256: pa_debug.g_err_stage:='l_wp_version_flag IS '||l_wp_version_flag;
9257: print_msg(pa_debug.g_err_stage,l_module_name);
9258: END IF;
9259:
9260:
9261: IF p_context in (PA_FP_CONSTANTS_PKG.G_CALLING_MODULE_BUDGET,

Line 9271: pa_debug.g_err_stage:='2..Deleting budget lines based on Task element Version Ids';

9267:
9268:
9269: If l_budget_version_id is NOT NULL Then --Bug fix:5349668 --{
9270: IF l_debug_mode = 'Y' THEN
9271: pa_debug.g_err_stage:='2..Deleting budget lines based on Task element Version Ids';
9272: print_msg(pa_debug.g_err_stage,l_module_name);
9273: END IF;
9274: FORALL i IN p_element_version_id_tbl.first..p_element_version_id_tbl.last
9275: DELETE

Line 9272: print_msg(pa_debug.g_err_stage,l_module_name);

9268:
9269: If l_budget_version_id is NOT NULL Then --Bug fix:5349668 --{
9270: IF l_debug_mode = 'Y' THEN
9271: pa_debug.g_err_stage:='2..Deleting budget lines based on Task element Version Ids';
9272: print_msg(pa_debug.g_err_stage,l_module_name);
9273: END IF;
9274: FORALL i IN p_element_version_id_tbl.first..p_element_version_id_tbl.last
9275: DELETE
9276: FROM pa_budget_lines pbl

Line 9352: pa_debug.g_err_stage:='Deleting all res assmts for which the flag is passed as Y';

9348: END IF;
9349: End If; --}
9350:
9351: IF l_debug_mode = 'Y' THEN
9352: pa_debug.g_err_stage:='Deleting all res assmts for which the flag is passed as Y';
9353: print_msg(pa_debug.g_err_stage,l_module_name);
9354: END IF;
9355:
9356: If p_element_version_id_tbl.COUNT > 0 AND l_budget_version_id is NOT NULL Then --Bug fix:5349668 --{

Line 9353: print_msg(pa_debug.g_err_stage,l_module_name);

9349: End If; --}
9350:
9351: IF l_debug_mode = 'Y' THEN
9352: pa_debug.g_err_stage:='Deleting all res assmts for which the flag is passed as Y';
9353: print_msg(pa_debug.g_err_stage,l_module_name);
9354: END IF;
9355:
9356: If p_element_version_id_tbl.COUNT > 0 AND l_budget_version_id is NOT NULL Then --Bug fix:5349668 --{
9357: FORALL i IN p_element_version_id_tbl.first..p_element_version_id_tbl.last

Line 9405: pa_debug.g_err_stage:='No elements in the p_resource_assignment_tbl';

9401: ELSIF p_task_or_res = 'ASSIGNMENT' THEN
9402:
9403: IF p_resource_assignment_tbl.count=0 THEN
9404: IF l_debug_mode = 'Y' THEN
9405: pa_debug.g_err_stage:='No elements in the p_resource_assignment_tbl';
9406: print_msg(pa_debug.g_err_stage,l_module_name);
9407: pa_debug.reset_curr_function;
9408: END IF;
9409: RETURN;

Line 9406: print_msg(pa_debug.g_err_stage,l_module_name);

9402:
9403: IF p_resource_assignment_tbl.count=0 THEN
9404: IF l_debug_mode = 'Y' THEN
9405: pa_debug.g_err_stage:='No elements in the p_resource_assignment_tbl';
9406: print_msg(pa_debug.g_err_stage,l_module_name);
9407: pa_debug.reset_curr_function;
9408: END IF;
9409: RETURN;
9410: END IF;

Line 9407: pa_debug.reset_curr_function;

9403: IF p_resource_assignment_tbl.count=0 THEN
9404: IF l_debug_mode = 'Y' THEN
9405: pa_debug.g_err_stage:='No elements in the p_resource_assignment_tbl';
9406: print_msg(pa_debug.g_err_stage,l_module_name);
9407: pa_debug.reset_curr_function;
9408: END IF;
9409: RETURN;
9410: END IF;
9411:

Line 9417: pa_debug.g_err_stage:='Count Mismatch for currency code and Reource Assignment';

9413:
9414: IF p_currency_code_tbl.COUNT > 0 THEN --If Currnecy Code is Passed.
9415: IF p_resource_assignment_tbl.count <> p_currency_code_tbl.COUNT THEN --Count Should be equal to ra id count
9416: IF l_debug_mode = 'Y' THEN
9417: pa_debug.g_err_stage:='Count Mismatch for currency code and Reource Assignment';
9418: print_msg(pa_debug.g_err_stage,l_module_name);
9419: END IF;
9420: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
9421: p_msg_name => 'PA_FP_INV_PARAM_PASSED',

Line 9418: print_msg(pa_debug.g_err_stage,l_module_name);

9414: IF p_currency_code_tbl.COUNT > 0 THEN --If Currnecy Code is Passed.
9415: IF p_resource_assignment_tbl.count <> p_currency_code_tbl.COUNT THEN --Count Should be equal to ra id count
9416: IF l_debug_mode = 'Y' THEN
9417: pa_debug.g_err_stage:='Count Mismatch for currency code and Reource Assignment';
9418: print_msg(pa_debug.g_err_stage,l_module_name);
9419: END IF;
9420: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
9421: p_msg_name => 'PA_FP_INV_PARAM_PASSED',
9422: p_token1 => 'PROCEDURENAME',

Line 9437: pa_debug.g_err_stage:='Checking for the existence of budget lines';

9433: --Checking for the existence of budget lines for the element version ids passed. Bug 3589130
9434: IF p_validate_delete_flag='Y' THEN
9435:
9436: IF l_debug_mode = 'Y' THEN
9437: pa_debug.g_err_stage:='Checking for the existence of budget lines';
9438: print_msg(pa_debug.g_err_stage,l_module_name);
9439: END IF;
9440:
9441: BEGIN

Line 9438: print_msg(pa_debug.g_err_stage,l_module_name);

9434: IF p_validate_delete_flag='Y' THEN
9435:
9436: IF l_debug_mode = 'Y' THEN
9437: pa_debug.g_err_stage:='Checking for the existence of budget lines';
9438: print_msg(pa_debug.g_err_stage,l_module_name);
9439: END IF;
9440:
9441: BEGIN
9442: FOR i IN p_resource_assignment_tbl.first..p_resource_assignment_tbl.last LOOP

Line 9472: pa_debug.g_err_stage:='Budget lines exist for the resource assignment id passed '||p_resource_assignment_tbl(i);

9468:
9469: EXCEPTION
9470: WHEN SKIP_LOOP THEN
9471: IF l_debug_mode = 'Y' THEN
9472: pa_debug.g_err_stage:='Budget lines exist for the resource assignment id passed '||p_resource_assignment_tbl(i);
9473: print_msg(pa_debug.g_err_stage,l_module_name);
9474: END IF;
9475: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
9476: p_msg_name => 'PA_FP_AMT_EXISTS_FOR_PLAN_ELEM');

Line 9473: print_msg(pa_debug.g_err_stage,l_module_name);

9469: EXCEPTION
9470: WHEN SKIP_LOOP THEN
9471: IF l_debug_mode = 'Y' THEN
9472: pa_debug.g_err_stage:='Budget lines exist for the resource assignment id passed '||p_resource_assignment_tbl(i);
9473: print_msg(pa_debug.g_err_stage,l_module_name);
9474: END IF;
9475: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
9476: p_msg_name => 'PA_FP_AMT_EXISTS_FOR_PLAN_ELEM');
9477: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;

Line 9489: pa_debug.g_err_stage:='Deleting all budget lines ';

9485: -- Bug Fix: 4569365. Removed MRC code.
9486: END IF;
9487:
9488: IF l_debug_mode = 'Y' THEN
9489: pa_debug.g_err_stage:='Deleting all budget lines ';
9490: print_msg(pa_debug.g_err_stage,l_module_name);
9491: END IF;
9492:
9493: FORALL i IN p_resource_assignment_tbl.first..p_resource_assignment_tbl.last

Line 9490: print_msg(pa_debug.g_err_stage,l_module_name);

9486: END IF;
9487:
9488: IF l_debug_mode = 'Y' THEN
9489: pa_debug.g_err_stage:='Deleting all budget lines ';
9490: print_msg(pa_debug.g_err_stage,l_module_name);
9491: END IF;
9492:
9493: FORALL i IN p_resource_assignment_tbl.first..p_resource_assignment_tbl.last
9494: DELETE

Line 9570: pa_debug.g_err_stage:='Deleting all res assmts for which the flag is passed as Y';

9566:
9567: IF nvl(p_calling_module,'-99') <> 'PROCESS_RES_CHG_DERV_CALC_PRMS' THEN
9568:
9569: IF l_debug_mode = 'Y' THEN
9570: pa_debug.g_err_stage:='Deleting all res assmts for which the flag is passed as Y';
9571: print_msg(pa_debug.g_err_stage,l_module_name);
9572: END IF;
9573:
9574: FORALL i IN p_resource_assignment_tbl.first..p_resource_assignment_tbl.last

Line 9571: print_msg(pa_debug.g_err_stage,l_module_name);

9567: IF nvl(p_calling_module,'-99') <> 'PROCESS_RES_CHG_DERV_CALC_PRMS' THEN
9568:
9569: IF l_debug_mode = 'Y' THEN
9570: pa_debug.g_err_stage:='Deleting all res assmts for which the flag is passed as Y';
9571: print_msg(pa_debug.g_err_stage,l_module_name);
9572: END IF;
9573:
9574: FORALL i IN p_resource_assignment_tbl.first..p_resource_assignment_tbl.last
9575: DELETE

Line 9623: pa_debug.g_err_stage:='No of Rec Deleted from RA : ' || l_ra_id_in_pra_tbl.COUNT;

9619:
9620: --Rollup the amounts to budget versions as some of the budget lines with amounts might have got
9621: --deleted
9622: IF l_debug_mode = 'Y' THEN
9623: pa_debug.g_err_stage:='No of Rec Deleted from RA : ' || l_ra_id_in_pra_tbl.COUNT;
9624: print_msg(pa_debug.g_err_stage,l_module_name);
9625: IF l_ra_id_in_pra_tbl.COUNT > 0 THEN
9626: FOR i in l_ra_id_in_pra_tbl.FIRST .. l_ra_id_in_pra_tbl.LAST LOOP
9627: pa_debug.g_err_stage:='Deleted RA Id : ' || l_ra_id_in_pra_tbl(i);

Line 9624: print_msg(pa_debug.g_err_stage,l_module_name);

9620: --Rollup the amounts to budget versions as some of the budget lines with amounts might have got
9621: --deleted
9622: IF l_debug_mode = 'Y' THEN
9623: pa_debug.g_err_stage:='No of Rec Deleted from RA : ' || l_ra_id_in_pra_tbl.COUNT;
9624: print_msg(pa_debug.g_err_stage,l_module_name);
9625: IF l_ra_id_in_pra_tbl.COUNT > 0 THEN
9626: FOR i in l_ra_id_in_pra_tbl.FIRST .. l_ra_id_in_pra_tbl.LAST LOOP
9627: pa_debug.g_err_stage:='Deleted RA Id : ' || l_ra_id_in_pra_tbl(i);
9628: print_msg(pa_debug.g_err_stage,l_module_name);

Line 9627: pa_debug.g_err_stage:='Deleted RA Id : ' || l_ra_id_in_pra_tbl(i);

9623: pa_debug.g_err_stage:='No of Rec Deleted from RA : ' || l_ra_id_in_pra_tbl.COUNT;
9624: print_msg(pa_debug.g_err_stage,l_module_name);
9625: IF l_ra_id_in_pra_tbl.COUNT > 0 THEN
9626: FOR i in l_ra_id_in_pra_tbl.FIRST .. l_ra_id_in_pra_tbl.LAST LOOP
9627: pa_debug.g_err_stage:='Deleted RA Id : ' || l_ra_id_in_pra_tbl(i);
9628: print_msg(pa_debug.g_err_stage,l_module_name);
9629: END LOOP;
9630: END IF;
9631: END IF;

Line 9628: print_msg(pa_debug.g_err_stage,l_module_name);

9624: print_msg(pa_debug.g_err_stage,l_module_name);
9625: IF l_ra_id_in_pra_tbl.COUNT > 0 THEN
9626: FOR i in l_ra_id_in_pra_tbl.FIRST .. l_ra_id_in_pra_tbl.LAST LOOP
9627: pa_debug.g_err_stage:='Deleted RA Id : ' || l_ra_id_in_pra_tbl(i);
9628: print_msg(pa_debug.g_err_stage,l_module_name);
9629: END LOOP;
9630: END IF;
9631: END IF;
9632:

Line 9640: pa_debug.g_err_stage:='Calling pa_fp_gen_amount_utils.get_plan_version_dtls:bv_id ' || l_budget_version_id;

9636: -- if records have been inserted in pa_Resource_asgn_curr_tmp, in the delete flow.
9637: -- Note: Deriving l_budget_version_id may not be the right approach as we avoid calling BV/RA
9638: -- rollup api and pji api when l_budget_version_id is null (No BLs deleted)
9639: IF l_budget_version_id IS NOT NULL THEN
9640: pa_debug.g_err_stage:='Calling pa_fp_gen_amount_utils.get_plan_version_dtls:bv_id ' || l_budget_version_id;
9641: print_msg(pa_debug.g_err_stage,l_module_name);
9642:
9643: pa_fp_gen_amount_utils.get_plan_version_dtls
9644: (p_project_id => l_project_id,

Line 9641: print_msg(pa_debug.g_err_stage,l_module_name);

9637: -- Note: Deriving l_budget_version_id may not be the right approach as we avoid calling BV/RA
9638: -- rollup api and pji api when l_budget_version_id is null (No BLs deleted)
9639: IF l_budget_version_id IS NOT NULL THEN
9640: pa_debug.g_err_stage:='Calling pa_fp_gen_amount_utils.get_plan_version_dtls:bv_id ' || l_budget_version_id;
9641: print_msg(pa_debug.g_err_stage,l_module_name);
9642:
9643: pa_fp_gen_amount_utils.get_plan_version_dtls
9644: (p_project_id => l_project_id,
9645: p_budget_version_id => l_budget_version_id,

Line 9654: pa_debug.g_err_stage:='Called API pa_fp_gen_amount_utils.get_plan_version_dtls returned error';

9650:
9651: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
9652:
9653: IF l_debug_mode = 'Y' THEN
9654: pa_debug.g_err_stage:='Called API pa_fp_gen_amount_utils.get_plan_version_dtls returned error';
9655: print_msg(pa_debug.g_err_stage,l_module_name);
9656: END IF;
9657: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
9658: END IF;

Line 9655: print_msg(pa_debug.g_err_stage,l_module_name);

9651: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
9652:
9653: IF l_debug_mode = 'Y' THEN
9654: pa_debug.g_err_stage:='Called API pa_fp_gen_amount_utils.get_plan_version_dtls returned error';
9655: print_msg(pa_debug.g_err_stage,l_module_name);
9656: END IF;
9657: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
9658: END IF;
9659:

Line 9660: pa_debug.g_err_stage:='Calling pa_res_asg_currency_pub.maintain_data:bv_id ' || l_budget_version_id;

9656: END IF;
9657: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
9658: END IF;
9659:
9660: pa_debug.g_err_stage:='Calling pa_res_asg_currency_pub.maintain_data:bv_id ' || l_budget_version_id;
9661: print_msg(pa_debug.g_err_stage,l_module_name);
9662:
9663: pa_res_asg_currency_pub.maintain_data(
9664: p_fp_cols_rec => l_fp_cols_rec,

Line 9661: print_msg(pa_debug.g_err_stage,l_module_name);

9657: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
9658: END IF;
9659:
9660: pa_debug.g_err_stage:='Calling pa_res_asg_currency_pub.maintain_data:bv_id ' || l_budget_version_id;
9661: print_msg(pa_debug.g_err_stage,l_module_name);
9662:
9663: pa_res_asg_currency_pub.maintain_data(
9664: p_fp_cols_rec => l_fp_cols_rec,
9665: p_calling_module => 'UPDATE_PLAN_TRANSACTION',

Line 9681: pa_debug.g_err_stage:='Called API pa_res_asg_currency_pub.maintain_data returned error';

9677:
9678: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
9679:
9680: IF l_debug_mode = 'Y' THEN
9681: pa_debug.g_err_stage:='Called API pa_res_asg_currency_pub.maintain_data returned error';
9682: print_msg(pa_debug.g_err_stage,l_module_name);
9683: END IF;
9684: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
9685: END IF;

Line 9682: print_msg(pa_debug.g_err_stage,l_module_name);

9678: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
9679:
9680: IF l_debug_mode = 'Y' THEN
9681: pa_debug.g_err_stage:='Called API pa_res_asg_currency_pub.maintain_data returned error';
9682: print_msg(pa_debug.g_err_stage,l_module_name);
9683: END IF;
9684: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
9685: END IF;
9686:

Line 9705: pa_debug.g_err_stage:='Calling PA_FP_ROLLUP_PKG.ROLLUP_BUDGET_VERSION:l_budget_version_id '||l_budget_version_id;

9701: l_mode := null;
9702: END IF;
9703:
9704: IF l_budget_version_id IS NOT NULL THEN
9705: pa_debug.g_err_stage:='Calling PA_FP_ROLLUP_PKG.ROLLUP_BUDGET_VERSION:l_budget_version_id '||l_budget_version_id;
9706: print_msg(pa_debug.g_err_stage,l_module_name);
9707:
9708: PA_FP_ROLLUP_PKG.ROLLUP_BUDGET_VERSION
9709: ( p_budget_version_id => l_budget_version_id

Line 9706: print_msg(pa_debug.g_err_stage,l_module_name);

9702: END IF;
9703:
9704: IF l_budget_version_id IS NOT NULL THEN
9705: pa_debug.g_err_stage:='Calling PA_FP_ROLLUP_PKG.ROLLUP_BUDGET_VERSION:l_budget_version_id '||l_budget_version_id;
9706: print_msg(pa_debug.g_err_stage,l_module_name);
9707:
9708: PA_FP_ROLLUP_PKG.ROLLUP_BUDGET_VERSION
9709: ( p_budget_version_id => l_budget_version_id
9710: ,p_entire_version => 'Y'

Line 9718: pa_debug.g_err_stage:='The API PA_FP_ROLLUP_PKG.ROLLUP_BUDGET_VERSION returned error';

9714: ,x_msg_data => l_msg_data);
9715:
9716: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
9717: IF l_debug_mode = 'Y' THEN
9718: pa_debug.g_err_stage:='The API PA_FP_ROLLUP_PKG.ROLLUP_BUDGET_VERSION returned error';
9719: print_msg(pa_debug.g_err_stage,l_module_name);
9720: END IF;
9721: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
9722: END IF;

Line 9719: print_msg(pa_debug.g_err_stage,l_module_name);

9715:
9716: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
9717: IF l_debug_mode = 'Y' THEN
9718: pa_debug.g_err_stage:='The API PA_FP_ROLLUP_PKG.ROLLUP_BUDGET_VERSION returned error';
9719: print_msg(pa_debug.g_err_stage,l_module_name);
9720: END IF;
9721: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
9722: END IF;
9723:

Line 9739: pa_debug.g_err_stage:='Prepare pl/sql tables for rbs element id and task id';

9735:
9736: IF l_resource_assignment_id_tbl.count >0 THEN
9737:
9738: IF l_debug_mode = 'Y' THEN
9739: pa_debug.g_err_stage:='Prepare pl/sql tables for rbs element id and task id';
9740: print_msg(pa_debug.g_err_stage,l_module_name);
9741: END IF;
9742:
9743: --Prepare the pl/sql tables for task id, rbs element id , resource class code and rate based flag.

Line 9740: print_msg(pa_debug.g_err_stage,l_module_name);

9736: IF l_resource_assignment_id_tbl.count >0 THEN
9737:
9738: IF l_debug_mode = 'Y' THEN
9739: pa_debug.g_err_stage:='Prepare pl/sql tables for rbs element id and task id';
9740: print_msg(pa_debug.g_err_stage,l_module_name);
9741: END IF;
9742:
9743: --Prepare the pl/sql tables for task id, rbs element id , resource class code and rate based flag.
9744: --These pl/sql tables should be same in length to the pl/sql tables prepared while deleting the budget

Line 9763: pa_debug.g_err_stage:='Stepping In - l_ra_index : '||l_ra_index;

9759: LOOP
9760: IF l_ra_id_in_pra_tbl.EXISTS(l_ra_index) THEN
9761: IF l_ra_id_in_pra_tbl(l_ra_index) = l_resource_assignment_id_tbl(i) THEN
9762: IF l_debug_mode = 'Y' THEN
9763: pa_debug.g_err_stage:='Stepping In - l_ra_index : '||l_ra_index;
9764: print_msg(pa_debug.g_err_stage,l_module_name);
9765: END IF;
9766: l_task_id := l_task_id_in_pra_tbl(l_ra_index);
9767: l_rbs_element_id := l_rbs_element_id_in_pra_tbl(l_ra_index);

Line 9764: print_msg(pa_debug.g_err_stage,l_module_name);

9760: IF l_ra_id_in_pra_tbl.EXISTS(l_ra_index) THEN
9761: IF l_ra_id_in_pra_tbl(l_ra_index) = l_resource_assignment_id_tbl(i) THEN
9762: IF l_debug_mode = 'Y' THEN
9763: pa_debug.g_err_stage:='Stepping In - l_ra_index : '||l_ra_index;
9764: print_msg(pa_debug.g_err_stage,l_module_name);
9765: END IF;
9766: l_task_id := l_task_id_in_pra_tbl(l_ra_index);
9767: l_rbs_element_id := l_rbs_element_id_in_pra_tbl(l_ra_index);
9768: l_res_class_code := l_res_class_code_in_pra_tbl(l_ra_index);

Line 9773: pa_debug.g_err_stage:='Stepping Over - l_ra_index : '||l_ra_index;

9769: l_rate_based_flag := l_rate_based_flag_in_pra_tbl(l_ra_index);
9770: EXIT; --Exit LOOP
9771: ELSE
9772: IF l_debug_mode = 'Y' THEN
9773: pa_debug.g_err_stage:='Stepping Over - l_ra_index : '||l_ra_index;
9774: print_msg(pa_debug.g_err_stage,l_module_name);
9775: END IF;
9776: l_ra_index:=l_ra_index+1;
9777: END IF;

Line 9774: print_msg(pa_debug.g_err_stage,l_module_name);

9770: EXIT; --Exit LOOP
9771: ELSE
9772: IF l_debug_mode = 'Y' THEN
9773: pa_debug.g_err_stage:='Stepping Over - l_ra_index : '||l_ra_index;
9774: print_msg(pa_debug.g_err_stage,l_module_name);
9775: END IF;
9776: l_ra_index:=l_ra_index+1;
9777: END IF;
9778: ELSE

Line 9781: pa_debug.g_err_stage:='Fetching Data from PA Res Assignment';

9777: END IF;
9778: ELSE
9779: BEGIN
9780: IF l_debug_mode = 'Y' THEN
9781: pa_debug.g_err_stage:='Fetching Data from PA Res Assignment';
9782: print_msg(pa_debug.g_err_stage,l_module_name);
9783: END IF;
9784: SELECT TASK_ID,
9785: RBS_ELEMENT_ID,

Line 9782: print_msg(pa_debug.g_err_stage,l_module_name);

9778: ELSE
9779: BEGIN
9780: IF l_debug_mode = 'Y' THEN
9781: pa_debug.g_err_stage:='Fetching Data from PA Res Assignment';
9782: print_msg(pa_debug.g_err_stage,l_module_name);
9783: END IF;
9784: SELECT TASK_ID,
9785: RBS_ELEMENT_ID,
9786: RESOURCE_CLASS_CODE,

Line 9800: pa_debug.g_err_stage:='No Data Found in RA Table for Bl deleted.';

9796:
9797: EXCEPTION
9798: WHEN NO_DATA_FOUND THEN
9799: IF l_debug_mode = 'Y' THEN
9800: pa_debug.g_err_stage:='No Data Found in RA Table for Bl deleted.';
9801: print_msg(pa_debug.g_err_stage,l_module_name);
9802: END IF;
9803: RAISE;
9804: END;

Line 9801: print_msg(pa_debug.g_err_stage,l_module_name);

9797: EXCEPTION
9798: WHEN NO_DATA_FOUND THEN
9799: IF l_debug_mode = 'Y' THEN
9800: pa_debug.g_err_stage:='No Data Found in RA Table for Bl deleted.';
9801: print_msg(pa_debug.g_err_stage,l_module_name);
9802: END IF;
9803: RAISE;
9804: END;
9805: END IF;

Line 9809: pa_debug.g_err_stage:='Data for Update Rep Lines';

9805: END IF;
9806: END LOOP;
9807:
9808: IF l_debug_mode = 'Y' THEN
9809: pa_debug.g_err_stage:='Data for Update Rep Lines';
9810: print_msg(pa_debug.g_err_stage,l_module_name);
9811:
9812: pa_debug.g_err_stage:='l_task_id '||l_task_id;
9813: print_msg(pa_debug.g_err_stage,l_module_name);

Line 9810: print_msg(pa_debug.g_err_stage,l_module_name);

9806: END LOOP;
9807:
9808: IF l_debug_mode = 'Y' THEN
9809: pa_debug.g_err_stage:='Data for Update Rep Lines';
9810: print_msg(pa_debug.g_err_stage,l_module_name);
9811:
9812: pa_debug.g_err_stage:='l_task_id '||l_task_id;
9813: print_msg(pa_debug.g_err_stage,l_module_name);
9814:

Line 9812: pa_debug.g_err_stage:='l_task_id '||l_task_id;

9808: IF l_debug_mode = 'Y' THEN
9809: pa_debug.g_err_stage:='Data for Update Rep Lines';
9810: print_msg(pa_debug.g_err_stage,l_module_name);
9811:
9812: pa_debug.g_err_stage:='l_task_id '||l_task_id;
9813: print_msg(pa_debug.g_err_stage,l_module_name);
9814:
9815: pa_debug.g_err_stage:='l_rbs_element_id '||l_rbs_element_id;
9816: print_msg(pa_debug.g_err_stage,l_module_name);

Line 9813: print_msg(pa_debug.g_err_stage,l_module_name);

9809: pa_debug.g_err_stage:='Data for Update Rep Lines';
9810: print_msg(pa_debug.g_err_stage,l_module_name);
9811:
9812: pa_debug.g_err_stage:='l_task_id '||l_task_id;
9813: print_msg(pa_debug.g_err_stage,l_module_name);
9814:
9815: pa_debug.g_err_stage:='l_rbs_element_id '||l_rbs_element_id;
9816: print_msg(pa_debug.g_err_stage,l_module_name);
9817:

Line 9815: pa_debug.g_err_stage:='l_rbs_element_id '||l_rbs_element_id;

9811:
9812: pa_debug.g_err_stage:='l_task_id '||l_task_id;
9813: print_msg(pa_debug.g_err_stage,l_module_name);
9814:
9815: pa_debug.g_err_stage:='l_rbs_element_id '||l_rbs_element_id;
9816: print_msg(pa_debug.g_err_stage,l_module_name);
9817:
9818: pa_debug.g_err_stage:='l_res_class_code '||l_res_class_code;
9819: print_msg(pa_debug.g_err_stage,l_module_name);

Line 9816: print_msg(pa_debug.g_err_stage,l_module_name);

9812: pa_debug.g_err_stage:='l_task_id '||l_task_id;
9813: print_msg(pa_debug.g_err_stage,l_module_name);
9814:
9815: pa_debug.g_err_stage:='l_rbs_element_id '||l_rbs_element_id;
9816: print_msg(pa_debug.g_err_stage,l_module_name);
9817:
9818: pa_debug.g_err_stage:='l_res_class_code '||l_res_class_code;
9819: print_msg(pa_debug.g_err_stage,l_module_name);
9820:

Line 9818: pa_debug.g_err_stage:='l_res_class_code '||l_res_class_code;

9814:
9815: pa_debug.g_err_stage:='l_rbs_element_id '||l_rbs_element_id;
9816: print_msg(pa_debug.g_err_stage,l_module_name);
9817:
9818: pa_debug.g_err_stage:='l_res_class_code '||l_res_class_code;
9819: print_msg(pa_debug.g_err_stage,l_module_name);
9820:
9821: pa_debug.g_err_stage:='l_rate_based_flag '||l_rate_based_flag;
9822: print_msg(pa_debug.g_err_stage,l_module_name);

Line 9819: print_msg(pa_debug.g_err_stage,l_module_name);

9815: pa_debug.g_err_stage:='l_rbs_element_id '||l_rbs_element_id;
9816: print_msg(pa_debug.g_err_stage,l_module_name);
9817:
9818: pa_debug.g_err_stage:='l_res_class_code '||l_res_class_code;
9819: print_msg(pa_debug.g_err_stage,l_module_name);
9820:
9821: pa_debug.g_err_stage:='l_rate_based_flag '||l_rate_based_flag;
9822: print_msg(pa_debug.g_err_stage,l_module_name);
9823: END IF;

Line 9821: pa_debug.g_err_stage:='l_rate_based_flag '||l_rate_based_flag;

9817:
9818: pa_debug.g_err_stage:='l_res_class_code '||l_res_class_code;
9819: print_msg(pa_debug.g_err_stage,l_module_name);
9820:
9821: pa_debug.g_err_stage:='l_rate_based_flag '||l_rate_based_flag;
9822: print_msg(pa_debug.g_err_stage,l_module_name);
9823: END IF;
9824:
9825: l_task_id_tbl(i) :=l_task_id;

Line 9822: print_msg(pa_debug.g_err_stage,l_module_name);

9818: pa_debug.g_err_stage:='l_res_class_code '||l_res_class_code;
9819: print_msg(pa_debug.g_err_stage,l_module_name);
9820:
9821: pa_debug.g_err_stage:='l_rate_based_flag '||l_rate_based_flag;
9822: print_msg(pa_debug.g_err_stage,l_module_name);
9823: END IF;
9824:
9825: l_task_id_tbl(i) :=l_task_id;
9826: l_rbs_element_id_tbl(i) :=l_rbs_element_id;

Line 9836: pa_debug.g_err_stage:='Error in preparing pl/sql tables for rbs element id and task id ';

9832:
9833: IF l_counter <> l_resource_assignment_id_tbl.COUNT THEN
9834:
9835: IF l_debug_mode = 'Y' THEN
9836: pa_debug.g_err_stage:='Error in preparing pl/sql tables for rbs element id and task id ';
9837: print_msg(pa_debug.g_err_stage,l_module_name);
9838: END IF;
9839:
9840: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

Line 9837: print_msg(pa_debug.g_err_stage,l_module_name);

9833: IF l_counter <> l_resource_assignment_id_tbl.COUNT THEN
9834:
9835: IF l_debug_mode = 'Y' THEN
9836: pa_debug.g_err_stage:='Error in preparing pl/sql tables for rbs element id and task id ';
9837: print_msg(pa_debug.g_err_stage,l_module_name);
9838: END IF;
9839:
9840: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
9841:

Line 9845: pa_debug.g_err_stage:='No of rows deleted from pa_budget_lines= '||l_resource_assignment_id_tbl.count;

9841:
9842: END IF;
9843:
9844: IF l_debug_mode = 'Y' THEN
9845: pa_debug.g_err_stage:='No of rows deleted from pa_budget_lines= '||l_resource_assignment_id_tbl.count;
9846: print_msg(pa_debug.g_err_stage,l_module_name);
9847: END IF;
9848:
9849: pa_planning_transaction_utils.call_update_rep_lines_api

Line 9846: print_msg(pa_debug.g_err_stage,l_module_name);

9842: END IF;
9843:
9844: IF l_debug_mode = 'Y' THEN
9845: pa_debug.g_err_stage:='No of rows deleted from pa_budget_lines= '||l_resource_assignment_id_tbl.count;
9846: print_msg(pa_debug.g_err_stage,l_module_name);
9847: END IF;
9848:
9849: pa_planning_transaction_utils.call_update_rep_lines_api
9850: ( p_source => 'PL-SQL'

Line 9883: pa_debug.g_err_stage:='The API pa_planning_transaction_utils.call_update_rep_lines_api returned error';

9879: ,x_msg_count => x_msg_count );
9880:
9881: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
9882: IF l_debug_mode = 'Y' THEN
9883: pa_debug.g_err_stage:='The API pa_planning_transaction_utils.call_update_rep_lines_api returned error';
9884: print_msg(pa_debug.g_err_stage,l_module_name);
9885: END IF;
9886: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
9887: END IF;

Line 9884: print_msg(pa_debug.g_err_stage,l_module_name);

9880:
9881: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
9882: IF l_debug_mode = 'Y' THEN
9883: pa_debug.g_err_stage:='The API pa_planning_transaction_utils.call_update_rep_lines_api returned error';
9884: print_msg(pa_debug.g_err_stage,l_module_name);
9885: END IF;
9886: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
9887: END IF;
9888:

Line 9906: pa_debug.g_err_stage:='Calling PA_PROJ_TASK_STRUC_PUB.process_wbs_updates_wrp API';

9902: AND pa_task_assignment_utils.g_require_progress_rollup = 'Y')) AND
9903: l_budget_version_id IS NOT NULL THEN -- Bug 5381920
9904:
9905: IF l_debug_mode = 'Y' THEN
9906: pa_debug.g_err_stage:='Calling PA_PROJ_TASK_STRUC_PUB.process_wbs_updates_wrp API';
9907: print_msg(pa_debug.g_err_stage,l_module_name);
9908: END IF;
9909:
9910: PA_PROJ_TASK_STRUC_PUB.PROCESS_WBS_UPDATES_WRP

Line 9907: print_msg(pa_debug.g_err_stage,l_module_name);

9903: l_budget_version_id IS NOT NULL THEN -- Bug 5381920
9904:
9905: IF l_debug_mode = 'Y' THEN
9906: pa_debug.g_err_stage:='Calling PA_PROJ_TASK_STRUC_PUB.process_wbs_updates_wrp API';
9907: print_msg(pa_debug.g_err_stage,l_module_name);
9908: END IF;
9909:
9910: PA_PROJ_TASK_STRUC_PUB.PROCESS_WBS_UPDATES_WRP
9911: ( p_calling_context => 'ASGMT_PLAN_CHANGE'

Line 9924: pa_debug.g_err_stage:='After Called process_wbs_updates_wrp:retSts['||x_return_status||']';

9920:
9921: END IF;
9922: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
9923: IF l_debug_mode = 'Y' THEN
9924: pa_debug.g_err_stage:='After Called process_wbs_updates_wrp:retSts['||x_return_status||']';
9925: print_msg(pa_debug.g_err_stage,l_module_name);
9926: END IF;
9927:
9928: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;

Line 9925: print_msg(pa_debug.g_err_stage,l_module_name);

9921: END IF;
9922: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
9923: IF l_debug_mode = 'Y' THEN
9924: pa_debug.g_err_stage:='After Called process_wbs_updates_wrp:retSts['||x_return_status||']';
9925: print_msg(pa_debug.g_err_stage,l_module_name);
9926: END IF;
9927:
9928: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
9929: END IF;

Line 9933: pa_debug.g_err_stage:='Exiting delete_planning_transactions';

9929: END IF;
9930: --End bug 4492493
9931:
9932: IF l_debug_mode = 'Y' THEN
9933: pa_debug.g_err_stage:='Exiting delete_planning_transactions';
9934: print_msg(pa_debug.g_err_stage,l_module_name);
9935: -- reset curr function
9936: pa_debug.reset_curr_function;
9937: END IF;

Line 9934: print_msg(pa_debug.g_err_stage,l_module_name);

9930: --End bug 4492493
9931:
9932: IF l_debug_mode = 'Y' THEN
9933: pa_debug.g_err_stage:='Exiting delete_planning_transactions';
9934: print_msg(pa_debug.g_err_stage,l_module_name);
9935: -- reset curr function
9936: pa_debug.reset_curr_function;
9937: END IF;
9938: EXCEPTION

Line 9936: pa_debug.reset_curr_function;

9932: IF l_debug_mode = 'Y' THEN
9933: pa_debug.g_err_stage:='Exiting delete_planning_transactions';
9934: print_msg(pa_debug.g_err_stage,l_module_name);
9935: -- reset curr function
9936: pa_debug.reset_curr_function;
9937: END IF;
9938: EXCEPTION
9939:
9940: WHEN PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc THEN

Line 9960: pa_debug.g_err_stage:='Invalid Arguments Passed Or called api raised an error';

9956:
9957: x_return_status := FND_API.G_RET_STS_ERROR;
9958:
9959: IF l_debug_mode = 'Y' THEN
9960: pa_debug.g_err_stage:='Invalid Arguments Passed Or called api raised an error';
9961: print_msg(pa_debug.g_err_stage,l_module_name);
9962: -- reset curr function
9963: pa_debug.reset_curr_function;
9964: END IF;

Line 9961: print_msg(pa_debug.g_err_stage,l_module_name);

9957: x_return_status := FND_API.G_RET_STS_ERROR;
9958:
9959: IF l_debug_mode = 'Y' THEN
9960: pa_debug.g_err_stage:='Invalid Arguments Passed Or called api raised an error';
9961: print_msg(pa_debug.g_err_stage,l_module_name);
9962: -- reset curr function
9963: pa_debug.reset_curr_function;
9964: END IF;
9965: RETURN;

Line 9963: pa_debug.reset_curr_function;

9959: IF l_debug_mode = 'Y' THEN
9960: pa_debug.g_err_stage:='Invalid Arguments Passed Or called api raised an error';
9961: print_msg(pa_debug.g_err_stage,l_module_name);
9962: -- reset curr function
9963: pa_debug.reset_curr_function;
9964: END IF;
9965: RETURN;
9966: WHEN OTHERS THEN
9967: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 9975: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;

9971: FND_MSG_PUB.add_exc_msg( p_pkg_name => 'pa_fp_planning_transaction_pub'
9972: ,p_procedure_name => 'delete_planning_transactions');
9973:
9974: IF l_debug_mode = 'Y' THEN
9975: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;
9976: print_msg(pa_debug.g_err_stage,l_module_name);
9977: -- reset curr function
9978: pa_debug.Reset_Curr_Function();
9979: END IF;

Line 9976: print_msg(pa_debug.g_err_stage,l_module_name);

9972: ,p_procedure_name => 'delete_planning_transactions');
9973:
9974: IF l_debug_mode = 'Y' THEN
9975: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;
9976: print_msg(pa_debug.g_err_stage,l_module_name);
9977: -- reset curr function
9978: pa_debug.Reset_Curr_Function();
9979: END IF;
9980: RAISE;

Line 9978: pa_debug.Reset_Curr_Function();

9974: IF l_debug_mode = 'Y' THEN
9975: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;
9976: print_msg(pa_debug.g_err_stage,l_module_name);
9977: -- reset curr function
9978: pa_debug.Reset_Curr_Function();
9979: END IF;
9980: RAISE;
9981: END delete_planning_transactions;
9982:

Line 10026: fnd_profile.get('PA_DEBUG_MODE',l_debug_mode);

10022: l_plan_in_multi_curr_flag pa_proj_fp_options.plan_in_multi_curr_flag%TYPE;
10023: l_src_fp_option_id pa_proj_fp_options.proj_fp_options_id%TYPE;
10024: BEGIN
10025:
10026: fnd_profile.get('PA_DEBUG_MODE',l_debug_mode);
10027: l_debug_mode := NVL(l_debug_mode, 'N');
10028: x_msg_count := 0;
10029: x_return_status := FND_API.G_RET_STS_SUCCESS;
10030: IF l_debug_mode = 'Y' THEN

Line 10031: PA_DEBUG.Set_Curr_Function( p_function => 'PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type',

10027: l_debug_mode := NVL(l_debug_mode, 'N');
10028: x_msg_count := 0;
10029: x_return_status := FND_API.G_RET_STS_SUCCESS;
10030: IF l_debug_mode = 'Y' THEN
10031: PA_DEBUG.Set_Curr_Function( p_function => 'PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type',
10032: p_debug_mode => l_debug_mode );
10033: END IF;
10034: ---------------------------------------------------------------
10035: -- validating input parameter p_project_id.

Line 10039: pa_debug.g_err_stage:='Validating input parameters';

10035: -- validating input parameter p_project_id.
10036: -- p_project_id cannot be passed as null.
10037: ---------------------------------------------------------------
10038: IF l_debug_mode = 'Y' THEN
10039: pa_debug.g_err_stage:='Validating input parameters';
10040: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,3);
10041: END IF;
10042:
10043: IF (p_src_project_id IS NULL) OR

Line 10040: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,3);

10036: -- p_project_id cannot be passed as null.
10037: ---------------------------------------------------------------
10038: IF l_debug_mode = 'Y' THEN
10039: pa_debug.g_err_stage:='Validating input parameters';
10040: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,3);
10041: END IF;
10042:
10043: IF (p_src_project_id IS NULL) OR
10044: (p_targ_project_id IS NULL) THEN

Line 10046: pa_debug.g_err_stage:='Invalid Arguments Passed - src and targ Project Ids are null';

10042:
10043: IF (p_src_project_id IS NULL) OR
10044: (p_targ_project_id IS NULL) THEN
10045: IF l_debug_mode = 'Y' THEN
10046: pa_debug.g_err_stage:='Invalid Arguments Passed - src and targ Project Ids are null';
10047: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,5);
10048: END IF;
10049: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
10050: p_msg_name => 'PA_FP_INV_PARAM_PASSED');

Line 10047: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,5);

10043: IF (p_src_project_id IS NULL) OR
10044: (p_targ_project_id IS NULL) THEN
10045: IF l_debug_mode = 'Y' THEN
10046: pa_debug.g_err_stage:='Invalid Arguments Passed - src and targ Project Ids are null';
10047: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,5);
10048: END IF;
10049: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
10050: p_msg_name => 'PA_FP_INV_PARAM_PASSED');
10051: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;

Line 10060: pa_debug.g_err_stage:='checking availability of a wp type';

10056: -- enable_wp_flag = 'Y'
10057: ---------------------------------------------------------------
10058:
10059: IF l_debug_mode = 'Y' THEN
10060: pa_debug.g_err_stage:='checking availability of a wp type';
10061: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,3);
10062: END IF;
10063:
10064: ---------------------------------------------------------

Line 10061: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,3);

10057: ---------------------------------------------------------------
10058:
10059: IF l_debug_mode = 'Y' THEN
10060: pa_debug.g_err_stage:='checking availability of a wp type';
10061: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,3);
10062: END IF;
10063:
10064: ---------------------------------------------------------
10065: -- In case of no data found, the exception handling block

Line 10079: pa_debug.g_err_stage :='No WORK PLAN TYPE present in the system';

10075: EXCEPTION
10076:
10077: WHEN NO_DATA_FOUND THEN
10078: IF l_debug_mode = 'Y' THEN
10079: pa_debug.g_err_stage :='No WORK PLAN TYPE present in the system';
10080: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,1);
10081: END IF;
10082:
10083: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',

Line 10080: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,1);

10076:
10077: WHEN NO_DATA_FOUND THEN
10078: IF l_debug_mode = 'Y' THEN
10079: pa_debug.g_err_stage :='No WORK PLAN TYPE present in the system';
10080: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,1);
10081: END IF;
10082:
10083: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
10084: p_msg_name => 'PA_FP_NO_WP_PLAN_TYPE' );

Line 10094: pa_debug.g_err_stage:='checking if wp type is already attched for project id';

10090: -- Checking if workplan_type is already attched for the
10091: -- passed project_id
10092: ---------------------------------------------------------
10093: IF l_debug_mode = 'Y' THEN
10094: pa_debug.g_err_stage:='checking if wp type is already attched for project id';
10095: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,3);
10096: END IF;
10097:
10098: BEGIN -- BLOCK to check if workplan_type is already attched for the passed project_id - Starts

Line 10095: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,3);

10091: -- passed project_id
10092: ---------------------------------------------------------
10093: IF l_debug_mode = 'Y' THEN
10094: pa_debug.g_err_stage:='checking if wp type is already attched for project id';
10095: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,3);
10096: END IF;
10097:
10098: BEGIN -- BLOCK to check if workplan_type is already attched for the passed project_id - Starts
10099:

Line 10125: pa_debug.g_err_stage:='Getting the fp option id for the wp plan type of the source project ';

10121:
10122: IF l_proj_wp_type_exists = 0 THEN
10123:
10124: IF l_debug_mode = 'Y' THEN
10125: pa_debug.g_err_stage:='Getting the fp option id for the wp plan type of the source project ';
10126: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,3);
10127: END IF;
10128:
10129: IF p_src_project_id <> p_targ_project_id THEN

Line 10126: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,3);

10122: IF l_proj_wp_type_exists = 0 THEN
10123:
10124: IF l_debug_mode = 'Y' THEN
10125: pa_debug.g_err_stage:='Getting the fp option id for the wp plan type of the source project ';
10126: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,3);
10127: END IF;
10128:
10129: IF p_src_project_id <> p_targ_project_id THEN
10130:

Line 10148: pa_debug.g_err_stage:='Calling API pa_proj_fp_options_pub.create_fp_option';

10144: END IF;
10145:
10146:
10147: IF l_debug_mode = 'Y' THEN
10148: pa_debug.g_err_stage:='Calling API pa_proj_fp_options_pub.create_fp_option';
10149: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,3);
10150: END IF;
10151:
10152: IF l_debug_mode = 'Y' THEN

Line 10149: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,3);

10145:
10146:
10147: IF l_debug_mode = 'Y' THEN
10148: pa_debug.g_err_stage:='Calling API pa_proj_fp_options_pub.create_fp_option';
10149: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,3);
10150: END IF;
10151:
10152: IF l_debug_mode = 'Y' THEN
10153: pa_debug.g_err_stage:='The source fp option id is '||l_src_fp_option_id;

Line 10153: pa_debug.g_err_stage:='The source fp option id is '||l_src_fp_option_id;

10149: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,3);
10150: END IF;
10151:
10152: IF l_debug_mode = 'Y' THEN
10153: pa_debug.g_err_stage:='The source fp option id is '||l_src_fp_option_id;
10154: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,3);
10155: END IF;
10156:
10157:

Line 10154: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,3);

10150: END IF;
10151:
10152: IF l_debug_mode = 'Y' THEN
10153: pa_debug.g_err_stage:='The source fp option id is '||l_src_fp_option_id;
10154: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,3);
10155: END IF;
10156:
10157:
10158: pa_proj_fp_options_pub.Create_FP_Option (

Line 10172: pa_debug.g_err_stage:='Called API pa_proj_fp_options_pub.Create_FP_Option returned error';

10168: ,x_msg_data => l_msg_data);
10169:
10170: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
10171: IF l_debug_mode = 'Y' THEN
10172: pa_debug.g_err_stage:='Called API pa_proj_fp_options_pub.Create_FP_Option returned error';
10173: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,5);
10174: END IF;
10175: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
10176: END IF;

Line 10173: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,5);

10169:
10170: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
10171: IF l_debug_mode = 'Y' THEN
10172: pa_debug.g_err_stage:='Called API pa_proj_fp_options_pub.Create_FP_Option returned error';
10173: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,5);
10174: END IF;
10175: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
10176: END IF;
10177:

Line 10184: pa_debug.g_err_stage:='Calling API pa_fp_txn_currencies_pub.Copy_Fp_Txn_Currencies';

10180: FROM pa_proj_fp_options
10181: WHERE proj_fp_options_id = l_proj_fp_options_id;
10182:
10183: IF l_debug_mode = 'Y' THEN
10184: pa_debug.g_err_stage:='Calling API pa_fp_txn_currencies_pub.Copy_Fp_Txn_Currencies';
10185: pa_debug.write('Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,3);
10186: END IF;
10187:
10188: PA_FP_TXN_CURRENCIES_PUB.COPY_FP_TXN_CURRENCIES (

Line 10185: pa_debug.write('Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,3);

10181: WHERE proj_fp_options_id = l_proj_fp_options_id;
10182:
10183: IF l_debug_mode = 'Y' THEN
10184: pa_debug.g_err_stage:='Calling API pa_fp_txn_currencies_pub.Copy_Fp_Txn_Currencies';
10185: pa_debug.write('Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,3);
10186: END IF;
10187:
10188: PA_FP_TXN_CURRENCIES_PUB.COPY_FP_TXN_CURRENCIES (
10189: p_source_fp_option_id => l_src_fp_option_id

Line 10199: pa_debug.g_err_stage:='Called API PA_FP_TXN_CURRENCIES_PUB.COPY_FP_TXN_CURRENCIES returned error';

10195: ,x_msg_data => l_msg_data );
10196:
10197: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
10198: IF l_debug_mode = 'Y' THEN
10199: pa_debug.g_err_stage:='Called API PA_FP_TXN_CURRENCIES_PUB.COPY_FP_TXN_CURRENCIES returned error';
10200: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,5);
10201: END IF;
10202: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
10203: END IF;

Line 10200: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,5);

10196:
10197: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
10198: IF l_debug_mode = 'Y' THEN
10199: pa_debug.g_err_stage:='Called API PA_FP_TXN_CURRENCIES_PUB.COPY_FP_TXN_CURRENCIES returned error';
10200: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,5);
10201: END IF;
10202: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
10203: END IF;
10204:

Line 10207: pa_debug.reset_curr_function;

10203: END IF;
10204:
10205: END IF;
10206: IF l_debug_mode = 'Y' THEN
10207: pa_debug.reset_curr_function;
10208: END IF;
10209:
10210: EXCEPTION
10211:

Line 10229: pa_debug.reset_curr_function;

10225: x_msg_count := l_msg_count;
10226: END IF;
10227: x_return_status := FND_API.G_RET_STS_ERROR;
10228: IF l_debug_mode = 'Y' THEN
10229: pa_debug.reset_curr_function;
10230: END IF;
10231: WHEN OTHERS THEN
10232: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
10233: x_msg_count := 1;

Line 10239: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;

10235: FND_MSG_PUB.add_exc_msg( p_pkg_name => 'PA_FP_PLANNING_TRANSACTION_PUB'
10236: ,p_procedure_name => 'PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type');
10237:
10238: IF l_debug_mode = 'Y' THEN
10239: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;
10240: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,5);
10241: pa_debug.reset_curr_function;
10242: END IF;
10243: RAISE;

Line 10240: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,5);

10236: ,p_procedure_name => 'PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type');
10237:
10238: IF l_debug_mode = 'Y' THEN
10239: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;
10240: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,5);
10241: pa_debug.reset_curr_function;
10242: END IF;
10243: RAISE;
10244:

Line 10241: pa_debug.reset_curr_function;

10237:
10238: IF l_debug_mode = 'Y' THEN
10239: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;
10240: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Add_wp_plan_type: ' || g_module_name,pa_debug.g_err_stage,5);
10241: pa_debug.reset_curr_function;
10242: END IF;
10243: RAISE;
10244:
10245: END add_wp_plan_type;

Line 10331: fnd_profile.get('PA_DEBUG_MODE',l_debug_mode);

10327: AND resource_class_code in (PA_FP_CONSTANTS_PKG.G_RESOURCE_CLASS_CODE_PPL);
10328:
10329: BEGIN
10330:
10331: fnd_profile.get('PA_DEBUG_MODE',l_debug_mode);
10332: l_debug_mode := NVL(l_debug_mode, 'N');
10333: x_msg_count := 0;
10334: x_return_status := FND_API.G_RET_STS_SUCCESS;
10335: IF l_debug_mode = 'Y' THEN

Line 10336: PA_DEBUG.Set_Curr_Function( p_function => 'fp_planning_txn_pub.chk_and_create_task',

10332: l_debug_mode := NVL(l_debug_mode, 'N');
10333: x_msg_count := 0;
10334: x_return_status := FND_API.G_RET_STS_SUCCESS;
10335: IF l_debug_mode = 'Y' THEN
10336: PA_DEBUG.Set_Curr_Function( p_function => 'fp_planning_txn_pub.chk_and_create_task',
10337: p_debug_mode => l_debug_mode );
10338: END IF;
10339: -----------------------------------------------------------------------
10340: -- Input Parameter Validation. If no element version id is passed then

Line 10347: pa_debug.g_err_stage:='Extending the local pl/sql tbls';

10343: l_elem_ver_id_cnt := p_element_version_id_tbl.COUNT;
10344:
10345: --Extending the local pl/sql tables. The length of the local tables should be element version id count
10346: IF l_debug_mode = 'Y' THEN
10347: pa_debug.g_err_stage:='Extending the local pl/sql tbls';
10348: print_msg(pa_debug.g_err_stage,l_module_name);
10349: END IF;
10350: x_element_version_id_tbl := SYSTEM.PA_NUM_TBL_TYPE();
10351: x_planning_start_date_tbl := SYSTEM.PA_DATE_TBL_TYPE();

Line 10348: print_msg(pa_debug.g_err_stage,l_module_name);

10344:
10345: --Extending the local pl/sql tables. The length of the local tables should be element version id count
10346: IF l_debug_mode = 'Y' THEN
10347: pa_debug.g_err_stage:='Extending the local pl/sql tbls';
10348: print_msg(pa_debug.g_err_stage,l_module_name);
10349: END IF;
10350: x_element_version_id_tbl := SYSTEM.PA_NUM_TBL_TYPE();
10351: x_planning_start_date_tbl := SYSTEM.PA_DATE_TBL_TYPE();
10352: x_planning_end_date_tbl := SYSTEM.PA_DATE_TBL_TYPE();

Line 10373: pa_debug.g_err_stage:='Validating input parameters - No element version id is passed - return to calling entity';

10369: x_burdened_cost_tbl.extend(l_elem_ver_id_cnt);
10370:
10371: IF l_elem_ver_id_cnt = 0 THEN
10372: IF l_debug_mode = 'Y' THEN
10373: pa_debug.g_err_stage:='Validating input parameters - No element version id is passed - return to calling entity';
10374: print_msg(pa_debug.g_err_stage,l_module_name);
10375: pa_debug.reset_curr_function;
10376: END IF;
10377: RETURN;

Line 10374: print_msg(pa_debug.g_err_stage,l_module_name);

10370:
10371: IF l_elem_ver_id_cnt = 0 THEN
10372: IF l_debug_mode = 'Y' THEN
10373: pa_debug.g_err_stage:='Validating input parameters - No element version id is passed - return to calling entity';
10374: print_msg(pa_debug.g_err_stage,l_module_name);
10375: pa_debug.reset_curr_function;
10376: END IF;
10377: RETURN;
10378: END IF;

Line 10375: pa_debug.reset_curr_function;

10371: IF l_elem_ver_id_cnt = 0 THEN
10372: IF l_debug_mode = 'Y' THEN
10373: pa_debug.g_err_stage:='Validating input parameters - No element version id is passed - return to calling entity';
10374: print_msg(pa_debug.g_err_stage,l_module_name);
10375: pa_debug.reset_curr_function;
10376: END IF;
10377: RETURN;
10378: END IF;
10379:

Line 10405: pa_debug.g_err_stage:='Iterating through the IN Parameters and Populating the Out parameters.';

10401: --------------------------------------------------------------------------
10402:
10403:
10404: IF l_debug_mode = 'Y' THEN
10405: pa_debug.g_err_stage:='Iterating through the IN Parameters and Populating the Out parameters.';
10406: print_msg(pa_debug.g_err_stage,l_module_name);
10407: END IF;
10408:
10409: /* Loop through all element version ids and retrieve ra_id and res_class_code */

Line 10406: print_msg(pa_debug.g_err_stage,l_module_name);

10402:
10403:
10404: IF l_debug_mode = 'Y' THEN
10405: pa_debug.g_err_stage:='Iterating through the IN Parameters and Populating the Out parameters.';
10406: print_msg(pa_debug.g_err_stage,l_module_name);
10407: END IF;
10408:
10409: /* Loop through all element version ids and retrieve ra_id and res_class_code */
10410: FOR i IN p_element_version_id_tbl.FIRST .. p_element_version_id_tbl.LAST LOOP

Line 10519: pa_debug.g_err_stage:='Making a copy of the pl/sql tables which should be returned by this API';

10515: END LOOP;
10516:
10517: --Prepare the pl/sql tbls that should be returned from the API
10518: IF l_debug_mode = 'Y' THEN
10519: pa_debug.g_err_stage:='Making a copy of the pl/sql tables which should be returned by this API';
10520: print_msg(pa_debug.g_err_stage,l_module_name);
10521: END IF;
10522:
10523:

Line 10520: print_msg(pa_debug.g_err_stage,l_module_name);

10516:
10517: --Prepare the pl/sql tbls that should be returned from the API
10518: IF l_debug_mode = 'Y' THEN
10519: pa_debug.g_err_stage:='Making a copy of the pl/sql tables which should be returned by this API';
10520: print_msg(pa_debug.g_err_stage,l_module_name);
10521: END IF;
10522:
10523:
10524: l_element_version_id_tbl_tmp.extend(l_out_tbl_index-1);

Line 10554: pa_debug.g_err_stage:='Making a copy of the pl/sql tables which should be used in calling add plan txn api';

10550: x_burdened_cost_tbl :=l_burdened_cost_tbl_tmp ;
10551:
10552: --Prepare the pl/sql tbls that should be passed to add planning txn APIs
10553: IF l_debug_mode = 'Y' THEN
10554: pa_debug.g_err_stage:='Making a copy of the pl/sql tables which should be used in calling add plan txn api';
10555: print_msg(pa_debug.g_err_stage,l_module_name);
10556: END IF;
10557:
10558: l_element_version_id_tbl_tmp.DELETE;

Line 10555: print_msg(pa_debug.g_err_stage,l_module_name);

10551:
10552: --Prepare the pl/sql tbls that should be passed to add planning txn APIs
10553: IF l_debug_mode = 'Y' THEN
10554: pa_debug.g_err_stage:='Making a copy of the pl/sql tables which should be used in calling add plan txn api';
10555: print_msg(pa_debug.g_err_stage,l_module_name);
10556: END IF;
10557:
10558: l_element_version_id_tbl_tmp.DELETE;
10559: l_planning_start_date_tbl_tmp.DELETE;

Line 10592: pa_debug.g_err_stage:='Calling add_planning_transactions API if index of param tables if greater than 1, l_add_tbl_index:.' || l_add_tbl_index;

10588: l_planned_people_effort_tbl:=l_planned_ppl_effort_tbl_tmp ;
10589: l_raw_cost_tbl :=l_raw_cost_tbl_tmp ;
10590: l_burdened_cost_tbl :=l_burdened_cost_tbl_tmp ;
10591: IF l_debug_mode = 'Y' THEN
10592: pa_debug.g_err_stage:='Calling add_planning_transactions API if index of param tables if greater than 1, l_add_tbl_index:.' || l_add_tbl_index;
10593: print_msg(pa_debug.g_err_stage,l_module_name);
10594: END IF;
10595:
10596:

Line 10593: print_msg(pa_debug.g_err_stage,l_module_name);

10589: l_raw_cost_tbl :=l_raw_cost_tbl_tmp ;
10590: l_burdened_cost_tbl :=l_burdened_cost_tbl_tmp ;
10591: IF l_debug_mode = 'Y' THEN
10592: pa_debug.g_err_stage:='Calling add_planning_transactions API if index of param tables if greater than 1, l_add_tbl_index:.' || l_add_tbl_index;
10593: print_msg(pa_debug.g_err_stage,l_module_name);
10594: END IF;
10595:
10596:
10597: IF l_add_tbl_index > 1 THEN

Line 10629: pa_debug.g_err_stage:='Called API PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions ,api returned error';

10625: );
10626:
10627: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
10628: IF l_debug_mode = 'Y' THEN
10629: pa_debug.g_err_stage:='Called API PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions ,api returned error';
10630: pa_debug.write( l_module_name,pa_debug.g_err_stage,5);
10631: END IF;
10632: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
10633: END IF;

Line 10630: pa_debug.write( l_module_name,pa_debug.g_err_stage,5);

10626:
10627: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
10628: IF l_debug_mode = 'Y' THEN
10629: pa_debug.g_err_stage:='Called API PA_FP_PLANNING_TRANSACTION_PUB.add_planning_transactions ,api returned error';
10630: pa_debug.write( l_module_name,pa_debug.g_err_stage,5);
10631: END IF;
10632: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
10633: END IF;
10634:

Line 10638: pa_debug.reset_curr_function;

10634:
10635: END IF;
10636:
10637: IF l_debug_mode = 'Y' THEN
10638: pa_debug.reset_curr_function;
10639: END IF;
10640: EXCEPTION
10641: WHEN PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc THEN
10642: l_msg_count := FND_MSG_PUB.count_msg;

Line 10658: pa_debug.reset_curr_function;

10654: x_msg_count := l_msg_count;
10655: END IF;
10656: x_return_status := FND_API.G_RET_STS_ERROR;
10657: IF l_debug_mode = 'Y' THEN
10658: pa_debug.reset_curr_function;
10659: END IF;
10660: WHEN OTHERS THEN
10661: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
10662: x_msg_count := 1;

Line 10668: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;

10664: FND_MSG_PUB.add_exc_msg( p_pkg_name => 'PA_FP_PLANNING_TRANSACTION_PUB'
10665: ,p_procedure_name => 'check_and_create_task_rec_info');
10666:
10667: IF l_debug_mode = 'Y' THEN
10668: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;
10669: pa_debug.write( l_module_name,pa_debug.g_err_stage,5);
10670: pa_debug.reset_curr_function;
10671: END IF;
10672: RAISE;

Line 10669: pa_debug.write( l_module_name,pa_debug.g_err_stage,5);

10665: ,p_procedure_name => 'check_and_create_task_rec_info');
10666:
10667: IF l_debug_mode = 'Y' THEN
10668: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;
10669: pa_debug.write( l_module_name,pa_debug.g_err_stage,5);
10670: pa_debug.reset_curr_function;
10671: END IF;
10672: RAISE;
10673:

Line 10670: pa_debug.reset_curr_function;

10666:
10667: IF l_debug_mode = 'Y' THEN
10668: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;
10669: pa_debug.write( l_module_name,pa_debug.g_err_stage,5);
10670: pa_debug.reset_curr_function;
10671: END IF;
10672: RAISE;
10673:
10674: END check_and_create_task_rec_info;

Line 10770: fnd_profile.get('PA_DEBUG_MODE',l_debug_mode);

10766:
10767: x_msg_count := 0;
10768: x_return_status := FND_API.G_RET_STS_SUCCESS;
10769:
10770: fnd_profile.get('PA_DEBUG_MODE',l_debug_mode);
10771: l_debug_mode := NVL(l_debug_mode, 'Y');
10772:
10773: -- Set curr function
10774: IF l_debug_mode = 'Y' THEN

Line 10775: PA_DEBUG.set_curr_function(

10771: l_debug_mode := NVL(l_debug_mode, 'Y');
10772:
10773: -- Set curr function
10774: IF l_debug_mode = 'Y' THEN
10775: PA_DEBUG.set_curr_function(
10776: p_function =>'PA_FP_PLANNING_TRANSACTION_PUB.Refresh_Plan_Txns'
10777: ,p_debug_mode => l_debug_mode );
10778: END IF;
10779: -- Check for business rules violations

Line 10782: pa_debug.g_err_stage:='Validating input parameters';

10778: END IF;
10779: -- Check for business rules violations
10780:
10781: IF l_debug_mode = 'Y' THEN
10782: pa_debug.g_err_stage:='Validating input parameters';
10783: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);
10784: END IF;
10785:
10786: IF (p_budget_version_id IS NULL)

Line 10783: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);

10779: -- Check for business rules violations
10780:
10781: IF l_debug_mode = 'Y' THEN
10782: pa_debug.g_err_stage:='Validating input parameters';
10783: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);
10784: END IF;
10785:
10786: IF (p_budget_version_id IS NULL)
10787: THEN

Line 10790: pa_debug.g_err_stage:='p_budget_version_id = '|| p_budget_version_id;

10786: IF (p_budget_version_id IS NULL)
10787: THEN
10788:
10789: IF l_debug_mode = 'Y' THEN
10790: pa_debug.g_err_stage:='p_budget_version_id = '|| p_budget_version_id;
10791: pa_debug.write('Refresh_Plan_Txns: ' ||g_module_name,pa_debug.g_err_stage,5);
10792: END IF;
10793:
10794: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',

Line 10791: pa_debug.write('Refresh_Plan_Txns: ' ||g_module_name,pa_debug.g_err_stage,5);

10787: THEN
10788:
10789: IF l_debug_mode = 'Y' THEN
10790: pa_debug.g_err_stage:='p_budget_version_id = '|| p_budget_version_id;
10791: pa_debug.write('Refresh_Plan_Txns: ' ||g_module_name,pa_debug.g_err_stage,5);
10792: END IF;
10793:
10794: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
10795: p_msg_name => 'PA_FP_INV_PARAM_PASSED');

Line 10810: pa_debug.g_err_stage:='No change required, Exiting Refresh_Plan_Txns';

10806: nvl(p_time_phase_change_flag, 'N') = 'N' AND
10807: nvl(p_rev_der_method_change,'N') = 'N' --Bug 5462471
10808: THEN
10809: IF l_debug_mode = 'Y' THEN
10810: pa_debug.g_err_stage:='No change required, Exiting Refresh_Plan_Txns';
10811: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);
10812: -- reset curr function
10813: pa_debug.Reset_Curr_Function();
10814: END IF;

Line 10811: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);

10807: nvl(p_rev_der_method_change,'N') = 'N' --Bug 5462471
10808: THEN
10809: IF l_debug_mode = 'Y' THEN
10810: pa_debug.g_err_stage:='No change required, Exiting Refresh_Plan_Txns';
10811: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);
10812: -- reset curr function
10813: pa_debug.Reset_Curr_Function();
10814: END IF;
10815: RETURN;

Line 10813: pa_debug.Reset_Curr_Function();

10809: IF l_debug_mode = 'Y' THEN
10810: pa_debug.g_err_stage:='No change required, Exiting Refresh_Plan_Txns';
10811: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);
10812: -- reset curr function
10813: pa_debug.Reset_Curr_Function();
10814: END IF;
10815: RETURN;
10816: END IF;
10817:

Line 10855: pa_debug.g_err_stage:='Called API pa_fp_gen_amount_utils.get_plan_version_dtls returned error';

10851:
10852: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
10853:
10854: IF l_debug_mode = 'Y' THEN
10855: pa_debug.g_err_stage:='Called API pa_fp_gen_amount_utils.get_plan_version_dtls returned error';
10856: pa_debug.WRITE('pa_fp_planning_transaction_pub.Refresh_Plan_Txns',pa_debug.g_err_stage, 3);
10857: END IF;
10858: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
10859: END IF;

Line 10856: pa_debug.WRITE('pa_fp_planning_transaction_pub.Refresh_Plan_Txns',pa_debug.g_err_stage, 3);

10852: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
10853:
10854: IF l_debug_mode = 'Y' THEN
10855: pa_debug.g_err_stage:='Called API pa_fp_gen_amount_utils.get_plan_version_dtls returned error';
10856: pa_debug.WRITE('pa_fp_planning_transaction_pub.Refresh_Plan_Txns',pa_debug.g_err_stage, 3);
10857: END IF;
10858: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
10859: END IF;
10860:

Line 10890: pa_debug.g_err_stage:='Called API pa_res_asg_currency_pub.maintain_data returned error';

10886:
10887: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
10888:
10889: IF l_debug_mode = 'Y' THEN
10890: pa_debug.g_err_stage:='Called API pa_res_asg_currency_pub.maintain_data returned error';
10891: pa_debug.WRITE('pa_fp_planning_transaction_pub.Refresh_Plan_Txns',pa_debug.g_err_stage, 3);
10892: END IF;
10893: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
10894: END IF;

Line 10891: pa_debug.WRITE('pa_fp_planning_transaction_pub.Refresh_Plan_Txns',pa_debug.g_err_stage, 3);

10887: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
10888:
10889: IF l_debug_mode = 'Y' THEN
10890: pa_debug.g_err_stage:='Called API pa_res_asg_currency_pub.maintain_data returned error';
10891: pa_debug.WRITE('pa_fp_planning_transaction_pub.Refresh_Plan_Txns',pa_debug.g_err_stage, 3);
10892: END IF;
10893: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
10894: END IF;
10895:

Line 10905: pa_debug.g_err_stage:='Deleting all the resource assignment records for the version';

10901: nvl(p_rev_der_method_change,'N') = 'Y' THEN --Bug 5462471
10902: -- Delete all the planning transactions for the version.
10903:
10904: IF l_debug_mode = 'Y' THEN
10905: pa_debug.g_err_stage:='Deleting all the resource assignment records for the version';
10906: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);
10907: END IF;
10908:
10909: DELETE

Line 10906: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);

10902: -- Delete all the planning transactions for the version.
10903:
10904: IF l_debug_mode = 'Y' THEN
10905: pa_debug.g_err_stage:='Deleting all the resource assignment records for the version';
10906: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);
10907: END IF;
10908:
10909: DELETE
10910: FROM pa_resource_assignments

Line 10941: pa_debug.g_err_stage:='Called API pa_fp_gen_amount_utils.get_plan_version_dtls returned error';

10937:
10938: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
10939:
10940: IF l_debug_mode = 'Y' THEN
10941: pa_debug.g_err_stage:='Called API pa_fp_gen_amount_utils.get_plan_version_dtls returned error';
10942: pa_debug.WRITE('pa_fp_planning_transaction_pub.Refresh_Plan_Txns',pa_debug.g_err_stage, 3);
10943: END IF;
10944: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
10945: END IF;

Line 10942: pa_debug.WRITE('pa_fp_planning_transaction_pub.Refresh_Plan_Txns',pa_debug.g_err_stage, 3);

10938: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
10939:
10940: IF l_debug_mode = 'Y' THEN
10941: pa_debug.g_err_stage:='Called API pa_fp_gen_amount_utils.get_plan_version_dtls returned error';
10942: pa_debug.WRITE('pa_fp_planning_transaction_pub.Refresh_Plan_Txns',pa_debug.g_err_stage, 3);
10943: END IF;
10944: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
10945: END IF;
10946:

Line 10965: pa_debug.g_err_stage:='Called API pa_res_asg_currency_pub.maintain_data returned error';

10961:
10962: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
10963:
10964: IF l_debug_mode = 'Y' THEN
10965: pa_debug.g_err_stage:='Called API pa_res_asg_currency_pub.maintain_data returned error';
10966: pa_debug.WRITE('pa_fp_planning_transaction_pub.Refresh_Plan_Txns',pa_debug.g_err_stage, 3);
10967: END IF;
10968: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
10969: END IF;

Line 10966: pa_debug.WRITE('pa_fp_planning_transaction_pub.Refresh_Plan_Txns',pa_debug.g_err_stage, 3);

10962: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
10963:
10964: IF l_debug_mode = 'Y' THEN
10965: pa_debug.g_err_stage:='Called API pa_res_asg_currency_pub.maintain_data returned error';
10966: pa_debug.WRITE('pa_fp_planning_transaction_pub.Refresh_Plan_Txns',pa_debug.g_err_stage, 3);
10967: END IF;
10968: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
10969: END IF;
10970:

Line 10978: pa_debug.g_err_stage:='Fetching uncategorized flag when planning level changes';

10974: -- bug 4724017: Checking for categorized resource list to avoid
10975: -- calling create_default_task_plan_txns, not to create default
10976: -- planning txns for categorized RLs, when planning level changes.
10977: IF l_debug_mode = 'Y' THEN
10978: pa_debug.g_err_stage:='Fetching uncategorized flag when planning level changes';
10979: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);
10980: END IF;
10981: BEGIN
10982: SELECT nvl(uncategorized_flag,'N')

Line 10979: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);

10975: -- calling create_default_task_plan_txns, not to create default
10976: -- planning txns for categorized RLs, when planning level changes.
10977: IF l_debug_mode = 'Y' THEN
10978: pa_debug.g_err_stage:='Fetching uncategorized flag when planning level changes';
10979: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);
10980: END IF;
10981: BEGIN
10982: SELECT nvl(uncategorized_flag,'N')
10983: INTO l_res_list_uncategorized_flag

Line 10988: pa_debug.g_err_stage:='l_res_list_uncategorized_flag: ' || l_res_list_uncategorized_flag;

10984: FROM pa_resource_lists_all_bg
10985: WHERE resource_list_id = budget_version_info_rec.resource_list_id;
10986:
10987: IF l_debug_mode = 'Y' THEN
10988: pa_debug.g_err_stage:='l_res_list_uncategorized_flag: ' || l_res_list_uncategorized_flag;
10989: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);
10990: END IF;
10991: EXCEPTION
10992: WHEN NO_DATA_FOUND THEN

Line 10989: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);

10985: WHERE resource_list_id = budget_version_info_rec.resource_list_id;
10986:
10987: IF l_debug_mode = 'Y' THEN
10988: pa_debug.g_err_stage:='l_res_list_uncategorized_flag: ' || l_res_list_uncategorized_flag;
10989: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);
10990: END IF;
10991: EXCEPTION
10992: WHEN NO_DATA_FOUND THEN
10993: IF l_debug_mode = 'Y' THEN

Line 10994: pa_debug.g_err_stage:='No uncategorized flag found for the resource list id passed';

10990: END IF;
10991: EXCEPTION
10992: WHEN NO_DATA_FOUND THEN
10993: IF l_debug_mode = 'Y' THEN
10994: pa_debug.g_err_stage:='No uncategorized flag found for the resource list id passed';
10995: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);
10996: END IF;
10997: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
10998: END;

Line 10995: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);

10991: EXCEPTION
10992: WHEN NO_DATA_FOUND THEN
10993: IF l_debug_mode = 'Y' THEN
10994: pa_debug.g_err_stage:='No uncategorized flag found for the resource list id passed';
10995: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);
10996: END IF;
10997: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
10998: END;
10999:

Line 11007: pa_debug.g_err_stage:='Calling pa_fp_planning_transaction_pub.create_default_task_plan_txns';

11003: IF l_res_list_uncategorized_flag = 'Y' THEN
11004: -- Insert default task planning trasaction for the version
11005:
11006: IF l_debug_mode = 'Y' THEN
11007: pa_debug.g_err_stage:='Calling pa_fp_planning_transaction_pub.create_default_task_plan_txns';
11008: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);
11009: END IF;
11010:
11011: pa_fp_planning_transaction_pub.create_default_task_plan_txns (

Line 11008: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);

11004: -- Insert default task planning trasaction for the version
11005:
11006: IF l_debug_mode = 'Y' THEN
11007: pa_debug.g_err_stage:='Calling pa_fp_planning_transaction_pub.create_default_task_plan_txns';
11008: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);
11009: END IF;
11010:
11011: pa_fp_planning_transaction_pub.create_default_task_plan_txns (
11012: p_budget_version_id => p_budget_version_id

Line 11068: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Get_Res_Class_Rlm_Ids api returned error';

11064: ,x_msg_data => l_msg_data);
11065:
11066: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
11067: IF l_debug_mode = 'Y' THEN
11068: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Get_Res_Class_Rlm_Ids api returned error';
11069: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
11070: END IF;
11071: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
11072: END IF;

Line 11069: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);

11065:
11066: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
11067: IF l_debug_mode = 'Y' THEN
11068: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Get_Res_Class_Rlm_Ids api returned error';
11069: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
11070: END IF;
11071: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
11072: END IF;
11073:

Line 11076: pa_debug.g_err_stage:='Updaing res assignments with new FINANCIAL ELEMENTS rlmid : ' || l_fin_res_class_rlm_id;

11072: END IF;
11073:
11074: -- Update all the task planning elements with new FINACIAL ELEMENT rlmid
11075: IF l_debug_mode = 'Y' THEN
11076: pa_debug.g_err_stage:='Updaing res assignments with new FINANCIAL ELEMENTS rlmid : ' || l_fin_res_class_rlm_id;
11077: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);
11078: END IF;
11079:
11080: UPDATE pa_resource_assignments

Line 11077: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);

11073:
11074: -- Update all the task planning elements with new FINACIAL ELEMENT rlmid
11075: IF l_debug_mode = 'Y' THEN
11076: pa_debug.g_err_stage:='Updaing res assignments with new FINANCIAL ELEMENTS rlmid : ' || l_fin_res_class_rlm_id;
11077: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);
11078: END IF;
11079:
11080: UPDATE pa_resource_assignments
11081: SET resource_list_member_id = l_fin_res_class_rlm_id

Line 11101: pa_debug.g_err_stage:='Called API pa_fp_gen_amount_utils.get_plan_version_dtls returned error';

11097:
11098: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
11099:
11100: IF l_debug_mode = 'Y' THEN
11101: pa_debug.g_err_stage:='Called API pa_fp_gen_amount_utils.get_plan_version_dtls returned error';
11102: pa_debug.WRITE('pa_fp_planning_transaction_pub.Refresh_Plan_Txns',pa_debug.g_err_stage, 3);
11103: END IF;
11104: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
11105: END IF;

Line 11102: pa_debug.WRITE('pa_fp_planning_transaction_pub.Refresh_Plan_Txns',pa_debug.g_err_stage, 3);

11098: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
11099:
11100: IF l_debug_mode = 'Y' THEN
11101: pa_debug.g_err_stage:='Called API pa_fp_gen_amount_utils.get_plan_version_dtls returned error';
11102: pa_debug.WRITE('pa_fp_planning_transaction_pub.Refresh_Plan_Txns',pa_debug.g_err_stage, 3);
11103: END IF;
11104: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
11105: END IF;
11106:

Line 11125: pa_debug.g_err_stage:='Called API pa_res_asg_currency_pub.maintain_data returned error';

11121:
11122: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
11123:
11124: IF l_debug_mode = 'Y' THEN
11125: pa_debug.g_err_stage:='Called API pa_res_asg_currency_pub.maintain_data returned error';
11126: pa_debug.WRITE('pa_fp_planning_transaction_pub.Refresh_Plan_Txns',pa_debug.g_err_stage, 3);
11127: END IF;
11128: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
11129: END IF;

Line 11126: pa_debug.WRITE('pa_fp_planning_transaction_pub.Refresh_Plan_Txns',pa_debug.g_err_stage, 3);

11122: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
11123:
11124: IF l_debug_mode = 'Y' THEN
11125: pa_debug.g_err_stage:='Called API pa_res_asg_currency_pub.maintain_data returned error';
11126: pa_debug.WRITE('pa_fp_planning_transaction_pub.Refresh_Plan_Txns',pa_debug.g_err_stage, 3);
11127: END IF;
11128: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
11129: END IF;
11130: END IF; --} IF l_delete_ra_id_tbl.COUNT > 0 THEN

Line 11145: pa_debug.g_err_stage:='Called API PA_FP_ROLLUP_PKG.rollup_budget_version returned error';

11141: ,x_msg_data => l_msg_data);
11142:
11143: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
11144: IF l_debug_mode = 'Y' THEN
11145: pa_debug.g_err_stage:='Called API PA_FP_ROLLUP_PKG.rollup_budget_version returned error';
11146: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
11147: END IF;
11148: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
11149: END IF;

Line 11146: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);

11142:
11143: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
11144: IF l_debug_mode = 'Y' THEN
11145: pa_debug.g_err_stage:='Called API PA_FP_ROLLUP_PKG.rollup_budget_version returned error';
11146: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
11147: END IF;
11148: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
11149: END IF;
11150: END IF;

Line 11170: pa_debug.g_err_stage:='Called API Refresh_rbs_for_versions returned error';

11166: ,x_msg_data => l_msg_data);
11167:
11168: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
11169: IF l_debug_mode = 'Y' THEN
11170: pa_debug.g_err_stage:='Called API Refresh_rbs_for_versions returned error';
11171: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
11172: END IF;
11173: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
11174: END IF;

Line 11171: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);

11167:
11168: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
11169: IF l_debug_mode = 'Y' THEN
11170: pa_debug.g_err_stage:='Called API Refresh_rbs_for_versions returned error';
11171: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
11172: END IF;
11173: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
11174: END IF;
11175: END IF;

Line 11190: pa_debug.g_err_stage:='Calling PJI_FM_XBS_ACCUM_MAINT.PLAN_DELETE';

11186: -- populating the l_budget_version_id_tbl with p_budget_version_id
11187: l_budget_version_id_tbl := SYSTEM.pa_num_tbl_type(p_budget_version_id);
11188:
11189: IF l_debug_mode = 'Y' THEN
11190: pa_debug.g_err_stage:='Calling PJI_FM_XBS_ACCUM_MAINT.PLAN_DELETE';
11191: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);
11192: END IF;
11193:
11194: -- Call PJI delete api first to delete existing summarization data

Line 11191: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);

11187: l_budget_version_id_tbl := SYSTEM.pa_num_tbl_type(p_budget_version_id);
11188:
11189: IF l_debug_mode = 'Y' THEN
11190: pa_debug.g_err_stage:='Calling PJI_FM_XBS_ACCUM_MAINT.PLAN_DELETE';
11191: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);
11192: END IF;
11193:
11194: -- Call PJI delete api first to delete existing summarization data
11195: PJI_FM_XBS_ACCUM_MAINT.PLAN_DELETE (

Line 11207: pa_debug.g_err_stage:='Call complete to PJI_FM_XBS_ACCUM_MAINT.PLAN_DELETE';

11203: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
11204: END IF;
11205:
11206: IF l_debug_mode = 'Y' THEN
11207: pa_debug.g_err_stage:='Call complete to PJI_FM_XBS_ACCUM_MAINT.PLAN_DELETE';
11208: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);
11209: END IF;
11210:
11211: IF l_debug_mode = 'Y' THEN

Line 11208: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);

11204: END IF;
11205:
11206: IF l_debug_mode = 'Y' THEN
11207: pa_debug.g_err_stage:='Call complete to PJI_FM_XBS_ACCUM_MAINT.PLAN_DELETE';
11208: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);
11209: END IF;
11210:
11211: IF l_debug_mode = 'Y' THEN
11212: pa_debug.g_err_stage:='Calling PJI_FM_XBS_ACCUM_MAINT.PLAN_CREATE';

Line 11212: pa_debug.g_err_stage:='Calling PJI_FM_XBS_ACCUM_MAINT.PLAN_CREATE';

11208: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);
11209: END IF;
11210:
11211: IF l_debug_mode = 'Y' THEN
11212: pa_debug.g_err_stage:='Calling PJI_FM_XBS_ACCUM_MAINT.PLAN_CREATE';
11213: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);
11214: END IF;
11215:
11216: -- Call PLAN_CREATE to create summarization data as per the new RBS

Line 11213: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);

11209: END IF;
11210:
11211: IF l_debug_mode = 'Y' THEN
11212: pa_debug.g_err_stage:='Calling PJI_FM_XBS_ACCUM_MAINT.PLAN_CREATE';
11213: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);
11214: END IF;
11215:
11216: -- Call PLAN_CREATE to create summarization data as per the new RBS
11217: PJI_FM_XBS_ACCUM_MAINT.PLAN_CREATE (

Line 11229: pa_debug.g_err_stage:='Call complete to PJI_FM_XBS_ACCUM_MAINT.PLAN_CREATE';

11225: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
11226: END IF;
11227:
11228: IF l_debug_mode = 'Y' THEN
11229: pa_debug.g_err_stage:='Call complete to PJI_FM_XBS_ACCUM_MAINT.PLAN_CREATE';
11230: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);
11231: END IF;
11232:
11233: END IF;

Line 11230: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);

11226: END IF;
11227:
11228: IF l_debug_mode = 'Y' THEN
11229: pa_debug.g_err_stage:='Call complete to PJI_FM_XBS_ACCUM_MAINT.PLAN_CREATE';
11230: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);
11231: END IF;
11232:
11233: END IF;
11234:

Line 11236: pa_debug.g_err_stage:='Exiting Refresh_Plan_Txns';

11232:
11233: END IF;
11234:
11235: IF l_debug_mode = 'Y' THEN
11236: pa_debug.g_err_stage:='Exiting Refresh_Plan_Txns';
11237: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);
11238: -- reset curr function
11239: pa_debug.Reset_Curr_Function();
11240: END IF;

Line 11237: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);

11233: END IF;
11234:
11235: IF l_debug_mode = 'Y' THEN
11236: pa_debug.g_err_stage:='Exiting Refresh_Plan_Txns';
11237: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);
11238: -- reset curr function
11239: pa_debug.Reset_Curr_Function();
11240: END IF;
11241:

Line 11239: pa_debug.Reset_Curr_Function();

11235: IF l_debug_mode = 'Y' THEN
11236: pa_debug.g_err_stage:='Exiting Refresh_Plan_Txns';
11237: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,3);
11238: -- reset curr function
11239: pa_debug.Reset_Curr_Function();
11240: END IF;
11241:
11242: EXCEPTION
11243:

Line 11264: pa_debug.g_err_stage:='Invalid Arguments Passed Or called api raised an error';

11260:
11261: x_return_status := FND_API.G_RET_STS_ERROR;
11262:
11263: IF l_debug_mode = 'Y' THEN
11264: pa_debug.g_err_stage:='Invalid Arguments Passed Or called api raised an error';
11265: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
11266: -- reset curr function
11267: pa_debug.Reset_Curr_Function();
11268: END IF;

Line 11265: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);

11261: x_return_status := FND_API.G_RET_STS_ERROR;
11262:
11263: IF l_debug_mode = 'Y' THEN
11264: pa_debug.g_err_stage:='Invalid Arguments Passed Or called api raised an error';
11265: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
11266: -- reset curr function
11267: pa_debug.Reset_Curr_Function();
11268: END IF;
11269:

Line 11267: pa_debug.Reset_Curr_Function();

11263: IF l_debug_mode = 'Y' THEN
11264: pa_debug.g_err_stage:='Invalid Arguments Passed Or called api raised an error';
11265: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
11266: -- reset curr function
11267: pa_debug.Reset_Curr_Function();
11268: END IF;
11269:
11270: RETURN;
11271: WHEN Others THEN

Line 11280: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;

11276: FND_MSG_PUB.add_exc_msg( p_pkg_name => 'PA_FP_PLANNING_TRANSACTION_PUB'
11277: ,p_procedure_name => 'Refresh_Plan_Txns');
11278:
11279: IF l_debug_mode = 'Y' THEN
11280: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;
11281: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
11282: -- reset curr function
11283: pa_debug.Reset_Curr_Function();
11284: END IF;

Line 11281: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);

11277: ,p_procedure_name => 'Refresh_Plan_Txns');
11278:
11279: IF l_debug_mode = 'Y' THEN
11280: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;
11281: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
11282: -- reset curr function
11283: pa_debug.Reset_Curr_Function();
11284: END IF;
11285: RAISE;

Line 11283: pa_debug.Reset_Curr_Function();

11279: IF l_debug_mode = 'Y' THEN
11280: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;
11281: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
11282: -- reset curr function
11283: pa_debug.Reset_Curr_Function();
11284: END IF;
11285: RAISE;
11286: END Refresh_Plan_Txns;
11287:

Line 11395: fnd_profile.get('PA_DEBUG_MODE',l_debug_mode);

11391: l_plan_class_code pa_fin_plan_types_b.plan_class_code%TYPE;
11392:
11393: BEGIN
11394: FND_MSG_PUB.initialize;
11395: fnd_profile.get('PA_DEBUG_MODE',l_debug_mode);
11396: l_debug_mode := NVL(l_debug_mode, 'Y');
11397: IF l_debug_mode = 'Y' THEN
11398: pa_debug.set_curr_function( p_function => 'Create_Default_Task_Plan_Txns',
11399: p_debug_mode => l_debug_mode );

Line 11398: pa_debug.set_curr_function( p_function => 'Create_Default_Task_Plan_Txns',

11394: FND_MSG_PUB.initialize;
11395: fnd_profile.get('PA_DEBUG_MODE',l_debug_mode);
11396: l_debug_mode := NVL(l_debug_mode, 'Y');
11397: IF l_debug_mode = 'Y' THEN
11398: pa_debug.set_curr_function( p_function => 'Create_Default_Task_Plan_Txns',
11399: p_debug_mode => l_debug_mode );
11400: END IF;
11401: x_msg_count := 0;
11402: x_return_status := FND_API.G_RET_STS_SUCCESS;

Line 11408: pa_debug.g_err_stage:='Validating input parameters';

11404:
11405: -- Check for business rules violations
11406:
11407: IF l_debug_mode = 'Y' THEN
11408: pa_debug.g_err_stage:='Validating input parameters';
11409: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,3);
11410: END IF;
11411:
11412: -- Check if budget version id is null

Line 11409: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,3);

11405: -- Check for business rules violations
11406:
11407: IF l_debug_mode = 'Y' THEN
11408: pa_debug.g_err_stage:='Validating input parameters';
11409: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,3);
11410: END IF;
11411:
11412: -- Check if budget version id is null
11413:

Line 11420: pa_debug.g_err_stage:='P_budget_version_id = '||P_budget_version_id;

11416: (nvl(p_add_all_resources_flag,'x') NOT IN ('Y','N'))
11417: THEN
11418:
11419: IF l_debug_mode = 'Y' THEN
11420: pa_debug.g_err_stage:='P_budget_version_id = '||P_budget_version_id;
11421: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,5);
11422: END IF;
11423:
11424: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',

Line 11421: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,5);

11417: THEN
11418:
11419: IF l_debug_mode = 'Y' THEN
11420: pa_debug.g_err_stage:='P_budget_version_id = '||P_budget_version_id;
11421: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,5);
11422: END IF;
11423:
11424: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
11425: p_msg_name => 'PA_FP_INV_PARAM_PASSED');

Line 11428: pa_debug.g_err_stage:='Invalid Arguments Passed';

11424: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
11425: p_msg_name => 'PA_FP_INV_PARAM_PASSED');
11426:
11427: IF l_debug_mode = 'Y' THEN
11428: pa_debug.g_err_stage:='Invalid Arguments Passed';
11429: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,5);
11430: END IF;
11431: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
11432:

Line 11429: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,5);

11425: p_msg_name => 'PA_FP_INV_PARAM_PASSED');
11426:
11427: IF l_debug_mode = 'Y' THEN
11428: pa_debug.g_err_stage:='Invalid Arguments Passed';
11429: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,5);
11430: END IF;
11431: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
11432:
11433: END IF;

Line 11438: pa_debug.g_err_stage:='Fetching budget version properties';

11434:
11435: --Fetch budget version values
11436:
11437: IF l_debug_mode = 'Y' THEN
11438: pa_debug.g_err_stage:='Fetching budget version properties';
11439: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,3);
11440: END IF;
11441:
11442: OPEN version_info_cur(P_budget_version_id);

Line 11439: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,3);

11435: --Fetch budget version values
11436:
11437: IF l_debug_mode = 'Y' THEN
11438: pa_debug.g_err_stage:='Fetching budget version properties';
11439: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,3);
11440: END IF;
11441:
11442: OPEN version_info_cur(P_budget_version_id);
11443: FETCH version_info_cur INTO version_info_rec;

Line 11462: pa_debug.g_err_stage:='Error while fetching start and completion dates for the project';

11458: WHERE project_id = version_info_rec.project_id;
11459: EXCEPTION
11460: WHEN OTHERS THEN
11461: IF l_debug_mode = 'Y' THEN
11462: pa_debug.g_err_stage:='Error while fetching start and completion dates for the project';
11463: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,3);
11464: END IF;
11465: RAISE;
11466: END;

Line 11463: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,3);

11459: EXCEPTION
11460: WHEN OTHERS THEN
11461: IF l_debug_mode = 'Y' THEN
11462: pa_debug.g_err_stage:='Error while fetching start and completion dates for the project';
11463: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,3);
11464: END IF;
11465: RAISE;
11466: END;
11467:

Line 11483: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Get_Res_Class_Rlm_Ids api returned error';

11479: --hr_utility.trace('G_BUDGET_ENTRY_LEVEL_LOWEST -> rlmids'|| l_people_res_class_rlm_id || 'x' || l_equip_res_class_rlm_id || 'x' || l_fin_res_class_rlm_id || 'x' || l_mat_res_class_rlm_id);
11480:
11481: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
11482: IF l_debug_mode = 'Y' THEN
11483: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Get_Res_Class_Rlm_Ids api returned error';
11484: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,5);
11485: END IF;
11486: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
11487: END IF;

Line 11484: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,5);

11480:
11481: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
11482: IF l_debug_mode = 'Y' THEN
11483: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Get_Res_Class_Rlm_Ids api returned error';
11484: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,5);
11485: END IF;
11486: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
11487: END IF;
11488:

Line 11498: pa_debug.g_err_stage:='Error while fetching plan_class_code for the budget_version_id';

11494:
11495: EXCEPTION
11496: WHEN OTHERS THEN
11497: IF l_debug_mode = 'Y' THEN
11498: pa_debug.g_err_stage:='Error while fetching plan_class_code for the budget_version_id';
11499: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,5);
11500: END IF;
11501: RAISE;
11502: END;

Line 11499: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,5);

11495: EXCEPTION
11496: WHEN OTHERS THEN
11497: IF l_debug_mode = 'Y' THEN
11498: pa_debug.g_err_stage:='Error while fetching plan_class_code for the budget_version_id';
11499: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,5);
11500: END IF;
11501: RAISE;
11502: END;
11503:

Line 11532: pa_debug.g_err_stage:= 'Planning at project level: Inserting a record';

11528:
11529:
11530: IF version_info_rec.plan_level_code = PA_FP_CONSTANTS_PKG.G_BUDGET_ENTRY_LEVEL_PROJECT THEN
11531: IF l_debug_mode = 'Y' THEN
11532: pa_debug.g_err_stage:= 'Planning at project level: Inserting a record';
11533: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,3);
11534: END IF;
11535:
11536: l_element_version_id_tbl.extend(1);

Line 11533: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,3);

11529:
11530: IF version_info_rec.plan_level_code = PA_FP_CONSTANTS_PKG.G_BUDGET_ENTRY_LEVEL_PROJECT THEN
11531: IF l_debug_mode = 'Y' THEN
11532: pa_debug.g_err_stage:= 'Planning at project level: Inserting a record';
11533: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,3);
11534: END IF;
11535:
11536: l_element_version_id_tbl.extend(1);
11537: l_element_version_id_tbl(1):= 0;

Line 11553: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Get_Res_Class_Rlm_Ids api returned error';

11549: ,x_msg_data => l_msg_data );
11550:
11551: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
11552: IF l_debug_mode = 'Y' THEN
11553: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Get_Res_Class_Rlm_Ids api returned error';
11554: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,5);
11555: END IF;
11556: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
11557: END IF;

Line 11554: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,5);

11550:
11551: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
11552: IF l_debug_mode = 'Y' THEN
11553: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Get_Res_Class_Rlm_Ids api returned error';
11554: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,5);
11555: END IF;
11556: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
11557: END IF;
11558:

Line 11562: pa_debug.g_err_stage:= 'Planning at top task level: Opening cursor top_tasks_cur';

11558:
11559:
11560: ELSIF version_info_rec.plan_level_code = PA_FP_CONSTANTS_PKG.G_BUDGET_ENTRY_LEVEL_TOP THEN
11561: IF l_debug_mode = 'Y' THEN
11562: pa_debug.g_err_stage:= 'Planning at top task level: Opening cursor top_tasks_cur';
11563: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,3);
11564: END IF;
11565:
11566: OPEN top_tasks_cur( version_info_rec.project_id, version_info_rec.structure_version_id);

Line 11563: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,3);

11559:
11560: ELSIF version_info_rec.plan_level_code = PA_FP_CONSTANTS_PKG.G_BUDGET_ENTRY_LEVEL_TOP THEN
11561: IF l_debug_mode = 'Y' THEN
11562: pa_debug.g_err_stage:= 'Planning at top task level: Opening cursor top_tasks_cur';
11563: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,3);
11564: END IF;
11565:
11566: OPEN top_tasks_cur( version_info_rec.project_id, version_info_rec.structure_version_id);
11567:

Line 11569: pa_debug.g_err_stage:= 'Fetching cursor values for top tasks and doing bulk insert';

11565:
11566: OPEN top_tasks_cur( version_info_rec.project_id, version_info_rec.structure_version_id);
11567:
11568: IF l_debug_mode = 'Y' THEN
11569: pa_debug.g_err_stage:= 'Fetching cursor values for top tasks and doing bulk insert';
11570: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,3);
11571: END IF;
11572:
11573: LOOP

Line 11570: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,3);

11566: OPEN top_tasks_cur( version_info_rec.project_id, version_info_rec.structure_version_id);
11567:
11568: IF l_debug_mode = 'Y' THEN
11569: pa_debug.g_err_stage:= 'Fetching cursor values for top tasks and doing bulk insert';
11570: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,3);
11571: END IF;
11572:
11573: LOOP
11574: FETCH top_tasks_cur BULK COLLECT INTO l_element_version_id_tbl LIMIT l_max_fetch_size;

Line 11592: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Get_Res_Class_Rlm_Ids api returned error';

11588: END IF;
11589:
11590: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
11591: IF l_debug_mode = 'Y' THEN
11592: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Get_Res_Class_Rlm_Ids api returned error';
11593: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,5);
11594: END IF;
11595: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
11596: END IF;

Line 11593: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,5);

11589:
11590: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
11591: IF l_debug_mode = 'Y' THEN
11592: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Get_Res_Class_Rlm_Ids api returned error';
11593: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,5);
11594: END IF;
11595: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
11596: END IF;
11597: -- Exit if fetch size is less than 200

Line 11607: pa_debug.g_err_stage:= 'Planning at lowest task level: Opening cursor lowest_tasks_cur';

11603: ELSIF version_info_rec.plan_level_code = PA_FP_CONSTANTS_PKG.G_BUDGET_ENTRY_LEVEL_LOWEST THEN
11604: --hr_utility.trace('G_BUDGET_ENTRY_LEVEL_LOWEST -> '||PA_FP_CONSTANTS_PKG.G_BUDGET_ENTRY_LEVEL_LOWEST);
11605:
11606: IF l_debug_mode = 'Y' THEN
11607: pa_debug.g_err_stage:= 'Planning at lowest task level: Opening cursor lowest_tasks_cur';
11608: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,3);
11609: END IF;
11610:
11611: OPEN lowest_tasks_cur( version_info_rec.structure_version_id);

Line 11608: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,3);

11604: --hr_utility.trace('G_BUDGET_ENTRY_LEVEL_LOWEST -> '||PA_FP_CONSTANTS_PKG.G_BUDGET_ENTRY_LEVEL_LOWEST);
11605:
11606: IF l_debug_mode = 'Y' THEN
11607: pa_debug.g_err_stage:= 'Planning at lowest task level: Opening cursor lowest_tasks_cur';
11608: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,3);
11609: END IF;
11610:
11611: OPEN lowest_tasks_cur( version_info_rec.structure_version_id);
11612:

Line 11614: pa_debug.g_err_stage:= 'Fetching cursor values for lowest tasks and doing bulk insert';

11610:
11611: OPEN lowest_tasks_cur( version_info_rec.structure_version_id);
11612:
11613: IF l_debug_mode = 'Y' THEN
11614: pa_debug.g_err_stage:= 'Fetching cursor values for lowest tasks and doing bulk insert';
11615: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,3);
11616: END IF;
11617:
11618:

Line 11615: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,3);

11611: OPEN lowest_tasks_cur( version_info_rec.structure_version_id);
11612:
11613: IF l_debug_mode = 'Y' THEN
11614: pa_debug.g_err_stage:= 'Fetching cursor values for lowest tasks and doing bulk insert';
11615: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,3);
11616: END IF;
11617:
11618:
11619:

Line 11638: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Get_Res_Class_Rlm_Ids api returned error';

11634: ,x_msg_data => l_msg_data );
11635:
11636: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
11637: IF l_debug_mode = 'Y' THEN
11638: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Get_Res_Class_Rlm_Ids api returned error';
11639: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,5);
11640: END IF;
11641: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
11642: END IF;

Line 11639: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,5);

11635:
11636: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
11637: IF l_debug_mode = 'Y' THEN
11638: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Get_Res_Class_Rlm_Ids api returned error';
11639: pa_debug.write('PA_FP_PLANNING_TRANSACTION_PUB.Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,5);
11640: END IF;
11641: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
11642: END IF;
11643: END IF;

Line 11652: pa_debug.g_err_stage:='Exiting Create_Default_Task_Plan_Txns:';

11648: CLOSE lowest_tasks_cur;
11649: END IF;
11650:
11651: IF l_debug_mode = 'Y' THEN
11652: pa_debug.g_err_stage:='Exiting Create_Default_Task_Plan_Txns:';
11653: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,3);
11654: --Reset the error stack
11655: pa_debug.reset_curr_function;
11656: END IF;

Line 11653: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,3);

11649: END IF;
11650:
11651: IF l_debug_mode = 'Y' THEN
11652: pa_debug.g_err_stage:='Exiting Create_Default_Task_Plan_Txns:';
11653: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,3);
11654: --Reset the error stack
11655: pa_debug.reset_curr_function;
11656: END IF;
11657: EXCEPTION

Line 11655: pa_debug.reset_curr_function;

11651: IF l_debug_mode = 'Y' THEN
11652: pa_debug.g_err_stage:='Exiting Create_Default_Task_Plan_Txns:';
11653: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,3);
11654: --Reset the error stack
11655: pa_debug.reset_curr_function;
11656: END IF;
11657: EXCEPTION
11658:
11659: WHEN PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc THEN

Line 11675: -- pa_debug.g_err_stage:='Invalid Arguments Passed';

11671: ELSE
11672: x_msg_count := l_msg_count;
11673: END IF;
11674: x_return_status := FND_API.G_RET_STS_ERROR;
11675: -- pa_debug.g_err_stage:='Invalid Arguments Passed';
11676: -- pa_debug.write(l_module_name,pa_debug.g_err_stage,5);
11677: IF l_debug_mode = 'Y' THEN
11678: pa_debug.reset_curr_function;
11679: END IF;

Line 11676: -- pa_debug.write(l_module_name,pa_debug.g_err_stage,5);

11672: x_msg_count := l_msg_count;
11673: END IF;
11674: x_return_status := FND_API.G_RET_STS_ERROR;
11675: -- pa_debug.g_err_stage:='Invalid Arguments Passed';
11676: -- pa_debug.write(l_module_name,pa_debug.g_err_stage,5);
11677: IF l_debug_mode = 'Y' THEN
11678: pa_debug.reset_curr_function;
11679: END IF;
11680: RETURN;

Line 11678: pa_debug.reset_curr_function;

11674: x_return_status := FND_API.G_RET_STS_ERROR;
11675: -- pa_debug.g_err_stage:='Invalid Arguments Passed';
11676: -- pa_debug.write(l_module_name,pa_debug.g_err_stage,5);
11677: IF l_debug_mode = 'Y' THEN
11678: pa_debug.reset_curr_function;
11679: END IF;
11680: RETURN;
11681:
11682: WHEN Others THEN

Line 11689: pa_debug.g_err_stage:='Unexpected Error ' || SQLERRM;

11685: x_msg_data := SQLERRM;
11686: FND_MSG_PUB.add_exc_msg( p_pkg_name => 'PA_FP_PLANNING_TRANSACTION_PUB'
11687: ,p_procedure_name => 'CREATE_DEFAULT_TASK_PLAN_TXNS');
11688: IF l_debug_mode = 'Y' THEN
11689: pa_debug.g_err_stage:='Unexpected Error ' || SQLERRM;
11690: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,5);
11691: pa_debug.reset_curr_function;
11692: END IF;
11693: RAISE;

Line 11690: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,5);

11686: FND_MSG_PUB.add_exc_msg( p_pkg_name => 'PA_FP_PLANNING_TRANSACTION_PUB'
11687: ,p_procedure_name => 'CREATE_DEFAULT_TASK_PLAN_TXNS');
11688: IF l_debug_mode = 'Y' THEN
11689: pa_debug.g_err_stage:='Unexpected Error ' || SQLERRM;
11690: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,5);
11691: pa_debug.reset_curr_function;
11692: END IF;
11693: RAISE;
11694:

Line 11691: pa_debug.reset_curr_function;

11687: ,p_procedure_name => 'CREATE_DEFAULT_TASK_PLAN_TXNS');
11688: IF l_debug_mode = 'Y' THEN
11689: pa_debug.g_err_stage:='Unexpected Error ' || SQLERRM;
11690: pa_debug.write('Create_Default_Task_Plan_Txns: ' || l_module_name,pa_debug.g_err_stage,5);
11691: pa_debug.reset_curr_function;
11692: END IF;
11693: RAISE;
11694:
11695: END Create_Default_Task_Plan_Txns;

Line 11883: fnd_profile.get('PA_DEBUG_MODE',l_debug_mode);

11879:
11880: x_msg_count := 0;
11881: x_return_status := FND_API.G_RET_STS_SUCCESS;
11882:
11883: fnd_profile.get('PA_DEBUG_MODE',l_debug_mode);
11884: l_debug_mode := NVL(l_debug_mode, 'Y');
11885:
11886: -- Set curr function
11887: IF l_debug_mode = 'Y' THEN

Line 11888: pa_debug.set_curr_function(

11884: l_debug_mode := NVL(l_debug_mode, 'Y');
11885:
11886: -- Set curr function
11887: IF l_debug_mode = 'Y' THEN
11888: pa_debug.set_curr_function(
11889: p_function =>'PA_FP_PLANNING_TRANSACTION_PUB.REFRESH_WP_SETTINGS'
11890: ,p_debug_mode => l_debug_mode );
11891: END IF;
11892: -- Check for business rules violations

Line 11894: pa_debug.g_err_stage:='Validating input parameters';

11890: ,p_debug_mode => l_debug_mode );
11891: END IF;
11892: -- Check for business rules violations
11893: IF l_debug_mode = 'Y' THEN
11894: pa_debug.g_err_stage:='Validating input parameters';
11895: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,3);
11896: END IF;
11897:
11898: IF (p_project_id IS NULL)

Line 11895: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,3);

11891: END IF;
11892: -- Check for business rules violations
11893: IF l_debug_mode = 'Y' THEN
11894: pa_debug.g_err_stage:='Validating input parameters';
11895: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,3);
11896: END IF;
11897:
11898: IF (p_project_id IS NULL)
11899: THEN

Line 11902: pa_debug.g_err_stage:='Project_id = '||p_project_id;

11898: IF (p_project_id IS NULL)
11899: THEN
11900:
11901: IF l_debug_mode = 'Y' THEN
11902: pa_debug.g_err_stage:='Project_id = '||p_project_id;
11903: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
11904: END IF;
11905:
11906: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',

Line 11903: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);

11899: THEN
11900:
11901: IF l_debug_mode = 'Y' THEN
11902: pa_debug.g_err_stage:='Project_id = '||p_project_id;
11903: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
11904: END IF;
11905:
11906: PA_UTILS.ADD_MESSAGE(p_app_short_name => 'PA',
11907: p_msg_name => 'PA_FP_INV_PARAM_PASSED');

Line 11919: pa_debug.g_err_stage:='getting plan type info';

11915: FETCH parent_plan_type_cur INTO parent_plan_type_rec;
11916: CLOSE parent_plan_type_cur;
11917:
11918: IF l_debug_mode = 'Y' THEN
11919: pa_debug.g_err_stage:='getting plan type info';
11920: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,3);
11921: END IF;
11922:
11923:

Line 11920: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,3);

11916: CLOSE parent_plan_type_cur;
11917:
11918: IF l_debug_mode = 'Y' THEN
11919: pa_debug.g_err_stage:='getting plan type info';
11920: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,3);
11921: END IF;
11922:
11923:
11924: -- Check if versioning is enabled for wp structure

Line 11935: pa_debug.g_err_stage:='getting woking versions';

11931: CLOSE working_workplan_versions_cur;
11932:
11933:
11934: IF l_debug_mode = 'Y' THEN
11935: pa_debug.g_err_stage:='getting woking versions';
11936: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,3);
11937: END IF;
11938:
11939:

Line 11936: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,3);

11932:
11933:
11934: IF l_debug_mode = 'Y' THEN
11935: pa_debug.g_err_stage:='getting woking versions';
11936: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,3);
11937: END IF;
11938:
11939:
11940: -- Adding for bug 4543744

Line 11949: pa_debug.g_err_stage:='About to insert negative lines';

11945: (nvl(PA_WORKPLAN_ATTR_UTILS.Check_Wp_Versioning_Enabled(p_project_id),'N') = 'N'
11946: OR nvl(PA_PROJECT_STRUCTURE_UTILS.check_sharing_enabled(p_project_id),'N') = 'Y')) THEN
11947:
11948: IF l_debug_mode = 'Y' THEN
11949: pa_debug.g_err_stage:='About to insert negative lines';
11950: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
11951: pa_debug.g_err_stage:='l_budget_version_id_tbl' || l_budget_version_id_tbl.count;
11952: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
11953:

Line 11950: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);

11946: OR nvl(PA_PROJECT_STRUCTURE_UTILS.check_sharing_enabled(p_project_id),'N') = 'Y')) THEN
11947:
11948: IF l_debug_mode = 'Y' THEN
11949: pa_debug.g_err_stage:='About to insert negative lines';
11950: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
11951: pa_debug.g_err_stage:='l_budget_version_id_tbl' || l_budget_version_id_tbl.count;
11952: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
11953:
11954: END IF;

Line 11951: pa_debug.g_err_stage:='l_budget_version_id_tbl' || l_budget_version_id_tbl.count;

11947:
11948: IF l_debug_mode = 'Y' THEN
11949: pa_debug.g_err_stage:='About to insert negative lines';
11950: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
11951: pa_debug.g_err_stage:='l_budget_version_id_tbl' || l_budget_version_id_tbl.count;
11952: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
11953:
11954: END IF;
11955:

Line 11952: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);

11948: IF l_debug_mode = 'Y' THEN
11949: pa_debug.g_err_stage:='About to insert negative lines';
11950: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
11951: pa_debug.g_err_stage:='l_budget_version_id_tbl' || l_budget_version_id_tbl.count;
11952: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
11953:
11954: END IF;
11955:
11956:

Line 11961: pa_debug.g_err_stage:='Calling call_update_rep_lines' || l_budget_version_id_tbl(i);

11957: FOR i IN l_budget_version_id_tbl.FIRST .. l_budget_version_id_tbl.LAST
11958: LOOP
11959:
11960: IF l_debug_mode = 'Y' THEN
11961: pa_debug.g_err_stage:='Calling call_update_rep_lines' || l_budget_version_id_tbl(i);
11962: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
11963: END IF;
11964:
11965: PA_PLANNING_TRANSACTION_UTILS.call_update_rep_lines_api

Line 11962: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);

11958: LOOP
11959:
11960: IF l_debug_mode = 'Y' THEN
11961: pa_debug.g_err_stage:='Calling call_update_rep_lines' || l_budget_version_id_tbl(i);
11962: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
11963: END IF;
11964:
11965: PA_PLANNING_TRANSACTION_UTILS.call_update_rep_lines_api
11966: --( p_source => 'POPULATE_PJI_TABLE' --Commented for bug 5073350.

Line 11977: pa_debug.g_err_stage:='PA_PLANNING_TRANSACTION_UTILS.call_update_rep_lines_api returned error';

11973:
11974: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
11975:
11976: IF l_debug_mode = 'Y' THEN
11977: pa_debug.g_err_stage:='PA_PLANNING_TRANSACTION_UTILS.call_update_rep_lines_api returned error';
11978: pa_debug.write( g_module_name,pa_debug.g_err_stage,5);
11979: END IF;
11980: RAISE PA_FP_CONSTANTS_PKG.INVALID_ARG_EXC;
11981: END IF;

Line 11978: pa_debug.write( g_module_name,pa_debug.g_err_stage,5);

11974: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
11975:
11976: IF l_debug_mode = 'Y' THEN
11977: pa_debug.g_err_stage:='PA_PLANNING_TRANSACTION_UTILS.call_update_rep_lines_api returned error';
11978: pa_debug.write( g_module_name,pa_debug.g_err_stage,5);
11979: END IF;
11980: RAISE PA_FP_CONSTANTS_PKG.INVALID_ARG_EXC;
11981: END IF;
11982:

Line 11988: pa_debug.g_err_stage:='inserted -ve lines';

11984:
11985: END IF; -- inserting negative rows
11986:
11987: IF l_debug_mode = 'Y' THEN
11988: pa_debug.g_err_stage:='inserted -ve lines';
11989: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,3);
11990: END IF;
11991:
11992:

Line 11989: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,3);

11985: END IF; -- inserting negative rows
11986:
11987: IF l_debug_mode = 'Y' THEN
11988: pa_debug.g_err_stage:='inserted -ve lines';
11989: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,3);
11990: END IF;
11991:
11992:
11993: IF nvl(p_resource_list_change, 'N') = 'Y' THEN

Line 12015: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Get_Res_Class_Rlm_Ids api returned error';

12011: ,x_msg_data => x_msg_data);
12012:
12013: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
12014: IF l_debug_mode = 'Y' THEN
12015: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Get_Res_Class_Rlm_Ids api returned error';
12016: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
12017: END IF;
12018: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
12019: END IF;

Line 12016: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);

12012:
12013: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
12014: IF l_debug_mode = 'Y' THEN
12015: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Get_Res_Class_Rlm_Ids api returned error';
12016: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
12017: END IF;
12018: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
12019: END IF;
12020:

Line 12147: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Get_Res_Class_Rlm_Ids api returned error';

12143: ,x_msg_data => x_msg_data);
12144:
12145: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
12146: IF l_debug_mode = 'Y' THEN
12147: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Get_Res_Class_Rlm_Ids api returned error';
12148: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
12149: END IF;
12150: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
12151: END IF;

Line 12148: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);

12144:
12145: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
12146: IF l_debug_mode = 'Y' THEN
12147: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Get_Res_Class_Rlm_Ids api returned error';
12148: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
12149: END IF;
12150: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
12151: END IF;
12152: END IF;

Line 12171: pa_debug.g_err_stage:='Called API PA_FP_TXN_CURRENCIES_PUB.copy_fp_txn_currencies api returned error';

12167: ,x_msg_data => x_msg_data );
12168:
12169: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
12170: IF l_debug_mode = 'Y' THEN
12171: pa_debug.g_err_stage:='Called API PA_FP_TXN_CURRENCIES_PUB.copy_fp_txn_currencies api returned error';
12172: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
12173: END IF;
12174: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
12175: END IF;

Line 12172: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);

12168:
12169: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
12170: IF l_debug_mode = 'Y' THEN
12171: pa_debug.g_err_stage:='Called API PA_FP_TXN_CURRENCIES_PUB.copy_fp_txn_currencies api returned error';
12172: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
12173: END IF;
12174: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
12175: END IF;
12176:

Line 12191: pa_debug.g_err_stage:='about to call delete palnning trans';

12187: ,l_res_assignment_id_tbl ;
12188: CLOSE data_for_delete_plan_txns_cur;
12189:
12190: IF l_debug_mode = 'Y' THEN
12191: pa_debug.g_err_stage:='about to call delete palnning trans';
12192: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,3);
12193: END IF;
12194:
12195: IF nvl(l_res_assignment_id_tbl.count,0) > 0 THEN

Line 12192: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,3);

12188: CLOSE data_for_delete_plan_txns_cur;
12189:
12190: IF l_debug_mode = 'Y' THEN
12191: pa_debug.g_err_stage:='about to call delete palnning trans';
12192: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,3);
12193: END IF;
12194:
12195: IF nvl(l_res_assignment_id_tbl.count,0) > 0 THEN
12196: -- If there is any data to be deleted call delete_planning_txns api

Line 12226: pa_debug.g_err_stage:='Updaing res assignments with new FINANCIAL ELEMENTS rlmid : ' || l_fin_res_class_rlm_id;

12222:
12223: IF nvl(p_resource_list_change, 'N') = 'Y' THEN
12224: -- Update all the task planning elements with new FINACIAL ELEMENT rlmid
12225: IF l_debug_mode = 'Y' THEN
12226: pa_debug.g_err_stage:='Updaing res assignments with new FINANCIAL ELEMENTS rlmid : ' || l_fin_res_class_rlm_id;
12227: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,3);
12228: END IF;
12229:
12230: UPDATE pa_resource_assignments

Line 12227: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,3);

12223: IF nvl(p_resource_list_change, 'N') = 'Y' THEN
12224: -- Update all the task planning elements with new FINACIAL ELEMENT rlmid
12225: IF l_debug_mode = 'Y' THEN
12226: pa_debug.g_err_stage:='Updaing res assignments with new FINANCIAL ELEMENTS rlmid : ' || l_fin_res_class_rlm_id;
12227: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,3);
12228: END IF;
12229:
12230: UPDATE pa_resource_assignments
12231: SET resource_list_member_id = l_people_res_class_rlm_id

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

12275: ,x_msg_data => x_msg_data);
12276:
12277: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
12278: IF l_debug_mode = 'Y' THEN
12279: pa_debug.g_err_stage:='Called API PA_FP_CALC_PLAN_PKG.calculate api returned error';
12280: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
12281: END IF;
12282: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
12283: END IF;

Line 12280: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);

12276:
12277: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
12278: IF l_debug_mode = 'Y' THEN
12279: pa_debug.g_err_stage:='Called API PA_FP_CALC_PLAN_PKG.calculate api returned error';
12280: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
12281: END IF;
12282: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
12283: END IF;
12284: END IF;

Line 12300: pa_debug.g_err_stage:='Called API PA_FP_ROLLUP_PKG.rollup_budget_version api returned error';

12296: ,x_msg_data => x_msg_data);
12297:
12298: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
12299: IF l_debug_mode = 'Y' THEN
12300: pa_debug.g_err_stage:='Called API PA_FP_ROLLUP_PKG.rollup_budget_version api returned error';
12301: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
12302: END IF;
12303: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
12304: END IF;

Line 12301: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);

12297:
12298: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
12299: IF l_debug_mode = 'Y' THEN
12300: pa_debug.g_err_stage:='Called API PA_FP_ROLLUP_PKG.rollup_budget_version api returned error';
12301: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
12302: END IF;
12303: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
12304: END IF;
12305: END IF;

Line 12333: pa_debug.g_err_stage:='rbs change Yes';

12329:
12330: -- Fetch all the working plan versions in a table
12331:
12332: IF l_debug_mode = 'Y' THEN
12333: pa_debug.g_err_stage:='rbs change Yes';
12334: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,3);
12335: END IF;
12336:
12337:

Line 12334: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,3);

12330: -- Fetch all the working plan versions in a table
12331:
12332: IF l_debug_mode = 'Y' THEN
12333: pa_debug.g_err_stage:='rbs change Yes';
12334: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,3);
12335: END IF;
12336:
12337:
12338: OPEN working_workplan_versions_cur;

Line 12382: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Map_Rlmi_Rbs api returned error';

12378:
12379: -- Check return status
12380: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
12381: IF l_debug_mode = 'Y' THEN
12382: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Map_Rlmi_Rbs api returned error';
12383: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
12384: END IF;
12385: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
12386: ELSE

Line 12383: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);

12379: -- Check return status
12380: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
12381: IF l_debug_mode = 'Y' THEN
12382: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Map_Rlmi_Rbs api returned error';
12383: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
12384: END IF;
12385: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
12386: ELSE
12387: -- Check count of the required out tables to be the same

Line 12392: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Map_Rlmi_Rbs api

12388: IF l_txn_source_id_tbl.count <> l_rbs_element_id_tbl.count OR
12389: l_txn_source_id_tbl.count <> l_txn_accum_header_id_tbl.count
12390: THEN
12391: IF l_debug_mode = 'Y' THEN
12392: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Map_Rlmi_Rbs api
12393: returned out tables with different count';
12394: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12395: pa_debug.g_err_stage:='l_txn_source_id_tbl.count = ' || l_txn_source_id_tbl.count;
12396: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);

Line 12394: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);

12390: THEN
12391: IF l_debug_mode = 'Y' THEN
12392: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Map_Rlmi_Rbs api
12393: returned out tables with different count';
12394: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12395: pa_debug.g_err_stage:='l_txn_source_id_tbl.count = ' || l_txn_source_id_tbl.count;
12396: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12397: pa_debug.g_err_stage:='l_rbs_element_id_tbl.count = ' || l_rbs_element_id_tbl.count;
12398: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);

Line 12395: pa_debug.g_err_stage:='l_txn_source_id_tbl.count = ' || l_txn_source_id_tbl.count;

12391: IF l_debug_mode = 'Y' THEN
12392: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Map_Rlmi_Rbs api
12393: returned out tables with different count';
12394: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12395: pa_debug.g_err_stage:='l_txn_source_id_tbl.count = ' || l_txn_source_id_tbl.count;
12396: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12397: pa_debug.g_err_stage:='l_rbs_element_id_tbl.count = ' || l_rbs_element_id_tbl.count;
12398: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12399: pa_debug.g_err_stage:=

Line 12396: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);

12392: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Map_Rlmi_Rbs api
12393: returned out tables with different count';
12394: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12395: pa_debug.g_err_stage:='l_txn_source_id_tbl.count = ' || l_txn_source_id_tbl.count;
12396: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12397: pa_debug.g_err_stage:='l_rbs_element_id_tbl.count = ' || l_rbs_element_id_tbl.count;
12398: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12399: pa_debug.g_err_stage:=
12400: 'l_txn_accum_header_id_tbl.count = ' || l_txn_accum_header_id_tbl.count;

Line 12397: pa_debug.g_err_stage:='l_rbs_element_id_tbl.count = ' || l_rbs_element_id_tbl.count;

12393: returned out tables with different count';
12394: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12395: pa_debug.g_err_stage:='l_txn_source_id_tbl.count = ' || l_txn_source_id_tbl.count;
12396: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12397: pa_debug.g_err_stage:='l_rbs_element_id_tbl.count = ' || l_rbs_element_id_tbl.count;
12398: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12399: pa_debug.g_err_stage:=
12400: 'l_txn_accum_header_id_tbl.count = ' || l_txn_accum_header_id_tbl.count;
12401: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);

Line 12398: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);

12394: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12395: pa_debug.g_err_stage:='l_txn_source_id_tbl.count = ' || l_txn_source_id_tbl.count;
12396: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12397: pa_debug.g_err_stage:='l_rbs_element_id_tbl.count = ' || l_rbs_element_id_tbl.count;
12398: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12399: pa_debug.g_err_stage:=
12400: 'l_txn_accum_header_id_tbl.count = ' || l_txn_accum_header_id_tbl.count;
12401: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12402: END IF;

Line 12399: pa_debug.g_err_stage:=

12395: pa_debug.g_err_stage:='l_txn_source_id_tbl.count = ' || l_txn_source_id_tbl.count;
12396: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12397: pa_debug.g_err_stage:='l_rbs_element_id_tbl.count = ' || l_rbs_element_id_tbl.count;
12398: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12399: pa_debug.g_err_stage:=
12400: 'l_txn_accum_header_id_tbl.count = ' || l_txn_accum_header_id_tbl.count;
12401: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12402: END IF;
12403: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;

Line 12401: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);

12397: pa_debug.g_err_stage:='l_rbs_element_id_tbl.count = ' || l_rbs_element_id_tbl.count;
12398: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12399: pa_debug.g_err_stage:=
12400: 'l_txn_accum_header_id_tbl.count = ' || l_txn_accum_header_id_tbl.count;
12401: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12402: END IF;
12403: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
12404: END IF;
12405: END IF;

Line 12435: pa_debug.g_err_stage:='Done with mapping';

12431: ,last_update_login = FND_GLOBAL.login_id
12432: WHERE budget_version_id = l_budget_version_id_tbl(i);
12433:
12434: IF l_debug_mode = 'Y' THEN
12435: pa_debug.g_err_stage:='Done with mapping';
12436: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,3);
12437: END IF;
12438:
12439:

Line 12436: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,3);

12432: WHERE budget_version_id = l_budget_version_id_tbl(i);
12433:
12434: IF l_debug_mode = 'Y' THEN
12435: pa_debug.g_err_stage:='Done with mapping';
12436: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,3);
12437: END IF;
12438:
12439:
12440: END IF;

Line 12459: pa_debug.g_err_stage:='About to insert positive values with new rbs element ids';

12455: OR nvl(p_track_costs_flag_change, 'N') = 'Y' OR ( nvl(p_rbs_version_change, 'N') = 'Y' AND
12456: (nvl(PA_WORKPLAN_ATTR_UTILS.Check_Wp_Versioning_Enabled(p_project_id),'N') = 'N'
12457: OR nvl(PA_PROJECT_STRUCTURE_UTILS.check_sharing_enabled(p_project_id),'N') = 'Y')) THEN
12458: IF l_debug_mode = 'Y' THEN
12459: pa_debug.g_err_stage:='About to insert positive values with new rbs element ids';
12460: pa_debug.write( g_module_name,pa_debug.g_err_stage,5);
12461: END IF;
12462:
12463:

Line 12460: pa_debug.write( g_module_name,pa_debug.g_err_stage,5);

12456: (nvl(PA_WORKPLAN_ATTR_UTILS.Check_Wp_Versioning_Enabled(p_project_id),'N') = 'N'
12457: OR nvl(PA_PROJECT_STRUCTURE_UTILS.check_sharing_enabled(p_project_id),'N') = 'Y')) THEN
12458: IF l_debug_mode = 'Y' THEN
12459: pa_debug.g_err_stage:='About to insert positive values with new rbs element ids';
12460: pa_debug.write( g_module_name,pa_debug.g_err_stage,5);
12461: END IF;
12462:
12463:
12464: FOR i IN l_budget_version_id_tbl.FIRST .. l_budget_version_id_tbl.LAST

Line 12477: pa_debug.g_err_stage:='PA_PLANNING_TRANSACTION_UTILS.call_update_rep_lines_api returned error';

12473: ,x_msg_count => x_msg_count);
12474:
12475: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
12476: IF l_debug_mode = 'Y' THEN
12477: pa_debug.g_err_stage:='PA_PLANNING_TRANSACTION_UTILS.call_update_rep_lines_api returned error';
12478: pa_debug.write( g_module_name,pa_debug.g_err_stage,5);
12479: END IF; RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
12480: END IF;
12481: END LOOP;

Line 12478: pa_debug.write( g_module_name,pa_debug.g_err_stage,5);

12474:
12475: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
12476: IF l_debug_mode = 'Y' THEN
12477: pa_debug.g_err_stage:='PA_PLANNING_TRANSACTION_UTILS.call_update_rep_lines_api returned error';
12478: pa_debug.write( g_module_name,pa_debug.g_err_stage,5);
12479: END IF; RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
12480: END IF;
12481: END LOOP;
12482:

Line 12504: pa_debug.g_err_stage:='Exiting REFRESH_WP_SETTINGS';

12500: End of commented code for bug 5073350*/
12501: END IF; -- inserting positive rows
12502:
12503: IF l_debug_mode = 'Y' THEN
12504: pa_debug.g_err_stage:='Exiting REFRESH_WP_SETTINGS';
12505: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,3);
12506: -- reset curr function
12507: pa_debug.reset_curr_function();
12508: END IF;

Line 12505: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,3);

12501: END IF; -- inserting positive rows
12502:
12503: IF l_debug_mode = 'Y' THEN
12504: pa_debug.g_err_stage:='Exiting REFRESH_WP_SETTINGS';
12505: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,3);
12506: -- reset curr function
12507: pa_debug.reset_curr_function();
12508: END IF;
12509:

Line 12507: pa_debug.reset_curr_function();

12503: IF l_debug_mode = 'Y' THEN
12504: pa_debug.g_err_stage:='Exiting REFRESH_WP_SETTINGS';
12505: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,3);
12506: -- reset curr function
12507: pa_debug.reset_curr_function();
12508: END IF;
12509:
12510: EXCEPTION
12511:

Line 12532: pa_debug.g_err_stage:='Invalid Arguments Passed Or called api raised an error';

12528:
12529: x_return_status := FND_API.G_RET_STS_ERROR;
12530:
12531: IF l_debug_mode = 'Y' THEN
12532: pa_debug.g_err_stage:='Invalid Arguments Passed Or called api raised an error';
12533: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
12534: -- reset curr function
12535: pa_debug.reset_curr_function();
12536: END IF;

Line 12533: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);

12529: x_return_status := FND_API.G_RET_STS_ERROR;
12530:
12531: IF l_debug_mode = 'Y' THEN
12532: pa_debug.g_err_stage:='Invalid Arguments Passed Or called api raised an error';
12533: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
12534: -- reset curr function
12535: pa_debug.reset_curr_function();
12536: END IF;
12537:

Line 12535: pa_debug.reset_curr_function();

12531: IF l_debug_mode = 'Y' THEN
12532: pa_debug.g_err_stage:='Invalid Arguments Passed Or called api raised an error';
12533: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
12534: -- reset curr function
12535: pa_debug.reset_curr_function();
12536: END IF;
12537:
12538: RETURN;
12539: WHEN Others THEN

Line 12548: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;

12544: FND_MSG_PUB.add_exc_msg( p_pkg_name => 'PA_FP_PLANNING_TRANSACTION_PUB'
12545: ,p_procedure_name => 'REFRESH_WP_SETTINGS');
12546:
12547: IF l_debug_mode = 'Y' THEN
12548: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;
12549: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
12550: -- reset curr function
12551: pa_debug.Reset_Curr_Function();
12552: END IF;

Line 12549: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);

12545: ,p_procedure_name => 'REFRESH_WP_SETTINGS');
12546:
12547: IF l_debug_mode = 'Y' THEN
12548: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;
12549: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
12550: -- reset curr function
12551: pa_debug.Reset_Curr_Function();
12552: END IF;
12553: RAISE;

Line 12551: pa_debug.Reset_Curr_Function();

12547: IF l_debug_mode = 'Y' THEN
12548: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;
12549: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
12550: -- reset curr function
12551: pa_debug.Reset_Curr_Function();
12552: END IF;
12553: RAISE;
12554: END REFRESH_WP_SETTINGS;
12555:

Line 12641: fnd_profile.get('PA_DEBUG_MODE',l_debug_mode);

12637:
12638: x_msg_count := 0;
12639: x_return_status := FND_API.G_RET_STS_SUCCESS;
12640:
12641: fnd_profile.get('PA_DEBUG_MODE',l_debug_mode);
12642: l_debug_mode := NVL(l_debug_mode, 'Y');
12643:
12644: -- Set curr function
12645: IF l_debug_mode = 'Y' THEN

Line 12646: pa_debug.set_curr_function(

12642: l_debug_mode := NVL(l_debug_mode, 'Y');
12643:
12644: -- Set curr function
12645: IF l_debug_mode = 'Y' THEN
12646: pa_debug.set_curr_function(
12647: p_function =>'PAFPPTPB.Refresh_rbs_for_versions'
12648: ,p_debug_mode => l_debug_mode );
12649: END IF;
12650: -- Check for business rules violations

Line 12652: pa_debug.g_err_stage:='Validating input parameters';

12648: ,p_debug_mode => l_debug_mode );
12649: END IF;
12650: -- Check for business rules violations
12651: IF l_debug_mode = 'Y' THEN
12652: pa_debug.g_err_stage:='Validating input parameters';
12653: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,3);
12654: END IF;
12655:
12656: IF (p_project_id IS NULL) OR

Line 12653: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,3);

12649: END IF;
12650: -- Check for business rules violations
12651: IF l_debug_mode = 'Y' THEN
12652: pa_debug.g_err_stage:='Validating input parameters';
12653: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,3);
12654: END IF;
12655:
12656: IF (p_project_id IS NULL) OR
12657: (p_fin_plan_type_id IS NULL) OR

Line 12662: pa_debug.g_err_stage:='Project_id = '||p_project_id;

12658: (p_calling_context = 'SINGLE_VERSION' AND p_budget_version_id IS NULL )
12659: THEN
12660:
12661: IF l_debug_mode = 'Y' THEN
12662: pa_debug.g_err_stage:='Project_id = '||p_project_id;
12663: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);
12664:
12665: pa_debug.g_err_stage:='Fin_plan_type_id = '||p_fin_plan_type_id;
12666: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);

Line 12663: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);

12659: THEN
12660:
12661: IF l_debug_mode = 'Y' THEN
12662: pa_debug.g_err_stage:='Project_id = '||p_project_id;
12663: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);
12664:
12665: pa_debug.g_err_stage:='Fin_plan_type_id = '||p_fin_plan_type_id;
12666: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);
12667:

Line 12665: pa_debug.g_err_stage:='Fin_plan_type_id = '||p_fin_plan_type_id;

12661: IF l_debug_mode = 'Y' THEN
12662: pa_debug.g_err_stage:='Project_id = '||p_project_id;
12663: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);
12664:
12665: pa_debug.g_err_stage:='Fin_plan_type_id = '||p_fin_plan_type_id;
12666: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);
12667:
12668: pa_debug.g_err_stage:='p_calling_context = '||p_calling_context;
12669: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);

Line 12666: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);

12662: pa_debug.g_err_stage:='Project_id = '||p_project_id;
12663: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);
12664:
12665: pa_debug.g_err_stage:='Fin_plan_type_id = '||p_fin_plan_type_id;
12666: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);
12667:
12668: pa_debug.g_err_stage:='p_calling_context = '||p_calling_context;
12669: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);
12670:

Line 12668: pa_debug.g_err_stage:='p_calling_context = '||p_calling_context;

12664:
12665: pa_debug.g_err_stage:='Fin_plan_type_id = '||p_fin_plan_type_id;
12666: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);
12667:
12668: pa_debug.g_err_stage:='p_calling_context = '||p_calling_context;
12669: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);
12670:
12671: pa_debug.g_err_stage:='p_budget_version_id = '||p_budget_version_id;
12672: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);

Line 12669: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);

12665: pa_debug.g_err_stage:='Fin_plan_type_id = '||p_fin_plan_type_id;
12666: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);
12667:
12668: pa_debug.g_err_stage:='p_calling_context = '||p_calling_context;
12669: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);
12670:
12671: pa_debug.g_err_stage:='p_budget_version_id = '||p_budget_version_id;
12672: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);
12673: END IF;

Line 12671: pa_debug.g_err_stage:='p_budget_version_id = '||p_budget_version_id;

12667:
12668: pa_debug.g_err_stage:='p_calling_context = '||p_calling_context;
12669: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);
12670:
12671: pa_debug.g_err_stage:='p_budget_version_id = '||p_budget_version_id;
12672: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);
12673: END IF;
12674:
12675: PA_UTILS.ADD_MESSAGE( p_app_short_name => 'PA',

Line 12672: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);

12668: pa_debug.g_err_stage:='p_calling_context = '||p_calling_context;
12669: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);
12670:
12671: pa_debug.g_err_stage:='p_budget_version_id = '||p_budget_version_id;
12672: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);
12673: END IF;
12674:
12675: PA_UTILS.ADD_MESSAGE( p_app_short_name => 'PA',
12676: p_msg_name => 'PA_FP_INV_PARAM_PASSED',

Line 12705: pa_debug.g_err_stage:=' PJI data not required for CI versions. Returning';

12701: -- Added NOT for bug 4094762
12702: IF input_budget_version_rec.ci_id IS NOT NULL THEN
12703:
12704: IF l_debug_mode = 'Y' THEN
12705: pa_debug.g_err_stage:=' PJI data not required for CI versions. Returning';
12706: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,3);
12707: pa_debug.reset_curr_function();
12708: END IF;
12709: RETURN;

Line 12706: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,3);

12702: IF input_budget_version_rec.ci_id IS NOT NULL THEN
12703:
12704: IF l_debug_mode = 'Y' THEN
12705: pa_debug.g_err_stage:=' PJI data not required for CI versions. Returning';
12706: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,3);
12707: pa_debug.reset_curr_function();
12708: END IF;
12709: RETURN;
12710:

Line 12707: pa_debug.reset_curr_function();

12703:
12704: IF l_debug_mode = 'Y' THEN
12705: pa_debug.g_err_stage:=' PJI data not required for CI versions. Returning';
12706: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,3);
12707: pa_debug.reset_curr_function();
12708: END IF;
12709: RETURN;
12710:
12711: END IF;

Line 12732: pa_debug.g_err_stage:='Working Versions do not exist for the plan type. Returning';

12728:
12729: -- if there are no budget versions for the plan type return
12730: IF l_budget_version_id_tbl.count = 0 THEN
12731: IF l_debug_mode = 'Y' THEN
12732: pa_debug.g_err_stage:='Working Versions do not exist for the plan type. Returning';
12733: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,3);
12734: pa_debug.reset_curr_function();
12735: END IF;
12736: RETURN;

Line 12733: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,3);

12729: -- if there are no budget versions for the plan type return
12730: IF l_budget_version_id_tbl.count = 0 THEN
12731: IF l_debug_mode = 'Y' THEN
12732: pa_debug.g_err_stage:='Working Versions do not exist for the plan type. Returning';
12733: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,3);
12734: pa_debug.reset_curr_function();
12735: END IF;
12736: RETURN;
12737: END IF;

Line 12734: pa_debug.reset_curr_function();

12730: IF l_budget_version_id_tbl.count = 0 THEN
12731: IF l_debug_mode = 'Y' THEN
12732: pa_debug.g_err_stage:='Working Versions do not exist for the plan type. Returning';
12733: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,3);
12734: pa_debug.reset_curr_function();
12735: END IF;
12736: RETURN;
12737: END IF;
12738:

Line 12778: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Map_Rlmi_Rbs api returned error';

12774:
12775: -- Check return status
12776: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
12777: IF l_debug_mode = 'Y' THEN
12778: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Map_Rlmi_Rbs api returned error';
12779: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
12780: END IF;
12781: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
12782: ELSE

Line 12779: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);

12775: -- Check return status
12776: IF x_return_status <> FND_API.G_RET_STS_SUCCESS THEN
12777: IF l_debug_mode = 'Y' THEN
12778: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Map_Rlmi_Rbs api returned error';
12779: pa_debug.write('REFRESH_WP_SETTINGS: ' || g_module_name,pa_debug.g_err_stage,5);
12780: END IF;
12781: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
12782: ELSE
12783: -- Check count of the required out tables to be the same

Line 12788: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Map_Rlmi_Rbs api

12784: IF l_txn_source_id_tbl.count <> l_rbs_element_id_tbl.count OR
12785: l_txn_source_id_tbl.count <> l_txn_accum_header_id_tbl.count
12786: THEN
12787: IF l_debug_mode = 'Y' THEN
12788: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Map_Rlmi_Rbs api
12789: returned out tables with different count';
12790: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12791: pa_debug.g_err_stage:='l_txn_source_id_tbl.count = ' || l_txn_source_id_tbl.count;
12792: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);

Line 12790: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);

12786: THEN
12787: IF l_debug_mode = 'Y' THEN
12788: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Map_Rlmi_Rbs api
12789: returned out tables with different count';
12790: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12791: pa_debug.g_err_stage:='l_txn_source_id_tbl.count = ' || l_txn_source_id_tbl.count;
12792: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12793: pa_debug.g_err_stage:='l_rbs_element_id_tbl.count = ' || l_rbs_element_id_tbl.count;
12794: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);

Line 12791: pa_debug.g_err_stage:='l_txn_source_id_tbl.count = ' || l_txn_source_id_tbl.count;

12787: IF l_debug_mode = 'Y' THEN
12788: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Map_Rlmi_Rbs api
12789: returned out tables with different count';
12790: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12791: pa_debug.g_err_stage:='l_txn_source_id_tbl.count = ' || l_txn_source_id_tbl.count;
12792: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12793: pa_debug.g_err_stage:='l_rbs_element_id_tbl.count = ' || l_rbs_element_id_tbl.count;
12794: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12795: pa_debug.g_err_stage:=

Line 12792: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);

12788: pa_debug.g_err_stage:='Called API PA_PLANNING_TRANSACTION_UTILS.Map_Rlmi_Rbs api
12789: returned out tables with different count';
12790: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12791: pa_debug.g_err_stage:='l_txn_source_id_tbl.count = ' || l_txn_source_id_tbl.count;
12792: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12793: pa_debug.g_err_stage:='l_rbs_element_id_tbl.count = ' || l_rbs_element_id_tbl.count;
12794: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12795: pa_debug.g_err_stage:=
12796: 'l_txn_accum_header_id_tbl.count = ' || l_txn_accum_header_id_tbl.count;

Line 12793: pa_debug.g_err_stage:='l_rbs_element_id_tbl.count = ' || l_rbs_element_id_tbl.count;

12789: returned out tables with different count';
12790: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12791: pa_debug.g_err_stage:='l_txn_source_id_tbl.count = ' || l_txn_source_id_tbl.count;
12792: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12793: pa_debug.g_err_stage:='l_rbs_element_id_tbl.count = ' || l_rbs_element_id_tbl.count;
12794: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12795: pa_debug.g_err_stage:=
12796: 'l_txn_accum_header_id_tbl.count = ' || l_txn_accum_header_id_tbl.count;
12797: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);

Line 12794: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);

12790: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12791: pa_debug.g_err_stage:='l_txn_source_id_tbl.count = ' || l_txn_source_id_tbl.count;
12792: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12793: pa_debug.g_err_stage:='l_rbs_element_id_tbl.count = ' || l_rbs_element_id_tbl.count;
12794: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12795: pa_debug.g_err_stage:=
12796: 'l_txn_accum_header_id_tbl.count = ' || l_txn_accum_header_id_tbl.count;
12797: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12798: END IF;

Line 12795: pa_debug.g_err_stage:=

12791: pa_debug.g_err_stage:='l_txn_source_id_tbl.count = ' || l_txn_source_id_tbl.count;
12792: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12793: pa_debug.g_err_stage:='l_rbs_element_id_tbl.count = ' || l_rbs_element_id_tbl.count;
12794: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12795: pa_debug.g_err_stage:=
12796: 'l_txn_accum_header_id_tbl.count = ' || l_txn_accum_header_id_tbl.count;
12797: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12798: END IF;
12799: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;

Line 12797: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);

12793: pa_debug.g_err_stage:='l_rbs_element_id_tbl.count = ' || l_rbs_element_id_tbl.count;
12794: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12795: pa_debug.g_err_stage:=
12796: 'l_txn_accum_header_id_tbl.count = ' || l_txn_accum_header_id_tbl.count;
12797: pa_debug.write('Refresh_Plan_Txns: ' || g_module_name,pa_debug.g_err_stage,5);
12798: END IF;
12799: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
12800: END IF;
12801: END IF;

Line 12858: pa_debug.g_err_stage:='Exiting Refresh_rbs_for_versions';

12854: RAISE PA_FP_CONSTANTS_PKG.Invalid_Arg_Exc;
12855: END IF;
12856:
12857: IF l_debug_mode = 'Y' THEN
12858: pa_debug.g_err_stage:='Exiting Refresh_rbs_for_versions';
12859: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,3);
12860: -- reset curr function
12861: pa_debug.reset_curr_function();
12862: END IF;

Line 12859: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,3);

12855: END IF;
12856:
12857: IF l_debug_mode = 'Y' THEN
12858: pa_debug.g_err_stage:='Exiting Refresh_rbs_for_versions';
12859: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,3);
12860: -- reset curr function
12861: pa_debug.reset_curr_function();
12862: END IF;
12863:

Line 12861: pa_debug.reset_curr_function();

12857: IF l_debug_mode = 'Y' THEN
12858: pa_debug.g_err_stage:='Exiting Refresh_rbs_for_versions';
12859: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,3);
12860: -- reset curr function
12861: pa_debug.reset_curr_function();
12862: END IF;
12863:
12864: EXCEPTION
12865:

Line 12886: pa_debug.g_err_stage:='Invalid Arguments Passed Or called api raised an error';

12882:
12883: x_return_status := FND_API.G_RET_STS_ERROR;
12884:
12885: IF l_debug_mode = 'Y' THEN
12886: pa_debug.g_err_stage:='Invalid Arguments Passed Or called api raised an error';
12887: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);
12888: -- reset curr function
12889: pa_debug.reset_curr_function();
12890: END IF;

Line 12887: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);

12883: x_return_status := FND_API.G_RET_STS_ERROR;
12884:
12885: IF l_debug_mode = 'Y' THEN
12886: pa_debug.g_err_stage:='Invalid Arguments Passed Or called api raised an error';
12887: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);
12888: -- reset curr function
12889: pa_debug.reset_curr_function();
12890: END IF;
12891: RETURN;

Line 12889: pa_debug.reset_curr_function();

12885: IF l_debug_mode = 'Y' THEN
12886: pa_debug.g_err_stage:='Invalid Arguments Passed Or called api raised an error';
12887: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);
12888: -- reset curr function
12889: pa_debug.reset_curr_function();
12890: END IF;
12891: RETURN;
12892: WHEN Others THEN
12893: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 12901: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;

12897: FND_MSG_PUB.add_exc_msg( p_pkg_name => 'pa_fp_planning_transaction_pub'
12898: ,p_procedure_name => 'Refresh_rbs_for_versions');
12899:
12900: IF l_debug_mode = 'Y' THEN
12901: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;
12902: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);
12903: -- reset curr function
12904: pa_debug.Reset_Curr_Function();
12905: END IF;

Line 12902: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);

12898: ,p_procedure_name => 'Refresh_rbs_for_versions');
12899:
12900: IF l_debug_mode = 'Y' THEN
12901: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;
12902: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);
12903: -- reset curr function
12904: pa_debug.Reset_Curr_Function();
12905: END IF;
12906: RAISE;

Line 12904: pa_debug.Reset_Curr_Function();

12900: IF l_debug_mode = 'Y' THEN
12901: pa_debug.g_err_stage:='Unexpected Error'||SQLERRM;
12902: pa_debug.write('Refresh_rbs_for_versions: ' || g_module_name,pa_debug.g_err_stage,5);
12903: -- reset curr function
12904: pa_debug.Reset_Curr_Function();
12905: END IF;
12906: RAISE;
12907: END Refresh_rbs_for_versions;
12908: