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 2062: g_debug_mode := NVL(FND_PROFILE.value('PA_DEBUG_MODE'), 'N');

2058:
2059:
2060: BEGIN
2061:
2062: g_debug_mode := NVL(FND_PROFILE.value('PA_DEBUG_MODE'), 'N');
2063: --Initialize the error stack
2064: PA_DEBUG.init_err_stack('PA_COST.Requirement_raw_cost');
2065:
2066: PA_DEBUG.SET_PROCESS( x_process => 'PLSQL'

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

2060: BEGIN
2061:
2062: g_debug_mode := NVL(FND_PROFILE.value('PA_DEBUG_MODE'), 'N');
2063: --Initialize the error stack
2064: PA_DEBUG.init_err_stack('PA_COST.Requirement_raw_cost');
2065:
2066: PA_DEBUG.SET_PROCESS( x_process => 'PLSQL'
2067: ,x_write_file => 'LOG'
2068: ,x_debug_mode => g_debug_mode

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

2062: g_debug_mode := NVL(FND_PROFILE.value('PA_DEBUG_MODE'), 'N');
2063: --Initialize the error stack
2064: PA_DEBUG.init_err_stack('PA_COST.Requirement_raw_cost');
2065:
2066: PA_DEBUG.SET_PROCESS( x_process => 'PLSQL'
2067: ,x_write_file => 'LOG'
2068: ,x_debug_mode => g_debug_mode
2069: );
2070:

Line 2277: PA_DEBUG.reset_err_stack;

2273: TILL HERE FRO ORG FORECASTING
2274: */
2275:
2276: x_return_status := l_x_return_status;
2277: PA_DEBUG.reset_err_stack;
2278:
2279: EXCEPTION
2280: WHEN l_conversion_fail THEN
2281: x_raw_cost_rate := 0;

Line 2292: PA_DEBUG.reset_err_stack;

2288:
2289: x_return_status := FND_API.G_RET_STS_ERROR;
2290: x_msg_count := 1;
2291: x_msg_data := l_status||'_BC_PF'; /* fix for bug 2199203 */
2292: PA_DEBUG.reset_err_stack;
2293: WHEN NO_DATA_FOUND THEN
2294: x_raw_cost_rate := 0;
2295: x_raw_cost := 0;
2296:

Line 2305: PA_DEBUG.reset_err_stack;

2301:
2302: x_return_status := FND_API.G_RET_STS_ERROR;
2303: x_msg_count := 1;
2304: x_msg_data := 'PA_FCST_NO_COST_RATE';
2305: PA_DEBUG.reset_err_stack;
2306: WHEN l_raw_cost_null THEN
2307: x_raw_cost_rate := 0;
2308: x_raw_cost := 0;
2309:

Line 2318: PA_DEBUG.reset_err_stack;

2314:
2315: x_return_status := FND_API.G_RET_STS_ERROR;
2316: x_msg_count := 1;
2317: x_msg_data := 'PA_FCST_NO_COST_RATE';
2318: PA_DEBUG.reset_err_stack;
2319:
2320: /*LCE changes*/
2321: WHEN user_exception THEN
2322: IF (NVL(PA_RATE_PVT_PKG.G_add_error_to_stack_flag,'Y') = 'Y') THEN

Line 2328: PA_DEBUG.reset_err_stack;

2324: END IF;
2325: x_return_status := FND_API.G_RET_STS_ERROR;
2326: x_msg_count := 1;
2327: x_msg_data := l_err_code;
2328: PA_DEBUG.reset_err_stack;
2329:
2330: WHEN l_exp_func_curr_code_null THEN
2331: /* Checking error condition. Added for bug 2218386 */
2332: IF (NVL(PA_RATE_PVT_PKG.G_add_error_to_stack_flag,'Y') = 'Y') THEN

Line 2338: PA_DEBUG.reset_err_stack;

2334: END IF;
2335: x_return_status := FND_API.G_RET_STS_ERROR;
2336: x_msg_count := 1;
2337: x_msg_data := 'PA_FCST_EXP_CURR_CODE_NULL';
2338: PA_DEBUG.reset_err_stack;
2339: /*LCE changes*/
2340:
2341: WHEN OTHERS THEN
2342: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;