2829: -- Initialize the current runtime level
2830:
2831: FND_LOG_REPOSITORY.INIT(OKC_DEBUG.g_session_id,l_user_id);
2832: -- Bug 1996039 Initializing aso debug
2833: aso_debug_pub.debug_on;
2834: aso_debug_pub.initialize;
2835: l_file :=aso_DEBUG_PUB.Set_Debug_Mode('FILE');
2836: aso_Debug_pub.setdebuglevel(10);
2837:
2830:
2831: FND_LOG_REPOSITORY.INIT(OKC_DEBUG.g_session_id,l_user_id);
2832: -- Bug 1996039 Initializing aso debug
2833: aso_debug_pub.debug_on;
2834: aso_debug_pub.initialize;
2835: l_file :=aso_DEBUG_PUB.Set_Debug_Mode('FILE');
2836: aso_Debug_pub.setdebuglevel(10);
2837:
2838: ELSE -- Apps mode
2831: FND_LOG_REPOSITORY.INIT(OKC_DEBUG.g_session_id,l_user_id);
2832: -- Bug 1996039 Initializing aso debug
2833: aso_debug_pub.debug_on;
2834: aso_debug_pub.initialize;
2835: l_file :=aso_DEBUG_PUB.Set_Debug_Mode('FILE');
2836: aso_Debug_pub.setdebuglevel(10);
2837:
2838: ELSE -- Apps mode
2839:
2832: -- Bug 1996039 Initializing aso debug
2833: aso_debug_pub.debug_on;
2834: aso_debug_pub.initialize;
2835: l_file :=aso_DEBUG_PUB.Set_Debug_Mode('FILE');
2836: aso_Debug_pub.setdebuglevel(10);
2837:
2838: ELSE -- Apps mode
2839:
2840: --
2861: IF (l_debug = 'Y') THEN
2862: OKC_DEBUG.g_profile_log_level := Fnd_Log.G_CURRENT_RUNTIME_LEVEL;
2863: END IF;
2864: -- Bug 1996039 Initializing aso debug
2865: aso_debug_pub.debug_on;
2866: aso_debug_pub.initialize;
2867: l_file :=aso_DEBUG_PUB.Set_Debug_Mode('FILE');
2868: aso_Debug_pub.setdebuglevel(10);
2869:
2862: OKC_DEBUG.g_profile_log_level := Fnd_Log.G_CURRENT_RUNTIME_LEVEL;
2863: END IF;
2864: -- Bug 1996039 Initializing aso debug
2865: aso_debug_pub.debug_on;
2866: aso_debug_pub.initialize;
2867: l_file :=aso_DEBUG_PUB.Set_Debug_Mode('FILE');
2868: aso_Debug_pub.setdebuglevel(10);
2869:
2870:
2863: END IF;
2864: -- Bug 1996039 Initializing aso debug
2865: aso_debug_pub.debug_on;
2866: aso_debug_pub.initialize;
2867: l_file :=aso_DEBUG_PUB.Set_Debug_Mode('FILE');
2868: aso_Debug_pub.setdebuglevel(10);
2869:
2870:
2871: END IF;
2864: -- Bug 1996039 Initializing aso debug
2865: aso_debug_pub.debug_on;
2866: aso_debug_pub.initialize;
2867: l_file :=aso_DEBUG_PUB.Set_Debug_Mode('FILE');
2868: aso_Debug_pub.setdebuglevel(10);
2869:
2870:
2871: END IF;
2872:
2945: l_trace_file.id := NULL;
2946: l_output_file.id := NULL;
2947: END IF;
2948: -- Bug 1996039 Stopping ASO debugg
2949: aso_debug_pub.debug_off;
2950:
2951:
2952:
2953: BEGIN