1: package body CSE_ITEM_MOVE_PKG AS
2: -- $Header: CSEITMVB.pls 120.0.12010000.2 2008/09/20 00:21:30 fli ship $
3:
4: l_debug VARCHAR2(1) := NVL(FND_PROFILE.VALUE('CSE_DEBUG_OPTION'),'N');
5:
6: PROCEDURE Decode_Message(
7: P_Msg_Header IN XNP_MESSAGE.Msg_Header_Rec_Type,
8: P_Msg_Text IN VARCHAR2,
149:
150: -- If the option is set turn on the debug log.
151:
152: IF (l_debug = 'Y') THEN
153: cse_debug_pub.g_dir := nvl(FND_PROFILE.VALUE('CSE_DEBUG_LOG_DIRECTORY'), '/tmp');
154: cse_debug_pub.g_file := NULL;
155: l_file := cse_debug_pub.set_debug_file('cse' || to_char(l_sysdate, 'DD-MON-YYYY') || '.log');
156: cse_debug_pub.debug_on;
157: END IF;