DBA Data[Home] [Help]

APPS.PA_COST dependencies on PA_DEBUG

Line 21: PA_DEBUG.g_err_stage := Substr('LOG:'||p_msg,1,500);

17: BEGIN
18: --r_debug.r_msg('LOG:'||p_msg);
19: --dbms_output.put_line('LOG:'||p_msg);
20: IF g_debug_mode = 'Y' Then
21: PA_DEBUG.g_err_stage := Substr('LOG:'||p_msg,1,500);
22: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
23:
24: END IF;
25:

Line 22: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);

18: --r_debug.r_msg('LOG:'||p_msg);
19: --dbms_output.put_line('LOG:'||p_msg);
20: IF g_debug_mode = 'Y' Then
21: PA_DEBUG.g_err_stage := Substr('LOG:'||p_msg,1,500);
22: PA_DEBUG.Log_Message(p_message => PA_DEBUG.g_err_stage);
23:
24: END IF;
25:
26: END PRINT_MSG;

Line 2095: g_debug_mode := NVL(FND_PROFILE.value('PA_DEBUG_MODE'), 'N');

2091:
2092:
2093: BEGIN
2094:
2095: g_debug_mode := NVL(FND_PROFILE.value('PA_DEBUG_MODE'), 'N');
2096: --Initialize the error stack
2097: PA_DEBUG.init_err_stack('PA_COST.Requirement_raw_cost');
2098:
2099: PA_DEBUG.SET_PROCESS( x_process => 'PLSQL'

Line 2097: PA_DEBUG.init_err_stack('PA_COST.Requirement_raw_cost');

2093: BEGIN
2094:
2095: g_debug_mode := NVL(FND_PROFILE.value('PA_DEBUG_MODE'), 'N');
2096: --Initialize the error stack
2097: PA_DEBUG.init_err_stack('PA_COST.Requirement_raw_cost');
2098:
2099: PA_DEBUG.SET_PROCESS( x_process => 'PLSQL'
2100: ,x_write_file => 'LOG'
2101: ,x_debug_mode => g_debug_mode

Line 2099: PA_DEBUG.SET_PROCESS( x_process => 'PLSQL'

2095: g_debug_mode := NVL(FND_PROFILE.value('PA_DEBUG_MODE'), 'N');
2096: --Initialize the error stack
2097: PA_DEBUG.init_err_stack('PA_COST.Requirement_raw_cost');
2098:
2099: PA_DEBUG.SET_PROCESS( x_process => 'PLSQL'
2100: ,x_write_file => 'LOG'
2101: ,x_debug_mode => g_debug_mode
2102: );
2103:

Line 2310: PA_DEBUG.reset_err_stack;

2306: TILL HERE FRO ORG FORECASTING
2307: */
2308:
2309: x_return_status := l_x_return_status;
2310: PA_DEBUG.reset_err_stack;
2311:
2312: EXCEPTION
2313: WHEN l_conversion_fail THEN
2314: x_raw_cost_rate := 0;

Line 2325: PA_DEBUG.reset_err_stack;

2321:
2322: x_return_status := FND_API.G_RET_STS_ERROR;
2323: x_msg_count := 1;
2324: x_msg_data := l_status||'_BC_PF'; /* fix for bug 2199203 */
2325: PA_DEBUG.reset_err_stack;
2326: WHEN NO_DATA_FOUND THEN
2327: x_raw_cost_rate := 0;
2328: x_raw_cost := 0;
2329:

Line 2338: PA_DEBUG.reset_err_stack;

2334:
2335: x_return_status := FND_API.G_RET_STS_ERROR;
2336: x_msg_count := 1;
2337: x_msg_data := 'PA_FCST_NO_COST_RATE';
2338: PA_DEBUG.reset_err_stack;
2339: WHEN l_raw_cost_null THEN
2340: x_raw_cost_rate := 0;
2341: x_raw_cost := 0;
2342:

Line 2351: PA_DEBUG.reset_err_stack;

2347:
2348: x_return_status := FND_API.G_RET_STS_ERROR;
2349: x_msg_count := 1;
2350: x_msg_data := 'PA_FCST_NO_COST_RATE';
2351: PA_DEBUG.reset_err_stack;
2352:
2353: /*LCE changes*/
2354: WHEN user_exception THEN
2355: IF (NVL(PA_RATE_PVT_PKG.G_add_error_to_stack_flag,'Y') = 'Y') THEN

Line 2361: PA_DEBUG.reset_err_stack;

2357: END IF;
2358: x_return_status := FND_API.G_RET_STS_ERROR;
2359: x_msg_count := 1;
2360: x_msg_data := l_err_code;
2361: PA_DEBUG.reset_err_stack;
2362:
2363: WHEN l_exp_func_curr_code_null THEN
2364: /* Checking error condition. Added for bug 2218386 */
2365: IF (NVL(PA_RATE_PVT_PKG.G_add_error_to_stack_flag,'Y') = 'Y') THEN

Line 2371: PA_DEBUG.reset_err_stack;

2367: END IF;
2368: x_return_status := FND_API.G_RET_STS_ERROR;
2369: x_msg_count := 1;
2370: x_msg_data := 'PA_FCST_EXP_CURR_CODE_NULL';
2371: PA_DEBUG.reset_err_stack;
2372: /*LCE changes*/
2373:
2374: WHEN OTHERS THEN
2375: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;