180: FND_MSG_PUB.initialize;
181:
182: --Initialize global variables
183:
184: -- IGC_MSGS_PKG.g_debug_mode := FND_API.TO_BOOLEAN(p_debug);
185:
186: -- debug information
187:
188: -- IF (NOT IGC_MSGS_PKG.g_debug_mode) OR (upper(fnd_profile.value('IGC_DEBUG_ENABLED')) ='Y') THEN
184: -- IGC_MSGS_PKG.g_debug_mode := FND_API.TO_BOOLEAN(p_debug);
185:
186: -- debug information
187:
188: -- IF (NOT IGC_MSGS_PKG.g_debug_mode) OR (upper(fnd_profile.value('IGC_DEBUG_ENABLED')) ='Y') THEN
189: -- IGC_MSGS_PKG.g_debug_mode:=TRUE;
190: -- END IF;
191: /*IF (g_debug_mode <> 'Y') AND (p_debug = FND_API.G_TRUE)
192: IF(g_debug_mode <> 'Y')
185:
186: -- debug information
187:
188: -- IF (NOT IGC_MSGS_PKG.g_debug_mode) OR (upper(fnd_profile.value('IGC_DEBUG_ENABLED')) ='Y') THEN
189: -- IGC_MSGS_PKG.g_debug_mode:=TRUE;
190: -- END IF;
191: /*IF (g_debug_mode <> 'Y') AND (p_debug = FND_API.G_TRUE)
192: IF(g_debug_mode <> 'Y')
193: THEN
193: THEN
194: g_debug_mode := 'Y';
195: END IF;*/
196:
197: -- IF (IGC_MSGS_PKG.g_debug_mode) THEN
198: IF (g_debug_mode = 'Y') THEN
199: Put_Debug_Msg(l_full_path, substr('**************************************************************************************************',1,70));
200: Put_Debug_Msg(l_full_path, substr('*********Starting PA CBC Funds Checker '||to_char(sysdate,'DD-MON-YY:MI:SS')||' *********************',1,70));
201: Put_Debug_Msg(l_full_path, substr('**************************************************************************************************',1,70));
667: ) IS
668:
669: BEGIN
670:
671: IGC_MSGS_PKG.message_token (p_tokname => tokname,
672: p_tokval => tokval);
673:
674: END message_token;
675:
686: i BINARY_INTEGER;
687:
688: BEGIN
689:
690: IGC_MSGS_PKG.add_message (p_appname => appname,
691: p_msgname => msgname);
692:
693: END add_message;
694: