DBA Data[Home] [Help]

APPS.PA_MAINT_PROJECT_ACCUMS dependencies on PA_DEBUG

Line 24: --- 29-nov-2002 sramesh Added the profile option check pa:debug for the pa_debug calls

20: ---- gps.application_id =decode(x_impl_opt,'PA',275,'GL',pa_period_process_pkg.application_id)
21: --- 275 is replaced with
22: --- decode(x_impl_opt,'PA',decode(PA_Period_Process_PKG.Use_Same_PA_GL_Period,'Y',
23: --- pa_period_process_pkg.application_id,'N',275),'GL',pa_period_process_pkg.application_id)
24: --- 29-nov-2002 sramesh Added the profile option check pa:debug for the pa_debug calls
25: --
26: -- 16-JAN-2003 jwhite Bug#2753251
27: -- Problem Description:
28: -- 1) The comparative period processing logic in this

Line 84: P_DEBUG_MODE varchar2(1) := NVL(FND_PROFILE.value('PA_DEBUG_MODE'), 'N'); /* Added Debug Profile Option variable initialization for bug#2674619 */

80: TYPE resource_list_id_tabtype IS
81: TABLE OF PA_RESOURCE_LIST_ASSIGNMENTS.RESOURCE_LIST_ID%TYPE
82: INDEX BY BINARY_INTEGER;
83:
84: P_DEBUG_MODE varchar2(1) := NVL(FND_PROFILE.value('PA_DEBUG_MODE'), 'N'); /* Added Debug Profile Option variable initialization for bug#2674619 */
85:
86:
87: Procedure Process_Txn_Accum (X_project_id in Number,
88: X_impl_opt In Varchar2,

Line 491: pa_debug.debug(x_err_stack);

487: V_Old_Stack := x_err_stack;
488: x_err_stack :=
489: x_err_stack ||'->PA_MAINT_PROJECT_ACCUMS.Process_Txn_Accum';
490: IF P_DEBUG_MODE = 'Y' THEN /* Added Debug Profile Option Check for bug#2674619 */
491: pa_debug.debug(x_err_stack);
492: END IF;
493:
494: /* Commented for bug 4195598
495: -- Code addition for bug 3147957 begins

Line 1999: pa_debug.debug(x_err_stack);

1995: V_Old_Stack := x_err_stack;
1996: x_err_stack :=
1997: x_err_stack ||'->PA_MAINT_PROJECT_ACCUMS.Check_Accum_Res_Tasks';
1998: IF P_DEBUG_MODE = 'Y' THEN /* Added Debug Profile Option Check for bug#2674619 */
1999: pa_debug.debug(x_err_stack);
2000: END IF;
2001: If x_create_actuals = 'Y' or x_create_commit = 'Y' then
2002: BEGIN
2003: SELECT project_accum_id INTO V_accum_id

Line 2333: pa_debug.debug(x_err_stack);

2329: V_Old_Stack := x_err_stack;
2330: x_err_stack :=
2331: x_err_stack ||'->PA_MAINT_PROJECT_ACCUMS.Check_Accum_WBS';
2332: IF P_DEBUG_MODE = 'Y' THEN /* Added Debug Profile Option Check for bug#2674619 */
2333: pa_debug.debug(x_err_stack);
2334: END IF;
2335: If x_create_wbs_actuals = 'Y' or x_create_wbs_commit = 'Y' then
2336: BEGIN
2337: SELECT project_accum_id INTO V_accum_id

Line 2670: pa_debug.debug(x_err_stack);

2666: V_Old_Stack := x_err_stack;
2667: x_err_stack :=
2668: x_err_stack||'->PA_PROCESS_ACCUM_ACTUALS_RES.Get_all_higher_tasks';
2669: IF P_DEBUG_MODE = 'Y' THEN /* Added Debug Profile Option Check for bug#2674619 */
2670: pa_debug.debug(x_err_stack);
2671: END IF;
2672: For Task_Rec IN Tasks_Cur LOOP
2673: V_noof_tasks := v_noof_tasks + 1;
2674: x_task_array(v_noof_tasks) := Task_Rec.Task_id;

Line 2708: pa_debug.debug(x_err_stack);

2704: x_err_stack :=
2705:
2706: x_err_stack||'->PA_PROCESS_ACCUM_ACTUALS.Insert_Headers_tasks';
2707: IF P_DEBUG_MODE = 'Y' THEN /* Added Debug Profile Option Check for bug#2674619 */
2708: pa_debug.debug(x_err_stack);
2709: END IF;
2710:
2711: Insert into PA_PROJECT_ACCUM_HEADERS
2712: (PROJECT_ACCUM_ID,PROJECT_ID,TASK_ID,ACCUM_PERIOD,RESOURCE_ID,

Line 3091: pa_debug.debug(x_err_stack);

3087: V_Old_Stack := x_err_stack;
3088: x_err_stack :=
3089: x_err_stack ||'->PA_MAINT_PROJECT_ACCUMS.Initialize_actuals';
3090: IF P_DEBUG_MODE = 'Y' THEN /* Added Debug Profile Option Check for bug#2674619 */
3091: pa_debug.debug(x_err_stack);
3092: END IF;
3093:
3094: -- If current period > previously accumulated period
3095: -- If previously accumuated period = previous period (the one previous

Line 3278: pa_debug.debug(x_err_stack);

3274: V_Old_Stack := x_err_stack;
3275: x_err_stack :=
3276: x_err_stack ||'->PA_MAINT_PROJECT_ACCUMS.Initialize_budgets';
3277: IF P_DEBUG_MODE = 'Y' THEN /* Added Debug Profile Option Check for bug#2674619 */
3278: pa_debug.debug(x_err_stack);
3279: END IF;
3280:
3281: -- If current period > previously accumulated period
3282: -- If previously accumuated period = previous period (the one previous

Line 3488: pa_debug.debug(x_err_stack);

3484: V_Old_Stack := x_err_stack;
3485: x_err_stack :=
3486: x_err_stack ||'->PA_MAINT_PROJECT_ACCUMS.Initialize_commitments';
3487: IF P_DEBUG_MODE = 'Y' THEN /* Added Debug Profile Option Check for bug#2674619 */
3488: pa_debug.debug(x_err_stack);
3489: END IF;
3490:
3491: -- If current period > previously accumulated period
3492: -- If previously accumuated period = previous period (the one previous

Line 3594: pa_debug.debug('Initialize_task_level');

3590:
3591: Procedure Initialize_task_level is
3592: begin
3593: IF P_DEBUG_MODE = 'Y' THEN /* Added Debug Profile Option Check for bug#2674619 */
3594: pa_debug.debug('Initialize_task_level');
3595: END IF;
3596: -- Initialize amount variables
3597: New_raw_cost_itd := 0;
3598: New_raw_cost_ytd := 0;

Line 3662: pa_debug.debug('Initialize_parent_level');

3658:
3659: Procedure Initialize_parent_level is
3660: begin
3661: IF P_DEBUG_MODE = 'Y' THEN /* Added Debug Profile Option Check for bug#2674619 */
3662: pa_debug.debug('Initialize_parent_level');
3663: END IF;
3664: -- Initialize amount variables
3665: Prt_raw_cost_itd := 0;
3666: Prt_raw_cost_ytd := 0;

Line 3729: pa_debug.debug('Initialize_project_level');

3725:
3726: Procedure Initialize_project_level is
3727: begin
3728: IF P_DEBUG_MODE = 'Y' THEN /* Added Debug Profile Option Check for bug#2674619 */
3729: pa_debug.debug('Initialize_project_level');
3730: END IF;
3731: -- Initialize amount variables
3732: Tsk_raw_cost_itd := 0;
3733: Tsk_raw_cost_ytd := 0;

Line 3796: pa_debug.debug('Add_Project_Amount');

3792:
3793: Procedure Add_Project_Amounts is
3794: begin
3795: IF P_DEBUG_MODE = 'Y' THEN /* Added Debug Profile Option Check for bug#2674619 */
3796: pa_debug.debug('Add_Project_Amount');
3797: END IF;
3798: Tsk_raw_cost_itd := Tsk_raw_cost_itd +
3799: New_raw_cost_itd;
3800: Tsk_raw_cost_ytd := Tsk_raw_cost_ytd +

Line 3910: pa_debug.debug('Add_parent_amounts');

3906:
3907: Procedure add_parent_amounts is
3908: begin
3909: IF P_DEBUG_MODE = 'Y' THEN /* Added Debug Profile Option Check for bug#2674619 */
3910: pa_debug.debug('Add_parent_amounts');
3911: END IF;
3912: Prt_raw_cost_itd := Prt_raw_cost_itd +
3913: New_raw_cost_itd;
3914: Prt_raw_cost_ytd := Prt_raw_cost_ytd +