DBA Data[Home] [Help]

APPS.PA_BUDGET_FUND_PKG dependencies on PA_DEBUG

Line 648: ,p_procedure_name => PA_DEBUG.G_Err_Stack );

644:
645: EXCEPTION
646: WHEN OTHERS THEN
647: FND_MSG_PUB.add_exc_msg(p_pkg_name => 'PA_BUDGET_FUND_PKG'
648: ,p_procedure_name => PA_DEBUG.G_Err_Stack );
649:
650: IF c_delbal%ISOPEN THEN
651: close c_delbal;
652: END IF;

Line 734: ,p_procedure_name => PA_DEBUG.G_Err_Stack );

730: COMMIT;
731: EXCEPTION
732: WHEN OTHERS THEN
733: FND_MSG_PUB.add_exc_msg(p_pkg_name => 'PA_BUDGET_FUND_PKG'
734: ,p_procedure_name => PA_DEBUG.G_Err_Stack );
735:
736: x_ret_status := FND_API.G_RET_STS_UNEXP_ERROR ;
737: x_err_message_code := (SQLCODE||' '||SQLERRM);
738: log_message('Create_bgt_lines_in_bc_balance: x_err_message_code'||x_err_message_code);

Line 875: ,p_procedure_name => PA_DEBUG.G_Err_Stack );

871:
872: EXCEPTION
873: WHEN OTHERS THEN
874: FND_MSG_PUB.add_exc_msg(p_pkg_name => 'PA_BUDGET_FUND_PKG'
875: ,p_procedure_name => PA_DEBUG.G_Err_Stack );
876:
877: IF c_bdgt_bal%ISOPEN THEN
878: close c_bdgt_bal;
879: END IF;

Line 1004: fnd_profile.get('PA_DEBUG_MODE',g_debug_mode);

1000: -----------------------------------------------+
1001: g_procedure_name := 'check_or_reserve_funds';
1002: g_project_id := p_project_id;
1003:
1004: fnd_profile.get('PA_DEBUG_MODE',g_debug_mode);
1005:
1006: g_debug_mode := nvl(g_debug_mode,'N');
1007:
1008: --- Initialize the error statck

Line 1009: PA_DEBUG.init_err_stack ('PA_BUDGET_FUND_PKG.check_or_reserve_funds');

1005:
1006: g_debug_mode := nvl(g_debug_mode,'N');
1007:
1008: --- Initialize the error statck
1009: PA_DEBUG.init_err_stack ('PA_BUDGET_FUND_PKG.check_or_reserve_funds');
1010:
1011: log_message('Entering check_or_reserve_funds API .........') ;
1012:
1013: -- ----------------------------------------------------------------------+

Line 2631: l_temp_ret_status := pa_debug.release_user_lock('BSLNFCHKLOCK:'||to_char(p_project_id));

2627: x_return_status := FND_API.G_RET_STS_SUCCESS;
2628:
2629: log_message('entering release_bc_lock ..... ');
2630:
2631: l_temp_ret_status := pa_debug.release_user_lock('BSLNFCHKLOCK:'||to_char(p_project_id));
2632:
2633: log_message('after release_user_lock ..... ');
2634:
2635: commit;

Line 2693: IF PA_Debug.Acquire_User_Lock(P_Lock_Name)=0 -- Acquired the lock successfully

2689:
2690: log_message('Inside Is_Budget_Locked');
2691:
2692:
2693: IF PA_Debug.Acquire_User_Lock(P_Lock_Name)=0 -- Acquired the lock successfully
2694: THEN
2695: l_release_lock := PA_Debug.Release_User_Lock(P_Lock_Name); -- Release the lock
2696: RETURN True;
2697: ELSE

Line 2695: l_release_lock := PA_Debug.Release_User_Lock(P_Lock_Name); -- Release the lock

2691:
2692:
2693: IF PA_Debug.Acquire_User_Lock(P_Lock_Name)=0 -- Acquired the lock successfully
2694: THEN
2695: l_release_lock := PA_Debug.Release_User_Lock(P_Lock_Name); -- Release the lock
2696: RETURN True;
2697: ELSE
2698: RETURN False;
2699: END IF;

Line 2907: fnd_profile.get('PA_DEBUG_MODE',g_debug_mode);

2903:
2904: If P_calling_module = 'Year_End_Rollover' then
2905:
2906: If nvl(g_debug_mode,'N') = 'N' then
2907: fnd_profile.get('PA_DEBUG_MODE',g_debug_mode);
2908: g_debug_mode := nvl(g_debug_mode,'N');
2909: End If;
2910:
2911: log_message(' Set global variables for Year-End processing');

Line 3312: -- Procedure used to call pa_debug.write for FND logging

3308: FND_MSG_PUB.ADD;
3309:
3310: END ADD_MESSAGE;
3311:
3312: -- Procedure used to call pa_debug.write for FND logging
3313: PROCEDURE LOG_MESSAGE(p_message in VARCHAR2)
3314: IS
3315: BEGIN
3316: IF g_debug_mode = 'Y' then

Line 3319: pa_debug.g_err_stage := 'Error Msg :'||substr(p_message,1,250);

3315: BEGIN
3316: IF g_debug_mode = 'Y' then
3317:
3318: IF p_message is NOT NULL then
3319: pa_debug.g_err_stage := 'Error Msg :'||substr(p_message,1,250);
3320: --pa_debug.write_file('LOG: '||pa_debug.g_err_stage);
3321: PA_DEBUG.write
3322: (x_Module => 'pa.plsql.PA_BUDGET_FUND_PKG.'||g_procedure_name
3323: ,x_Msg => substr(p_message,1,240)

Line 3320: --pa_debug.write_file('LOG: '||pa_debug.g_err_stage);

3316: IF g_debug_mode = 'Y' then
3317:
3318: IF p_message is NOT NULL then
3319: pa_debug.g_err_stage := 'Error Msg :'||substr(p_message,1,250);
3320: --pa_debug.write_file('LOG: '||pa_debug.g_err_stage);
3321: PA_DEBUG.write
3322: (x_Module => 'pa.plsql.PA_BUDGET_FUND_PKG.'||g_procedure_name
3323: ,x_Msg => substr(p_message,1,240)
3324: ,x_Log_Level => 3);

Line 3321: PA_DEBUG.write

3317:
3318: IF p_message is NOT NULL then
3319: pa_debug.g_err_stage := 'Error Msg :'||substr(p_message,1,250);
3320: --pa_debug.write_file('LOG: '||pa_debug.g_err_stage);
3321: PA_DEBUG.write
3322: (x_Module => 'pa.plsql.PA_BUDGET_FUND_PKG.'||g_procedure_name
3323: ,x_Msg => substr(p_message,1,240)
3324: ,x_Log_Level => 3);
3325: END IF;