DBA Data[Home] [Help]

APPS.PSA_FUNDS_CHECKER_PKG dependencies on PSA_UTILS

Line 247: psa_utils.debug_other_string(g_state_level,l_path_name, 'PSA_FUNDS_CHECKER version = '||l_file_info);

243: l_file_info VARCHAR2(2000);
244: BEGIN
245: l_path_name := g_path || '.init';
246: l_file_info := '$Header: psafbcfb.pls 120.121.12020000.2 2012/10/29 17:18:07 sasukuma ship $';
247: psa_utils.debug_other_string(g_state_level,l_path_name, 'PSA_FUNDS_CHECKER version = '||l_file_info);
248: END;
249:
250:
251: /* ------------------------------------------------------------------------- */

Line 359: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);

355:
356: l_full_path := g_path || 'glxfck - public1';
357:
358: -- ========================= FND LOG ===========================
359: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
360: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
361: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
362: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
363: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);

Line 360: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);

356: l_full_path := g_path || 'glxfck - public1';
357:
358: -- ========================= FND LOG ===========================
359: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
360: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
361: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
362: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
363: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
364: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);

Line 361: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);

357:
358: -- ========================= FND LOG ===========================
359: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
360: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
361: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
362: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
363: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
364: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
365: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);

Line 362: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);

358: -- ========================= FND LOG ===========================
359: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
360: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
361: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
362: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
363: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
364: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
365: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
366: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);

Line 363: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);

359: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
360: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
361: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
362: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
363: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
364: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
365: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
366: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
367: -- ========================= FND LOG ===========================

Line 364: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);

360: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
361: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
362: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
363: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
364: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
365: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
366: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
367: -- ========================= FND LOG ===========================
368:

Line 365: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);

361: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
362: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
363: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
364: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
365: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
366: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
367: -- ========================= FND LOG ===========================
368:
369: IF NOT glxfck( p_ledgerid ,

Line 366: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);

362: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
363: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
364: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
365: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
366: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
367: -- ========================= FND LOG ===========================
368:
369: IF NOT glxfck( p_ledgerid ,
370: p_packetid ,

Line 380: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfck --> FALSE goto gl_error');

376: p_calling_prog_flag ,
377: p_return_code ) THEN
378:
379: -- ========================= FND LOG ===========================
380: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfck --> FALSE goto gl_error');
381: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_return_code --> ' || p_return_code);
382: -- ========================= FND LOG ===========================
383: goto gl_error;
384:

Line 381: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_return_code --> ' || p_return_code);

377: p_return_code ) THEN
378:
379: -- ========================= FND LOG ===========================
380: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfck --> FALSE goto gl_error');
381: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_return_code --> ' || p_return_code);
382: -- ========================= FND LOG ===========================
383: goto gl_error;
384:
385: END IF;

Line 389: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_return_code --> O goto normal_exit');

385: END IF;
386:
387: IF (p_return_code = 'O') THEN
388: -- ========================= FND LOG ===========================
389: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_return_code --> O goto normal_exit');
390: -- ========================= FND LOG ===========================
391:
392: goto normal_exit;
393: END IF;

Line 401: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_unrsv_packet_id --> ' || p_unrsv_packet_id );

397:
398: IF (p_mode = 'U' AND NOT g_requery_flag) THEN
399: p_unrsv_packet_id := p_packetid;
400: -- ========================= FND LOG ===========================
401: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_unrsv_packet_id --> ' || p_unrsv_packet_id );
402: -- ========================= FND LOG ===========================
403: END IF;
404:
405: -- If g_requery_flag is TRUE set p_return_code = "Q"

Line 412: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_return_code --> Q => Success/Advisory ');

408:
409: IF g_requery_flag THEN
410: p_return_code := 'Q';
411: -- ========================= FND LOG ===========================
412: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_return_code --> Q => Success/Advisory ');
413: -- ========================= FND LOG ===========================
414: END IF;
415:
416: <>

Line 419: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN --> TRUE ');

415:
416: <>
417:
418: -- ========================= FND LOG ===========================
419: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN --> TRUE ');
420: -- ========================= FND LOG ===========================
421:
422: RETURN(TRUE);
423:

Line 427: psa_utils.debug_other_string(g_state_level,l_full_path, ' reached gl_error label ');

423:
424: <>
425:
426: -- ========================= FND LOG ===========================
427: psa_utils.debug_other_string(g_state_level,l_full_path, ' reached gl_error label ');
428: -- ========================= FND LOG ===========================
429:
430: if not glxfuf then
431: -- ========================= FND LOG ===========================

Line 432: psa_utils.debug_other_string(g_state_level,l_full_path, ' Raise OTHERS ');

428: -- ========================= FND LOG ===========================
429:
430: if not glxfuf then
431: -- ========================= FND LOG ===========================
432: psa_utils.debug_other_string(g_state_level,l_full_path, ' Raise OTHERS ');
433: -- ========================= FND LOG ===========================
434: raise others;
435: end if;
436:

Line 438: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN --> FALSE ');

434: raise others;
435: end if;
436:
437: -- ========================= FND LOG ===========================
438: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN --> FALSE ');
439: -- ========================= FND LOG ===========================
440:
441: RETURN(FALSE);
442:

Line 447: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);

443: EXCEPTION
444:
445: WHEN OTHERS THEN
446: -- ========================= FND LOG ===========================
447: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
448: -- ========================= FND LOG ===========================
449:
450: message_token('PROCEDURE', 'Funds Checker');
451: message_token('EVENT', SQLERRM);

Line 455: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN --> FALSE ');

451: message_token('EVENT', SQLERRM);
452: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
453:
454: -- ========================= FND LOG ===========================
455: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN --> FALSE ');
456: -- ========================= FND LOG ===========================
457:
458: return(FALSE);
459:

Line 528: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFCK PRIVATE - START' );

524:
525: l_full_path := g_path || 'glxfck - private';
526:
527: -- =========================== FND LOG ===========================
528: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFCK PRIVATE - START' );
529: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
530: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
531: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
532: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);

Line 529: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);

525: l_full_path := g_path || 'glxfck - private';
526:
527: -- =========================== FND LOG ===========================
528: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFCK PRIVATE - START' );
529: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
530: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
531: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
532: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
533: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);

Line 530: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);

526:
527: -- =========================== FND LOG ===========================
528: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFCK PRIVATE - START' );
529: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
530: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
531: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
532: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
533: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
534: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);

Line 531: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);

527: -- =========================== FND LOG ===========================
528: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFCK PRIVATE - START' );
529: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
530: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
531: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
532: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
533: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
534: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
535: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);

Line 532: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);

528: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFCK PRIVATE - START' );
529: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
530: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
531: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
532: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
533: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
534: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
535: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
536: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);

Line 533: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);

529: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
530: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
531: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
532: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
533: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
534: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
535: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
536: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
537: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfin ');

Line 534: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);

530: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
531: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
532: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
533: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
534: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
535: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
536: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
537: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfin ');
538: -- ========================= FND LOG =============================

Line 535: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);

531: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
532: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
533: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
534: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
535: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
536: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
537: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfin ');
538: -- ========================= FND LOG =============================
539:

Line 536: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);

532: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
533: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
534: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
535: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
536: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
537: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfin ');
538: -- ========================= FND LOG =============================
539:
540: if (p_calling_prog_flag = 'S' and g_fcmode = 'U') then

Line 537: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfin ');

533: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
534: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
535: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
536: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
537: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfin ');
538: -- ========================= FND LOG =============================
539:
540: if (p_calling_prog_flag = 'S' and g_fcmode = 'U') then
541: -- =========================== FND LOG ===========================

Line 542: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling Program = S and mode = Unreservation so return without processing. RETURN -> TRUE.' );

538: -- ========================= FND LOG =============================
539:
540: if (p_calling_prog_flag = 'S' and g_fcmode = 'U') then
541: -- =========================== FND LOG ===========================
542: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling Program = S and mode = Unreservation so return without processing. RETURN -> TRUE.' );
543: -- =========================== FND LOG ===========================
544: -- Since we will not be supporting unreservation functionality for SLA
545: -- return back.
546: return true;

Line 550: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfin - initialization ' );

546: return true;
547: end if;
548:
549: -- =========================== FND LOG ===========================
550: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfin - initialization ' );
551: -- =========================== FND LOG ===========================
552:
553: -- Initialize Global Variables
554: if not glxfin(p_ledgerid => p_ledgerid,

Line 564: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfin --> RETURN FALSE -> goto fatal_error');

560: p_user_resp_id => p_user_resp_id,
561: p_calling_prog_flag => p_calling_prog_flag) then
562:
563: -- =========================== FND LOG ===========================
564: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfin --> RETURN FALSE -> goto fatal_error');
565: -- ========================= FND LOG =============================
566:
567: goto fatal_error;
568: end if;

Line 571: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfcp - preprocessor ');

567: goto fatal_error;
568: end if;
569:
570: -- =========================== FND LOG ===========================
571: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfcp - preprocessor ');
572: -- ========================= FND LOG =============================
573:
574: -- Funds Check Processor
575: if not glxfcp then

Line 577: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfcp --> RETURN FALSE -> goto fatal_error');

573:
574: -- Funds Check Processor
575: if not glxfcp then
576: -- =========================== FND LOG ===========================
577: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfcp --> RETURN FALSE -> goto fatal_error');
578: -- ========================= FND LOG =============================
579: goto fatal_error;
580: end if;
581:

Line 585: psa_utils.debug_other_string(g_state_level,l_full_path, ' return_code --> F');

581:
582:
583: if g_overlapping_budget=TRUE then
584: -- =========================== FND LOG ===========================
585: psa_utils.debug_other_string(g_state_level,l_full_path, ' return_code --> F');
586: -- ========================= FND LOG =============================
587:
588: p_return_code := 'F';
589:

Line 591: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN --> TRUE ');

587:
588: p_return_code := 'F';
589:
590: -- =========================== FND LOG ===========================
591: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN --> TRUE ');
592: -- ========================= FND LOG =============================
593: return(TRUE);
594:
595: end if ;

Line 602: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_override_flag --> TRUE ');

598: -- Override Transactions
599: if g_override_flag and g_calling_prog_flag = 'G' and not g_conc_flag then
600:
601: -- =========================== FND LOG ===========================
602: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_override_flag --> TRUE ');
603: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_calling_prog_flag --> G ');
604: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_conc_flag --> FALSE ');
605: -- ========================= FND LOG =============================
606:

Line 603: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_calling_prog_flag --> G ');

599: if g_override_flag and g_calling_prog_flag = 'G' and not g_conc_flag then
600:
601: -- =========================== FND LOG ===========================
602: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_override_flag --> TRUE ');
603: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_calling_prog_flag --> G ');
604: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_conc_flag --> FALSE ');
605: -- ========================= FND LOG =============================
606:
607: open det_override_reqd;

Line 604: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_conc_flag --> FALSE ');

600:
601: -- =========================== FND LOG ===========================
602: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_override_flag --> TRUE ');
603: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_calling_prog_flag --> G ');
604: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_conc_flag --> FALSE ');
605: -- ========================= FND LOG =============================
606:
607: open det_override_reqd;
608: fetch det_override_reqd INTO l_override_reqd;

Line 613: psa_utils.debug_other_string(g_state_level,l_full_path, ' det_override_reqd%NOTFOUND ');

609:
610: if (det_override_reqd%NOTFOUND) then
611:
612: -- =========================== FND LOG ===========================
613: psa_utils.debug_other_string(g_state_level,l_full_path, ' det_override_reqd%NOTFOUND ');
614: -- ========================= FND LOG =============================
615:
616: open ussgl_override_reqd;
617: fetch ussgl_override_reqd INTO l_override_reqd;

Line 622: psa_utils.debug_other_string(g_state_level,l_full_path, ' ussgl_override_reqd%FOUND ');

618:
619: if (ussgl_override_reqd%FOUND) then
620:
621: -- =========================== FND LOG ===========================
622: psa_utils.debug_other_string(g_state_level,l_full_path, ' ussgl_override_reqd%FOUND ');
623: -- ========================= FND LOG =============================
624:
625: g_return_code := 'O';
626: goto normal_exit;

Line 632: psa_utils.debug_other_string(g_state_level,l_full_path, ' det_override_reqd%FOUND ');

628:
629: else
630:
631: -- =========================== FND LOG ===========================
632: psa_utils.debug_other_string(g_state_level,l_full_path, ' det_override_reqd%FOUND ');
633: -- ========================= FND LOG =============================
634:
635: g_return_code := 'O';
636: goto normal_exit;

Line 642: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxcon ');

638:
639: end if;
640:
641: -- =========================== FND LOG ===========================
642: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxcon ');
643: -- ========================= FND LOG =============================
644:
645: -- Set Result Codes, Return Code, Append Journal Logic
646: if not glxcon then

Line 648: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxcon --> RETURN FALSE -> goto fatal_error');

644:
645: -- Set Result Codes, Return Code, Append Journal Logic
646: if not glxcon then
647: -- =========================== FND LOG ===========================
648: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxcon --> RETURN FALSE -> goto fatal_error');
649: -- ========================= FND LOG =============================
650: goto fatal_error;
651: end if;
652:

Line 654: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glrchk ');

650: goto fatal_error;
651: end if;
652:
653: -- =========================== FND LOG ===========================
654: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glrchk ');
655: -- ========================= FND LOG =============================
656:
657: if not glrchk('X') then
658: -- =========================== FND LOG ===========================

Line 659: psa_utils.debug_other_string(g_state_level,l_full_path, ' glrchk --> RETURN FALSE -> goto fatal_error');

655: -- ========================= FND LOG =============================
656:
657: if not glrchk('X') then
658: -- =========================== FND LOG ===========================
659: psa_utils.debug_other_string(g_state_level,l_full_path, ' glrchk --> RETURN FALSE -> goto fatal_error');
660: -- ========================= FND LOG =============================
661: goto fatal_error;
662: end if;
663:

Line 675: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code --> ' || g_return_code);

671: close ussgl_override_reqd;
672: END IF;
673:
674: -- =========================== FND LOG ===========================
675: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code --> ' || g_return_code);
676: -- ========================= FND LOG =============================
677:
678: p_return_code := g_return_code;
679:

Line 681: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN --> TRUE ');

677:
678: p_return_code := g_return_code;
679:
680: -- =========================== FND LOG ===========================
681: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN --> TRUE ');
682: -- ========================= FND LOG =============================
683:
684: return(TRUE);
685:

Line 690: psa_utils.debug_other_string(g_state_level,l_full_path, ' Reached FATAL ERROR LABEL ');

686:
687: <>
688:
689: -- =========================== FND LOG ===========================
690: psa_utils.debug_other_string(g_state_level,l_full_path, ' Reached FATAL ERROR LABEL ');
691: -- ========================= FND LOG =============================
692:
693: if not glxfuf then
694: -- =========================== FND LOG ===========================

Line 695: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfuf --> RETURN FALSE -> RAISE OTHERS');

691: -- ========================= FND LOG =============================
692:
693: if not glxfuf then
694: -- =========================== FND LOG ===========================
695: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfuf --> RETURN FALSE -> RAISE OTHERS');
696: -- ========================= FND LOG =============================
697: raise others;
698: end if;
699:

Line 701: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE ');

697: raise others;
698: end if;
699:
700: -- =========================== FND LOG ===========================
701: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE ');
702: -- ========================= FND LOG =============================
703:
704: return(FALSE);
705:

Line 710: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);

706: EXCEPTION
707:
708: WHEN OTHERS THEN
709: -- =========================== FND LOG ===========================
710: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
711: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE ');
712: -- ========================= FND LOG =============================
713:
714: message_token('PROCEDURE', 'Funds Checker');

Line 711: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE ');

707:
708: WHEN OTHERS THEN
709: -- =========================== FND LOG ===========================
710: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
711: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE ');
712: -- ========================= FND LOG =============================
713:
714: message_token('PROCEDURE', 'Funds Checker');
715: message_token('EVENT', SQLERRM);

Line 775: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFIN - START' );

771:
772: l_full_path := g_path || 'glxfin';
773:
774: -- =========================== FND LOG ===========================
775: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFIN - START' );
776: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
777: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
778: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
779: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);

Line 776: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);

772: l_full_path := g_path || 'glxfin';
773:
774: -- =========================== FND LOG ===========================
775: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFIN - START' );
776: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
777: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
778: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
779: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
780: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);

Line 777: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);

773:
774: -- =========================== FND LOG ===========================
775: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFIN - START' );
776: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
777: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
778: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
779: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
780: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
781: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);

Line 778: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);

774: -- =========================== FND LOG ===========================
775: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFIN - START' );
776: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
777: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
778: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
779: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
780: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
781: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
782: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);

Line 779: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);

775: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFIN - START' );
776: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
777: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
778: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
779: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
780: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
781: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
782: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
783: -- ========================= FND LOG =============================

Line 780: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);

776: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
777: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
778: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
779: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
780: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
781: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
782: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
783: -- ========================= FND LOG =============================
784:

Line 781: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);

777: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
778: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
779: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
780: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
781: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
782: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
783: -- ========================= FND LOG =============================
784:
785: g_psa_pacheck := FALSE;

Line 782: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);

778: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
779: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
780: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
781: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
782: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
783: -- ========================= FND LOG =============================
784:
785: g_psa_pacheck := FALSE;
786: g_psa_grantcheck := FALSE;

Line 796: psa_utils.debug_other_string(g_state_level,l_full_path, ' SETTING VARIABLES ' );

792: g_overlapping_budget := FALSE; -- Used When there are multiple overlapping budgets for the account
793:
794:
795: -- =========================== FND LOG ===========================
796: psa_utils.debug_other_string(g_state_level,l_full_path, ' SETTING VARIABLES ' );
797: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_pacheck -> FALSE');
798: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_grantcheck -> FALSE');
799: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_enabled -> FALSE');
800: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag -> FALSE');

Line 797: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_pacheck -> FALSE');

793:
794:
795: -- =========================== FND LOG ===========================
796: psa_utils.debug_other_string(g_state_level,l_full_path, ' SETTING VARIABLES ' );
797: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_pacheck -> FALSE');
798: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_grantcheck -> FALSE');
799: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_enabled -> FALSE');
800: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag -> FALSE');
801: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> FALSE');

Line 798: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_grantcheck -> FALSE');

794:
795: -- =========================== FND LOG ===========================
796: psa_utils.debug_other_string(g_state_level,l_full_path, ' SETTING VARIABLES ' );
797: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_pacheck -> FALSE');
798: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_grantcheck -> FALSE');
799: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_enabled -> FALSE');
800: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag -> FALSE');
801: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> FALSE');
802: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_requery_flag -> FALSE');

Line 799: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_enabled -> FALSE');

795: -- =========================== FND LOG ===========================
796: psa_utils.debug_other_string(g_state_level,l_full_path, ' SETTING VARIABLES ' );
797: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_pacheck -> FALSE');
798: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_grantcheck -> FALSE');
799: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_enabled -> FALSE');
800: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag -> FALSE');
801: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> FALSE');
802: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_requery_flag -> FALSE');
803: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ussgl_option_flag -> FALSE');

Line 800: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag -> FALSE');

796: psa_utils.debug_other_string(g_state_level,l_full_path, ' SETTING VARIABLES ' );
797: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_pacheck -> FALSE');
798: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_grantcheck -> FALSE');
799: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_enabled -> FALSE');
800: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag -> FALSE');
801: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> FALSE');
802: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_requery_flag -> FALSE');
803: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ussgl_option_flag -> FALSE');
804: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_overlapping_budget -> FALSE');

Line 801: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> FALSE');

797: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_pacheck -> FALSE');
798: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_grantcheck -> FALSE');
799: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_enabled -> FALSE');
800: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag -> FALSE');
801: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> FALSE');
802: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_requery_flag -> FALSE');
803: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ussgl_option_flag -> FALSE');
804: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_overlapping_budget -> FALSE');
805: -- ========================= FND LOG =============================

Line 802: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_requery_flag -> FALSE');

798: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_grantcheck -> FALSE');
799: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_enabled -> FALSE');
800: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag -> FALSE');
801: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> FALSE');
802: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_requery_flag -> FALSE');
803: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ussgl_option_flag -> FALSE');
804: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_overlapping_budget -> FALSE');
805: -- ========================= FND LOG =============================
806:

Line 803: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ussgl_option_flag -> FALSE');

799: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_enabled -> FALSE');
800: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag -> FALSE');
801: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> FALSE');
802: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_requery_flag -> FALSE');
803: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ussgl_option_flag -> FALSE');
804: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_overlapping_budget -> FALSE');
805: -- ========================= FND LOG =============================
806:
807: /*===========================================+

Line 804: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_overlapping_budget -> FALSE');

800: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag -> FALSE');
801: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> FALSE');
802: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_requery_flag -> FALSE');
803: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ussgl_option_flag -> FALSE');
804: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_overlapping_budget -> FALSE');
805: -- ========================= FND LOG =============================
806:
807: /*===========================================+
808: | Assign Parameters to Global Variables |

Line 816: psa_utils.debug_other_string(g_state_level,l_full_path, 'Calling Get_Session_Details to fetch session variables');

812: g_packet_id := p_packetid;
813: g_fcmode := p_mode;
814:
815: -- ========================= FND LOG =============================
816: psa_utils.debug_other_string(g_state_level,l_full_path, 'Calling Get_Session_Details to fetch session variables');
817: -- ========================= FND LOG =============================
818:
819: Get_Session_Details(g_session_id, g_serial_id);
820:

Line 822: psa_utils.debug_other_string(g_state_level,l_full_path, 'Session_Id = '||g_session_id);

818:
819: Get_Session_Details(g_session_id, g_serial_id);
820:
821: -- ========================= FND LOG =============================
822: psa_utils.debug_other_string(g_state_level,l_full_path, 'Session_Id = '||g_session_id);
823: psa_utils.debug_other_string(g_state_level,l_full_path, 'Serial_Id = '||g_serial_id);
824: -- ========================= FND LOG =============================
825:
826: IF p_calling_prog_flag IN ('P', 'H') THEN

Line 823: psa_utils.debug_other_string(g_state_level,l_full_path, 'Serial_Id = '||g_serial_id);

819: Get_Session_Details(g_session_id, g_serial_id);
820:
821: -- ========================= FND LOG =============================
822: psa_utils.debug_other_string(g_state_level,l_full_path, 'Session_Id = '||g_session_id);
823: psa_utils.debug_other_string(g_state_level,l_full_path, 'Serial_Id = '||g_serial_id);
824: -- ========================= FND LOG =============================
825:
826: IF p_calling_prog_flag IN ('P', 'H') THEN
827: -- ========================= FND LOG =============================

Line 828: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag = P or H -> g_calling_prog_flag = S');

824: -- ========================= FND LOG =============================
825:
826: IF p_calling_prog_flag IN ('P', 'H') THEN
827: -- ========================= FND LOG =============================
828: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag = P or H -> g_calling_prog_flag = S');
829: -- ========================= FND LOG =============================
830:
831: g_calling_prog_flag := 'S';
832: ELSE

Line 834: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag != P or H -> g_calling_prog_flag = ' || p_calling_prog_flag);

830:
831: g_calling_prog_flag := 'S';
832: ELSE
833: -- ========================= FND LOG =============================
834: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag != P or H -> g_calling_prog_flag = ' || p_calling_prog_flag);
835: -- ========================= FND LOG =============================
836:
837: g_calling_prog_flag := p_calling_prog_flag;
838: END IF;

Line 842: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = C -> g_partial_resv_flag = Y');

838: END IF;
839:
840: IF g_fcmode ='C' THEN -- Funds Check Partial Mode Check
841: -- ========================= FND LOG =====================================
842: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = C -> g_partial_resv_flag = Y');
843: -- ========================= FND LOG =====================================
844:
845: g_partial_resv_flag := 'Y';
846: ELSIF g_fcmode = 'M' THEN -- Funds Check Full Mode Check

Line 848: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = M -> g_partial_resv_flag = N');

844:
845: g_partial_resv_flag := 'Y';
846: ELSIF g_fcmode = 'M' THEN -- Funds Check Full Mode Check
847: -- ========================= FND LOG =====================================
848: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = M -> g_partial_resv_flag = N');
849: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = M -> g_fcmode = C');
850: -- ========================= FND LOG =====================================
851:
852: g_partial_resv_flag := 'N';

Line 849: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = M -> g_fcmode = C');

845: g_partial_resv_flag := 'Y';
846: ELSIF g_fcmode = 'M' THEN -- Funds Check Full Mode Check
847: -- ========================= FND LOG =====================================
848: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = M -> g_partial_resv_flag = N');
849: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = M -> g_fcmode = C');
850: -- ========================= FND LOG =====================================
851:
852: g_partial_resv_flag := 'N';
853: g_fcmode := 'C';

Line 856: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = P -> g_partial_resv_flag = Y');

852: g_partial_resv_flag := 'N';
853: g_fcmode := 'C';
854: ELSIF g_fcmode = 'P' THEN -- Funds Reserve Partial Mode Check
855: -- ========================= FND LOG =====================================
856: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = P -> g_partial_resv_flag = Y');
857: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = P -> g_fcmode = R');
858: -- ========================= FND LOG =====================================
859: --Modified by sthota for Bug 9086735
860: g_partial_resv_flag := 'N';

Line 857: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = P -> g_fcmode = R');

853: g_fcmode := 'C';
854: ELSIF g_fcmode = 'P' THEN -- Funds Reserve Partial Mode Check
855: -- ========================= FND LOG =====================================
856: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = P -> g_partial_resv_flag = Y');
857: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = P -> g_fcmode = R');
858: -- ========================= FND LOG =====================================
859: --Modified by sthota for Bug 9086735
860: g_partial_resv_flag := 'N';
861: g_fcmode := 'R';

Line 864: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode != C, M and P -> g_partial_resv_flag = N');

860: g_partial_resv_flag := 'N';
861: g_fcmode := 'R';
862: ELSE
863: -- ========================= FND LOG =====================================
864: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode != C, M and P -> g_partial_resv_flag = N');
865: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> '||g_fcmode);
866: -- ========================= FND LOG =====================================
867:
868: g_partial_resv_flag := 'N';

Line 865: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> '||g_fcmode);

861: g_fcmode := 'R';
862: ELSE
863: -- ========================= FND LOG =====================================
864: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode != C, M and P -> g_partial_resv_flag = N');
865: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> '||g_fcmode);
866: -- ========================= FND LOG =====================================
867:
868: g_partial_resv_flag := 'N';
869: END IF;

Line 872: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ledger_id -> ' || g_ledger_id);

868: g_partial_resv_flag := 'N';
869: END IF;
870:
871: -- =========================== FND LOG ===========================
872: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ledger_id -> ' || g_ledger_id);
873: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id -> ' || g_packet_id);
874: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);
875: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_partial_resv_flag -> '|| g_partial_resv_flag);
876: -- ========================= FND LOG =============================

Line 873: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id -> ' || g_packet_id);

869: END IF;
870:
871: -- =========================== FND LOG ===========================
872: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ledger_id -> ' || g_ledger_id);
873: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id -> ' || g_packet_id);
874: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);
875: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_partial_resv_flag -> '|| g_partial_resv_flag);
876: -- ========================= FND LOG =============================
877:

Line 874: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);

870:
871: -- =========================== FND LOG ===========================
872: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ledger_id -> ' || g_ledger_id);
873: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id -> ' || g_packet_id);
874: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);
875: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_partial_resv_flag -> '|| g_partial_resv_flag);
876: -- ========================= FND LOG =============================
877:
878: /*========================+

Line 875: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_partial_resv_flag -> '|| g_partial_resv_flag);

871: -- =========================== FND LOG ===========================
872: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ledger_id -> ' || g_ledger_id);
873: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id -> ' || g_packet_id);
874: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);
875: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_partial_resv_flag -> '|| g_partial_resv_flag);
876: -- ========================= FND LOG =============================
877:
878: /*========================+
879: | Set Overrides Flag |

Line 884: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override = N -> g_override_flag = FALSE');

880: +========================*/
881:
882: if (p_override = 'N') then
883: -- =========================== FND LOG ===========================
884: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override = N -> g_override_flag = FALSE');
885: -- =========================== FND LOG ===========================
886:
887: g_override_flag := FALSE;
888: else

Line 890: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override != N -> g_override_flag = TRUE');

886:
887: g_override_flag := FALSE;
888: else
889: -- =========================== FND LOG ===========================
890: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override != N -> g_override_flag = TRUE');
891: -- =========================== FND LOG ===========================
892:
893: g_override_flag := TRUE;
894: end if;

Line 908: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_user_id -> ' || g_user_id);

904: g_user_id := FND_GLOBAL.USER_ID;
905: end if;
906:
907: -- =========================== FND LOG ===========================
908: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_user_id -> ' || g_user_id);
909: -- ========================= FND LOG =============================
910:
911: if g_user_id = -1 then
912: message_token('PROCEDURE', 'Funds Checker');

Line 915: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE');

911: if g_user_id = -1 then
912: message_token('PROCEDURE', 'Funds Checker');
913: add_message('SQLGL', 'GL_INVALID_USERID');
914: -- =========================== FND LOG ===========================
915: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE');
916: -- ========================= FND LOG =============================
917: g_debug := g_debug||' GLXFIN Failed : G_USER_ID = -1';
918: return(FALSE);
919: end if;

Line 932: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_resp_appl_id -> ' || g_resp_appl_id);

928: g_resp_appl_id := 101;
929: end if;
930:
931: -- =========================== FND LOG ===========================
932: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_resp_appl_id -> ' || g_resp_appl_id);
933: -- ========================= FND LOG =============================
934:
935: /*=========================+
936: | Get Responsibility ID |

Line 947: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_user_resp_id -> ' || g_user_resp_id);

943: g_user_resp_id := FND_GLOBAL.RESP_ID;
944: end if;
945:
946: -- =========================== FND LOG ===========================
947: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_user_resp_id -> ' || g_user_resp_id);
948: -- ========================= FND LOG =============================
949:
950: if g_user_resp_id = -1 then
951: message_token('PROCEDURE', 'Funds Checker');

Line 954: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE');

950: if g_user_resp_id = -1 then
951: message_token('PROCEDURE', 'Funds Checker');
952: add_message('SQLGL', 'GL_INVALID_RESPID');
953: -- =========================== FND LOG ===========================
954: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE');
955: -- ========================= FND LOG =============================
956: g_debug := g_debug||' GLXFIN Failed : G_USER_RESP_ID = -1';
957: return(FALSE);
958: end if;

Line 973: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_conc_flag -> TRUE');

969: end if;
970:
971: -- =========================== FND LOG ===========================
972: IF (g_conc_flag) THEN
973: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_conc_flag -> TRUE');
974: ELSE
975: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_conc_flag -> FALSE');
976: END IF;
977: -- ========================= FND LOG =============================

Line 975: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_conc_flag -> FALSE');

971: -- =========================== FND LOG ===========================
972: IF (g_conc_flag) THEN
973: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_conc_flag -> TRUE');
974: ELSE
975: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_conc_flag -> FALSE');
976: END IF;
977: -- ========================= FND LOG =============================
978:
979: IF g_calling_prog_flag = 'G' THEN

Line 992: psa_utils.debug_other_string(g_state_level,l_full_path, ' Getting INDUSTRY details ');

988: l_industry,
989: l_defined);
990:
991: -- =========================== FND LOG ===========================
992: psa_utils.debug_other_string(g_state_level,l_full_path, ' Getting INDUSTRY details ');
993: -- ========================= FND LOG =============================
994:
995: if not l_defined then
996: if not FND_INSTALLATION.GET(g_resp_appl_id,

Line 1004: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE');

1000:
1001: message_token('ROUTINE', 'Funds Checker');
1002: add_message('SQLGL', 'GL_CANT_GET_INSTALL_INDUSTRY');
1003: -- =========================== FND LOG ===========================
1004: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE');
1005: -- ========================= FND LOG =============================
1006: g_debug := g_debug||' GLXFIN Failed : Oracle General Ledger
1007: was unable to get installation industry from Funds Checker.
1008: Contact your system administrator.';

Line 1017: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_industry -> ' || l_industry);

1013:
1014: -- Check for Profiles if Government Install
1015:
1016: -- =========================== FND LOG ===========================
1017: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_industry -> ' || l_industry);
1018: -- ========================= FND LOG =============================
1019:
1020: if l_industry = 'G' then
1021:

Line 1026: psa_utils.debug_other_string(g_state_level,l_full_path, ' RAISE OTHERS');

1022: FND_PROFILE.GET('USSGL_OPTION', l_value);
1023:
1024: if l_value is null then
1025: -- =========================== FND LOG ===========================
1026: psa_utils.debug_other_string(g_state_level,l_full_path, ' RAISE OTHERS');
1027: -- ========================= FND LOG =============================
1028: raise others;
1029: end if;
1030:

Line 1032: psa_utils.debug_other_string(g_state_level,l_full_path, ' USSGL_OPTION, l_value -> ' || l_Value);

1028: raise others;
1029: end if;
1030:
1031: -- =========================== FND LOG ===========================
1032: psa_utils.debug_other_string(g_state_level,l_full_path, ' USSGL_OPTION, l_value -> ' || l_Value);
1033: -- ========================= FND LOG =============================
1034:
1035: if l_value = 'Y' then
1036: -- =========================== FND LOG ===========================

Line 1037: psa_utils.debug_other_string(g_state_level,l_full_path, ' G_USSGL_OPTION_FLAG -> TRUE ');

1033: -- ========================= FND LOG =============================
1034:
1035: if l_value = 'Y' then
1036: -- =========================== FND LOG ===========================
1037: psa_utils.debug_other_string(g_state_level,l_full_path, ' G_USSGL_OPTION_FLAG -> TRUE ');
1038: -- ========================= FND LOG =============================
1039: g_ussgl_option_flag := TRUE;
1040: end if;
1041:

Line 1052: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_fv_prepay_prof -> ' || l_fv_prepay_prof);

1048: l_fv_prepay_prof,
1049: l_fv_prepay_defined);
1050:
1051: -- =========================== FND LOG ===========================
1052: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_fv_prepay_prof -> ' || l_fv_prepay_prof);
1053: -- ========================= FND LOG =============================
1054:
1055: if l_fv_prepay_prof = 'Y' then
1056: g_fv_prepay_prof := TRUE;

Line 1063: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fv_prepay_prof -> TRUE');

1059: end if;
1060:
1061: -- =========================== FND LOG ===========================
1062: IF (g_fv_prepay_prof) THEN
1063: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fv_prepay_prof -> TRUE');
1064: ELSE
1065: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fv_prepay_prof -> FALSE');
1066: END IF;
1067: -- ========================= FND LOG =============================

Line 1065: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fv_prepay_prof -> FALSE');

1061: -- =========================== FND LOG ===========================
1062: IF (g_fv_prepay_prof) THEN
1063: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fv_prepay_prof -> TRUE');
1064: ELSE
1065: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fv_prepay_prof -> FALSE');
1066: END IF;
1067: -- ========================= FND LOG =============================
1068:
1069: end if;

Line 1086: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_reverse_tc_flag -> ' || g_reverse_tc_flag);

1082: g_reverse_tc_flag := l_reverse_tc_flag;
1083: end if;
1084:
1085: -- =========================== FND LOG ===========================
1086: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_reverse_tc_flag -> ' || g_reverse_tc_flag);
1087: -- ========================= FND LOG =============================
1088:
1089: end if; -- l_industry = 'G'
1090:

Line 1098: psa_utils.debug_other_string(g_state_level,l_full_path, ' CBE - l_value -> ' || l_Value);

1094: /*
1095: FND_PROFILE.GET('CREATE_BUDGETARY_ENCUMBRANCES', l_value);
1096:
1097: -- =========================== FND LOG ===========================
1098: psa_utils.debug_other_string(g_state_level,l_full_path, ' CBE - l_value -> ' || l_Value);
1099: -- ========================= FND LOG =============================
1100:
1101: if l_value is null then
1102: -- =========================== FND LOG ===========================

Line 1103: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_value is null -> raise others');

1099: -- ========================= FND LOG =============================
1100:
1101: if l_value is null then
1102: -- =========================== FND LOG ===========================
1103: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_value is null -> raise others');
1104: -- ========================= FND LOG =============================
1105:
1106: raise others;
1107: else

Line 1109: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_value not null -> g_budgetary_enc_flag = l_value = ' || l_value);

1105:
1106: raise others;
1107: else
1108: -- =========================== FND LOG ===========================
1109: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_value not null -> g_budgetary_enc_flag = l_value = ' || l_value);
1110: -- ========================= FND LOG =============================
1111:
1112: g_budgetary_enc_flag := l_value;
1113: end if;

Line 1124: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_value = Y -> g_xla_debug = TRUE');

1120: FND_PROFILE.GET('PSA_DEBUG_MODE', l_value);
1121:
1122: IF l_value = 'Y' THEN
1123: -- =========================== FND LOG ===========================
1124: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_value = Y -> g_xla_debug = TRUE');
1125: -- ========================= FND LOG =============================
1126:
1127: g_xla_debug := TRUE;
1128: ELSE

Line 1130: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_value != Y -> g_xla_debug = FALSE');

1126:
1127: g_xla_debug := TRUE;
1128: ELSE
1129: -- =========================== FND LOG ===========================
1130: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_value != Y -> g_xla_debug = FALSE');
1131: -- ========================= FND LOG =============================
1132:
1133: g_xla_debug := FALSE;
1134: END IF;

Line 1156: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_bc_option_id -> ' || g_bc_option_id);

1152:
1153: g_bc_option_id := to_number(l_value);
1154:
1155: -- =========================== FND LOG ===========================
1156: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_bc_option_id -> ' || g_bc_option_id);
1157: -- ========================= FND LOG =============================
1158:
1159: g_return_code := NULL;
1160:

Line 1164: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code -> ' || g_return_code);

1160:
1161: g_num_segs := 0;
1162:
1163: -- =========================== FND LOG ===========================
1164: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code -> ' || g_return_code);
1165: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_num_segs -> ' || g_num_segs);
1166: -- ========================= FND LOG =============================
1167:
1168: for i in 1..30 loop

Line 1165: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_num_segs -> ' || g_num_segs);

1161: g_num_segs := 0;
1162:
1163: -- =========================== FND LOG ===========================
1164: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code -> ' || g_return_code);
1165: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_num_segs -> ' || g_num_segs);
1166: -- ========================= FND LOG =============================
1167:
1168: for i in 1..30 loop
1169: seg_name(i) := null;

Line 1179: psa_utils.debug_other_string(g_state_level,l_full_path, ' Check PA is enable or not ' );

1175: | Check for PA enabled |
1176: +=============================*/
1177:
1178: -- =========================== FND LOG ===========================
1179: psa_utils.debug_other_string(g_state_level,l_full_path, ' Check PA is enable or not ' );
1180: -- ========================= FND LOG =============================
1181:
1182: BEGIN
1183: l_industry := NULL;

Line 1195: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_prepare_stmt -> ' || l_prepare_stmt );

1191: l_pa_enabled := 0;
1192: l_prepare_stmt := 'BEGIN IF PA_BUDGET_FUND_PKG.IS_PA_BC_ENABLED() THEN'||' :1 := 1; END IF; END;';
1193:
1194: -- =========================== FND LOG ===========================
1195: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_prepare_stmt -> ' || l_prepare_stmt );
1196: -- ========================= FND LOG =============================
1197:
1198: EXECUTE IMMEDIATE l_prepare_stmt USING OUT l_pa_enabled;
1199:

Line 1201: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_pa_enabled -> ' || l_pa_enabled );

1197:
1198: EXECUTE IMMEDIATE l_prepare_stmt USING OUT l_pa_enabled;
1199:
1200: -- =========================== FND LOG ===========================
1201: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_pa_enabled -> ' || l_pa_enabled );
1202: -- ========================= FND LOG =============================
1203:
1204:
1205: IF l_pa_enabled = 1 THEN

Line 1210: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_pacheck --> TRUE ' );

1206:
1207: g_psa_pacheck := TRUE;
1208:
1209: -- =========================== FND LOG ===========================
1210: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_pacheck --> TRUE ' );
1211: -- ========================= FND LOG =============================
1212:
1213: END IF;
1214: END IF;

Line 1222: psa_utils.debug_other_string(g_excep_level,l_full_path, ' g_psa_pacheck --> FALSE ' );

1218: WHEN OTHERS THEN
1219: g_psa_pacheck := FALSE;
1220:
1221: -- =========================== FND LOG ===========================
1222: psa_utils.debug_other_string(g_excep_level,l_full_path, ' g_psa_pacheck --> FALSE ' );
1223: psa_utils.debug_other_string(g_excep_level,l_full_path, ' ERROR: '||sqlerrm );
1224: -- ========================= FND LOG =============================
1225: END;
1226:

Line 1223: psa_utils.debug_other_string(g_excep_level,l_full_path, ' ERROR: '||sqlerrm );

1219: g_psa_pacheck := FALSE;
1220:
1221: -- =========================== FND LOG ===========================
1222: psa_utils.debug_other_string(g_excep_level,l_full_path, ' g_psa_pacheck --> FALSE ' );
1223: psa_utils.debug_other_string(g_excep_level,l_full_path, ' ERROR: '||sqlerrm );
1224: -- ========================= FND LOG =============================
1225: END;
1226:
1227:

Line 1233: psa_utils.debug_other_string(g_state_level,l_full_path, ' Check GMS is enable or not ' );

1229: | Check for GMS enabled |
1230: +=============================*/
1231:
1232: -- =========================== FND LOG ===========================
1233: psa_utils.debug_other_string(g_state_level,l_full_path, ' Check GMS is enable or not ' );
1234: -- ========================= FND LOG =============================
1235: BEGIN
1236: l_industry := NULL;
1237: l_prepare_stmt := NULL;

Line 1248: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_prepare_stmt -> ' || l_prepare_stmt );

1244: l_gms_enabled := 0;
1245: l_prepare_stmt := 'BEGIN IF GMS_INSTALL.ENABLED() THEN'||' :1 := 1; END IF; END;';
1246:
1247: -- =========================== FND LOG ===========================
1248: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_prepare_stmt -> ' || l_prepare_stmt );
1249: -- ========================= FND LOG =============================
1250:
1251: EXECUTE IMMEDIATE l_prepare_stmt USING OUT l_gms_enabled;
1252:

Line 1254: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_gms_enabled -> ' || l_gms_enabled );

1250:
1251: EXECUTE IMMEDIATE l_prepare_stmt USING OUT l_gms_enabled;
1252:
1253: -- =========================== FND LOG ===========================
1254: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_gms_enabled -> ' || l_gms_enabled );
1255: -- ========================= FND LOG =============================
1256:
1257:
1258: IF l_gms_enabled = 1 THEN

Line 1263: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_grantcheck --> TRUE ' );

1259:
1260: g_psa_grantcheck := TRUE;
1261:
1262: -- =========================== FND LOG ===========================
1263: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_grantcheck --> TRUE ' );
1264: -- ========================= FND LOG =============================
1265:
1266: END IF;
1267: END IF;

Line 1275: psa_utils.debug_other_string(g_excep_level,l_full_path, ' g_psa_grantcheck --> FALSE ' );

1271: WHEN OTHERS THEN
1272: g_psa_grantcheck := FALSE;
1273:
1274: -- =========================== FND LOG ===========================
1275: psa_utils.debug_other_string(g_excep_level,l_full_path, ' g_psa_grantcheck --> FALSE ' );
1276: psa_utils.debug_other_string(g_excep_level,l_full_path, ' ERROR: '||sqlerrm );
1277: -- ========================= FND LOG =============================
1278: END;
1279:

Line 1276: psa_utils.debug_other_string(g_excep_level,l_full_path, ' ERROR: '||sqlerrm );

1272: g_psa_grantcheck := FALSE;
1273:
1274: -- =========================== FND LOG ===========================
1275: psa_utils.debug_other_string(g_excep_level,l_full_path, ' g_psa_grantcheck --> FALSE ' );
1276: psa_utils.debug_other_string(g_excep_level,l_full_path, ' ERROR: '||sqlerrm );
1277: -- ========================= FND LOG =============================
1278: END;
1279:
1280:

Line 1286: psa_utils.debug_other_string(g_state_level,l_full_path, ' Check CBC is enabled or not' );

1282: | Check CBC Enabled |
1283: +========================*/
1284:
1285: -- =========================== FND LOG ===========================
1286: psa_utils.debug_other_string(g_state_level,l_full_path, ' Check CBC is enabled or not' );
1287: -- ========================= FND LOG =============================
1288:
1289: BEGIN
1290:

Line 1295: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_prepare_stmt -> ' || l_prepare_stmt );

1291: IF (l_igi_status = 'I') THEN
1292:
1293: l_prepare_stmt := 'SELECT cc_bc_enable_flag FROM igc_cc_bc_enable WHERE set_of_books_id = :1';
1294: -- =========================== FND LOG ===========================
1295: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_prepare_stmt -> ' || l_prepare_stmt );
1296: -- ========================= FND LOG =============================
1297:
1298: EXECUTE IMMEDIATE l_prepare_stmt INTO l_cbc_enabled USING g_ledger_id;
1299:

Line 1309: psa_utils.debug_other_string(g_excep_level,l_full_path, ' g_cbc_enabled --> FALSE ' );

1305: EXCEPTION
1306: WHEN OTHERS THEN
1307: g_cbc_enabled := FALSE;
1308: -- =========================== FND LOG ===========================
1309: psa_utils.debug_other_string(g_excep_level,l_full_path, ' g_cbc_enabled --> FALSE ' );
1310: psa_utils.debug_other_string(g_excep_level,l_full_path, ' ERROR: '||sqlerrm );
1311: -- ========================= FND LOG =============================
1312: END;
1313:

Line 1310: psa_utils.debug_other_string(g_excep_level,l_full_path, ' ERROR: '||sqlerrm );

1306: WHEN OTHERS THEN
1307: g_cbc_enabled := FALSE;
1308: -- =========================== FND LOG ===========================
1309: psa_utils.debug_other_string(g_excep_level,l_full_path, ' g_cbc_enabled --> FALSE ' );
1310: psa_utils.debug_other_string(g_excep_level,l_full_path, ' ERROR: '||sqlerrm );
1311: -- ========================= FND LOG =============================
1312: END;
1313:
1314:

Line 1317: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_enabled --> TRUE');

1313:
1314:
1315: IF g_cbc_enabled THEN
1316: -- =========================== FND LOG ===========================
1317: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_enabled --> TRUE');
1318: -- ========================= FND LOG =============================
1319: ELSE
1320: -- =========================== FND LOG ===========================
1321: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_enabled --> FALSE');

Line 1321: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_enabled --> FALSE');

1317: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_enabled --> TRUE');
1318: -- ========================= FND LOG =============================
1319: ELSE
1320: -- =========================== FND LOG ===========================
1321: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_enabled --> FALSE');
1322: -- ========================= FND LOG =============================
1323: END IF;
1324:
1325:

Line 1335: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_coa_id -> ' || g_coa_id);

1331: FETCH set_of_books INTO g_coa_id, g_func_curr_code;
1332: CLOSE set_of_books;
1333:
1334: -- =========================== FND LOG ===========================
1335: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_coa_id -> ' || g_coa_id);
1336: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_func_curr_code -> ' || g_func_curr_code);
1337: -- ========================= FND LOG =============================
1338:
1339: -- ===============================================================

Line 1336: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_func_curr_code -> ' || g_func_curr_code);

1332: CLOSE set_of_books;
1333:
1334: -- =========================== FND LOG ===========================
1335: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_coa_id -> ' || g_coa_id);
1336: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_func_curr_code -> ' || g_func_curr_code);
1337: -- ========================= FND LOG =============================
1338:
1339: -- ===============================================================
1340: psa_utils.debug_other_string(g_state_level,l_full_path,'Getting value of Profile PSA_ENABLE_EFC');

Line 1340: psa_utils.debug_other_string(g_state_level,l_full_path,'Getting value of Profile PSA_ENABLE_EFC');

1336: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_func_curr_code -> ' || g_func_curr_code);
1337: -- ========================= FND LOG =============================
1338:
1339: -- ===============================================================
1340: psa_utils.debug_other_string(g_state_level,l_full_path,'Getting value of Profile PSA_ENABLE_EFC');
1341: -- ===============================================================
1342:
1343: FND_PROFILE.GET('PSA_ENABLE_EFC',g_enable_efc_flag);
1344:

Line 1346: psa_utils.debug_other_string(g_state_level,l_full_path,'Value of Profile PSA_ENABLE_EFC' || g_enable_efc_flag);

1342:
1343: FND_PROFILE.GET('PSA_ENABLE_EFC',g_enable_efc_flag);
1344:
1345: -- ================================================================
1346: psa_utils.debug_other_string(g_state_level,l_full_path,'Value of Profile PSA_ENABLE_EFC' || g_enable_efc_flag);
1347: -- ================================================================
1348:
1349: -- =========================== FND LOG ===========================
1350: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE');

Line 1350: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE');

1346: psa_utils.debug_other_string(g_state_level,l_full_path,'Value of Profile PSA_ENABLE_EFC' || g_enable_efc_flag);
1347: -- ================================================================
1348:
1349: -- =========================== FND LOG ===========================
1350: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE');
1351: -- ========================= FND LOG =============================
1352:
1353: return(TRUE);
1354:

Line 1360: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);

1356: EXCEPTION
1357:
1358: WHEN OTHERS THEN
1359: -- ========================= FND LOG ===========================
1360: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
1361: -- ========================= FND LOG ===========================
1362:
1363: message_token('PROCEDURE', 'Funds Checker');
1364: message_token('EVENT', SQLERRM);

Line 1368: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN --> FALSE ');

1364: message_token('EVENT', SQLERRM);
1365: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
1366:
1367: -- ========================= FND LOG ===========================
1368: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN --> FALSE ');
1369: -- ========================= FND LOG ===========================
1370: g_debug := g_debug||' GLXFIN Failed : '||SQLERRM;
1371:
1372: return(FALSE);

Line 1399: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFCP - START' );

1395:
1396: l_full_path := g_path || 'glxfcp';
1397:
1398: -- =========================== FND LOG ===========================
1399: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFCP - START' );
1400: -- ========================= FND LOG =============================
1401:
1402: --
1403: -- If Mode is Unreservation, assign Packet ID to Unreservation Packet ID

Line 1410: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);

1406: -- error occurs before glxfiu()
1407: --
1408:
1409: -- =========================== FND LOG ===========================
1410: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);
1411: -- ========================= FND LOG =============================
1412:
1413: if g_fcmode = 'U' then
1414: g_packet_id_ursvd := g_packet_id;

Line 1421: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id_ursvd -> ' || g_packet_id_ursvd);

1417: g_packet_id_ursvd := 0;
1418: end if;
1419:
1420: -- =========================== FND LOG ===========================
1421: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id_ursvd -> ' || g_packet_id_ursvd);
1422: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id -> ' || g_packet_id);
1423: -- ========================= FND LOG =============================
1424:
1425: IF g_cbc_enabled THEN

Line 1422: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id -> ' || g_packet_id);

1418: end if;
1419:
1420: -- =========================== FND LOG ===========================
1421: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id_ursvd -> ' || g_packet_id_ursvd);
1422: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id -> ' || g_packet_id);
1423: -- ========================= FND LOG =============================
1424:
1425: IF g_cbc_enabled THEN
1426:

Line 1428: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling GLZCBC ');

1424:
1425: IF g_cbc_enabled THEN
1426:
1427: -- =========================== FND LOG ===========================
1428: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling GLZCBC ');
1429: -- ========================= FND LOG =============================
1430:
1431: g_cbc_retcode := glzcbc;
1432:

Line 1434: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_retcode -> ' || g_cbc_retcode);

1430:
1431: g_cbc_retcode := glzcbc;
1432:
1433: -- =========================== FND LOG ===========================
1434: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_retcode -> ' || g_cbc_retcode);
1435: -- ========================= FND LOG =============================
1436:
1437: IF g_cbc_retcode = -1 THEN
1438:

Line 1440: psa_utils.debug_other_string(g_state_level,l_full_path, ' glzcbc RETURN -> FALSE');

1436:
1437: IF g_cbc_retcode = -1 THEN
1438:
1439: -- =========================== FND LOG ===========================
1440: psa_utils.debug_other_string(g_state_level,l_full_path, ' glzcbc RETURN -> FALSE');
1441: psa_utils.debug_other_string(g_state_level,l_full_path, ' ERROR: ROLLBACK, RETURN -> FALSE');
1442: -- ========================= FND LOG =============================
1443:
1444: g_debug := g_debug||' GLXFCP Failed : G_CBC_RETOCDE = -1';

Line 1441: psa_utils.debug_other_string(g_state_level,l_full_path, ' ERROR: ROLLBACK, RETURN -> FALSE');

1437: IF g_cbc_retcode = -1 THEN
1438:
1439: -- =========================== FND LOG ===========================
1440: psa_utils.debug_other_string(g_state_level,l_full_path, ' glzcbc RETURN -> FALSE');
1441: psa_utils.debug_other_string(g_state_level,l_full_path, ' ERROR: ROLLBACK, RETURN -> FALSE');
1442: -- ========================= FND LOG =============================
1443:
1444: g_debug := g_debug||' GLXFCP Failed : G_CBC_RETOCDE = -1';
1445: -- Bug 3214062

Line 1452: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfrc ');

1448:
1449: ELSIF g_cbc_retcode = 0 THEN
1450:
1451: -- =========================== FND LOG ===========================
1452: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfrc ');
1453: -- ========================= FND LOG =============================
1454:
1455: if not glxfrc then
1456: -- =========================== FND LOG ===========================

Line 1457: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfrc RETURN -> FALSE');

1453: -- ========================= FND LOG =============================
1454:
1455: if not glxfrc then
1456: -- =========================== FND LOG ===========================
1457: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfrc RETURN -> FALSE');
1458: psa_utils.debug_other_string(g_state_level,l_full_path, ' ERROR: ROLLBACK, RETURN -> FALSE');
1459: -- ========================= FND LOG =============================
1460:
1461: -- Bug 3214062

Line 1458: psa_utils.debug_other_string(g_state_level,l_full_path, ' ERROR: ROLLBACK, RETURN -> FALSE');

1454:
1455: if not glxfrc then
1456: -- =========================== FND LOG ===========================
1457: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfrc RETURN -> FALSE');
1458: psa_utils.debug_other_string(g_state_level,l_full_path, ' ERROR: ROLLBACK, RETURN -> FALSE');
1459: -- ========================= FND LOG =============================
1460:
1461: -- Bug 3214062
1462: rollback;

Line 1470: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE');

1466: -- Bug 3214062
1467: commit;
1468:
1469: -- =========================== FND LOG ===========================
1470: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE');
1471: -- ========================= FND LOG =============================
1472:
1473: RETURN TRUE;
1474:

Line 1480: psa_utils.debug_other_string(g_state_level,l_full_path, ' resetting g_append_je_flag to FALSE ');

1476:
1477: END IF; -- g_cbc_enabled
1478:
1479: -- =========================== FND LOG ===========================
1480: psa_utils.debug_other_string(g_state_level,l_full_path, ' resetting g_append_je_flag to FALSE ');
1481: -- ========================= FND LOG =============================
1482:
1483: -- Reset Append JE Flag
1484: g_append_je_flag := FALSE;

Line 1494: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ussgl_option_flag -> TRUE ');

1490: if ((g_ussgl_option_flag) and
1491: (g_fcmode <> 'U')) then
1492:
1493: -- =========================== FND LOG ===========================
1494: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ussgl_option_flag -> TRUE ');
1495: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode <> U ');
1496: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling fv_prepay_pkg ');
1497: -- ========================= FND LOG =============================
1498:

Line 1495: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode <> U ');

1491: (g_fcmode <> 'U')) then
1492:
1493: -- =========================== FND LOG ===========================
1494: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ussgl_option_flag -> TRUE ');
1495: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode <> U ');
1496: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling fv_prepay_pkg ');
1497: -- ========================= FND LOG =============================
1498:
1499: if not fv_prepay_pkg then

Line 1496: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling fv_prepay_pkg ');

1492:
1493: -- =========================== FND LOG ===========================
1494: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ussgl_option_flag -> TRUE ');
1495: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode <> U ');
1496: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling fv_prepay_pkg ');
1497: -- ========================= FND LOG =============================
1498:
1499: if not fv_prepay_pkg then
1500: -- =========================== FND LOG ===========================

Line 1501: psa_utils.debug_other_string(g_state_level,l_full_path, ' fv_prepay_pkg - RETURN -> FALSE');

1497: -- ========================= FND LOG =============================
1498:
1499: if not fv_prepay_pkg then
1500: -- =========================== FND LOG ===========================
1501: psa_utils.debug_other_string(g_state_level,l_full_path, ' fv_prepay_pkg - RETURN -> FALSE');
1502: -- ========================= FND LOG =============================
1503: g_debug := g_debug||' GLXFCP Failed : FV_PREPAY_PKG failed';
1504: rollback;
1505: return (FALSE);

Line 1509: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfug ');

1505: return (FALSE);
1506: end if;
1507:
1508: -- =========================== FND LOG ===========================
1509: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfug ');
1510: -- ========================= FND LOG =============================
1511:
1512: if not glxfug then
1513: -- =========================== FND LOG ===========================

Line 1514: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFUG - RETURN -> FALSE');

1510: -- ========================= FND LOG =============================
1511:
1512: if not glxfug then
1513: -- =========================== FND LOG ===========================
1514: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFUG - RETURN -> FALSE');
1515: -- ========================= FND LOG =============================
1516: rollback;
1517: return(FALSE);
1518: end if;

Line 1527: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_pacheck -> TRUE');

1523: -- for proper pre-processing.
1524:
1525: if g_psa_pacheck then
1526: -- =========================== FND LOG ===========================
1527: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_pacheck -> TRUE');
1528: -- ========================= FND LOG =============================
1529:
1530: if not glzpafck then
1531: -- =========================== FND LOG ===========================

Line 1532: psa_utils.debug_other_string(g_state_level,l_full_path, ' glzpafck - RETURN -> FALSE');

1528: -- ========================= FND LOG =============================
1529:
1530: if not glzpafck then
1531: -- =========================== FND LOG ===========================
1532: psa_utils.debug_other_string(g_state_level,l_full_path, ' glzpafck - RETURN -> FALSE');
1533: -- ========================= FND LOG =============================
1534: rollback;
1535: return(FALSE);
1536: end if;

Line 1541: psa_utils.debug_other_string(g_state_level,l_full_path, ' Populating records in PSA_OPTION_DETAILS_GT ');

1537:
1538: end if;
1539:
1540: -- =========================== FND LOG ===========================
1541: psa_utils.debug_other_string(g_state_level,l_full_path, ' Populating records in PSA_OPTION_DETAILS_GT ');
1542: -- ========================= FND LOG =============================
1543:
1544: FOR indx IN source_cat
1545: LOOP

Line 1562: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_option_selected -> '||l_option_selected);

1558: FROM gl_bc_option_details bc
1559: WHERE bc_option_id = g_bc_option_id);
1560:
1561: -- =========================== FND LOG ===========================
1562: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_option_selected -> '||l_option_selected);
1563: -- ========================= FND LOG =============================
1564:
1565: INSERT INTO psa_option_details_gt
1566: ( packet_id,

Line 1603: psa_utils.debug_other_string(g_state_level,l_full_path, sql%rowcount||' Rows Inserted into psa_option_details_gt ');

1599: 3, indx.je_category_name,
1600: 'Other');
1601:
1602: -- =========================== FND LOG ===========================
1603: psa_utils.debug_other_string(g_state_level,l_full_path, sql%rowcount||' Rows Inserted into psa_option_details_gt ');
1604: -- ========================= FND LOG =============================
1605:
1606:
1607: END LOOP;

Line 1613: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = U ');

1609: -- If Mode is Unreservation, insert Unreservation Packet into the queue
1610: if g_fcmode = 'U' then
1611:
1612: -- =========================== FND LOG ===========================
1613: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = U ');
1614: -- ========================= FND LOG =============================
1615:
1616: if not glxfiu then
1617: -- =========================== FND LOG ===========================

Line 1618: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfui - RETURN -> FALSE ');

1614: -- ========================= FND LOG =============================
1615:
1616: if not glxfiu then
1617: -- =========================== FND LOG ===========================
1618: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfui - RETURN -> FALSE ');
1619: -- ========================= FND LOG =============================
1620: rollback;
1621: return(FALSE);
1622: end if;

Line 1627: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfss - RETURN -> FALSE ');

1623: end if;
1624:
1625: if not glxfss then
1626: -- =========================== FND LOG ===========================
1627: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfss - RETURN -> FALSE ');
1628: -- ========================= FND LOG =============================
1629: rollback;
1630: return(FALSE);
1631: end if;

Line 1644: psa_utils.debug_other_string(g_state_level,l_full_path, ' gms_retcode -> ' || gms_retcode);

1640:
1641: gms_retcode := '~';
1642:
1643: -- =========================== FND LOG ===========================
1644: psa_utils.debug_other_string(g_state_level,l_full_path, ' gms_retcode -> ' || gms_retcode);
1645: -- ========================= FND LOG =============================
1646:
1647: if g_psa_grantcheck then
1648: -- =========================== FND LOG ===========================

Line 1649: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glzgchk');

1645: -- ========================= FND LOG =============================
1646:
1647: if g_psa_grantcheck then
1648: -- =========================== FND LOG ===========================
1649: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glzgchk');
1650: -- ========================= FND LOG =============================
1651: g_psa_grantcheck := glzgchk;
1652: end if;
1653:

Line 1658: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode <> F');

1654: -- Process Balances
1655:
1656: if (g_fcmode <> 'F') then
1657: -- =========================== FND LOG ===========================
1658: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode <> F');
1659: -- ========================= FND LOG =============================
1660:
1661: if not glxfgb then
1662: -- =========================== FND LOG ===========================

Line 1663: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfgb -> FALSE');

1659: -- ========================= FND LOG =============================
1660:
1661: if not glxfgb then
1662: -- =========================== FND LOG ===========================
1663: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfgb -> FALSE');
1664: -- ========================= FND LOG =============================
1665: rollback;
1666: return(FALSE);
1667: end if;

Line 1678: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfrc -> FALSE');

1674: -- ## is not supported in 11.5 and beyond.
1675:
1676: if not glxfrc then
1677: -- =========================== FND LOG ===========================
1678: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfrc -> FALSE');
1679: -- ========================= FND LOG =============================
1680: rollback;
1681: return(FALSE);
1682: end if;

Line 1690: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE');

1686: --
1687: commit;
1688:
1689: -- =========================== FND LOG ===========================
1690: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE');
1691: -- ========================= FND LOG =============================
1692:
1693: return(TRUE);
1694:

Line 1699: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);

1695: EXCEPTION
1696:
1697: WHEN OTHERS THEN
1698: -- =========================== FND LOG ===========================
1699: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
1700: -- ========================= FND LOG =============================
1701:
1702: message_token('PROCEDURE', 'Funds Checker');
1703: message_token('EVENT', SQLERRM);

Line 1711: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> TRUE');

1707: -- Bug 3214062
1708: rollback;
1709:
1710: -- =========================== FND LOG ===========================
1711: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> TRUE');
1712: -- ========================= FND LOG =============================
1713: return(FALSE);
1714:
1715: END glxfcp;

Line 1802: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFUG - START' );

1798:
1799: l_full_path := g_path || 'glxfug';
1800:
1801: -- =========================== FND LOG ===========================
1802: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFUG - START' );
1803: -- ========================= FND LOG =============================
1804:
1805: -- Check that USSGL transactions need to be created since the overhead for
1806: -- constructing and executing the Dynamic SQL for inserting USSGL

Line 1814: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_tmpmsg -> ' || l_tmpmsg );

1810:
1811: fetch ussgl into l_tmpmsg;
1812:
1813: -- =========================== FND LOG ===========================
1814: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_tmpmsg -> ' || l_tmpmsg );
1815: -- ========================= FND LOG =============================
1816:
1817: -- No USSGL Transactions need to be created
1818: if ussgl%NOTFOUND then

Line 1820: psa_utils.debug_other_string(g_state_level,l_full_path, ' goto normal_exit label' );

1816:
1817: -- No USSGL Transactions need to be created
1818: if ussgl%NOTFOUND then
1819: -- =========================== FND LOG ===========================
1820: psa_utils.debug_other_string(g_state_level,l_full_path, ' goto normal_exit label' );
1821: -- ========================= FND LOG =============================
1822: goto normal_exit;
1823: end if;
1824:

Line 1837: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> TRUE');

1833: fetch append_je into l_tmpmsg;
1834:
1835: if append_je%FOUND then
1836: -- =========================== FND LOG ===========================
1837: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> TRUE');
1838: -- ========================= FND LOG =============================
1839: g_append_je_flag := TRUE;
1840: else
1841: -- =========================== FND LOG ===========================

Line 1842: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> FALSE');

1838: -- ========================= FND LOG =============================
1839: g_append_je_flag := TRUE;
1840: else
1841: -- =========================== FND LOG ===========================
1842: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> FALSE');
1843: -- ========================= FND LOG =============================
1844: g_append_je_flag := FALSE;
1845: end if;
1846:

Line 1857: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets -> ' || SQL%ROWCOUNT );

1853: BP.packet_id = g_packet_id
1854: AND BP.ussgl_transaction_code IS NOT NULL;
1855:
1856: -- =========================== FND LOG ===========================
1857: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets -> ' || SQL%ROWCOUNT );
1858: -- ========================= FND LOG =============================
1859:
1860: if g_append_je_flag then
1861:

Line 1900: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets -> ' || SQL%ROWCOUNT );

1896:
1897: end if;
1898:
1899: -- =========================== FND LOG ===========================
1900: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets -> ' || SQL%ROWCOUNT );
1901: psa_utils.debug_other_string(g_state_level,l_full_path, 'Calling glxfkf' );
1902: -- ========================= FND LOG =============================
1903:
1904: -- Retrieve Flex Info for the Flex Structure

Line 1901: psa_utils.debug_other_string(g_state_level,l_full_path, 'Calling glxfkf' );

1897: end if;
1898:
1899: -- =========================== FND LOG ===========================
1900: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets -> ' || SQL%ROWCOUNT );
1901: psa_utils.debug_other_string(g_state_level,l_full_path, 'Calling glxfkf' );
1902: -- ========================= FND LOG =============================
1903:
1904: -- Retrieve Flex Info for the Flex Structure
1905: if not glxfkf then

Line 1907: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfkf ->False --> RETURN FALSE' );

1903:
1904: -- Retrieve Flex Info for the Flex Structure
1905: if not glxfkf then
1906: -- =========================== FND LOG ===========================
1907: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfkf ->False --> RETURN FALSE' );
1908: -- ========================= FND LOG =============================
1909: return(FALSE);
1910: end if;
1911:

Line 2040: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_reverse_tc_flag -> ' || g_reverse_tc_flag );

2036: 'bp.last_update_date, ' ||
2037: 'bp.last_updated_by, ';
2038:
2039: -- =========================== FND LOG ===========================
2040: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_reverse_tc_flag -> ' || g_reverse_tc_flag );
2041: -- ========================= FND LOG =============================
2042:
2043: if g_reverse_tc_flag = 'N' then
2044:

Line 2248: psa_utils.debug_other_string(g_state_level,l_full_path, ' sql_ussgl -> ' || SUBSTR(sql_ussgl,1,3500));

2244: 'and bp.packet_id = ' || g_packet_id || ' ' ||
2245: 'and bp.ussgl_transaction_code is not null';
2246:
2247: -- =========================== FND LOG ===========================
2248: psa_utils.debug_other_string(g_state_level,l_full_path, ' sql_ussgl -> ' || SUBSTR(sql_ussgl,1,3500));
2249: psa_utils.debug_other_string(g_state_level,l_full_path, ' sql_ussgl -> ' || SUBSTR(sql_ussgl,3500,7000));
2250: -- ========================= FND LOG =============================
2251:
2252: execute immediate sql_ussgl;

Line 2249: psa_utils.debug_other_string(g_state_level,l_full_path, ' sql_ussgl -> ' || SUBSTR(sql_ussgl,3500,7000));

2245: 'and bp.ussgl_transaction_code is not null';
2246:
2247: -- =========================== FND LOG ===========================
2248: psa_utils.debug_other_string(g_state_level,l_full_path, ' sql_ussgl -> ' || SUBSTR(sql_ussgl,1,3500));
2249: psa_utils.debug_other_string(g_state_level,l_full_path, ' sql_ussgl -> ' || SUBSTR(sql_ussgl,3500,7000));
2250: -- ========================= FND LOG =============================
2251:
2252: execute immediate sql_ussgl;
2253:

Line 2255: psa_utils.debug_other_string(g_state_level,l_full_path, 'USSGL Rows Inserted: '||sql%rowcount);

2251:
2252: execute immediate sql_ussgl;
2253:
2254: -- =========================== FND LOG ===========================
2255: psa_utils.debug_other_string(g_state_level,l_full_path, 'USSGL Rows Inserted: '||sql%rowcount);
2256: -- ========================= FND LOG =============================
2257:
2258: -- Now that the USSGL Transactions have been generated in the queue, we
2259: -- pick up the Code Combinations which need to be created in the Code

Line 2288: psa_utils.debug_other_string(g_state_level,l_full_path, ' sql_ussgl1 -> ' || SUBSTR(sql_ussgl,1,3500));

2284: 'and bp.code_combination_id < 0 ' ||
2285: 'and bp.account_segment_value is not null';
2286:
2287: -- =========================== FND LOG ===========================
2288: psa_utils.debug_other_string(g_state_level,l_full_path, ' sql_ussgl1 -> ' || SUBSTR(sql_ussgl,1,3500));
2289: psa_utils.debug_other_string(g_state_level,l_full_path, ' sql_ussgl1 -> ' || SUBSTR(sql_ussgl,3500,7000));
2290: -- ========================= FND LOG =============================
2291:
2292: cur_ussgl := dbms_sql.open_cursor;

Line 2289: psa_utils.debug_other_string(g_state_level,l_full_path, ' sql_ussgl1 -> ' || SUBSTR(sql_ussgl,3500,7000));

2285: 'and bp.account_segment_value is not null';
2286:
2287: -- =========================== FND LOG ===========================
2288: psa_utils.debug_other_string(g_state_level,l_full_path, ' sql_ussgl1 -> ' || SUBSTR(sql_ussgl,1,3500));
2289: psa_utils.debug_other_string(g_state_level,l_full_path, ' sql_ussgl1 -> ' || SUBSTR(sql_ussgl,3500,7000));
2290: -- ========================= FND LOG =============================
2291:
2292: cur_ussgl := dbms_sql.open_cursor;
2293: dbms_sql.parse(cur_ussgl, sql_ussgl, dbms_sql.v7);

Line 2333: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets -> ' || SQL%ROWCOUNT);

2329: where bp.code_combination_id = l_ccid
2330: and bp.account_segment_value=seg_val(g_acct_seg_index);
2331:
2332: -- =========================== FND LOG ===========================
2333: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets -> ' || SQL%ROWCOUNT);
2334: -- ========================= FND LOG =============================
2335:
2336: else
2337: exit;

Line 2345: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);

2341:
2342: dbms_sql.close_cursor(cur_ussgl);
2343:
2344: -- =========================== FND LOG ===========================
2345: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);
2346: -- ========================= FND LOG =============================
2347:
2348: -- Exit Function if Mode is Check
2349: if g_fcmode = 'C' then

Line 2351: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = C -> goto normal_exit label');

2347:
2348: -- Exit Function if Mode is Check
2349: if g_fcmode = 'C' then
2350: -- =========================== FND LOG ===========================
2351: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = C -> goto normal_exit label');
2352: -- ========================= FND LOG =============================
2353: goto normal_exit;
2354: end if;
2355:

Line 2357: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode != C -> RETURN TRUE');

2353: goto normal_exit;
2354: end if;
2355:
2356: -- =========================== FND LOG ===========================
2357: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode != C -> RETURN TRUE');
2358: -- ========================= FND LOG =============================
2359:
2360: return(TRUE);
2361:

Line 2365: psa_utils.debug_other_string(g_state_level,l_full_path, ' reached normal_exit label ');

2361:
2362: <>
2363:
2364: -- =========================== FND LOG ===========================
2365: psa_utils.debug_other_string(g_state_level,l_full_path, ' reached normal_exit label ');
2366: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE ');
2367: -- ========================= FND LOG =============================
2368:
2369: if ussgl%ISOPEN then

Line 2366: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE ');

2362: <>
2363:
2364: -- =========================== FND LOG ===========================
2365: psa_utils.debug_other_string(g_state_level,l_full_path, ' reached normal_exit label ');
2366: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE ');
2367: -- ========================= FND LOG =============================
2368:
2369: if ussgl%ISOPEN then
2370: close ussgl;

Line 2378: psa_utils.debug_other_string(g_state_level,l_full_path, ' reached return_invalid label ');

2374:
2375: <>
2376:
2377: -- =========================== FND LOG ===========================
2378: psa_utils.debug_other_string(g_state_level,l_full_path, ' reached return_invalid label ');
2379: -- ========================= FND LOG =============================
2380:
2381: if dbms_sql.is_open(cur_ussgl) then
2382: dbms_sql.close_cursor(cur_ussgl);

Line 2390: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE ');

2386: message_token('EVENT', FND_MESSAGE.GET_ENCODED);
2387: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
2388:
2389: -- =========================== FND LOG ===========================
2390: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE ');
2391: -- ========================= FND LOG =============================
2392:
2393: g_debug := g_debug||' GLXFUG Failed : FND_FLEX_EXT.GET_COMBINATION_ID returned FALSE';
2394:

Line 2403: psa_utils.debug_other_string(g_excep_level,l_full_path, ' WHEN OTHERS EXCEPTION ' || SQLERRM);

2399:
2400: WHEN OTHERS THEN
2401:
2402: -- =========================== FND LOG ===========================
2403: psa_utils.debug_other_string(g_excep_level,l_full_path, ' WHEN OTHERS EXCEPTION ' || SQLERRM);
2404: -- ========================= FND LOG =============================
2405:
2406: if ussgl%ISOPEN then
2407: close ussgl;

Line 2423: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE ');

2419: message_token('EVENT', SQLERRM);
2420: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
2421:
2422: -- =========================== FND LOG ===========================
2423: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE ');
2424: -- ========================= FND LOG =============================
2425:
2426: g_debug := g_debug||' GLXFUG Failed : '||SQLERRM;
2427: return(FALSE);

Line 2460: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFUF - START' );

2456:
2457: l_full_path := g_path || 'glxfkf';
2458:
2459: -- =========================== FND LOG ===========================
2460: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFUF - START' );
2461: -- ========================= FND LOG =============================
2462:
2463: -- Retrieve Active Segment Info
2464: for c_seginfo in seginfo(101, 'GL#', g_coa_id) loop

Line 2478: psa_utils.debug_other_string(g_state_level,l_full_path, ' RAISE OTHERS ' );

2474: g_acct_seg_index) then
2475: message_token('ROUTINE', 'GL_FC_PKG');
2476: add_message('FND', 'FLEXGL-NO ACCT SEG');
2477: -- =========================== FND LOG ===========================
2478: psa_utils.debug_other_string(g_state_level,l_full_path, ' RAISE OTHERS ' );
2479: -- ========================= FND LOG =============================
2480: g_debug := g_debug||' GLXFKF Failed : FND_FLEX_APIS.GET_QUALIFIER_SEGNUM returned FALSE';
2481: raise others;
2482: end if;

Line 2485: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_acct_seg_index -> ' || g_acct_seg_index );

2481: raise others;
2482: end if;
2483:
2484: -- =========================== FND LOG ===========================
2485: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_acct_seg_index -> ' || g_acct_seg_index );
2486: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE ');
2487: -- ========================= FND LOG =============================
2488:
2489: return(TRUE);

Line 2486: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE ');

2482: end if;
2483:
2484: -- =========================== FND LOG ===========================
2485: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_acct_seg_index -> ' || g_acct_seg_index );
2486: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE ');
2487: -- ========================= FND LOG =============================
2488:
2489: return(TRUE);
2490:

Line 2496: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS' || SQLERRM );

2492: EXCEPTION
2493:
2494: WHEN OTHERS THEN
2495: -- =========================== FND LOG ===========================
2496: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS' || SQLERRM );
2497: -- ========================= FND LOG =============================
2498:
2499: message_token('PROCEDURE', 'Funds Checker');
2500: message_token('EVENT', SQLERRM);

Line 2504: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE' );

2500: message_token('EVENT', SQLERRM);
2501: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
2502:
2503: -- =========================== FND LOG ===========================
2504: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE' );
2505: -- ========================= FND LOG =============================
2506:
2507: g_debug := g_debug||' GLXFKF Failed : '||SQLERRM;
2508: return(FALSE);

Line 2558: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFUI - START' );

2554:
2555: l_full_path := g_path || 'glxfiu.';
2556:
2557: -- =========================== FND LOG ===========================
2558: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFUI - START' );
2559: -- ========================= FND LOG =============================
2560:
2561: open pkt_id;
2562: fetch pkt_id into g_packet_id;

Line 2566: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id -> ' || g_packet_id );

2562: fetch pkt_id into g_packet_id;
2563: close pkt_id;
2564:
2565: -- =========================== FND LOG ===========================
2566: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id -> ' || g_packet_id );
2567: -- ========================= FND LOG =============================
2568:
2569: -- Insert Unreservation Packet into gl_bc_packets
2570: insert into gl_bc_packets

Line 2719: psa_utils.debug_other_string(g_state_level,l_full_path, ' Insert gl_bc_packets -> ' || SQL%ROWCOUNT );

2715: and bp.template_id is null
2716: and bp.status_code = 'A';
2717:
2718: -- =========================== FND LOG ===========================
2719: psa_utils.debug_other_string(g_state_level,l_full_path, ' Insert gl_bc_packets -> ' || SQL%ROWCOUNT );
2720: -- ========================= FND LOG =============================
2721:
2722: BEGIN
2723:

Line 2744: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_dummy -> ' || l_dummy );

2740:
2741: g_append_je_flag := TRUE;
2742:
2743: -- =========================== FND LOG ===========================
2744: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_dummy -> ' || l_dummy );
2745: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> TRUE');
2746: -- ========================= FND LOG =============================
2747:
2748: EXCEPTION

Line 2745: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> TRUE');

2741: g_append_je_flag := TRUE;
2742:
2743: -- =========================== FND LOG ===========================
2744: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_dummy -> ' || l_dummy );
2745: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> TRUE');
2746: -- ========================= FND LOG =============================
2747:
2748: EXCEPTION
2749: WHEN OTHERS THEN

Line 2752: psa_utils.debug_other_string(g_excep_level,l_full_path, ' g_append_je_flag -> FALSE');

2748: EXCEPTION
2749: WHEN OTHERS THEN
2750:
2751: -- =========================== FND LOG ===========================
2752: psa_utils.debug_other_string(g_excep_level,l_full_path, ' g_append_je_flag -> FALSE');
2753: -- ========================= FND LOG =============================
2754:
2755: g_append_je_flag := FALSE;
2756: END;

Line 2759: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE ' );

2755: g_append_je_flag := FALSE;
2756: END;
2757:
2758: -- =========================== FND LOG ===========================
2759: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE ' );
2760: -- ========================= FND LOG =============================
2761:
2762: return(TRUE);
2763:

Line 2768: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS - ' || SQLERRM );

2764: EXCEPTION
2765:
2766: WHEN OTHERS THEN
2767: -- =========================== FND LOG ===========================
2768: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS - ' || SQLERRM );
2769: -- ========================= FND LOG =============================
2770:
2771: if pkt_id%ISOPEN then
2772: close pkt_id;

Line 2780: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE');

2776: message_token('EVENT', SQLERRM);
2777: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
2778:
2779: -- =========================== FND LOG ===========================
2780: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE');
2781: -- ========================= FND LOG =============================
2782:
2783: g_debug := g_debug||'GLXFIU Failed : '||SQLERRM;
2784:

Line 2830: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFSS - START' );

2826:
2827: l_full_path := g_path || 'glxfss.';
2828:
2829: -- =========================== FND LOG ===========================
2830: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFSS - START' );
2831: -- ========================= FND LOG =============================
2832:
2833: -- Denormalized Columns are not updated if mode is Unreservation since
2834: -- this is handled in glxfiu()

Line 2837: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);

2833: -- Denormalized Columns are not updated if mode is Unreservation since
2834: -- this is handled in glxfiu()
2835:
2836: -- ========================= FND LOG =============================
2837: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);
2838: -- ========================= FND LOG =============================
2839:
2840: if g_fcmode <> 'U' then
2841:

Line 2909: psa_utils.debug_other_string(g_state_level,l_full_path, ' There are multiple overlapping budgets assigned to account');

2905: EXCEPTION
2906: WHEN OVERLAPPING_BUDGET THEN
2907:
2908: -- =========================== FND LOG ===========================
2909: psa_utils.debug_other_string(g_state_level,l_full_path, ' There are multiple overlapping budgets assigned to account');
2910: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets 1 updated failed');
2911: psa_utils.debug_other_string(g_state_level,l_full_path, ' Updating the status code = F/R based on g_fcmode');
2912: psa_utils.debug_other_string(g_state_level,l_full_path, ' Updating the result code= F77/F80 based on overlapping budget');
2913: -- ========================= FND LOG =============================

Line 2910: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets 1 updated failed');

2906: WHEN OVERLAPPING_BUDGET THEN
2907:
2908: -- =========================== FND LOG ===========================
2909: psa_utils.debug_other_string(g_state_level,l_full_path, ' There are multiple overlapping budgets assigned to account');
2910: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets 1 updated failed');
2911: psa_utils.debug_other_string(g_state_level,l_full_path, ' Updating the status code = F/R based on g_fcmode');
2912: psa_utils.debug_other_string(g_state_level,l_full_path, ' Updating the result code= F77/F80 based on overlapping budget');
2913: -- ========================= FND LOG =============================
2914:

Line 2911: psa_utils.debug_other_string(g_state_level,l_full_path, ' Updating the status code = F/R based on g_fcmode');

2907:
2908: -- =========================== FND LOG ===========================
2909: psa_utils.debug_other_string(g_state_level,l_full_path, ' There are multiple overlapping budgets assigned to account');
2910: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets 1 updated failed');
2911: psa_utils.debug_other_string(g_state_level,l_full_path, ' Updating the status code = F/R based on g_fcmode');
2912: psa_utils.debug_other_string(g_state_level,l_full_path, ' Updating the result code= F77/F80 based on overlapping budget');
2913: -- ========================= FND LOG =============================
2914:
2915: update gl_bc_packets bp

Line 2912: psa_utils.debug_other_string(g_state_level,l_full_path, ' Updating the result code= F77/F80 based on overlapping budget');

2908: -- =========================== FND LOG ===========================
2909: psa_utils.debug_other_string(g_state_level,l_full_path, ' There are multiple overlapping budgets assigned to account');
2910: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets 1 updated failed');
2911: psa_utils.debug_other_string(g_state_level,l_full_path, ' Updating the status code = F/R based on g_fcmode');
2912: psa_utils.debug_other_string(g_state_level,l_full_path, ' Updating the result code= F77/F80 based on overlapping budget');
2913: -- ========================= FND LOG =============================
2914:
2915: update gl_bc_packets bp
2916: set STATUS_CODE = DECODE(g_fcmode,'C','F','R'),

Line 2934: psa_utils.debug_other_string(g_state_level,l_full_path, ' Set g_overlapping_budget = TRUE, Return -> TRUE');

2930: where
2931: bp.packet_id = g_packet_id;
2932:
2933: -- =========================== FND LOG ===========================
2934: psa_utils.debug_other_string(g_state_level,l_full_path, ' Set g_overlapping_budget = TRUE, Return -> TRUE');
2935: -- ========================= FND LOG =============================
2936: g_overlapping_budget:=TRUE;
2937: return(TRUE);
2938: end;

Line 2942: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets 1 updated -> ' || SQL%ROWCOUNT || ' rows');

2938: end;
2939:
2940:
2941: -- =========================== FND LOG ===========================
2942: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets 1 updated -> ' || SQL%ROWCOUNT || ' rows');
2943: -- ========================= FND LOG =============================
2944:
2945: update gl_bc_packets bp
2946: set (bp.automatic_encumbrance_flag,

Line 3040: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets 2 updated -> ' || SQL%ROWCOUNT || ' rows');

3036: where bp.packet_id = g_packet_id
3037: and bp.template_id is null;
3038:
3039: -- =========================== FND LOG ===========================
3040: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets 2 updated -> ' || SQL%ROWCOUNT || ' rows');
3041: -- ========================= FND LOG =============================
3042:
3043: update gl_bc_packets bp
3044: set (funds_check_level_code,

Line 3072: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets 3 updated -> ' || SQL%ROWCOUNT || ' rows');

3068: and bp.funding_budget_version_id is not null;
3069:
3070:
3071: -- =========================== FND LOG ===========================
3072: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets 3 updated -> ' || SQL%ROWCOUNT || ' rows');
3073: -- ========================= FND LOG =============================
3074:
3075:
3076: /*----------------------------------------------------------------------+

Line 3118: psa_utils.debug_other_string(g_state_level,l_full_path,

3114:
3115:
3116: if g_conc_flag then
3117: -- =========================== FND LOG ===========================
3118: psa_utils.debug_other_string(g_state_level,l_full_path,
3119: ' Lock gl_bc_dual2 in row share mode' );
3120: -- ========================= FND LOG =============================
3121: LOCK TABLE gl_bc_dual2 IN ROW SHARE MODE;
3122: else

Line 3124: psa_utils.debug_other_string(g_state_level,l_full_path,

3120: -- ========================= FND LOG =============================
3121: LOCK TABLE gl_bc_dual2 IN ROW SHARE MODE;
3122: else
3123: -- =========================== FND LOG ===========================
3124: psa_utils.debug_other_string(g_state_level,l_full_path,
3125: ' Lock gl_bc_dual2 in row share mode nowait' );
3126: -- ========================= FND LOG =============================
3127: LOCK TABLE gl_bc_dual2 IN ROW SHARE MODE NOWAIT;
3128: end if;

Line 3294: psa_utils.debug_other_string(g_state_level,l_full_path,

3290: -- Set Summarized Flag if Summary Transactions were inserted into the queue
3291:
3292: if SQL%FOUND then
3293: -- =========================== FND LOG ===========================
3294: psa_utils.debug_other_string(g_state_level,l_full_path,
3295: ' Insert gl_bc_packets - summ trans ' || SQL%ROWCOUNT );
3296:
3297: psa_utils.debug_other_string(g_state_level,l_full_path,
3298: ' g_summarized_flag -> TRUE' );

Line 3297: psa_utils.debug_other_string(g_state_level,l_full_path,

3293: -- =========================== FND LOG ===========================
3294: psa_utils.debug_other_string(g_state_level,l_full_path,
3295: ' Insert gl_bc_packets - summ trans ' || SQL%ROWCOUNT );
3296:
3297: psa_utils.debug_other_string(g_state_level,l_full_path,
3298: ' g_summarized_flag -> TRUE' );
3299: -- ========================= FND LOG =============================
3300: g_summarized_flag := TRUE;
3301: end if;

Line 3316: psa_utils.debug_other_string(g_state_level,l_full_path,

3312: -- an error
3313:
3314: if g_conc_flag then
3315: -- =========================== FND LOG ===========================
3316: psa_utils.debug_other_string(g_state_level,l_full_path,
3317: ' g_conc_flag -> TRUE' );
3318: -- ========================= FND LOG =============================
3319:
3320: open lock_gl_conc_ctrl;

Line 3334: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_arrival_seq -> ' || g_arrival_seq);

3330: fetch arrseq into g_arrival_seq;
3331: close arrseq;
3332:
3333: -- =========================== FND LOG ===========================
3334: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_arrival_seq -> ' || g_arrival_seq);
3335: -- ========================= FND LOG =============================
3336:
3337: insert into gl_bc_packet_arrival_order
3338: (packet_id,

Line 3353: psa_utils.debug_other_string(g_state_level,l_full_path,

3349: g_user_id);
3350:
3351:
3352: -- =========================== FND LOG ===========================
3353: psa_utils.debug_other_string(g_state_level,l_full_path,
3354: ' insert gl_bc_packet_arrival_order -> ' || SQL%ROWCOUNT);
3355: -- ========================= FND LOG =============================
3356:
3357: -- Commit to release Lock on gl_concurrency_control

Line 3367: psa_utils.debug_other_string(g_state_level,l_full_path,

3363: -- Funds Checker Summarization and the Add/Delete Summary Accounts
3364: -- process
3365:
3366: -- =========================== FND LOG ===========================
3367: psa_utils.debug_other_string(g_state_level,l_full_path,
3368: ' lock table gl_bc_dual2 in row share mode nowait');
3369: -- ========================= FND LOG =============================
3370:
3371: LOCK TABLE gl_bc_dual2 IN ROW SHARE MODE NOWAIT;

Line 3374: psa_utils.debug_other_string(g_state_level,l_full_path,

3370:
3371: LOCK TABLE gl_bc_dual2 IN ROW SHARE MODE NOWAIT;
3372:
3373: -- =========================== FND LOG ===========================
3374: psa_utils.debug_other_string(g_state_level,l_full_path,
3375: ' RETURN -> TRUE ');
3376: -- ========================= FND LOG =============================
3377:
3378: return(TRUE);

Line 3385: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);

3381:
3382: WHEN OTHERS THEN
3383:
3384: -- =========================== FND LOG ===========================
3385: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
3386: -- ========================= FND LOG =============================
3387:
3388: if arrseq%ISOPEN then
3389: close arrseq;

Line 3403: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE');

3399: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
3400: end if;
3401:
3402: -- =========================== FND LOG ===========================
3403: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE');
3404: -- ========================= FND LOG =============================
3405: g_debug := g_debug||'GLXFSS Failed : '||SQLERRM;
3406:
3407: return(FALSE);

Line 3446: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFGB - START' );

3442:
3443: l_full_path := g_path || 'glxfgb';
3444:
3445: -- =========================== FND LOG ===========================
3446: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFGB - START' );
3447: -- ========================= FND LOG =============================
3448:
3449: --Added below code for bug 9907009 --GNRAJAGO
3450: FND_PROFILE.GET('PSA_MAX_LOCK_WAIT_COUNT', l_psa_max_lock_wait_count);

Line 3461: psa_utils.debug_other_string(g_state_level,l_full_path,

3457: l_psa_lock_wait_interval := 0;
3458: END IF;
3459:
3460: -- =========================== FND LOG ===========================
3461: psa_utils.debug_other_string(g_state_level,l_full_path,
3462: ' Profile PSA_MAX_LOCK_WAIT_COUNT Value is '|| l_psa_max_lock_wait_count);
3463: psa_utils.debug_other_string(g_state_level,l_full_path,
3464: ' Profile PSA_LOCK_WAIT_INTERVAL Value is '||l_psa_lock_wait_interval);
3465: -- ========================= FND LOG =============================

Line 3463: psa_utils.debug_other_string(g_state_level,l_full_path,

3459:
3460: -- =========================== FND LOG ===========================
3461: psa_utils.debug_other_string(g_state_level,l_full_path,
3462: ' Profile PSA_MAX_LOCK_WAIT_COUNT Value is '|| l_psa_max_lock_wait_count);
3463: psa_utils.debug_other_string(g_state_level,l_full_path,
3464: ' Profile PSA_LOCK_WAIT_INTERVAL Value is '||l_psa_lock_wait_interval);
3465: -- ========================= FND LOG =============================
3466:
3467: -- Bug 3574935 .. Start

Line 3490: -- psa_utils.debug_other_string(g_state_level,l_full_path, ' l_max_packet_id -> '|| l_max_packet_id );

3486:
3487: -- Bug 3574935 .. End
3488:
3489: -- =========================== FND LOG ===========================
3490: -- psa_utils.debug_other_string(g_state_level,l_full_path, ' l_max_packet_id -> '|| l_max_packet_id );
3491: -- ========================= FND LOG =============================
3492:
3493: -- Lock dummy table gl_bc_dual in Row Share Mode to ensure Read Consistency
3494: -- between gl_bc_packets and gl_balances in the next two balance update

Line 3512: -- psa_utils.debug_other_string(g_state_level,l_full_path,

3508: -- a fatal error
3509: --Commented out below section for bug 9907009. Changed lock mode to row share.
3510: -- if g_conc_flag then
3511: -- =========================== FND LOG ===========================
3512: -- psa_utils.debug_other_string(g_state_level,l_full_path,
3513: -- ' Lock table gl_bc_dual in exclusive mode' );
3514: -- ========================= FND LOG =============================
3515: -- LOCK TABLE gl_bc_dual IN EXCLUSIVE MODE; --Bug 7476309
3516: -- else

Line 3518: -- psa_utils.debug_other_string(g_state_level,l_full_path,

3514: -- ========================= FND LOG =============================
3515: -- LOCK TABLE gl_bc_dual IN EXCLUSIVE MODE; --Bug 7476309
3516: -- else
3517: -- =========================== FND LOG ===========================
3518: -- psa_utils.debug_other_string(g_state_level,l_full_path,
3519: -- ' Lock table gl_bc_dual in exclusive mode NOWAIT' );
3520: -- ========================= FND LOG =============================
3521: -- LOCK TABLE gl_bc_dual IN EXCLUSIVE MODE NOWAIT; --Bug 7476309
3522: -- end if;

Line 3529: psa_utils.debug_other_string(g_state_level,l_full_path,

3525: IF g_conc_flag THEN
3526:
3527: LOCK TABLE gl_bc_dual IN ROW SHARE MODE;
3528: -- =========================== FND LOG ===========================
3529: psa_utils.debug_other_string(g_state_level,l_full_path,
3530: ' Lock table gl_bc_dual in row share mode' );
3531: -- ========================= FND LOG =============================
3532: ELSE
3533: LOOP

Line 3536: psa_utils.debug_other_string(g_state_level,l_full_path,

3532: ELSE
3533: LOOP
3534: BEGIN
3535: -- =========================== FND LOG ===========================
3536: psa_utils.debug_other_string(g_state_level,l_full_path,
3537: ' Lock table gl_bc_dual in row share mode NOWAIT, Try count left '||l_psa_max_lock_wait_count );
3538: -- ========================= FND LOG =============================
3539: LOCK TABLE gl_bc_dual IN ROW SHARE MODE NOWAIT;
3540: exit;

Line 3544: psa_utils.debug_other_string(g_state_level,l_full_path,

3540: exit;
3541:
3542: EXCEPTION when resource_busy then
3543: -- =========================== FND LOG ===========================
3544: psa_utils.debug_other_string(g_state_level,l_full_path,
3545: ' Resource_busy exception, sleeping for '||l_psa_lock_wait_interval||' seconds');
3546: l_psa_max_lock_wait_count := l_psa_max_lock_wait_count - 1;
3547: dbms_lock.sleep(l_psa_lock_wait_interval);
3548:

Line 3552: psa_utils.debug_other_string(g_state_level,l_full_path,

3548:
3549: -- ========================= FND LOG =============================
3550: IF (l_psa_max_lock_wait_count<=0) THEN
3551: -- =========================== FND LOG ===========================
3552: psa_utils.debug_other_string(g_state_level,l_full_path,
3553: ' PSA_MAX_LOCK_WAIT_COUNT reached, raising resource_busy exception');
3554: -- ========================= FND LOG =============================
3555: fnd_file.put_line(fnd_file.output, 'Failed to acquire lock on gl_bc_dual table');
3556: fnd_file.put_line(fnd_file.output, 'Increase the following profile values and retry.');

Line 3759: psa_utils.debug_other_string(g_state_level,l_full_path,

3755: AND currency_flag = 'Y');
3756:
3757:
3758: -- =========================== FND LOG ===========================
3759: psa_utils.debug_other_string(g_state_level,l_full_path,
3760: ' Update approved and pending balance in gl_bc_packets ' || SQL%ROWCOUNT );
3761: -- ========================= FND LOG =============================
3762:
3763:

Line 3819: psa_utils.debug_other_string(g_state_level,l_full_path,

3815: l_quarter_num := 0;
3816: l_period_year := 0;
3817: END;
3818: -- =========================== FND LOG ===========================
3819: psa_utils.debug_other_string(g_state_level,l_full_path,
3820: ' Picking up the lates OPEN period ' || SQL%ROWCOUNT );
3821: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_effective_period_num -> ' || l_effective_period_num);
3822: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_period_name -> ' || l_period_name);
3823: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_quarter_num -> ' || l_quarter_num);

Line 3821: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_effective_period_num -> ' || l_effective_period_num);

3817: END;
3818: -- =========================== FND LOG ===========================
3819: psa_utils.debug_other_string(g_state_level,l_full_path,
3820: ' Picking up the lates OPEN period ' || SQL%ROWCOUNT );
3821: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_effective_period_num -> ' || l_effective_period_num);
3822: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_period_name -> ' || l_period_name);
3823: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_quarter_num -> ' || l_quarter_num);
3824: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_period_year -> ' || l_period_year);
3825: -- ========================= FND LOG =============================

Line 3822: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_period_name -> ' || l_period_name);

3818: -- =========================== FND LOG ===========================
3819: psa_utils.debug_other_string(g_state_level,l_full_path,
3820: ' Picking up the lates OPEN period ' || SQL%ROWCOUNT );
3821: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_effective_period_num -> ' || l_effective_period_num);
3822: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_period_name -> ' || l_period_name);
3823: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_quarter_num -> ' || l_quarter_num);
3824: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_period_year -> ' || l_period_year);
3825: -- ========================= FND LOG =============================
3826:

Line 3823: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_quarter_num -> ' || l_quarter_num);

3819: psa_utils.debug_other_string(g_state_level,l_full_path,
3820: ' Picking up the lates OPEN period ' || SQL%ROWCOUNT );
3821: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_effective_period_num -> ' || l_effective_period_num);
3822: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_period_name -> ' || l_period_name);
3823: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_quarter_num -> ' || l_quarter_num);
3824: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_period_year -> ' || l_period_year);
3825: -- ========================= FND LOG =============================
3826:
3827: -- Bugfix 2231059

Line 3824: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_period_year -> ' || l_period_year);

3820: ' Picking up the lates OPEN period ' || SQL%ROWCOUNT );
3821: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_effective_period_num -> ' || l_effective_period_num);
3822: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_period_name -> ' || l_period_name);
3823: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_quarter_num -> ' || l_quarter_num);
3824: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_period_year -> ' || l_period_year);
3825: -- ========================= FND LOG =============================
3826:
3827: -- Bugfix 2231059
3828:

Line 3961: psa_utils.debug_other_string(g_state_level,l_full_path,

3957: bp.funding_budget_version_id);
3958:
3959:
3960: -- =========================== FND LOG ===========================
3961: psa_utils.debug_other_string(g_state_level,l_full_path,
3962: ' Update posted balance in gl_bc_packets ' || SQL%ROWCOUNT );
3963: -- ========================= FND LOG =============================
3964:
3965: -- Commit to release Lock on gl_bc_dual

Line 3974: -- psa_utils.debug_other_string(g_state_level,l_full_path,

3970: -- consistency between the Funds Checker Summarization and the Add/Delete
3971: -- Summary Accounts program
3972:
3973: -- =========================== FND LOG ===========================
3974: -- psa_utils.debug_other_string(g_state_level,l_full_path,
3975: -- ' Lock table gl_bc_dual2 in row share mode nowait' ); --Commented for Bug 7476309
3976: -- ========================= FND LOG =============================
3977: -- LOCK TABLE gl_bc_dual2 IN ROW SHARE MODE NOWAIT; --Commented for Bug 7476309
3978:

Line 3980: psa_utils.debug_other_string(g_state_level,l_full_path,' RETURN -> TRUE ' );

3976: -- ========================= FND LOG =============================
3977: -- LOCK TABLE gl_bc_dual2 IN ROW SHARE MODE NOWAIT; --Commented for Bug 7476309
3978:
3979: -- =========================== FND LOG ===========================
3980: psa_utils.debug_other_string(g_state_level,l_full_path,' RETURN -> TRUE ' );
3981: -- ========================= FND LOG =============================
3982: return(TRUE);
3983:
3984:

Line 3990: psa_utils.debug_other_string(g_excep_level,l_full_path,' EXCEPTION WHEN OTHERS '|| SQLERRM );

3986:
3987: WHEN OTHERS THEN
3988:
3989: -- =========================== FND LOG ===========================
3990: psa_utils.debug_other_string(g_excep_level,l_full_path,' EXCEPTION WHEN OTHERS '|| SQLERRM );
3991: -- ========================= FND LOG =============================
3992:
3993: if SQLCODE = -54 then
3994: message_token('PROCEDURE', 'Funds Checker');

Line 4004: psa_utils.debug_other_string(g_excep_level,l_full_path,' RETURN -> FALSE ' );

4000: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
4001: end if;
4002:
4003: -- =========================== FND LOG ===========================
4004: psa_utils.debug_other_string(g_excep_level,l_full_path,' RETURN -> FALSE ' );
4005: -- ========================= FND LOG =============================
4006: g_debug := g_debug||' GLXFGB Failed : '||SQLERRM;
4007:
4008: return(FALSE);

Line 4150: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFRC - START' );

4146:
4147: l_full_path := g_path || 'glxfrc';
4148:
4149: -- =========================== FND LOG ===========================
4150: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFRC - START' );
4151: -- ========================= FND LOG =============================
4152:
4153: -- Update Result Code for all transactions in Packet
4154: update gl_bc_packets bp

Line 4264: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update Result Code gl_bc_packets 1 updated -> ' || SQL%ROWCOUNT || ' rows');

4260:
4261:
4262:
4263: -- =========================== FND LOG ===========================
4264: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update Result Code gl_bc_packets 1 updated -> ' || SQL%ROWCOUNT || ' rows');
4265: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);
4266: -- ========================= FND LOG =============================
4267:
4268: /* -------------------------------------------------------------------+

Line 4265: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);

4261:
4262:
4263: -- =========================== FND LOG ===========================
4264: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update Result Code gl_bc_packets 1 updated -> ' || SQL%ROWCOUNT || ' rows');
4265: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);
4266: -- ========================= FND LOG =============================
4267:
4268: /* -------------------------------------------------------------------+
4269: | Updating result code to F78 id funds check is failed and absolute|

Line 4289: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = F -> goto normal_exit');

4285: -- originating/generated tie back logic
4286:
4287: if g_fcmode = 'F' then
4288: -- =========================== FND LOG ===========================
4289: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = F -> goto normal_exit');
4290: -- ========================= FND LOG =============================
4291: goto normal_exit;
4292: end if;
4293:

Line 4298: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag -> TRUE ');

4294:
4295: if g_summarized_flag then
4296:
4297: -- =========================== FND LOG ===========================
4298: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag -> TRUE ');
4299: -- ========================= FND LOG =============================
4300:
4301: -- Update Result Code for Detail Transactions when Summary Transactions
4302: -- fail Funds Check and Checking is Absolute

Line 4335: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets 2 updated -> ' || SQL%ROWCOUNT || ' rows');

4331: and pk.result_code in ('F02', 'F12')
4332: );
4333:
4334: -- =========================== FND LOG ===========================
4335: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets 2 updated -> ' || SQL%ROWCOUNT || ' rows');
4336: -- ========================= FND LOG =============================
4337:
4338: -- Update Result Code for Detail Transactions when Summary Transactions
4339: -- fail Funds Check and Checking is Advisory

Line 4370: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets 3 updated -> ' || SQL%ROWCOUNT || ' rows');

4366: and pk.result_code in ('P20', 'P25')
4367: );
4368:
4369: -- =========================== FND LOG ===========================
4370: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets 3 updated -> ' || SQL%ROWCOUNT || ' rows');
4371: -- ========================= FND LOG =============================
4372:
4373: end if;
4374:

Line 4383: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ussgl_option_flag -> TRUE');

4379:
4380: if g_ussgl_option_flag then
4381:
4382: -- =========================== FND LOG ===========================
4383: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ussgl_option_flag -> TRUE');
4384: -- ========================= FND LOG =============================
4385:
4386: update gl_bc_packets bp
4387: set bp.result_code =

Line 4409: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets 4 updated -> ' || SQL%ROWCOUNT || ' rows');

4405: or pk.ussgl_link_to_parent_id in (bp.ussgl_link_to_parent_id, bp.ussgl_parent_id))
4406: );
4407:
4408: -- =========================== FND LOG ===========================
4409: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets 4 updated -> ' || SQL%ROWCOUNT || ' rows');
4410: -- ========================= FND LOG =============================
4411:
4412: end if;
4413:

Line 4425: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfor --> RETURN FALSE -> goto fatal_error');

4421: IF g_override_flag THEN
4422:
4423: if not glxfor then
4424: -- =========================== FND LOG ===========================
4425: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfor --> RETURN FALSE -> goto fatal_error');
4426: -- ========================= FND LOG =============================
4427: return false;
4428: end if;
4429: END IF;

Line 4440: psa_utils.debug_other_string(g_state_level,l_full_path, ' inside Ist IF ');

4436: (g_summarized_flag) and
4437: (l_ret_code in ('S', 'A'))) then
4438:
4439: -- ========================= FND LOG ===========================
4440: psa_utils.debug_other_string(g_state_level,l_full_path, ' inside Ist IF ');
4441: -- ========================= FND LOG ===========================
4442:
4443: update gl_bc_packets bp
4444: set bp.result_code = 'P23'

Line 4450: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets 5 updated -> ' || SQL%ROWCOUNT || ' rows');

4446: and bp.result_code like 'F%'
4447: and bp.template_id is not null;
4448:
4449: -- ========================= FND LOG ===========================
4450: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets 5 updated -> ' || SQL%ROWCOUNT || ' rows');
4451: -- ========================= FND LOG ===========================
4452:
4453: end if;
4454:

Line 4468: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets 6 updated -> ' || SQL%ROWCOUNT || ' rows');

4464: bp.last_update_date = sysdate
4465: where bp.packet_id = g_packet_id;
4466:
4467: -- ========================= FND LOG ===========================
4468: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets 6 updated -> ' || SQL%ROWCOUNT || ' rows');
4469: -- ========================= FND LOG ===========================
4470:
4471: END IF;
4472:

Line 4488: psa_utils.debug_other_string(g_state_level,l_full_path,

4484: AND pk.source_distribution_id_num_1 = l_source_dist_id_num_1_tbl(I)
4485: AND pk.result_code like 'P%';
4486:
4487: -- ========================= FND LOG ===========================
4488: psa_utils.debug_other_string(g_state_level,l_full_path,
4489: ' update gl_bc_packets 6.1, result_code to F77 for same packet and same distribution updated -> ' || SQL%ROWCOUNT || ' rows');
4490: -- ========================= FND LOG ===========================
4491:
4492: CLOSE c_get_failed_distributions;

Line 4509: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets 7 updated -> ' || SQL%ROWCOUNT || ' rows');

4505: WHERE bc.packet_id = pk.packet_id
4506: AND bc.result_code = 'P20');
4507:
4508: -- ========================= FND LOG ===========================
4509: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets 7 updated -> ' || SQL%ROWCOUNT || ' rows');
4510: -- ========================= FND LOG ===========================
4511:
4512:
4513: UPDATE gl_bc_packets pk

Line 4523: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets 8 updated -> ' || SQL%ROWCOUNT || ' rows');

4519: WHERE bc.packet_id = pk.packet_id
4520: AND bc.result_code = 'P25');
4521:
4522: -- ========================= FND LOG ===========================
4523: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets 8 updated -> ' || SQL%ROWCOUNT || ' rows');
4524: -- ========================= FND LOG ===========================
4525:
4526:
4527: -- =========================== FND LOG ===========================

Line 4528: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE');

4524: -- ========================= FND LOG ===========================
4525:
4526:
4527: -- =========================== FND LOG ===========================
4528: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE');
4529: -- ========================= FND LOG =============================
4530:
4531: return(TRUE);
4532:

Line 4535: psa_utils.debug_other_string(g_state_level,l_full_path, ' Reached label normal exit');

4531: return(TRUE);
4532:
4533: <>
4534: -- =========================== FND LOG ===========================
4535: psa_utils.debug_other_string(g_state_level,l_full_path, ' Reached label normal exit');
4536: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE');
4537: -- ========================= FND LOG =============================
4538:
4539: return(TRUE);

Line 4536: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE');

4532:
4533: <>
4534: -- =========================== FND LOG ===========================
4535: psa_utils.debug_other_string(g_state_level,l_full_path, ' Reached label normal exit');
4536: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE');
4537: -- ========================= FND LOG =============================
4538:
4539: return(TRUE);
4540:

Line 4545: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);

4541: EXCEPTION
4542:
4543: WHEN OTHERS THEN
4544: -- =========================== FND LOG ===========================
4545: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
4546: -- ========================= FND LOG =============================
4547:
4548: message_token('PROCEDURE', 'Funds Checker');
4549: message_token('EVENT', SQLERRM);

Line 4553: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE');

4549: message_token('EVENT', SQLERRM);
4550: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
4551:
4552: -- =========================== FND LOG ===========================
4553: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE');
4554: -- ========================= FND LOG =============================
4555: g_debug := g_debug||' GLXFRC Failed : '||SQLERRM;
4556: return(FALSE);
4557:

Line 4580: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLZCBC - START' );

4576: p_conc_proc := 'F';
4577: l_full_path := g_path || 'glzcbc.';
4578:
4579: -- =========================== FND LOG ===========================
4580: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLZCBC - START' );
4581: -- ========================= FND LOG =============================
4582:
4583: cbc_fck_stmt :=
4584: 'BEGIN :ret_code := IGC_CBC_GL_FC_PKG.glzcbc(:packet_id,p_ledger_id,:mode,:conc_proc); END;';

Line 4587: psa_utils.debug_other_string(g_state_level,l_full_path, ' cbc_fck_stmt -> ' || cbc_fck_stmt );

4583: cbc_fck_stmt :=
4584: 'BEGIN :ret_code := IGC_CBC_GL_FC_PKG.glzcbc(:packet_id,p_ledger_id,:mode,:conc_proc); END;';
4585:
4586: -- =========================== FND LOG ===========================
4587: psa_utils.debug_other_string(g_state_level,l_full_path, ' cbc_fck_stmt -> ' || cbc_fck_stmt );
4588: -- ========================= FND LOG =============================
4589:
4590: -- Assign parameter values before calling IGC
4591:

Line 4597: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ledger_id -> ' || g_ledger_id );

4593: p_packet_id := g_packet_id;
4594: p_mode := g_fcmode;
4595:
4596: -- =========================== FND LOG ===========================
4597: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ledger_id -> ' || g_ledger_id );
4598: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id -> ' || g_packet_id );
4599: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode );
4600: -- ========================= FND LOG =============================
4601:

Line 4598: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id -> ' || g_packet_id );

4594: p_mode := g_fcmode;
4595:
4596: -- =========================== FND LOG ===========================
4597: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ledger_id -> ' || g_ledger_id );
4598: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id -> ' || g_packet_id );
4599: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode );
4600: -- ========================= FND LOG =============================
4601:
4602: execute immediate cbc_fck_stmt

Line 4599: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode );

4595:
4596: -- =========================== FND LOG ===========================
4597: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ledger_id -> ' || g_ledger_id );
4598: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id -> ' || g_packet_id );
4599: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode );
4600: -- ========================= FND LOG =============================
4601:
4602: execute immediate cbc_fck_stmt
4603: USING IN OUT cbc_code,IN p_packet_id,IN p_ledger_id,IN p_mode,IN p_conc_proc;

Line 4606: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN cbc_code -> ' || cbc_code );

4602: execute immediate cbc_fck_stmt
4603: USING IN OUT cbc_code,IN p_packet_id,IN p_ledger_id,IN p_mode,IN p_conc_proc;
4604:
4605: -- =========================== FND LOG ===========================
4606: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN cbc_code -> ' || cbc_code );
4607: -- ========================= FND LOG =============================
4608:
4609: RETURN cbc_code;
4610:

Line 4615: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> 1' );

4611: EXCEPTION
4612: WHEN OTHERS THEN
4613:
4614: -- =========================== FND LOG ===========================
4615: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> 1' );
4616: -- ========================= FND LOG =============================
4617:
4618: RETURN 1;
4619:

Line 4641: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLZGCHK - START' );

4637:
4638: l_full_path := g_path || 'glzgchk';
4639:
4640: -- =========================== FND LOG ===========================
4641: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLZGCHK - START' );
4642: -- ========================= FND LOG =============================
4643:
4644: gms_stmt :=
4645: 'BEGIN '||

Line 4654: psa_utils.debug_other_string(g_state_level,l_full_path, ' gms_stmt -> ' || gms_stmt );

4650: '''N'', :gms_retcode); '||
4651: 'END;';
4652:
4653: -- =========================== FND LOG ===========================
4654: psa_utils.debug_other_string(g_state_level,l_full_path, ' gms_stmt -> ' || gms_stmt );
4655: -- ========================= FND LOG =============================
4656:
4657: execute immediate gms_stmt using g_ledger_id, g_packet_id, g_fcmode,
4658: g_partial_resv_flag, in out gms_retcode;

Line 4661: psa_utils.debug_other_string(g_state_level,l_full_path, ' gms_retcode -> ' || gms_retcode );

4657: execute immediate gms_stmt using g_ledger_id, g_packet_id, g_fcmode,
4658: g_partial_resv_flag, in out gms_retcode;
4659:
4660: -- =========================== FND LOG ===========================
4661: psa_utils.debug_other_string(g_state_level,l_full_path, ' gms_retcode -> ' || gms_retcode );
4662: -- ========================= FND LOG =============================
4663:
4664: IF NOT gms_retcode = '~'
4665: AND gms_retcode IS NOT NULL THEN

Line 4667: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE' );

4663:
4664: IF NOT gms_retcode = '~'
4665: AND gms_retcode IS NOT NULL THEN
4666: -- =========================== FND LOG ===========================
4667: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE' );
4668: -- ========================= FND LOG =============================
4669: RETURN(TRUE);
4670: END IF;
4671:

Line 4673: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE' );

4669: RETURN(TRUE);
4670: END IF;
4671:
4672: -- =========================== FND LOG ===========================
4673: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE' );
4674: -- ========================= FND LOG =============================
4675: RETURN(FALSE);
4676:
4677: EXCEPTION

Line 4682: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHER '|| SQLERRM );

4678:
4679: WHEN OTHERS THEN
4680:
4681: -- =========================== FND LOG ===========================
4682: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHER '|| SQLERRM );
4683: -- ========================= FND LOG =============================
4684:
4685: /* Even when an SQL exception is raised, if the gms_retcode */
4686: /* has been set, indicate that processing has completed. */

Line 4693: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> TRUE' );

4689:
4690: IF NOT gms_retcode = '~'
4691: AND gms_retcode IS NOT NULL THEN
4692: -- =========================== FND LOG ===========================
4693: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> TRUE' );
4694: -- ========================= FND LOG =============================
4695: RETURN(TRUE);
4696: ELSE
4697: -- =========================== FND LOG ===========================

Line 4698: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE' );

4694: -- ========================= FND LOG =============================
4695: RETURN(TRUE);
4696: ELSE
4697: -- =========================== FND LOG ===========================
4698: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE' );
4699: -- ========================= FND LOG =============================
4700: RETURN(FALSE);
4701: END IF;
4702:

Line 4729: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLZPAFCK --> START ');

4725:
4726: l_full_path := g_path || 'glzpafck.';
4727:
4728: -- ========================= FND LOG ===========================
4729: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLZPAFCK --> START ');
4730: -- ========================= FND LOG ===========================
4731:
4732: pa_stmt :=
4733: 'BEGIN '||

Line 4739: psa_utils.debug_other_string(g_state_level,l_full_path, ' pa_stmt -> ' || pa_stmt);

4735: ':g_fcmode_var, :g_partial_resv_flag_var, NULL, NULL,:pa_retcode, :err_msg, :err_stg); '||
4736: 'END;';
4737:
4738: -- ========================= FND LOG ===========================
4739: psa_utils.debug_other_string(g_state_level,l_full_path, ' pa_stmt -> ' || pa_stmt);
4740: -- ========================= FND LOG ===========================
4741:
4742: EXECUTE IMMEDIATE pa_stmt USING 'GL', g_ledger_id, g_packet_id, g_fcmode,
4743: g_partial_resv_flag, OUT pa_retcode,

Line 4748: psa_utils.debug_other_string(g_state_level,l_full_path, ' pa_retcode -> ' || pa_retcode);

4744: OUT err_msg, OUT err_stg;
4745:
4746: IF err_msg IS NOT NULL THEN
4747: -- ========================= FND LOG ===========================
4748: psa_utils.debug_other_string(g_state_level,l_full_path, ' pa_retcode -> ' || pa_retcode);
4749: psa_utils.debug_other_string(g_state_level,l_full_path, ' err_msg -> ' || err_msg);
4750: psa_utils.debug_other_string(g_state_level,l_full_path, ' err_stg -> ' || err_stg);
4751: -- ========================= FND LOG ===========================
4752: END IF;

Line 4749: psa_utils.debug_other_string(g_state_level,l_full_path, ' err_msg -> ' || err_msg);

4745:
4746: IF err_msg IS NOT NULL THEN
4747: -- ========================= FND LOG ===========================
4748: psa_utils.debug_other_string(g_state_level,l_full_path, ' pa_retcode -> ' || pa_retcode);
4749: psa_utils.debug_other_string(g_state_level,l_full_path, ' err_msg -> ' || err_msg);
4750: psa_utils.debug_other_string(g_state_level,l_full_path, ' err_stg -> ' || err_stg);
4751: -- ========================= FND LOG ===========================
4752: END IF;
4753:

Line 4750: psa_utils.debug_other_string(g_state_level,l_full_path, ' err_stg -> ' || err_stg);

4746: IF err_msg IS NOT NULL THEN
4747: -- ========================= FND LOG ===========================
4748: psa_utils.debug_other_string(g_state_level,l_full_path, ' pa_retcode -> ' || pa_retcode);
4749: psa_utils.debug_other_string(g_state_level,l_full_path, ' err_msg -> ' || err_msg);
4750: psa_utils.debug_other_string(g_state_level,l_full_path, ' err_stg -> ' || err_stg);
4751: -- ========================= FND LOG ===========================
4752: END IF;
4753:
4754: IF (pa_retcode IS NULL) OR (pa_retcode = 'T') THEN

Line 4756: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE ');

4752: END IF;
4753:
4754: IF (pa_retcode IS NULL) OR (pa_retcode = 'T') THEN
4755: -- ========================= FND LOG ===========================
4756: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE ');
4757: -- ========================= FND LOG ===========================
4758: g_debug := g_debug||' GLZPAFCK Failed : (PA_RETCODE IS NULL OR PA_RETCODE = T)';
4759: RETURN(FALSE);
4760: END IF;

Line 4763: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE ');

4759: RETURN(FALSE);
4760: END IF;
4761:
4762: -- ========================= FND LOG ===========================
4763: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE ');
4764: -- ========================= FND LOG ===========================
4765:
4766: RETURN(TRUE);
4767:

Line 4772: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ');

4768: EXCEPTION
4769:
4770: WHEN OTHERS THEN
4771: -- ========================= FND LOG ===========================
4772: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ');
4773: -- ========================= FND LOG ===========================
4774:
4775: /* Even when an SQL exception is raised, if the pa_retcode */
4776: /* has been set, indicate that processing has completed. */

Line 4780: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE ');

4776: /* has been set, indicate that processing has completed. */
4777:
4778: IF pa_retcode = 'T' THEN
4779: -- ========================= FND LOG ===========================
4780: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE ');
4781: -- ========================= FND LOG ===========================
4782: g_debug := g_debug||' GLZPAFCK Failed : PA_RETCODE = T';
4783: RETURN(FALSE);
4784: END IF;

Line 4787: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE ');

4783: RETURN(FALSE);
4784: END IF;
4785:
4786: -- ========================= FND LOG ===========================
4787: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE ');
4788: -- ========================= FND LOG ===========================
4789:
4790: RETURN(TRUE);
4791:

Line 4810: psa_utils.debug_other_string(g_state_level, l_full_path, ' GLXFOR --> START ');

4806:
4807: l_full_path := g_path || 'glxfor';
4808:
4809: -- ========================= FND LOG ===========================
4810: psa_utils.debug_other_string(g_state_level, l_full_path, ' GLXFOR --> START ');
4811: -- ========================= FND LOG ===========================
4812:
4813: -- Update Result Code for Detail Transactions
4814:

Line 4842: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets1 -> ' || SQL%ROWCOUNT);

4838: and pk.result_code between 'F20' and 'F29'))
4839: );
4840:
4841: -- ========================= FND LOG ===========================
4842: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets1 -> ' || SQL%ROWCOUNT);
4843: -- ========================= FND LOG ===========================
4844:
4845: -- ========================= FND LOG ===========================
4846: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_calling_prog_flag -> ' || g_calling_prog_flag);

Line 4846: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_calling_prog_flag -> ' || g_calling_prog_flag);

4842: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets1 -> ' || SQL%ROWCOUNT);
4843: -- ========================= FND LOG ===========================
4844:
4845: -- ========================= FND LOG ===========================
4846: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_calling_prog_flag -> ' || g_calling_prog_flag);
4847: -- ========================= FND LOG ===========================
4848:
4849:
4850: IF (g_calling_prog_flag = 'G') THEN

Line 4871: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets2 -> ' || SQL%ROWCOUNT);

4867:
4868: END IF;
4869:
4870: -- ========================= FND LOG ===========================
4871: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets2 -> ' || SQL%ROWCOUNT);
4872: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE ');
4873: -- ========================= FND LOG ===========================
4874:
4875: return(TRUE);

Line 4872: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE ');

4868: END IF;
4869:
4870: -- ========================= FND LOG ===========================
4871: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets2 -> ' || SQL%ROWCOUNT);
4872: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE ');
4873: -- ========================= FND LOG ===========================
4874:
4875: return(TRUE);
4876:

Line 4882: psa_utils.debug_other_string(g_excep_level,l_full_path, ' WHEN OTHERS EXCEPTION ' || SQLERRM);

4878: EXCEPTION
4879:
4880: WHEN OTHERS THEN
4881: -- ========================= FND LOG ===========================
4882: psa_utils.debug_other_string(g_excep_level,l_full_path, ' WHEN OTHERS EXCEPTION ' || SQLERRM);
4883: -- ========================= FND LOG ===========================
4884:
4885: message_token('PROCEDURE', 'Funds Checker');
4886: message_token('EVENT', SQLERRM);

Line 4890: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE ');

4886: message_token('EVENT', SQLERRM);
4887: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
4888:
4889: -- ========================= FND LOG ===========================
4890: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE ');
4891: -- ========================= FND LOG ===========================
4892: g_debug := g_debug||' GLXFOR Failed : '||SQLERRM;
4893: return(FALSE);
4894:

Line 4974: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFRS --> START ');

4970:
4971: l_full_path := g_path || 'glxfrs';
4972:
4973: -- ========================= FND LOG ===========================
4974: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFRS --> START ');
4975: -- ========================= FND LOG ===========================
4976:
4977: -- Return Code for the Packet
4978:

Line 4984: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code --> ' || g_return_code);

4980: fetch retcode into g_return_code;
4981: close retcode;
4982:
4983: -- ========================= FND LOG ===========================
4984: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code --> ' || g_return_code);
4985: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glrchk ');
4986: -- ========================= FND LOG ===========================
4987:
4988: if not glrchk(g_return_code) then

Line 4985: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glrchk ');

4981: close retcode;
4982:
4983: -- ========================= FND LOG ===========================
4984: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code --> ' || g_return_code);
4985: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glrchk ');
4986: -- ========================= FND LOG ===========================
4987:
4988: if not glrchk(g_return_code) then
4989: -- ========================= FND LOG ===========================

Line 4990: psa_utils.debug_other_string(g_state_level,l_full_path, ' glrchk --> FALSE ');

4986: -- ========================= FND LOG ===========================
4987:
4988: if not glrchk(g_return_code) then
4989: -- ========================= FND LOG ===========================
4990: psa_utils.debug_other_string(g_state_level,l_full_path, ' glrchk --> FALSE ');
4991: -- ========================= FND LOG ===========================
4992: return(FALSE);
4993: end if;
4994:

Line 5048: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets --> ' || SQL%ROWCOUNT);

5044: where bp.packet_id = g_packet_id;
5045: end if;
5046:
5047: -- ========================= FND LOG ===========================
5048: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets --> ' || SQL%ROWCOUNT);
5049: -- ========================= FND LOG ===========================
5050:
5051: -- Update the Result Code of all Summary Transactions that fail Funds
5052: -- Reservation to 'P23', when each of their corresponding details got

Line 5065: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode --> ' || g_fcmode);

5061: -- the detail(s)
5062: --
5063:
5064: -- ========================= FND LOG ===========================
5065: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode --> ' || g_fcmode);
5066: IF (g_summarized_flag) THEN
5067: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag --> TRUE ');
5068: ELSE
5069: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag --> FALSE ');

Line 5067: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag --> TRUE ');

5063:
5064: -- ========================= FND LOG ===========================
5065: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode --> ' || g_fcmode);
5066: IF (g_summarized_flag) THEN
5067: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag --> TRUE ');
5068: ELSE
5069: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag --> FALSE ');
5070: END IF;
5071: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code --> ' || g_return_code);

Line 5069: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag --> FALSE ');

5065: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode --> ' || g_fcmode);
5066: IF (g_summarized_flag) THEN
5067: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag --> TRUE ');
5068: ELSE
5069: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag --> FALSE ');
5070: END IF;
5071: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code --> ' || g_return_code);
5072: -- ========================= FND LOG ===========================
5073:

Line 5071: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code --> ' || g_return_code);

5067: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag --> TRUE ');
5068: ELSE
5069: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag --> FALSE ');
5070: END IF;
5071: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code --> ' || g_return_code);
5072: -- ========================= FND LOG ===========================
5073:
5074: if ((g_fcmode in ('R', 'U', 'A')) and
5075: (g_summarized_flag) and

Line 5079: psa_utils.debug_other_string(g_state_level,l_full_path, ' inside Ist IF ');

5075: (g_summarized_flag) and
5076: (g_return_code in ('S', 'A'))) then
5077:
5078: -- ========================= FND LOG ===========================
5079: psa_utils.debug_other_string(g_state_level,l_full_path, ' inside Ist IF ');
5080: -- ========================= FND LOG ===========================
5081:
5082: update gl_bc_packets bp
5083: set bp.result_code = 'P23'

Line 5089: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets --> ' || SQL%ROWCOUNT);

5085: and bp.result_code like 'F%'
5086: and bp.template_id is not null;
5087:
5088: -- ========================= FND LOG ===========================
5089: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets --> ' || SQL%ROWCOUNT);
5090: -- ========================= FND LOG ===========================
5091:
5092: end if;
5093:

Line 5129: psa_utils.debug_other_string(g_state_level,l_full_path, ' inside IInd IF ');

5125: (g_return_code = 'P')) then
5126: begin
5127:
5128: -- ========================= FND LOG ===========================
5129: psa_utils.debug_other_string(g_state_level,l_full_path, ' inside IInd IF ');
5130: -- ========================= FND LOG ===========================
5131:
5132: update gl_bc_packets bp
5133: set (bp.entered_dr,

Line 5169: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets --> ' || SQL%ROWCOUNT);

5165: where bp.packet_id = g_packet_id
5166: and bp.template_id is not null;
5167:
5168: -- ========================= FND LOG ===========================
5169: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets --> ' || SQL%ROWCOUNT);
5170: -- ========================= FND LOG ===========================
5171:
5172: end;
5173: end if;

Line 5176: psa_utils.debug_other_string(g_state_level,l_full_path, ' calling glxfar ');

5172: end;
5173: end if;
5174:
5175: -- ========================= FND LOG ===========================
5176: psa_utils.debug_other_string(g_state_level,l_full_path, ' calling glxfar ');
5177: -- ========================= FND LOG ===========================
5178:
5179: if not glxfar then
5180: -- ========================= FND LOG ===========================

Line 5181: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN --> FALSE');

5177: -- ========================= FND LOG ===========================
5178:
5179: if not glxfar then
5180: -- ========================= FND LOG ===========================
5181: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN --> FALSE');
5182: -- ========================= FND LOG ===========================
5183: return(FALSE);
5184: end if;
5185:

Line 5187: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN --> TRUE ');

5183: return(FALSE);
5184: end if;
5185:
5186: -- ========================= FND LOG ===========================
5187: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN --> TRUE ');
5188: -- ========================= FND LOG ===========================
5189:
5190: return(TRUE);
5191:

Line 5205: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEOPTION WHEN OTHERS '|| SQLERRM);

5201: message_token('EVENT', SQLERRM);
5202: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
5203:
5204: -- ========================= FND LOG ===========================
5205: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEOPTION WHEN OTHERS '|| SQLERRM);
5206: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN --> FALSE ');
5207: -- ========================= FND LOG ===========================
5208: g_debug := g_debug||' GLXFRS Failed : '||SQLERRM;
5209: return(FALSE);

Line 5206: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN --> FALSE ');

5202: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
5203:
5204: -- ========================= FND LOG ===========================
5205: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEOPTION WHEN OTHERS '|| SQLERRM);
5206: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN --> FALSE ');
5207: -- ========================= FND LOG ===========================
5208: g_debug := g_debug||' GLXFRS Failed : '||SQLERRM;
5209: return(FALSE);
5210:

Line 5243: psa_utils.debug_other_string(g_state_level,l_full_path, ' glrchk --> START ');

5239: BEGIN
5240: l_full_path := g_path || 'glrchk.';
5241:
5242: -- ========================= FND LOG ===========================
5243: psa_utils.debug_other_string(g_state_level,l_full_path, ' glrchk --> START ');
5244: psa_utils.debug_other_string(g_state_level,l_full_path, ' post_control --> ' || post_control);
5245: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_retcode --> ' || g_cbc_retcode);
5246: -- ========================= FND LOG ===========================
5247:

Line 5244: psa_utils.debug_other_string(g_state_level,l_full_path, ' post_control --> ' || post_control);

5240: l_full_path := g_path || 'glrchk.';
5241:
5242: -- ========================= FND LOG ===========================
5243: psa_utils.debug_other_string(g_state_level,l_full_path, ' glrchk --> START ');
5244: psa_utils.debug_other_string(g_state_level,l_full_path, ' post_control --> ' || post_control);
5245: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_retcode --> ' || g_cbc_retcode);
5246: -- ========================= FND LOG ===========================
5247:
5248: /*========================+

Line 5245: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_retcode --> ' || g_cbc_retcode);

5241:
5242: -- ========================= FND LOG ===========================
5243: psa_utils.debug_other_string(g_state_level,l_full_path, ' glrchk --> START ');
5244: psa_utils.debug_other_string(g_state_level,l_full_path, ' post_control --> ' || post_control);
5245: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_retcode --> ' || g_cbc_retcode);
5246: -- ========================= FND LOG ===========================
5247:
5248: /*========================+
5249: | CBC Reconcile |

Line 5253: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_retcode-> '||g_cbc_retcode);

5249: | CBC Reconcile |
5250: +========================*/
5251:
5252: -- ========================= FND LOG ===========================
5253: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_retcode-> '||g_cbc_retcode);
5254: -- ========================= FND LOG ===========================
5255:
5256:
5257: IF g_cbc_retcode = 1 then

Line 5259: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling CBC Reconcile ');

5255:
5256:
5257: IF g_cbc_retcode = 1 then
5258: -- ========================= FND LOG ===========================
5259: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling CBC Reconcile ');
5260: -- ========================= FND LOG ===========================
5261:
5262: DECLARE
5263: cbc_recon_stmt VARCHAR2(2000);

Line 5268: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLRCHK(CBCRECONCILE) --> START ');

5264: cbc_recon_code NUMBER(15);
5265:
5266: BEGIN
5267: -- ========================= FND LOG ===========================
5268: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLRCHK(CBCRECONCILE) --> START ');
5269: -- ========================= FND LOG ===========================
5270:
5271: cbc_recon_stmt :=
5272: 'BEGIN :ret_code := IGC_CBC_GL_FC_PKG.reconcile_glzcbc(:packet_id,:sob_id,:mode); END;';

Line 5275: psa_utils.debug_other_string(g_state_level,l_full_path, ' cbc_recon_stmt --> ' || cbc_recon_stmt);

5271: cbc_recon_stmt :=
5272: 'BEGIN :ret_code := IGC_CBC_GL_FC_PKG.reconcile_glzcbc(:packet_id,:sob_id,:mode); END;';
5273:
5274: -- ========================= FND LOG ===========================
5275: psa_utils.debug_other_string(g_state_level,l_full_path, ' cbc_recon_stmt --> ' || cbc_recon_stmt);
5276: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ledger_id --> ' || g_ledger_id);
5277: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id --> ' || g_packet_id);
5278: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_mode --> ' || g_fcmode);
5279: -- ========================= FND LOG ===========================

Line 5276: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ledger_id --> ' || g_ledger_id);

5272: 'BEGIN :ret_code := IGC_CBC_GL_FC_PKG.reconcile_glzcbc(:packet_id,:sob_id,:mode); END;';
5273:
5274: -- ========================= FND LOG ===========================
5275: psa_utils.debug_other_string(g_state_level,l_full_path, ' cbc_recon_stmt --> ' || cbc_recon_stmt);
5276: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ledger_id --> ' || g_ledger_id);
5277: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id --> ' || g_packet_id);
5278: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_mode --> ' || g_fcmode);
5279: -- ========================= FND LOG ===========================
5280:

Line 5277: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id --> ' || g_packet_id);

5273:
5274: -- ========================= FND LOG ===========================
5275: psa_utils.debug_other_string(g_state_level,l_full_path, ' cbc_recon_stmt --> ' || cbc_recon_stmt);
5276: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ledger_id --> ' || g_ledger_id);
5277: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id --> ' || g_packet_id);
5278: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_mode --> ' || g_fcmode);
5279: -- ========================= FND LOG ===========================
5280:
5281: execute immediate cbc_recon_stmt

Line 5278: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_mode --> ' || g_fcmode);

5274: -- ========================= FND LOG ===========================
5275: psa_utils.debug_other_string(g_state_level,l_full_path, ' cbc_recon_stmt --> ' || cbc_recon_stmt);
5276: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ledger_id --> ' || g_ledger_id);
5277: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id --> ' || g_packet_id);
5278: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_mode --> ' || g_fcmode);
5279: -- ========================= FND LOG ===========================
5280:
5281: execute immediate cbc_recon_stmt
5282: USING IN OUT cbc_recon_code,IN g_packet_id,IN g_ledger_id,IN g_fcmode;

Line 5285: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN cbc_recon_code --> ' || cbc_recon_code);

5281: execute immediate cbc_recon_stmt
5282: USING IN OUT cbc_recon_code,IN g_packet_id,IN g_ledger_id,IN g_fcmode;
5283:
5284: -- ========================= FND LOG ===========================
5285: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN cbc_recon_code --> ' || cbc_recon_code);
5286: -- ========================= FND LOG ===========================
5287:
5288: IF cbc_recon_code = -1 THEN
5289: g_debug := g_debug||' GLRCHK Failed : CBC_RECONC_CODE = -1';

Line 5303: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_grantcheck --> TRUE ');

5299: END IF;
5300:
5301: -- ========================= FND LOG ===========================
5302: IF (g_psa_grantcheck) THEN
5303: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_grantcheck --> TRUE ');
5304: ELSE
5305: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_grantcheck --> FALSE ');
5306: END IF;
5307: -- ========================= FND LOG ===========================

Line 5305: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_grantcheck --> FALSE ');

5301: -- ========================= FND LOG ===========================
5302: IF (g_psa_grantcheck) THEN
5303: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_grantcheck --> TRUE ');
5304: ELSE
5305: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_grantcheck --> FALSE ');
5306: END IF;
5307: -- ========================= FND LOG ===========================
5308:
5309: /*========================+

Line 5316: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling GMS Reconcile ');

5312:
5313: IF g_psa_grantcheck THEN
5314:
5315: -- ========================= FND LOG ===========================
5316: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling GMS Reconcile ');
5317: -- ========================= FND LOG ===========================
5318:
5319: DECLARE
5320:

Line 5327: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLRCHK(GMS Reconcile) --> START ');

5323: gms_control gl_bc_packets.result_code%TYPE;
5324:
5325: BEGIN
5326: -- ========================= FND LOG ===========================
5327: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLRCHK(GMS Reconcile) --> START ');
5328: psa_utils.debug_other_string(g_state_level,l_full_path, ' post_control -> ' || post_control);
5329: -- ========================= FND LOG ===========================
5330:
5331: IF post_control = 'X' OR post_control = 'Z' THEN

Line 5328: psa_utils.debug_other_string(g_state_level,l_full_path, ' post_control -> ' || post_control);

5324:
5325: BEGIN
5326: -- ========================= FND LOG ===========================
5327: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLRCHK(GMS Reconcile) --> START ');
5328: psa_utils.debug_other_string(g_state_level,l_full_path, ' post_control -> ' || post_control);
5329: -- ========================= FND LOG ===========================
5330:
5331: IF post_control = 'X' OR post_control = 'Z' THEN
5332: gl_retcode := g_return_code;

Line 5340: psa_utils.debug_other_string(g_state_level,l_full_path, ' gl_retcode -> ' || gl_retcode);

5336: gms_control := gms_retcode;
5337: END IF;
5338:
5339: -- ========================= FND LOG ===========================
5340: psa_utils.debug_other_string(g_state_level,l_full_path, ' gl_retcode -> ' || gl_retcode);
5341: psa_utils.debug_other_string(g_state_level,l_full_path, ' gms_control -> ' || gms_control);
5342: -- ========================= FND LOG ===========================
5343:
5344: gms_stmt :=

Line 5341: psa_utils.debug_other_string(g_state_level,l_full_path, ' gms_control -> ' || gms_control);

5337: END IF;
5338:
5339: -- ========================= FND LOG ===========================
5340: psa_utils.debug_other_string(g_state_level,l_full_path, ' gl_retcode -> ' || gl_retcode);
5341: psa_utils.debug_other_string(g_state_level,l_full_path, ' gms_control -> ' || gms_control);
5342: -- ========================= FND LOG ===========================
5343:
5344: gms_stmt :=
5345: 'BEGIN '||

Line 5351: psa_utils.debug_other_string(g_state_level,l_full_path, ' gms_stmt -> ' || gms_stmt);

5347: ':gl_retcode, :gms_control, :g_partial_resv_flag); '||
5348: 'END;';
5349:
5350: -- ========================= FND LOG ===========================
5351: psa_utils.debug_other_string(g_state_level,l_full_path, ' gms_stmt -> ' || gms_stmt);
5352: -- ========================= FND LOG ===========================
5353:
5354: execute immediate gms_stmt using g_packet_id, g_fcmode, in out gl_retcode,
5355: gms_control, g_partial_resv_flag;

Line 5363: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code -> ' || g_return_code);

5359:
5360: IF gl_retcode IS NOT NULL AND gl_retcode <> 'Z' THEN
5361:
5362: -- ========================= FND LOG ===========================
5363: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code -> ' || g_return_code);
5364: psa_utils.debug_other_string(g_state_level,l_full_path, ' Goto -> GMS_RECONCILE_EXIT (Normal) ');
5365: -- ========================= FND LOG ===========================
5366:
5367: g_return_code := gl_retcode;

Line 5364: psa_utils.debug_other_string(g_state_level,l_full_path, ' Goto -> GMS_RECONCILE_EXIT (Normal) ');

5360: IF gl_retcode IS NOT NULL AND gl_retcode <> 'Z' THEN
5361:
5362: -- ========================= FND LOG ===========================
5363: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code -> ' || g_return_code);
5364: psa_utils.debug_other_string(g_state_level,l_full_path, ' Goto -> GMS_RECONCILE_EXIT (Normal) ');
5365: -- ========================= FND LOG ===========================
5366:
5367: g_return_code := gl_retcode;
5368: goto gms_reconcile_exit;

Line 5373: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE ');

5369:
5370: END IF;
5371:
5372: -- ========================= FND LOG ===========================
5373: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE ');
5374: -- ========================= FND LOG ===========================
5375: g_debug := g_debug||' GLRCHK Failed';
5376: RETURN(FALSE);
5377:

Line 5385: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);

5381:
5382: WHEN OTHERS THEN
5383:
5384: -- ========================= FND LOG ===========================
5385: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
5386: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE ');
5387: -- ========================= FND LOG ===========================
5388: g_debug := g_debug||' GLRCHK Failed : '||SQLERRM;
5389: RETURN(FALSE);

Line 5386: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE ');

5382: WHEN OTHERS THEN
5383:
5384: -- ========================= FND LOG ===========================
5385: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
5386: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE ');
5387: -- ========================= FND LOG ===========================
5388: g_debug := g_debug||' GLRCHK Failed : '||SQLERRM;
5389: RETURN(FALSE);
5390: END;

Line 5396: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_pacheck --> TRUE ');

5392: END IF;
5393:
5394: -- ========================= FND LOG ===========================
5395: IF (g_psa_pacheck) THEN
5396: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_pacheck --> TRUE ');
5397: ELSE
5398: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_pacheck --> FALSE ');
5399: END IF;
5400: -- ========================= FND LOG ===========================

Line 5398: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_pacheck --> FALSE ');

5394: -- ========================= FND LOG ===========================
5395: IF (g_psa_pacheck) THEN
5396: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_pacheck --> TRUE ');
5397: ELSE
5398: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_pacheck --> FALSE ');
5399: END IF;
5400: -- ========================= FND LOG ===========================
5401:
5402: /*========================+

Line 5408: psa_utils.debug_other_string(g_state_level,l_full_path, ' calling glzpacfm ');

5404: +========================*/
5405:
5406: IF (g_psa_pacheck) AND (post_control = 'X') THEN
5407: -- ========================= FND LOG ===========================
5408: psa_utils.debug_other_string(g_state_level,l_full_path, ' calling glzpacfm ');
5409: -- ========================= FND LOG ===========================
5410:
5411: DECLARE
5412:

Line 5418: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLRCHK(GLZPAFCM) --> START ');

5414: err_stg VARCHAR2(1024);
5415:
5416: BEGIN
5417: -- ========================= FND LOG ===========================
5418: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLRCHK(GLZPAFCM) --> START ');
5419: -- ========================= FND LOG ===========================
5420:
5421: pa_stmt :=
5422: 'BEGIN '||

Line 5428: psa_utils.debug_other_string(g_state_level,l_full_path, ' pa_stmt -> ' || pa_stmt);

5424: ':g_fcmode_var, :g_partial_resv_flag_var, NULL, NULL,:gl_retcode, :err_stg); '||
5425: 'END;';
5426:
5427: -- ========================= FND LOG ===========================
5428: psa_utils.debug_other_string(g_state_level,l_full_path, ' pa_stmt -> ' || pa_stmt);
5429: -- ========================= FND LOG ===========================
5430:
5431: -- ========================= FND LOG ===========================
5432: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);

Line 5432: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);

5428: psa_utils.debug_other_string(g_state_level,l_full_path, ' pa_stmt -> ' || pa_stmt);
5429: -- ========================= FND LOG ===========================
5430:
5431: -- ========================= FND LOG ===========================
5432: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);
5433: -- ========================= FND LOG ===========================
5434:
5435: IF g_fcmode = 'U' THEN
5436: EXECUTE IMMEDIATE pa_stmt USING 'GL', g_packet_id_ursvd, g_fcmode,

Line 5444: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code -> ' || g_return_code);

5440: g_partial_resv_flag, IN OUT g_return_code, OUT err_stg;
5441: END IF;
5442:
5443: -- ========================= FND LOG ===========================
5444: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code -> ' || g_return_code);
5445: psa_utils.debug_other_string(g_state_level,l_full_path, ' err_stg -> ' || err_stg);
5446: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE');
5447: -- ========================= FND LOG ===========================
5448:

Line 5445: psa_utils.debug_other_string(g_state_level,l_full_path, ' err_stg -> ' || err_stg);

5441: END IF;
5442:
5443: -- ========================= FND LOG ===========================
5444: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code -> ' || g_return_code);
5445: psa_utils.debug_other_string(g_state_level,l_full_path, ' err_stg -> ' || err_stg);
5446: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE');
5447: -- ========================= FND LOG ===========================
5448:
5449: EXCEPTION

Line 5446: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE');

5442:
5443: -- ========================= FND LOG ===========================
5444: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code -> ' || g_return_code);
5445: psa_utils.debug_other_string(g_state_level,l_full_path, ' err_stg -> ' || err_stg);
5446: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE');
5447: -- ========================= FND LOG ===========================
5448:
5449: EXCEPTION
5450:

Line 5454: psa_utils.debug_other_string(g_excep_level,l_full_path, ' WHEN OTHERS EXCEPTION' );

5450:
5451: WHEN OTHERS THEN
5452:
5453: -- ========================= FND LOG ===========================
5454: psa_utils.debug_other_string(g_excep_level,l_full_path, ' WHEN OTHERS EXCEPTION' );
5455: -- ========================= FND LOG ===========================
5456:
5457: /* Even when an SQL exception is raised, if the pa_retcode */
5458: /* has been set, indicate that processing has completed. */

Line 5461: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> TRUE ');

5457: /* Even when an SQL exception is raised, if the pa_retcode */
5458: /* has been set, indicate that processing has completed. */
5459:
5460: -- ========================= FND LOG ===========================
5461: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> TRUE ');
5462: -- ========================= FND LOG ===========================
5463:
5464: END;
5465:

Line 5469: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN --> TRUE ');

5465:
5466: END IF;
5467:
5468: -- ========================= FND LOG ===========================
5469: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN --> TRUE ');
5470: -- ========================= FND LOG ===========================
5471:
5472: RETURN(TRUE);
5473:

Line 5561: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFJE --> START ');

5557:
5558: l_full_path := g_path || 'glxfje';
5559:
5560: -- ========================= FND LOG ===========================
5561: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFJE --> START ');
5562: -- ========================= FND LOG ===========================
5563:
5564: -- Get Originating Batch ID and Actual Flag
5565: open orig_bat;

Line 5570: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_je_batch_id -> ' || l_je_batch_id);

5566: fetch orig_bat into l_je_batch_id, l_actual_flag, l_max_je_line_num;
5567: close orig_bat;
5568:
5569: -- ========================= FND LOG ===========================
5570: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_je_batch_id -> ' || l_je_batch_id);
5571: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_actual_flag -> ' || l_actual_flag);
5572: -- ========================= FND LOG ===========================
5573:
5574: -- Check whether we should avoid copying DFF information

Line 5571: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_actual_flag -> ' || l_actual_flag);

5567: close orig_bat;
5568:
5569: -- ========================= FND LOG ===========================
5570: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_je_batch_id -> ' || l_je_batch_id);
5571: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_actual_flag -> ' || l_actual_flag);
5572: -- ========================= FND LOG ===========================
5573:
5574: -- Check whether we should avoid copying DFF information
5575: open avoid_copy_dff_attr;

Line 5583: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_avoid_copying_attr -> ' || l_avoid_copying_attr);

5579: end if;
5580: close avoid_copy_dff_attr;
5581:
5582: -- ========================= FND LOG ===========================
5583: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_avoid_copying_attr -> ' || l_avoid_copying_attr);
5584: -- ========================= FND LOG ===========================
5585:
5586: -- Create/Delete separate Actual Batch for the generated transactions
5587: -- if the Originating Batch is Budget/Encumbrance; else, append/delete

Line 5592: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);

5588: -- the generated transactions to/from the Originating Actual Batch
5589:
5590: if l_actual_flag <> 'A' then
5591: -- ========================= FND LOG ===========================
5592: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);
5593: -- ========================= FND LOG ===========================
5594:
5595: if g_fcmode = 'U' then
5596: -- ========================= FND LOG ===========================

Line 5597: psa_utils.debug_other_string(g_state_level,l_full_path, ' goto delete_separate_batch label ');

5593: -- ========================= FND LOG ===========================
5594:
5595: if g_fcmode = 'U' then
5596: -- ========================= FND LOG ===========================
5597: psa_utils.debug_other_string(g_state_level,l_full_path, ' goto delete_separate_batch label ');
5598: -- ========================= FND LOG ===========================
5599: goto delete_separate_batch;
5600: else
5601: -- ========================= FND LOG ===========================

Line 5602: psa_utils.debug_other_string(g_state_level,l_full_path, ' goto create_separate_batch label ');

5598: -- ========================= FND LOG ===========================
5599: goto delete_separate_batch;
5600: else
5601: -- ========================= FND LOG ===========================
5602: psa_utils.debug_other_string(g_state_level,l_full_path, ' goto create_separate_batch label ');
5603: -- ========================= FND LOG ===========================
5604: goto create_separate_batch;
5605: end if;
5606:

Line 5670: psa_utils.debug_other_string(g_state_level,l_full_path,

5666: and bp.packet_id = g_packet_id
5667: and bp.ussgl_link_to_parent_id is not null;
5668:
5669: -- ========================= FND LOG ===========================
5670: psa_utils.debug_other_string(g_state_level,l_full_path,
5671: ' gl_je_lines for originating batch ' || sql%ROWCOUNT);
5672: -- ========================= FND LOG ===========================
5673:
5674: else

Line 5777: psa_utils.debug_other_string(g_state_level,l_full_path,

5773: AND JL1.je_header_id = BP.je_header_id
5774: AND JL1.je_line_num = BP.je_line_num;
5775:
5776: -- ========================= FND LOG ===========================
5777: psa_utils.debug_other_string(g_state_level,l_full_path,
5778: ' Insert GL_JE_LINES -> ' || sql%ROWCOUNT);
5779: -- ========================= FND LOG ===========================
5780:
5781: end if;

Line 5798: psa_utils.debug_other_string(g_state_level,l_full_path,

5794: )
5795: and jl.reference_10 = 'glxfje() generated: ' || g_packet_id_ursvd;
5796:
5797: -- ========================= FND LOG ===========================
5798: psa_utils.debug_other_string(g_state_level,l_full_path,
5799: ' delete gl_je_lines - Unreservation ' || sql%ROWCOUNT);
5800: -- ========================= FND LOG ===========================
5801:
5802: end if;

Line 5843: psa_utils.debug_other_string(g_state_level,l_full_path,

5839: and bp1.ussgl_link_to_parent_id is not null
5840: );
5841:
5842: -- ========================= FND LOG ===========================
5843: psa_utils.debug_other_string(g_state_level,l_full_path,
5844: ' Update Control Total and Running Totals - gl_je_headers ' || SQL%ROWCOUNT);
5845: -- ========================= FND LOG ===========================
5846:
5847:

Line 5881: psa_utils.debug_other_string(g_state_level,l_full_path,

5877: )
5878: where jb.je_batch_id = l_je_batch_id;
5879:
5880: -- ========================= FND LOG ===========================
5881: psa_utils.debug_other_string(g_state_level,l_full_path,
5882: ' Update gl_je_batches - Batch Control Total, Running Totals, ' ||
5883: ' Budgetary Control Status ' || SQL%ROWCOUNT);
5884: psa_utils.debug_other_string(g_state_level,l_full_path, ' goto normal_exit label ');
5885: -- ========================= FND LOG ===========================

Line 5884: psa_utils.debug_other_string(g_state_level,l_full_path, ' goto normal_exit label ');

5880: -- ========================= FND LOG ===========================
5881: psa_utils.debug_other_string(g_state_level,l_full_path,
5882: ' Update gl_je_batches - Batch Control Total, Running Totals, ' ||
5883: ' Budgetary Control Status ' || SQL%ROWCOUNT);
5884: psa_utils.debug_other_string(g_state_level,l_full_path, ' goto normal_exit label ');
5885: -- ========================= FND LOG ===========================
5886:
5887: -- Invoke GL API to fix the GL_JE_SEGMENT_VALUES table.
5888: -- We invoke this API with batch_id parameter so that it works with both inserts/deletes

Line 5898: psa_utils.debug_other_string(g_state_level,l_full_path, ' Reached create_separate_batch label ');

5894:
5895: <>
5896:
5897: -- ========================= FND LOG ===========================
5898: psa_utils.debug_other_string(g_state_level,l_full_path, ' Reached create_separate_batch label ');
5899: -- ========================= FND LOG ===========================
5900:
5901: -- Get new Batch ID from Sequence
5902: open batch_id;

Line 5911: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_gen_batch_id -> '|| l_gen_batch_id);

5907: fetch enable_approval into l_enable_app;
5908: close enable_approval;
5909:
5910: -- ========================= FND LOG ===========================
5911: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_gen_batch_id -> '|| l_gen_batch_id);
5912: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_enable_app -> '|| l_enable_app.enable_je_approval_flag);
5913: -- ========================= FND LOG ===========================
5914:
5915: if l_enable_app.enable_je_approval_flag = 'Y' then

Line 5912: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_enable_app -> '|| l_enable_app.enable_je_approval_flag);

5908: close enable_approval;
5909:
5910: -- ========================= FND LOG ===========================
5911: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_gen_batch_id -> '|| l_gen_batch_id);
5912: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_enable_app -> '|| l_enable_app.enable_je_approval_flag);
5913: -- ========================= FND LOG ===========================
5914:
5915: if l_enable_app.enable_je_approval_flag = 'Y' then
5916:

Line 5922: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_je_source -> '|| l_je_source.je_source);

5918: fetch je_source into l_je_source;
5919: close je_source;
5920:
5921: -- ========================= FND LOG ===========================
5922: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_je_source -> '|| l_je_source.je_source);
5923: -- ========================= FND LOG ===========================
5924:
5925: open je_approval(l_je_source.je_source);
5926: fetch je_approval into l_je_approval;

Line 5930: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_je_approval -> '|| l_je_approval.journal_approval_flag);

5926: fetch je_approval into l_je_approval;
5927: close je_approval;
5928:
5929: -- ========================= FND LOG ===========================
5930: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_je_approval -> '|| l_je_approval.journal_approval_flag);
5931: -- ========================= FND LOG ===========================
5932:
5933: if l_je_approval.journal_approval_flag = 'Y' then
5934: l_approval_status_code := 'R';

Line 5944: psa_utils.debug_other_string(g_state_level,l_full_path,

5940: l_approval_status_code := 'Z';
5941: end if;
5942:
5943: -- ========================= FND LOG ===========================
5944: psa_utils.debug_other_string(g_state_level,l_full_path,
5945: ' l_approval_status_code -> '|| l_approval_status_code);
5946: -- ========================= FND LOG ===========================
5947:
5948: -- Create new Actual Batch for the Generated Transactions

Line 6016: psa_utils.debug_other_string(g_state_level,l_full_path,

6012: and jb.je_batch_id = l_je_batch_id;
6013:
6014:
6015: -- ========================= FND LOG ===========================
6016: psa_utils.debug_other_string(g_state_level,l_full_path,
6017: ' Creating new actual bacth - gl_je_batches -> '|| SQL%ROWCOUNT);
6018: -- ========================= FND LOG ===========================
6019:
6020:

Line 6022: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glurevd ');

6018: -- ========================= FND LOG ===========================
6019:
6020:
6021: -- ========================= FND LOG ===========================
6022: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glurevd ');
6023: -- ========================= FND LOG ===========================
6024:
6025: DECLARE
6026:

Line 6037: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.je_header_id -> '|| x.je_header_id);

6033: FOR x IN batch_sources
6034: LOOP
6035:
6036: -- ========================= FND LOG ===========================
6037: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.je_header_id -> '|| x.je_header_id);
6038: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.je_category -> '|| x.je_category);
6039: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.je_source -> '|| x.je_source);
6040: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.period_name -> '|| x.period_name);
6041: -- ========================= FND LOG ===========================

Line 6038: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.je_category -> '|| x.je_category);

6034: LOOP
6035:
6036: -- ========================= FND LOG ===========================
6037: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.je_header_id -> '|| x.je_header_id);
6038: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.je_category -> '|| x.je_category);
6039: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.je_source -> '|| x.je_source);
6040: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.period_name -> '|| x.period_name);
6041: -- ========================= FND LOG ===========================
6042:

Line 6039: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.je_source -> '|| x.je_source);

6035:
6036: -- ========================= FND LOG ===========================
6037: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.je_header_id -> '|| x.je_header_id);
6038: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.je_category -> '|| x.je_category);
6039: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.je_source -> '|| x.je_source);
6040: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.period_name -> '|| x.period_name);
6041: -- ========================= FND LOG ===========================
6042:
6043: IF NOT ( glurevd(p_ledger_id => g_ledger_id,

Line 6040: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.period_name -> '|| x.period_name);

6036: -- ========================= FND LOG ===========================
6037: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.je_header_id -> '|| x.je_header_id);
6038: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.je_category -> '|| x.je_category);
6039: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.je_source -> '|| x.je_source);
6040: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.period_name -> '|| x.period_name);
6041: -- ========================= FND LOG ===========================
6042:
6043: IF NOT ( glurevd(p_ledger_id => g_ledger_id,
6044: p_je_category => x.je_category,

Line 6052: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE ');

6048: x_reversal_method => l_reversal_method,
6049: p_balance_type => 'A')) THEN
6050:
6051: -- ========================= FND LOG ===========================
6052: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE ');
6053: -- ========================= FND LOG ===========================
6054: g_debug := g_debug||' GLXFJE Failed : glurevd returned FALSE';
6055: return (FALSE);
6056: END IF;

Line 6130: psa_utils.debug_other_string(g_state_level,l_full_path,

6126: );
6127:
6128:
6129: -- ========================= FND LOG ===========================
6130: psa_utils.debug_other_string(g_state_level,l_full_path,
6131: ' Insert gl_je_headers - Headers for Actual Batches ' || SQL%ROWCOUNT);
6132: -- ========================= FND LOG ===========================
6133: END LOOP;
6134: END;

Line 6157: psa_utils.debug_other_string(g_state_level,l_full_path,

6153: )
6154: where JH.je_batch_id = l_gen_batch_id;
6155:
6156: -- ========================= FND LOG ===========================
6157: psa_utils.debug_other_string(g_state_level,l_full_path,
6158: ' update gl_je_headers - running totals - ' || SQL%ROWCOUNT);
6159: -- ========================= FND LOG ===========================
6160:
6161: -- Insert generated transactions in packet into gl_je_lines

Line 6301: psa_utils.debug_other_string(g_state_level,l_full_path,

6297:
6298: end if;
6299:
6300: -- ========================= FND LOG ===========================
6301: psa_utils.debug_other_string(g_state_level,l_full_path,
6302: ' Insert gl_je_lines - ' || SQL%ROWCOUNT);
6303: -- ========================= FND LOG ===========================
6304:
6305:

Line 6316: psa_utils.debug_other_string(g_state_level,l_full_path,

6312: where bp.packet_id = g_packet_id
6313: and bp.ussgl_link_to_parent_id is not null;
6314:
6315: -- ========================= FND LOG ===========================
6316: psa_utils.debug_other_string(g_state_level,l_full_path,
6317: ' update gl_bc_packets - je_bacth_id - ' || SQL%ROWCOUNT);
6318: -- ========================= FND LOG ===========================
6319:
6320: -- Clean up attribute1 in gl_je_headers (contains header id of the

Line 6328: psa_utils.debug_other_string(g_state_level,l_full_path,

6324: set jh.attribute1 = null
6325: where jh.je_batch_id = l_gen_batch_id;
6326:
6327: -- ========================= FND LOG ===========================
6328: psa_utils.debug_other_string(g_state_level,l_full_path,
6329: ' update gl_je_headers -> ' || SQL%ROWCOUNT);
6330: psa_utils.debug_other_string(g_state_level,l_full_path,
6331: ' goto normal_exit label ');
6332: -- ========================= FND LOG ===========================

Line 6330: psa_utils.debug_other_string(g_state_level,l_full_path,

6326:
6327: -- ========================= FND LOG ===========================
6328: psa_utils.debug_other_string(g_state_level,l_full_path,
6329: ' update gl_je_headers -> ' || SQL%ROWCOUNT);
6330: psa_utils.debug_other_string(g_state_level,l_full_path,
6331: ' goto normal_exit label ');
6332: -- ========================= FND LOG ===========================
6333:
6334: -- Invoke GL API to fix the GL_JE_SEGMENT_VALUES table.

Line 6342: psa_utils.debug_other_string(g_state_level,l_full_path,

6338: goto normal_exit;
6339:
6340: <>
6341: -- ========================= FND LOG ===========================
6342: psa_utils.debug_other_string(g_state_level,l_full_path,
6343: ' Reached delete_seperate_batch label ');
6344: -- ========================= FND LOG ===========================
6345:
6346: -- Delete all previously created associated generated transactions from

Line 6362: psa_utils.debug_other_string(g_state_level,l_full_path,

6358: )
6359: and jl.reference_10 = 'glxfje() generated: ' || g_packet_id_ursvd;
6360:
6361: -- ========================= FND LOG ===========================
6362: psa_utils.debug_other_string(g_state_level,l_full_path,
6363: ' Delete gl_je_lines - ' || SQL%ROWCOUNT);
6364: -- ========================= FND LOG ===========================
6365:
6366: -- Delete all associated headers of the generated transactions

Line 6378: psa_utils.debug_other_string(g_state_level,l_full_path,

6374: and bp.ussgl_link_to_parent_id is not null
6375: );
6376:
6377: -- ========================= FND LOG ===========================
6378: psa_utils.debug_other_string(g_state_level,l_full_path,
6379: ' Delete gl_je_headers - ' || SQL%ROWCOUNT);
6380: -- ========================= FND LOG ===========================
6381:
6382: -- Delete the associated batch of the generated transactions

Line 6390: psa_utils.debug_other_string(g_state_level,l_full_path,

6386: delete from gl_je_batches jb
6387: where jb.je_batch_id = x.je_batch_id;
6388:
6389: -- ========================= FND LOG ===========================
6390: psa_utils.debug_other_string(g_state_level,l_full_path,
6391: ' Delete gl_je_batches - ' || SQL%ROWCOUNT);
6392: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN - TRUE ');
6393: -- ========================= FND LOG ===========================
6394:

Line 6392: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN - TRUE ');

6388:
6389: -- ========================= FND LOG ===========================
6390: psa_utils.debug_other_string(g_state_level,l_full_path,
6391: ' Delete gl_je_batches - ' || SQL%ROWCOUNT);
6392: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN - TRUE ');
6393: -- ========================= FND LOG ===========================
6394:
6395: -- Invoke the GL API to fix the GL_JE_SEGMENT_VALUES table
6396:

Line 6405: psa_utils.debug_other_string(g_state_level,l_full_path,

6401: return(TRUE);
6402:
6403: <>
6404: -- ========================= FND LOG ===========================
6405: psa_utils.debug_other_string(g_state_level,l_full_path,
6406: ' Reached normal_exit label');
6407: -- ========================= FND LOG ===========================
6408:
6409: if NOT g_conc_flag AND l_actual_flag = 'A' then

Line 6415: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN - TRUE ');

6411: g_requery_flag := TRUE;
6412: end if;
6413:
6414: -- ========================= FND LOG ===========================
6415: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN - TRUE ');
6416: -- ========================= FND LOG ===========================
6417: return(TRUE);
6418:
6419:

Line 6437: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);

6433: message_token('EVENT', SQLERRM);
6434: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
6435:
6436: -- ========================= FND LOG ===========================
6437: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
6438: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN - FALSE ');
6439: -- ========================= FND LOG ===========================
6440: g_debug := g_debug||' GLXFJE Failed : '||SQLERRM;
6441: return(FALSE);

Line 6438: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN - FALSE ');

6434: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
6435:
6436: -- ========================= FND LOG ===========================
6437: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
6438: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN - FALSE ');
6439: -- ========================= FND LOG ===========================
6440: g_debug := g_debug||' GLXFJE Failed : '||SQLERRM;
6441: return(FALSE);
6442:

Line 6480: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFPP1 --> START ');

6476:
6477: l_full_path := g_path || 'glxfpp1';
6478:
6479: -- ========================= FND LOG ===========================
6480: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFPP1 --> START ');
6481: -- ========================= FND LOG ===========================
6482:
6483: -- Delete Packet Transactions
6484: delete from gl_bc_packets bp

Line 6488: psa_utils.debug_other_string(g_state_level,l_full_path,

6484: delete from gl_bc_packets bp
6485: where bp.packet_id in (p_packetid, p_packetid_ursvd);
6486:
6487: -- ========================= FND LOG ===========================
6488: psa_utils.debug_other_string(g_state_level,l_full_path,
6489: ' delete from gl_bc_packets ' || SQL%ROWCOUNT);
6490: -- ========================= FND LOG ===========================
6491:
6492: -- Delete Packet Arrival Order Record

Line 6497: psa_utils.debug_other_string(g_state_level,l_full_path,

6493: delete from gl_bc_packet_arrival_order ao
6494: where ao.packet_id in (p_packetid, p_packetid_ursvd);
6495:
6496: -- ========================= FND LOG ===========================
6497: psa_utils.debug_other_string(g_state_level,l_full_path,
6498: ' delete from gl_bc_packet_arrival_order ' || SQL%ROWCOUNT);
6499: -- ========================= FND LOG ===========================
6500:
6501: EXCEPTION

Line 6510: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);

6506: message_token('EVENT', SQLERRM);
6507: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
6508:
6509: -- ========================= FND LOG ===========================
6510: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
6511: -- ========================= FND LOG ===========================
6512:
6513: END glxfpp;
6514:

Line 6526: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFPP2 --> START ');

6522:
6523: l_full_path := g_path || 'glxfpp2';
6524:
6525: -- ========================= FND LOG ===========================
6526: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFPP2 --> START ');
6527: -- ========================= FND LOG ===========================
6528:
6529: -- Delete Packet Transactions
6530: delete from gl_bc_packets bp

Line 6534: psa_utils.debug_other_string(g_state_level,l_full_path,

6530: delete from gl_bc_packets bp
6531: where bp.event_id = p_eventid;
6532:
6533: -- ========================= FND LOG ===========================
6534: psa_utils.debug_other_string(g_state_level,l_full_path,
6535: ' delete from gl_bc_packets ' || SQL%ROWCOUNT);
6536: -- ========================= FND LOG ===========================
6537:
6538: -- Delete Packet Arrival Order Record

Line 6545: psa_utils.debug_other_string(g_state_level,l_full_path,

6541: from gl_bc_packets
6542: where event_id = p_eventid);
6543:
6544: -- ========================= FND LOG ===========================
6545: psa_utils.debug_other_string(g_state_level,l_full_path,
6546: ' delete from gl_bc_packet_arrival_order ' || SQL%ROWCOUNT);
6547: -- ========================= FND LOG ===========================
6548:
6549: -- Delete History Record

Line 6554: psa_utils.debug_other_string(g_state_level,l_full_path,

6550: delete from gl_bc_packets_hists bp
6551: where bp.event_id = p_eventid;
6552:
6553: -- ========================= FND LOG ===========================
6554: psa_utils.debug_other_string(g_state_level,l_full_path,
6555: ' delete from gl_bc_packets_hists ' || SQL%ROWCOUNT);
6556: -- ========================= FND LOG ===========================
6557:
6558: EXCEPTION

Line 6567: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);

6563: message_token('EVENT', SQLERRM);
6564: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
6565:
6566: -- ========================= FND LOG ===========================
6567: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
6568: -- ========================= FND LOG ===========================
6569:
6570: END glxfpp;
6571:

Line 6598: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfuf -> START ');

6594:
6595: l_full_path := g_path || 'glxfuf';
6596:
6597: -- ========================= FND LOG ===========================
6598: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfuf -> START ');
6599: -- ========================= FND LOG ===========================
6600:
6601: -- Update Status Code for the Packet Transactions
6602: update gl_bc_packets bp

Line 6607: psa_utils.debug_other_string(g_state_level,l_full_path,

6603: set bp.status_code = 'T'
6604: where bp.packet_id = g_packet_id;
6605:
6606: -- ========================= FND LOG ===========================
6607: psa_utils.debug_other_string(g_state_level,l_full_path,
6608: ' g_packet_id -> ' || g_packet_id );
6609: psa_utils.debug_other_string(g_state_level,l_full_path,
6610: ' update gl_bc_packets with T -> ' || SQL%ROWCOUNT );
6611: -- ========================= FND LOG ===========================

Line 6609: psa_utils.debug_other_string(g_state_level,l_full_path,

6605:
6606: -- ========================= FND LOG ===========================
6607: psa_utils.debug_other_string(g_state_level,l_full_path,
6608: ' g_packet_id -> ' || g_packet_id );
6609: psa_utils.debug_other_string(g_state_level,l_full_path,
6610: ' update gl_bc_packets with T -> ' || SQL%ROWCOUNT );
6611: -- ========================= FND LOG ===========================
6612:
6613: -- Update Affect Funds Flag

Line 6619: psa_utils.debug_other_string(g_state_level,l_full_path,

6615: set ao.affect_funds_flag = 'N'
6616: where ao.packet_id = g_packet_id;
6617:
6618: -- ========================= FND LOG ===========================
6619: psa_utils.debug_other_string(g_state_level,l_full_path,
6620: ' update gl_bc_packet_arrival_order to N -> ' || SQL%ROWCOUNT );
6621: -- ========================= FND LOG ===========================
6622:
6623: if not glrchk('Z') then

Line 6625: psa_utils.debug_other_string(g_state_level,l_full_path, ' glrchk(Z) -> FALSE' );

6621: -- ========================= FND LOG ===========================
6622:
6623: if not glrchk('Z') then
6624: -- ========================= FND LOG ===========================
6625: psa_utils.debug_other_string(g_state_level,l_full_path, ' glrchk(Z) -> FALSE' );
6626: -- ========================= FND LOG ===========================
6627: null;
6628: end if;
6629:

Line 6631: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN --> TRUE' );

6627: null;
6628: end if;
6629:
6630: -- ========================= FND LOG ===========================
6631: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN --> TRUE' );
6632: -- ========================= FND LOG ===========================
6633: return(TRUE);
6634:
6635: EXCEPTION

Line 6644: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM );

6640: message_token('EVENT', SQLERRM);
6641: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
6642:
6643: -- ========================= FND LOG ===========================
6644: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM );
6645: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN --> FALSE' );
6646: -- ========================= FND LOG ===========================
6647: g_debug := g_debug||' GLXFUF Failed : '||SQLERRM;
6648: return(FALSE);

Line 6645: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN --> FALSE' );

6641: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
6642:
6643: -- ========================= FND LOG ===========================
6644: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM );
6645: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN --> FALSE' );
6646: -- ========================= FND LOG ===========================
6647: g_debug := g_debug||' GLXFUF Failed : '||SQLERRM;
6648: return(FALSE);
6649:

Line 6672: psa_utils.debug_other_string(g_excep_level,l_full_path, ' g_no_msg_tokens -> ' || g_no_msg_tokens );

6668: g_no_msg_tokens := g_no_msg_tokens + 1;
6669: end if;
6670:
6671: -- ========================= FND LOG ===========================
6672: psa_utils.debug_other_string(g_excep_level,l_full_path, ' g_no_msg_tokens -> ' || g_no_msg_tokens );
6673: -- ========================= FND LOG ===========================
6674:
6675: msg_tok_names(g_no_msg_tokens) := tokname;
6676: msg_tok_val(g_no_msg_tokens) := tokval;

Line 6713: psa_utils.debug_other_string(g_excep_level,l_full_path, ' g_no_msg_tokens -> ' || g_no_msg_tokens );

6709: -- Clear Message Token stack
6710: g_no_msg_tokens := 0;
6711:
6712: -- ========================= FND LOG ===========================
6713: psa_utils.debug_other_string(g_excep_level,l_full_path, ' g_no_msg_tokens -> ' || g_no_msg_tokens );
6714: -- ========================= FND LOG ===========================
6715:
6716:
6717: END add_message;

Line 6772: psa_utils.debug_other_string(g_excep_level,l_full_path, ' l_fv_prepay_pkg.status -> ' || l_fv_prepay_pkg.status );

6768: into l_fv_prepay_pkg;
6769: close c_fv_prepay_pkg;
6770:
6771: -- ========================= FND LOG ===========================
6772: psa_utils.debug_other_string(g_excep_level,l_full_path, ' l_fv_prepay_pkg.status -> ' || l_fv_prepay_pkg.status );
6773: -- ========================= FND LOG ===========================
6774:
6775:
6776: if l_fv_prepay_pkg.status = 'Y' then

Line 6824: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);

6820: message_token('EVENT', SQLERRM);
6821: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
6822:
6823: -- ========================= FND LOG ===========================
6824: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
6825: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN FALSE');
6826: -- ========================= FND LOG ===========================
6827:
6828: g_debug := g_debug||' FV_PREPAY_PKG Failed : '||SQLERRM;

Line 6825: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN FALSE');

6821: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
6822:
6823: -- ========================= FND LOG ===========================
6824: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
6825: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN FALSE');
6826: -- ========================= FND LOG ===========================
6827:
6828: g_debug := g_debug||' FV_PREPAY_PKG Failed : '||SQLERRM;
6829: return FALSE;

Line 6854: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFAR -> START ');

6850:
6851: l_full_path := g_path || 'glxfar';
6852:
6853: -- ========================= FND LOG ===========================
6854: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFAR -> START ');
6855: -- ========================= FND LOG ===========================
6856:
6857: -- Update Affect Funds Flag to 'N' if Mode is Reservation and Return Code
6858: -- is Failure

Line 6869: psa_utils.debug_other_string(g_state_level,l_full_path,

6865: set ao.affect_funds_flag = 'N'
6866: where ao.packet_id = g_packet_id;
6867:
6868: -- ========================= FND LOG ===========================
6869: psa_utils.debug_other_string(g_state_level,l_full_path,
6870: ' update gl_bc_packet_arrival_order -> ' || SQL%ROWCOUNT);
6871: -- ========================= FND LOG ===========================
6872:
6873: -- Commit so that a later rollback does not reset this flag

Line 6877: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN - TRUE');

6873: -- Commit so that a later rollback does not reset this flag
6874: commit;
6875:
6876: -- ========================= FND LOG ===========================
6877: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN - TRUE');
6878: -- ========================= FND LOG ===========================
6879: RETURN (TRUE);
6880:
6881: end;

Line 6886: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN - TRUE');

6882: end if;
6883:
6884: commit;
6885: -- ========================= FND LOG ===========================
6886: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN - TRUE');
6887: -- ========================= FND LOG ===========================
6888: RETURN (TRUE);
6889:
6890: EXCEPTION

Line 6899: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);

6895: message_token('EVENT', SQLERRM);
6896: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
6897:
6898: -- ========================= FND LOG ===========================
6899: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
6900: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN - FALSE');
6901: -- ========================= FND LOG ===========================
6902:
6903: g_debug := g_debug||' GLXFAR Failed : '||SQLERRM;

Line 6900: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN - FALSE');

6896: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
6897:
6898: -- ========================= FND LOG ===========================
6899: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
6900: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN - FALSE');
6901: -- ========================= FND LOG ===========================
6902:
6903: g_debug := g_debug||' GLXFAR Failed : '||SQLERRM;
6904: -- bug 3471744

Line 6923: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXCON -> START ');

6919:
6920: l_full_path := g_path || 'glxcon.';
6921:
6922: -- ========================= FND LOG ===========================
6923: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXCON -> START ');
6924: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfrs .. ');
6925: -- ========================= FND LOG ===========================
6926:
6927: -- Get Return Status

Line 6924: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfrs .. ');

6920: l_full_path := g_path || 'glxcon.';
6921:
6922: -- ========================= FND LOG ===========================
6923: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXCON -> START ');
6924: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfrs .. ');
6925: -- ========================= FND LOG ===========================
6926:
6927: -- Get Return Status
6928: if not glxfrs then

Line 6930: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFRS - RETURN FALSE ');

6926:
6927: -- Get Return Status
6928: if not glxfrs then
6929: -- ========================= FND LOG ===========================
6930: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFRS - RETURN FALSE ');
6931: psa_utils.debug_other_string(g_state_level,l_full_path, ' goto fatal_error label ');
6932: -- ========================= FND LOG ===========================
6933: goto fatal_error;
6934: end if;

Line 6931: psa_utils.debug_other_string(g_state_level,l_full_path, ' goto fatal_error label ');

6927: -- Get Return Status
6928: if not glxfrs then
6929: -- ========================= FND LOG ===========================
6930: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFRS - RETURN FALSE ');
6931: psa_utils.debug_other_string(g_state_level,l_full_path, ' goto fatal_error label ');
6932: -- ========================= FND LOG ===========================
6933: goto fatal_error;
6934: end if;
6935:

Line 6937: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);

6933: goto fatal_error;
6934: end if;
6935:
6936: -- ========================= FND LOG ===========================
6937: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);
6938: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code -> '|| g_return_code);
6939: -- ========================= FND LOG ===========================
6940:
6941: -- Process Journal Entries Module if all transactions pass Funds

Line 6938: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code -> '|| g_return_code);

6934: end if;
6935:
6936: -- ========================= FND LOG ===========================
6937: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);
6938: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code -> '|| g_return_code);
6939: -- ========================= FND LOG ===========================
6940:
6941: -- Process Journal Entries Module if all transactions pass Funds
6942: -- (Un)Reservation and Append JE Flag is set

Line 6949: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> TRUE');

6945: (g_return_code in ('S', 'A'))) then
6946:
6947: if g_append_je_flag then
6948: -- ========================= FND LOG ===========================
6949: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> TRUE');
6950: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfje ..');
6951: -- ========================= FND LOG ===========================
6952:
6953: if not glxfje then

Line 6950: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfje ..');

6946:
6947: if g_append_je_flag then
6948: -- ========================= FND LOG ===========================
6949: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> TRUE');
6950: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfje ..');
6951: -- ========================= FND LOG ===========================
6952:
6953: if not glxfje then
6954: -- ========================= FND LOG ===========================

Line 6955: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFJE RETURN FALSE ');

6951: -- ========================= FND LOG ===========================
6952:
6953: if not glxfje then
6954: -- ========================= FND LOG ===========================
6955: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFJE RETURN FALSE ');
6956: psa_utils.debug_other_string(g_state_level,l_full_path, ' goto fatal_error label ');
6957: -- ========================= FND LOG ===========================
6958: goto fatal_error;
6959: end if;

Line 6956: psa_utils.debug_other_string(g_state_level,l_full_path, ' goto fatal_error label ');

6952:
6953: if not glxfje then
6954: -- ========================= FND LOG ===========================
6955: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFJE RETURN FALSE ');
6956: psa_utils.debug_other_string(g_state_level,l_full_path, ' goto fatal_error label ');
6957: -- ========================= FND LOG ===========================
6958: goto fatal_error;
6959: end if;
6960:

Line 6969: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfpp .. ');

6965:
6966: if g_fcmode = 'U' then
6967:
6968: -- ========================= FND LOG ===========================
6969: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfpp .. ');
6970: -- ========================= FND LOG ===========================
6971: glxfpp(g_packet_id, g_packet_id_ursvd);
6972:
6973: -- If Journal Entries were deleted then Commit

Line 6976: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> TRUE ');

6972:
6973: -- If Journal Entries were deleted then Commit
6974: if g_append_je_flag then
6975: -- ========================= FND LOG ===========================
6976: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> TRUE ');
6977: psa_utils.debug_other_string(g_state_level,l_full_path, ' COMMIT ');
6978: -- ========================= FND LOG ===========================
6979: commit;
6980: end if;

Line 6977: psa_utils.debug_other_string(g_state_level,l_full_path, ' COMMIT ');

6973: -- If Journal Entries were deleted then Commit
6974: if g_append_je_flag then
6975: -- ========================= FND LOG ===========================
6976: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> TRUE ');
6977: psa_utils.debug_other_string(g_state_level,l_full_path, ' COMMIT ');
6978: -- ========================= FND LOG ===========================
6979: commit;
6980: end if;
6981:

Line 6986: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE ');

6982: end if;
6983: end if;
6984:
6985: -- ========================= FND LOG ===========================
6986: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE ');
6987: -- ========================= FND LOG ===========================
6988: return(TRUE);
6989:
6990: <>

Line 6992: psa_utils.debug_other_string(g_state_level,l_full_path, ' Reached fatal_error label ');

6988: return(TRUE);
6989:
6990: <>
6991: -- ========================= FND LOG ===========================
6992: psa_utils.debug_other_string(g_state_level,l_full_path, ' Reached fatal_error label ');
6993: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfuf .. ');
6994: -- ========================= FND LOG ===========================
6995:
6996: if not glxfuf then

Line 6993: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfuf .. ');

6989:
6990: <>
6991: -- ========================= FND LOG ===========================
6992: psa_utils.debug_other_string(g_state_level,l_full_path, ' Reached fatal_error label ');
6993: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfuf .. ');
6994: -- ========================= FND LOG ===========================
6995:
6996: if not glxfuf then
6997: -- ========================= FND LOG ===========================

Line 6998: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFUF - RETURN FALSE ');

6994: -- ========================= FND LOG ===========================
6995:
6996: if not glxfuf then
6997: -- ========================= FND LOG ===========================
6998: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFUF - RETURN FALSE ');
6999: psa_utils.debug_other_string(g_state_level,l_full_path, ' RASIE OTHERS ');
7000: -- ========================= FND LOG ===========================
7001: raise others;
7002: end if;

Line 6999: psa_utils.debug_other_string(g_state_level,l_full_path, ' RASIE OTHERS ');

6995:
6996: if not glxfuf then
6997: -- ========================= FND LOG ===========================
6998: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFUF - RETURN FALSE ');
6999: psa_utils.debug_other_string(g_state_level,l_full_path, ' RASIE OTHERS ');
7000: -- ========================= FND LOG ===========================
7001: raise others;
7002: end if;
7003:

Line 7005: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE ');

7001: raise others;
7002: end if;
7003:
7004: -- ========================= FND LOG ===========================
7005: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE ');
7006: -- ========================= FND LOG ===========================
7007: g_debug := g_debug||' GLXCON Failed';
7008: return(FALSE);
7009:

Line 7019: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);

7015: message_token('EVENT', SQLERRM);
7016: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
7017:
7018: -- ========================= FND LOG ===========================
7019: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
7020: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE ');
7021: -- ========================= FND LOG ===========================
7022: g_debug := g_debug||' GLXCON Failed : '||SQLERRM;
7023: return(FALSE);

Line 7020: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE ');

7016: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
7017:
7018: -- ========================= FND LOG ===========================
7019: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
7020: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE ');
7021: -- ========================= FND LOG ===========================
7022: g_debug := g_debug||' GLXCON Failed : '||SQLERRM;
7023: return(FALSE);
7024:

Line 7053: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledger_id -> ' || p_ledger_id);

7049:
7050: l_full_path := g_path || 'glurevd';
7051:
7052: -- ========================= FND LOG ===========================
7053: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledger_id -> ' || p_ledger_id);
7054: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_category -> ' || p_je_category);
7055: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_source -> ' || p_je_source);
7056: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_period -> ' || p_je_period);
7057: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_date -> '

Line 7054: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_category -> ' || p_je_category);

7050: l_full_path := g_path || 'glurevd';
7051:
7052: -- ========================= FND LOG ===========================
7053: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledger_id -> ' || p_ledger_id);
7054: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_category -> ' || p_je_category);
7055: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_source -> ' || p_je_source);
7056: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_period -> ' || p_je_period);
7057: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_date -> '
7058: || to_char(p_je_date, 'DD-MON-YYYY'));

Line 7055: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_source -> ' || p_je_source);

7051:
7052: -- ========================= FND LOG ===========================
7053: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledger_id -> ' || p_ledger_id);
7054: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_category -> ' || p_je_category);
7055: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_source -> ' || p_je_source);
7056: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_period -> ' || p_je_period);
7057: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_date -> '
7058: || to_char(p_je_date, 'DD-MON-YYYY'));
7059: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_balance_type -> ' || p_balance_type);

Line 7056: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_period -> ' || p_je_period);

7052: -- ========================= FND LOG ===========================
7053: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledger_id -> ' || p_ledger_id);
7054: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_category -> ' || p_je_category);
7055: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_source -> ' || p_je_source);
7056: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_period -> ' || p_je_period);
7057: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_date -> '
7058: || to_char(p_je_date, 'DD-MON-YYYY'));
7059: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_balance_type -> ' || p_balance_type);
7060: -- ========================= FND LOG ===========================

Line 7057: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_date -> '

7053: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledger_id -> ' || p_ledger_id);
7054: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_category -> ' || p_je_category);
7055: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_source -> ' || p_je_source);
7056: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_period -> ' || p_je_period);
7057: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_date -> '
7058: || to_char(p_je_date, 'DD-MON-YYYY'));
7059: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_balance_type -> ' || p_balance_type);
7060: -- ========================= FND LOG ===========================
7061:

Line 7059: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_balance_type -> ' || p_balance_type);

7055: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_source -> ' || p_je_source);
7056: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_period -> ' || p_je_period);
7057: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_date -> '
7058: || to_char(p_je_date, 'DD-MON-YYYY'));
7059: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_balance_type -> ' || p_balance_type);
7060: -- ========================= FND LOG ===========================
7061:
7062: IF (p_balance_type = 'A') THEN
7063: BEGIN

Line 7076: psa_utils.debug_other_string(g_excep_level,l_full_path,

7072: x_reversal_date => l_reversal_date);
7073: EXCEPTION
7074: WHEN OTHERS THEN
7075: -- ========================= FND LOG ===========================
7076: psa_utils.debug_other_string(g_excep_level,l_full_path,
7077: 'Call to GL_AUTOREVERSE_DATE_PKG raised unhandled exception - '
7078: ||sqlcode||' - '||sqlerrm);
7079: psa_utils.debug_unexpected_msg(l_full_path);
7080: -- ========================= FND LOG ===========================

Line 7079: psa_utils.debug_unexpected_msg(l_full_path);

7075: -- ========================= FND LOG ===========================
7076: psa_utils.debug_other_string(g_excep_level,l_full_path,
7077: 'Call to GL_AUTOREVERSE_DATE_PKG raised unhandled exception - '
7078: ||sqlcode||' - '||sqlerrm);
7079: psa_utils.debug_unexpected_msg(l_full_path);
7080: -- ========================= FND LOG ===========================
7081:
7082: GL_AUTOREVERSE_DATE_PKG.get_default_reversal_method(
7083: g_ledger_id, p_je_category, l_reversal_method);

Line 7086: psa_utils.debug_other_string(g_excep_level,l_full_path,

7082: GL_AUTOREVERSE_DATE_PKG.get_default_reversal_method(
7083: g_ledger_id, p_je_category, l_reversal_method);
7084:
7085: -- ========================= FND LOG ===========================
7086: psa_utils.debug_other_string(g_excep_level,l_full_path,
7087: 'l_reversal_method value returned by get_default_reversal_method : '||l_reversal_method);
7088: -- ========================= FND LOG ===========================
7089:
7090: END;

Line 7098: psa_utils.debug_other_string(g_excep_level,l_full_path,

7094: GL_AUTOREVERSE_DATE_PKG.get_default_reversal_method(
7095: g_ledger_id, p_je_category, l_reversal_method);
7096:
7097: -- ========================= FND LOG ===========================
7098: psa_utils.debug_other_string(g_excep_level,l_full_path,
7099: 'l_reversal_method value returned by get_default_reversal_method : '||l_reversal_method);
7100: -- ========================= FND LOG ===========================
7101:
7102: END IF;

Line 7107: psa_utils.debug_other_string(g_excep_level,l_full_path,'x_reversal_method -> l_reversal_method');

7103:
7104: IF (l_reversal_method IS NOT NULL) THEN
7105:
7106: -- ========================= FND LOG ===========================
7107: psa_utils.debug_other_string(g_excep_level,l_full_path,'x_reversal_method -> l_reversal_method');
7108: psa_utils.debug_other_string(g_excep_level,l_full_path,'Return -> True');
7109: -- ========================= FND LOG ===========================
7110:
7111: x_reversal_method := l_reversal_method;

Line 7108: psa_utils.debug_other_string(g_excep_level,l_full_path,'Return -> True');

7104: IF (l_reversal_method IS NOT NULL) THEN
7105:
7106: -- ========================= FND LOG ===========================
7107: psa_utils.debug_other_string(g_excep_level,l_full_path,'x_reversal_method -> l_reversal_method');
7108: psa_utils.debug_other_string(g_excep_level,l_full_path,'Return -> True');
7109: -- ========================= FND LOG ===========================
7110:
7111: x_reversal_method := l_reversal_method;
7112: return TRUE;

Line 7115: psa_utils.debug_other_string(g_excep_level,l_full_path,'Return -> False');

7111: x_reversal_method := l_reversal_method;
7112: return TRUE;
7113: ELSE
7114: -- ========================= FND LOG ===========================
7115: psa_utils.debug_other_string(g_excep_level,l_full_path,'Return -> False');
7116: -- ========================= FND LOG ===========================
7117:
7118: return FALSE;
7119: END IF;

Line 7124: psa_utils.debug_other_string(g_excep_level,l_full_path,

7120:
7121: EXCEPTION
7122: WHEN OTHERS THEN
7123: -- ========================= FND LOG ===========================
7124: psa_utils.debug_other_string(g_excep_level,l_full_path,
7125: 'Exception raised in main body execution - '||sqlcode||' - '||sqlerrm);
7126: psa_utils.debug_unexpected_msg(l_full_path);
7127: -- ========================= FND LOG ===========================
7128: g_debug := g_debug||' GLUREVD Failed : '||SQLERRM;

Line 7126: psa_utils.debug_unexpected_msg(l_full_path);

7122: WHEN OTHERS THEN
7123: -- ========================= FND LOG ===========================
7124: psa_utils.debug_other_string(g_excep_level,l_full_path,
7125: 'Exception raised in main body execution - '||sqlcode||' - '||sqlerrm);
7126: psa_utils.debug_unexpected_msg(l_full_path);
7127: -- ========================= FND LOG ===========================
7128: g_debug := g_debug||' GLUREVD Failed : '||SQLERRM;
7129: x_reversal_method := NULL;
7130: return FALSE;

Line 7177: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);

7173: BEGIN
7174: l_full_path := g_path || 'gl_confirm_override';
7175:
7176: -- ========================= FND LOG ===========================
7177: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
7178: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
7179: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
7180: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
7181: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);

Line 7178: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);

7174: l_full_path := g_path || 'gl_confirm_override';
7175:
7176: -- ========================= FND LOG ===========================
7177: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
7178: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
7179: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
7180: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
7181: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
7182: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);

Line 7179: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);

7175:
7176: -- ========================= FND LOG ===========================
7177: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
7178: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
7179: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
7180: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
7181: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
7182: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
7183: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);

Line 7180: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);

7176: -- ========================= FND LOG ===========================
7177: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
7178: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
7179: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
7180: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
7181: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
7182: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
7183: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
7184: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_confirm_override -> ' || p_confirm_override);

Line 7181: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);

7177: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
7178: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
7179: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
7180: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
7181: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
7182: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
7183: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
7184: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_confirm_override -> ' || p_confirm_override);
7185: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);

Line 7182: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);

7178: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
7179: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
7180: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
7181: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
7182: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
7183: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
7184: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_confirm_override -> ' || p_confirm_override);
7185: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
7186: -- ========================= FND LOG ===========================

Line 7183: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);

7179: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
7180: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
7181: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
7182: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
7183: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
7184: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_confirm_override -> ' || p_confirm_override);
7185: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
7186: -- ========================= FND LOG ===========================
7187:

Line 7184: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_confirm_override -> ' || p_confirm_override);

7180: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
7181: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
7182: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
7183: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
7184: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_confirm_override -> ' || p_confirm_override);
7185: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
7186: -- ========================= FND LOG ===========================
7187:
7188: if p_calling_prog_flag <> 'G' then

Line 7185: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);

7181: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
7182: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
7183: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
7184: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_confirm_override -> ' || p_confirm_override);
7185: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
7186: -- ========================= FND LOG ===========================
7187:
7188: if p_calling_prog_flag <> 'G' then
7189:

Line 7191: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag <> G -> raise others');

7187:
7188: if p_calling_prog_flag <> 'G' then
7189:
7190: -- =========================== FND LOG ===========================
7191: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag <> G -> raise others');
7192: -- ========================= FND LOG =============================
7193:
7194: raise others;
7195: end if;

Line 7208: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfin --> RETURN FALSE -> goto fatal_error');

7204: p_user_resp_id => p_user_resp_id,
7205: p_calling_prog_flag => p_calling_prog_flag) then
7206:
7207: -- =========================== FND LOG ===========================
7208: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfin --> RETURN FALSE -> goto fatal_error');
7209: -- ========================= FND LOG =============================
7210:
7211: goto fatal_error;
7212: end if;

Line 7217: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_override_flag --> TRUE ');

7213:
7214: -- Override Transactions
7215: if (g_override_flag) and (p_confirm_override = 'Y') then
7216: -- =========================== FND LOG ===========================
7217: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_override_flag --> TRUE ');
7218: -- ========================= FND LOG =============================
7219:
7220: if not glxfor then
7221: -- =========================== FND LOG ===========================

Line 7222: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfor --> RETURN FALSE -> goto fatal_error');

7218: -- ========================= FND LOG =============================
7219:
7220: if not glxfor then
7221: -- =========================== FND LOG ===========================
7222: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfor --> RETURN FALSE -> goto fatal_error');
7223: -- ========================= FND LOG =============================
7224: goto fatal_error;
7225: end if;
7226:

Line 7229: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_override_flag --> FALSE ');

7225: end if;
7226:
7227: else
7228: -- =========================== FND LOG ===========================
7229: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_override_flag --> FALSE ');
7230: -- ========================= FND LOG =============================
7231: end if;
7232:
7233: -- =========================== FND LOG ===========================

Line 7234: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxcon ');

7230: -- ========================= FND LOG =============================
7231: end if;
7232:
7233: -- =========================== FND LOG ===========================
7234: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxcon ');
7235: -- ========================= FND LOG =============================
7236:
7237: open append_je;
7238: fetch append_je into l_dummy;

Line 7249: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxcon --> RETURN FALSE -> goto fatal_error');

7245:
7246: -- Set Result Codes, Return Code, Append Journal Logic
7247: if not glxcon then
7248: -- =========================== FND LOG ===========================
7249: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxcon --> RETURN FALSE -> goto fatal_error');
7250: -- ========================= FND LOG =============================
7251: goto fatal_error;
7252: end if;
7253:

Line 7255: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glrchk ');

7251: goto fatal_error;
7252: end if;
7253:
7254: -- =========================== FND LOG ===========================
7255: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glrchk ');
7256: -- ========================= FND LOG =============================
7257:
7258: if not glrchk('X') then
7259: -- =========================== FND LOG ===========================

Line 7260: psa_utils.debug_other_string(g_state_level,l_full_path, ' glrchk(X) --> RETURN FALSE -> goto fatal_error');

7256: -- ========================= FND LOG =============================
7257:
7258: if not glrchk('X') then
7259: -- =========================== FND LOG ===========================
7260: psa_utils.debug_other_string(g_state_level,l_full_path, ' glrchk(X) --> RETURN FALSE -> goto fatal_error');
7261: -- ========================= FND LOG =============================
7262: goto fatal_error;
7263: end if;
7264:

Line 7266: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_return_code = g_return_code --> ' || g_return_code);

7262: goto fatal_error;
7263: end if;
7264:
7265: -- =========================== FND LOG ===========================
7266: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_return_code = g_return_code --> ' || g_return_code);
7267: -- ========================= FND LOG =============================
7268:
7269: p_return_code := g_return_code;
7270:

Line 7272: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN --> TRUE ');

7268:
7269: p_return_code := g_return_code;
7270:
7271: -- =========================== FND LOG ===========================
7272: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN --> TRUE ');
7273: -- ========================= FND LOG =============================
7274:
7275: IF (p_mode = 'U' AND NOT g_requery_flag) THEN
7276: p_unrsv_packet_id := p_packetid;

Line 7278: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_unrsv_packet_id --> ' || p_unrsv_packet_id );

7274:
7275: IF (p_mode = 'U' AND NOT g_requery_flag) THEN
7276: p_unrsv_packet_id := p_packetid;
7277: -- ========================= FND LOG ===========================
7278: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_unrsv_packet_id --> ' || p_unrsv_packet_id );
7279: -- ========================= FND LOG ===========================
7280: END IF;
7281:
7282: -- If g_requery_flag is TRUE set p_return_code = "Q"

Line 7289: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_return_code --> Q => Success/Advisory ');

7285:
7286: IF g_requery_flag THEN
7287: p_return_code := 'Q';
7288: -- ========================= FND LOG ===========================
7289: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_return_code --> Q => Success/Advisory ');
7290: -- ========================= FND LOG ===========================
7291: END IF;
7292:
7293: -- ========================= FND LOG ===========================

Line 7294: psa_utils.debug_other_string(g_state_level,l_full_path, ' Return -> True');

7290: -- ========================= FND LOG ===========================
7291: END IF;
7292:
7293: -- ========================= FND LOG ===========================
7294: psa_utils.debug_other_string(g_state_level,l_full_path, ' Return -> True');
7295: -- ========================= FND LOG ===========================
7296:
7297: return(TRUE);
7298:

Line 7302: psa_utils.debug_other_string(g_state_level,l_full_path, ' Reached FATAL ERROR LABEL ');

7298:
7299: <>
7300:
7301: -- =========================== FND LOG ===========================
7302: psa_utils.debug_other_string(g_state_level,l_full_path, ' Reached FATAL ERROR LABEL ');
7303: -- ========================= FND LOG =============================
7304:
7305: if not glxfuf then
7306: -- =========================== FND LOG ===========================

Line 7307: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfuf --> RETURN FALSE -> RAISE OTHERS');

7303: -- ========================= FND LOG =============================
7304:
7305: if not glxfuf then
7306: -- =========================== FND LOG ===========================
7307: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfuf --> RETURN FALSE -> RAISE OTHERS');
7308: -- ========================= FND LOG =============================
7309: raise others;
7310: end if;
7311:

Line 7313: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE ');

7309: raise others;
7310: end if;
7311:
7312: -- =========================== FND LOG ===========================
7313: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE ');
7314: -- ========================= FND LOG =============================
7315:
7316: g_debug := g_debug||' GL_CONFIRM_OVERRIDE Failed';
7317: return(FALSE);

Line 7323: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);

7319: EXCEPTION
7320:
7321: WHEN OTHERS THEN
7322: -- =========================== FND LOG ===========================
7323: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
7324: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE ');
7325: -- ========================= FND LOG =============================
7326:
7327: message_token('PROCEDURE', 'Funds Checker');

Line 7324: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE ');

7320:
7321: WHEN OTHERS THEN
7322: -- =========================== FND LOG ===========================
7323: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
7324: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE ');
7325: -- ========================= FND LOG =============================
7326:
7327: message_token('PROCEDURE', 'Funds Checker');
7328: message_token('EVENT', SQLERRM);

Line 7374: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete gl_bc_packets 1 deleted ' || SQL%ROWCOUNT || ' rows');

7370: WHERE audsid = Q.session_id
7371: and Serial# = Q.serial_id)));
7372:
7373: -- =========================== FND LOG ===========================
7374: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete gl_bc_packets 1 deleted ' || SQL%ROWCOUNT || ' rows');
7375: -- ========================= FND LOG =============================
7376:
7377: LOOP -- Bug 10171221
7378:

Line 7476: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete gl_bc_packets 2 deleted ' || SQL%ROWCOUNT || ' rows');

7472: GROUP_ID
7473: bulk collect into g_bc_pkts_hist;
7474:
7475: -- =========================== FND LOG ===========================
7476: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete gl_bc_packets 2 deleted ' || SQL%ROWCOUNT || ' rows');
7477: -- ========================= FND LOG =============================
7478:
7479: EXIT WHEN g_bc_pkts_hist.count = 0;
7480:

Line 7493: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete psa_xla_accounting_errors deleted ' || SQL%ROWCOUNT || ' rows');

7489: DELETE from psa_xla_accounting_errors
7490: where (sysdate - creation_date) >= p_purge_days;
7491:
7492: -- =========================== FND LOG ===========================
7493: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete psa_xla_accounting_errors deleted ' || SQL%ROWCOUNT || ' rows');
7494: -- ========================= FND LOG =============================
7495:
7496: DELETE from psa_bc_accounting_errors
7497: where (sysdate - creation_date) >= p_purge_days;

Line 7500: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete psa_bc_accounting_errors deleted ' || SQL%ROWCOUNT || ' rows');

7496: DELETE from psa_bc_accounting_errors
7497: where (sysdate - creation_date) >= p_purge_days;
7498:
7499: -- =========================== FND LOG ===========================
7500: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete psa_bc_accounting_errors deleted ' || SQL%ROWCOUNT || ' rows');
7501: -- ========================= FND LOG =============================
7502:
7503: DELETE from psa_xla_validation_lines_logs
7504: where (sysdate - creation_date) >= p_purge_days;

Line 7507: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete psa_xla_validation_lines_logs deleted ' || SQL%ROWCOUNT || ' rows');

7503: DELETE from psa_xla_validation_lines_logs
7504: where (sysdate - creation_date) >= p_purge_days;
7505:
7506: -- =========================== FND LOG ===========================
7507: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete psa_xla_validation_lines_logs deleted ' || SQL%ROWCOUNT || ' rows');
7508: -- ========================= FND LOG =============================
7509:
7510: DELETE from psa_xla_events_logs
7511: where (sysdate - creation_date) >= p_purge_days;

Line 7514: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete psa_xla_events_logs deleted ' || SQL%ROWCOUNT || ' rows');

7510: DELETE from psa_xla_events_logs
7511: where (sysdate - creation_date) >= p_purge_days;
7512:
7513: -- =========================== FND LOG ===========================
7514: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete psa_xla_events_logs deleted ' || SQL%ROWCOUNT || ' rows');
7515: -- ========================= FND LOG =============================
7516:
7517: DELETE from psa_xla_ae_lines_logs
7518: where (sysdate - creation_date) >= p_purge_days;

Line 7521: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete psa_xla_ae_lines_logs deleted ' || SQL%ROWCOUNT || ' rows');

7517: DELETE from psa_xla_ae_lines_logs
7518: where (sysdate - creation_date) >= p_purge_days;
7519:
7520: -- =========================== FND LOG ===========================
7521: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete psa_xla_ae_lines_logs deleted ' || SQL%ROWCOUNT || ' rows');
7522: -- ========================= FND LOG =============================
7523:
7524: DELETE from psa_xla_ae_headers_logs
7525: where (sysdate - creation_date) >= p_purge_days;

Line 7528: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete psa_xla_ae_header_logs deleted ' || SQL%ROWCOUNT || ' rows');

7524: DELETE from psa_xla_ae_headers_logs
7525: where (sysdate - creation_date) >= p_purge_days;
7526:
7527: -- =========================== FND LOG ===========================
7528: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete psa_xla_ae_header_logs deleted ' || SQL%ROWCOUNT || ' rows');
7529: -- ========================= FND LOG =============================
7530:
7531: -- ========================= FND LOG =============================
7532:

Line 7537: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete psa_xla_dist_links_logs deleted ' || SQL%ROWCOUNT || ' rows');

7533: DELETE from psa_xla_dist_links_logs
7534: where (sysdate - creation_date) >= p_purge_days;
7535:
7536: -- =========================== FND LOG ===========================
7537: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete psa_xla_dist_links_logs deleted ' || SQL%ROWCOUNT || ' rows');
7538: -- ========================= FND LOG =============================
7539:
7540: end if;
7541:

Line 7571: psa_utils.debug_other_string(g_state_level,l_path_name,'p_ledger_id = '||p_ledger_id);

7567: l_prepare_stmt VARCHAR2(1024);
7568:
7569: BEGIN
7570:
7571: psa_utils.debug_other_string(g_state_level,l_path_name,'p_ledger_id = '||p_ledger_id);
7572: psa_utils.debug_other_string(g_state_level,l_path_name,'p_purge_days = '||p_purge_days);
7573: psa_utils.debug_other_string(g_state_level,l_path_name,'p_delete_mode = '||p_delete_mode);
7574: IF (NVL(p_delete_mode, 'B') IN ('B', 'P')) THEN
7575: optimize_packets(p_ledger_id, p_purge_days);

Line 7572: psa_utils.debug_other_string(g_state_level,l_path_name,'p_purge_days = '||p_purge_days);

7568:
7569: BEGIN
7570:
7571: psa_utils.debug_other_string(g_state_level,l_path_name,'p_ledger_id = '||p_ledger_id);
7572: psa_utils.debug_other_string(g_state_level,l_path_name,'p_purge_days = '||p_purge_days);
7573: psa_utils.debug_other_string(g_state_level,l_path_name,'p_delete_mode = '||p_delete_mode);
7574: IF (NVL(p_delete_mode, 'B') IN ('B', 'P')) THEN
7575: optimize_packets(p_ledger_id, p_purge_days);
7576: psa_utils.debug_other_string(g_state_level,l_path_name,'Successfully optimized the gl_bc_packets data');

Line 7573: psa_utils.debug_other_string(g_state_level,l_path_name,'p_delete_mode = '||p_delete_mode);

7569: BEGIN
7570:
7571: psa_utils.debug_other_string(g_state_level,l_path_name,'p_ledger_id = '||p_ledger_id);
7572: psa_utils.debug_other_string(g_state_level,l_path_name,'p_purge_days = '||p_purge_days);
7573: psa_utils.debug_other_string(g_state_level,l_path_name,'p_delete_mode = '||p_delete_mode);
7574: IF (NVL(p_delete_mode, 'B') IN ('B', 'P')) THEN
7575: optimize_packets(p_ledger_id, p_purge_days);
7576: psa_utils.debug_other_string(g_state_level,l_path_name,'Successfully optimized the gl_bc_packets data');
7577: END IF;

Line 7576: psa_utils.debug_other_string(g_state_level,l_path_name,'Successfully optimized the gl_bc_packets data');

7572: psa_utils.debug_other_string(g_state_level,l_path_name,'p_purge_days = '||p_purge_days);
7573: psa_utils.debug_other_string(g_state_level,l_path_name,'p_delete_mode = '||p_delete_mode);
7574: IF (NVL(p_delete_mode, 'B') IN ('B', 'P')) THEN
7575: optimize_packets(p_ledger_id, p_purge_days);
7576: psa_utils.debug_other_string(g_state_level,l_path_name,'Successfully optimized the gl_bc_packets data');
7577: END IF;
7578:
7579: IF (NVL(p_delete_mode, 'B') IN ('B', 'E')) THEN
7580: -- R12 upgrade date fetch to delete all unprocessed events from R12 installation date to sysdate

Line 7581: psa_utils.debug_other_string(g_state_level,l_path_name,'Fetch PSA: R12 Upgrade Date profile value');

7577: END IF;
7578:
7579: IF (NVL(p_delete_mode, 'B') IN ('B', 'E')) THEN
7580: -- R12 upgrade date fetch to delete all unprocessed events from R12 installation date to sysdate
7581: psa_utils.debug_other_string(g_state_level,l_path_name,'Fetch PSA: R12 Upgrade Date profile value');
7582: l_r12_upgrade_date :=to_date( Fnd_Profile.Value_Wnps('PSA_R12_UPGRADE_DATE'), 'MM/DD/YYYY HH24:MI:SS'); -- fetch the profile value
7583:
7584: BEGIN
7585: l_prepare_stmt := ' BEGIN '||

Line 7597: psa_utils.debug_other_string(g_state_level,l_path_name,'l_prepare_stmt='||l_prepare_stmt);

7593: ' :x_msg_count, '||
7594: ' :x_msg_data); '||
7595: ' END; ';
7596:
7597: psa_utils.debug_other_string(g_state_level,l_path_name,'l_prepare_stmt='||l_prepare_stmt);
7598: psa_utils.debug_other_string(g_state_level,l_path_name,'Before calling delete_events PO');
7599: EXECUTE IMMEDIATE l_prepare_stmt USING IN 'F',
7600: IN p_ledger_id,
7601: IN l_r12_upgrade_date,

Line 7598: psa_utils.debug_other_string(g_state_level,l_path_name,'Before calling delete_events PO');

7594: ' :x_msg_data); '||
7595: ' END; ';
7596:
7597: psa_utils.debug_other_string(g_state_level,l_path_name,'l_prepare_stmt='||l_prepare_stmt);
7598: psa_utils.debug_other_string(g_state_level,l_path_name,'Before calling delete_events PO');
7599: EXECUTE IMMEDIATE l_prepare_stmt USING IN 'F',
7600: IN p_ledger_id,
7601: IN l_r12_upgrade_date,
7602: IN SYSDATE,

Line 7607: psa_utils.debug_other_string(g_state_level,l_path_name,'After calling delete_events PO');

7603: IN 'psa_funds_cecker_pkg.bc_optimizer',
7604: OUT p_return_status,
7605: OUT p_msg_count,
7606: OUT p_msg_data;
7607: psa_utils.debug_other_string(g_state_level,l_path_name,'After calling delete_events PO');
7608: psa_utils.debug_other_string(g_state_level,l_path_name,'p_return_status='||p_return_status);
7609: IF (p_return_status = Fnd_Api.G_Ret_Sts_Success) THEN
7610: COMMIT;
7611: ELSE

Line 7608: psa_utils.debug_other_string(g_state_level,l_path_name,'p_return_status='||p_return_status);

7604: OUT p_return_status,
7605: OUT p_msg_count,
7606: OUT p_msg_data;
7607: psa_utils.debug_other_string(g_state_level,l_path_name,'After calling delete_events PO');
7608: psa_utils.debug_other_string(g_state_level,l_path_name,'p_return_status='||p_return_status);
7609: IF (p_return_status = Fnd_Api.G_Ret_Sts_Success) THEN
7610: COMMIT;
7611: ELSE
7612: psa_utils.debug_other_string(g_state_level,l_path_name,'p_msg_data='||p_msg_data);

Line 7612: psa_utils.debug_other_string(g_state_level,l_path_name,'p_msg_data='||p_msg_data);

7608: psa_utils.debug_other_string(g_state_level,l_path_name,'p_return_status='||p_return_status);
7609: IF (p_return_status = Fnd_Api.G_Ret_Sts_Success) THEN
7610: COMMIT;
7611: ELSE
7612: psa_utils.debug_other_string(g_state_level,l_path_name,'p_msg_data='||p_msg_data);
7613: psa_utils.debug_other_string(g_state_level,l_path_name,'p_msg_count='||p_msg_count);
7614: ROLLBACK;
7615: END IF;
7616: EXCEPTION

Line 7613: psa_utils.debug_other_string(g_state_level,l_path_name,'p_msg_count='||p_msg_count);

7609: IF (p_return_status = Fnd_Api.G_Ret_Sts_Success) THEN
7610: COMMIT;
7611: ELSE
7612: psa_utils.debug_other_string(g_state_level,l_path_name,'p_msg_data='||p_msg_data);
7613: psa_utils.debug_other_string(g_state_level,l_path_name,'p_msg_count='||p_msg_count);
7614: ROLLBACK;
7615: END IF;
7616: EXCEPTION
7617: WHEN OTHERS THEN

Line 7618: psa_utils.debug_other_string(g_state_level,l_path_name,'SQLERROR'||SQLERRM);

7614: ROLLBACK;
7615: END IF;
7616: EXCEPTION
7617: WHEN OTHERS THEN
7618: psa_utils.debug_other_string(g_state_level,l_path_name,'SQLERROR'||SQLERRM);
7619: END;
7620:
7621: BEGIN
7622: psa_utils.debug_other_string(g_state_level,l_path_name,'Before calling delete_events');

Line 7622: psa_utils.debug_other_string(g_state_level,l_path_name,'Before calling delete_events');

7618: psa_utils.debug_other_string(g_state_level,l_path_name,'SQLERROR'||SQLERRM);
7619: END;
7620:
7621: BEGIN
7622: psa_utils.debug_other_string(g_state_level,l_path_name,'Before calling delete_events');
7623: PSA_AP_BC_PVT.delete_events(
7624: p_init_msg_list => 'F',
7625: p_ledger_id => p_ledger_id,
7626: p_start_date => l_r12_upgrade_date,

Line 7634: psa_utils.debug_other_string(g_state_level,l_path_name,'After calling delete_events');

7630: x_msg_count =>p_msg_count,
7631: x_msg_data => p_msg_data);
7632: COMMIT;
7633:
7634: psa_utils.debug_other_string(g_state_level,l_path_name,'After calling delete_events');
7635: EXCEPTION
7636: WHEN others THEN
7637: psa_utils.debug_other_string(g_state_level,l_path_name,'Inside delete_event exception: '||SQLERRM);
7638: NULL;

Line 7637: psa_utils.debug_other_string(g_state_level,l_path_name,'Inside delete_event exception: '||SQLERRM);

7633:
7634: psa_utils.debug_other_string(g_state_level,l_path_name,'After calling delete_events');
7635: EXCEPTION
7636: WHEN others THEN
7637: psa_utils.debug_other_string(g_state_level,l_path_name,'Inside delete_event exception: '||SQLERRM);
7638: NULL;
7639: END;
7640:
7641: BEGIN

Line 7642: psa_utils.debug_other_string(g_state_level,l_path_name,'Before calling delete_processed_orphan_events');

7638: NULL;
7639: END;
7640:
7641: BEGIN
7642: psa_utils.debug_other_string(g_state_level,l_path_name,'Before calling delete_processed_orphan_events');
7643: psa_ap_bc_pvt.delete_processed_orphan_events
7644: ( p_init_msg_list => 'F',
7645: p_ledger_id => p_ledger_id,
7646: p_calling_sequence => 'psa_funds_cecker_pkg.bc_optimizer',

Line 7651: psa_utils.debug_other_string(g_state_level,l_path_name,'After calling delete_processed_orphan_events');

7647: p_return_status => p_return_status,
7648: p_msg_count =>p_msg_count,
7649: p_msg_data => p_msg_data);
7650: COMMIT;
7651: psa_utils.debug_other_string(g_state_level,l_path_name,'After calling delete_processed_orphan_events');
7652: EXCEPTION
7653: WHEN others THEN
7654: psa_utils.debug_other_string(g_state_level,l_path_name,'Inside delete_processed_orphan_events exception: '||SQLERRM);
7655: NULL;

Line 7654: psa_utils.debug_other_string(g_state_level,l_path_name,'Inside delete_processed_orphan_events exception: '||SQLERRM);

7650: COMMIT;
7651: psa_utils.debug_other_string(g_state_level,l_path_name,'After calling delete_processed_orphan_events');
7652: EXCEPTION
7653: WHEN others THEN
7654: psa_utils.debug_other_string(g_state_level,l_path_name,'Inside delete_processed_orphan_events exception: '||SQLERRM);
7655: NULL;
7656: END;
7657: END IF;
7658: END bc_optimizer;

Line 7687: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_purge_date -> ' || TO_CHAR(l_purge_date, 'DD-MON-YYYY HH24:MI:SS'));

7683:
7684: l_purge_date := TO_DATE(p_purge_date, 'YYYY/MM/DD HH24:MI:SS');
7685:
7686: -- =========================== FND LOG ===========================
7687: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_purge_date -> ' || TO_CHAR(l_purge_date, 'DD-MON-YYYY HH24:MI:SS'));
7688: -- ========================= FND LOG =============================
7689:
7690:
7691: l_stmt := 'delete from gl_bc_packets_hists '||

Line 7713: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_stmt -> ' || l_stmt);

7709:
7710: l_stmt := l_stmt ||'and status_code IN ('||l_status_code||')';
7711:
7712: -- =========================== FND LOG ===========================
7713: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_stmt -> ' || l_stmt);
7714: -- ========================= FND LOG =============================
7715:
7716:
7717: execute immediate l_stmt using l_purge_date, p_ledger_id;

Line 7739: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_pkt_id -> ' || l_pkt_id);

7735: select gl_bc_packets_s.nextval into l_pkt_id
7736: from dual;
7737:
7738: -- =========================== FND LOG ===========================
7739: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_pkt_id -> ' || l_pkt_id);
7740: -- ========================= FND LOG =============================
7741:
7742: return l_pkt_id;
7743: END get_packet_id;

Line 7774: psa_utils.debug_other_string(g_excep_level,l_full_path, ' BCTRL -> '||sqlerrm);

7770: RETURN TRUE;
7771:
7772: EXCEPTION
7773: WHEN OTHERS THEN
7774: psa_utils.debug_other_string(g_excep_level,l_full_path, ' BCTRL -> '||sqlerrm);
7775: rollback;
7776: RETURN FALSE;
7777:
7778: END populate_bc_pkts;

Line 8062: psa_utils.debug_other_string(g_excep_level,l_full_path,

8058: EXCEPTION
8059: WHEN OTHERS THEN
8060: -- =========================== FND LOG ===========================
8061: fnd_file.put_line(fnd_file.log, 'Funds C/R: Failed to fetch data from gl_sets_of_books');
8062: psa_utils.debug_other_string(g_excep_level,l_full_path,
8063: 'Funds C/R: Failed to fetch data from gl_sets_of_books');
8064: -- ========================= FND LOG =============================
8065: END;
8066:

Line 8074: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_sob_name -> '||l_sob_name);

8070: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_automatic_tax_flag -> '||l_automatic_tax_flag);
8071: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_coa_id -> '||l_coa_id);
8072: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_currency_code -> '||l_currency_code);
8073: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_check_flag -> '||l_check_flag);
8074: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_sob_name -> '||l_sob_name);
8075: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_budgetary_control_flag -> '||l_budgetary_control_flag);
8076: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_automatic_tax_flag -> '||l_automatic_tax_flag);
8077: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_coa_id -> '||l_coa_id);
8078: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_currency_code -> '||l_currency_code);

Line 8075: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_budgetary_control_flag -> '||l_budgetary_control_flag);

8071: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_coa_id -> '||l_coa_id);
8072: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_currency_code -> '||l_currency_code);
8073: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_check_flag -> '||l_check_flag);
8074: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_sob_name -> '||l_sob_name);
8075: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_budgetary_control_flag -> '||l_budgetary_control_flag);
8076: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_automatic_tax_flag -> '||l_automatic_tax_flag);
8077: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_coa_id -> '||l_coa_id);
8078: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_currency_code -> '||l_currency_code);
8079: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_check_flag -> '||l_check_flag);

Line 8076: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_automatic_tax_flag -> '||l_automatic_tax_flag);

8072: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_currency_code -> '||l_currency_code);
8073: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_check_flag -> '||l_check_flag);
8074: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_sob_name -> '||l_sob_name);
8075: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_budgetary_control_flag -> '||l_budgetary_control_flag);
8076: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_automatic_tax_flag -> '||l_automatic_tax_flag);
8077: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_coa_id -> '||l_coa_id);
8078: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_currency_code -> '||l_currency_code);
8079: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_check_flag -> '||l_check_flag);
8080: -- =========================== FND LOG =============================

Line 8077: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_coa_id -> '||l_coa_id);

8073: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_check_flag -> '||l_check_flag);
8074: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_sob_name -> '||l_sob_name);
8075: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_budgetary_control_flag -> '||l_budgetary_control_flag);
8076: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_automatic_tax_flag -> '||l_automatic_tax_flag);
8077: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_coa_id -> '||l_coa_id);
8078: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_currency_code -> '||l_currency_code);
8079: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_check_flag -> '||l_check_flag);
8080: -- =========================== FND LOG =============================
8081:

Line 8078: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_currency_code -> '||l_currency_code);

8074: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_sob_name -> '||l_sob_name);
8075: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_budgetary_control_flag -> '||l_budgetary_control_flag);
8076: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_automatic_tax_flag -> '||l_automatic_tax_flag);
8077: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_coa_id -> '||l_coa_id);
8078: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_currency_code -> '||l_currency_code);
8079: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_check_flag -> '||l_check_flag);
8080: -- =========================== FND LOG =============================
8081:
8082: IF (l_budgetary_control_flag = 'N') THEN

Line 8079: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_check_flag -> '||l_check_flag);

8075: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_budgetary_control_flag -> '||l_budgetary_control_flag);
8076: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_automatic_tax_flag -> '||l_automatic_tax_flag);
8077: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_coa_id -> '||l_coa_id);
8078: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_currency_code -> '||l_currency_code);
8079: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_check_flag -> '||l_check_flag);
8080: -- =========================== FND LOG =============================
8081:
8082: IF (l_budgetary_control_flag = 'N') THEN
8083: FND_MESSAGE.SET_NAME('PSA', 'R_FCMA0037');

Line 8086: psa_utils.debug_other_string(g_state_level, l_full_path,

8082: IF (l_budgetary_control_flag = 'N') THEN
8083: FND_MESSAGE.SET_NAME('PSA', 'R_FCMA0037');
8084: l_bc_not_enabled_msg := FND_MESSAGE.GET();
8085: -- =========================== FND LOG ===========================
8086: psa_utils.debug_other_string(g_state_level, l_full_path,
8087: 'Funds C/R: l_budgetary_control_flag -> '||l_budgetary_control_flag); --Need to finalize the debug level
8088: fnd_file.put_line(fnd_file.log, 'Funds C/R: '||l_bc_not_enabled_msg);
8089: -- ========================= FND LOG =============================
8090:

Line 8109: psa_utils.debug_other_string(g_excep_level,l_full_path,

8105: autopost_set_id = p_autopost_set_id;
8106: EXCEPTION
8107: WHEN OTHERS THEN
8108: -- =========================== FND LOG ===========================
8109: psa_utils.debug_other_string(g_excep_level,l_full_path,
8110: 'Funds C/R: Failed to fetch autopost_set_name from gl_automatic_posting_sets');
8111: fnd_file.put_line(fnd_file.log, 'Funds C/R: Failed to fetch autopost_set_name from gl_automatic_posting_sets');
8112: -- ========================= FND LOG =============================
8113: END;

Line 8125: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: p_autopost_set_id -> '||p_autopost_set_id);

8121: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_autopost_set_name -> '||l_autopost_set_name);
8122: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_appl_id -> '||l_appl_id);
8123: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_resp_id -> '||l_resp_id);
8124: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_user_id -> '||l_user_id);
8125: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: p_autopost_set_id -> '||p_autopost_set_id);
8126: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_autopost_set_name -> '||l_autopost_set_name);
8127: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_appl_id -> '||l_appl_id);
8128: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_resp_id -> '||l_resp_id);
8129: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_user_id -> '||l_user_id);

Line 8126: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_autopost_set_name -> '||l_autopost_set_name);

8122: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_appl_id -> '||l_appl_id);
8123: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_resp_id -> '||l_resp_id);
8124: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_user_id -> '||l_user_id);
8125: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: p_autopost_set_id -> '||p_autopost_set_id);
8126: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_autopost_set_name -> '||l_autopost_set_name);
8127: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_appl_id -> '||l_appl_id);
8128: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_resp_id -> '||l_resp_id);
8129: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_user_id -> '||l_user_id);
8130: -- =========================== FND LOG =============================

Line 8127: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_appl_id -> '||l_appl_id);

8123: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_resp_id -> '||l_resp_id);
8124: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_user_id -> '||l_user_id);
8125: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: p_autopost_set_id -> '||p_autopost_set_id);
8126: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_autopost_set_name -> '||l_autopost_set_name);
8127: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_appl_id -> '||l_appl_id);
8128: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_resp_id -> '||l_resp_id);
8129: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_user_id -> '||l_user_id);
8130: -- =========================== FND LOG =============================
8131:

Line 8128: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_resp_id -> '||l_resp_id);

8124: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_user_id -> '||l_user_id);
8125: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: p_autopost_set_id -> '||p_autopost_set_id);
8126: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_autopost_set_name -> '||l_autopost_set_name);
8127: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_appl_id -> '||l_appl_id);
8128: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_resp_id -> '||l_resp_id);
8129: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_user_id -> '||l_user_id);
8130: -- =========================== FND LOG =============================
8131:
8132: IF (l_automatic_tax_flag = 'Y') AND (p_check_flag = 'R') THEN

Line 8129: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_user_id -> '||l_user_id);

8125: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: p_autopost_set_id -> '||p_autopost_set_id);
8126: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_autopost_set_name -> '||l_autopost_set_name);
8127: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_appl_id -> '||l_appl_id);
8128: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_resp_id -> '||l_resp_id);
8129: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_user_id -> '||l_user_id);
8130: -- =========================== FND LOG =============================
8131:
8132: IF (l_automatic_tax_flag = 'Y') AND (p_check_flag = 'R') THEN
8133:

Line 8184: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: -------------------------------');

8180: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_je_batch_id -> '||l_je_batch_id);
8181: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_packet_id -> '||l_packet_id);
8182: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_batch_name -> '||l_batch_name);
8183: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_source_name -> '||l_source_name);
8184: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: -------------------------------');
8185: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_period_name -> '||l_period_name);
8186: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_actual_flag -> '||l_actual_flag);
8187: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_je_batch_id -> '||l_je_batch_id);
8188: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_packet_id -> '||l_packet_id);

Line 8185: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_period_name -> '||l_period_name);

8181: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_packet_id -> '||l_packet_id);
8182: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_batch_name -> '||l_batch_name);
8183: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_source_name -> '||l_source_name);
8184: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: -------------------------------');
8185: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_period_name -> '||l_period_name);
8186: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_actual_flag -> '||l_actual_flag);
8187: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_je_batch_id -> '||l_je_batch_id);
8188: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_packet_id -> '||l_packet_id);
8189: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_batch_name -> '||l_batch_name);

Line 8186: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_actual_flag -> '||l_actual_flag);

8182: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_batch_name -> '||l_batch_name);
8183: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_source_name -> '||l_source_name);
8184: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: -------------------------------');
8185: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_period_name -> '||l_period_name);
8186: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_actual_flag -> '||l_actual_flag);
8187: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_je_batch_id -> '||l_je_batch_id);
8188: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_packet_id -> '||l_packet_id);
8189: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_batch_name -> '||l_batch_name);
8190: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_source_name -> '||l_source_name);

Line 8187: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_je_batch_id -> '||l_je_batch_id);

8183: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_source_name -> '||l_source_name);
8184: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: -------------------------------');
8185: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_period_name -> '||l_period_name);
8186: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_actual_flag -> '||l_actual_flag);
8187: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_je_batch_id -> '||l_je_batch_id);
8188: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_packet_id -> '||l_packet_id);
8189: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_batch_name -> '||l_batch_name);
8190: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_source_name -> '||l_source_name);
8191: -- =========================== FND LOG =============================

Line 8188: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_packet_id -> '||l_packet_id);

8184: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: -------------------------------');
8185: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_period_name -> '||l_period_name);
8186: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_actual_flag -> '||l_actual_flag);
8187: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_je_batch_id -> '||l_je_batch_id);
8188: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_packet_id -> '||l_packet_id);
8189: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_batch_name -> '||l_batch_name);
8190: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_source_name -> '||l_source_name);
8191: -- =========================== FND LOG =============================
8192:

Line 8189: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_batch_name -> '||l_batch_name);

8185: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_period_name -> '||l_period_name);
8186: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_actual_flag -> '||l_actual_flag);
8187: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_je_batch_id -> '||l_je_batch_id);
8188: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_packet_id -> '||l_packet_id);
8189: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_batch_name -> '||l_batch_name);
8190: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_source_name -> '||l_source_name);
8191: -- =========================== FND LOG =============================
8192:
8193: -- =========================== XML OUT =============================

Line 8190: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_source_name -> '||l_source_name);

8186: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_actual_flag -> '||l_actual_flag);
8187: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_je_batch_id -> '||l_je_batch_id);
8188: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_packet_id -> '||l_packet_id);
8189: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_batch_name -> '||l_batch_name);
8190: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_source_name -> '||l_source_name);
8191: -- =========================== FND LOG =============================
8192:
8193: -- =========================== XML OUT =============================
8194: IF (l_xml_b_header <> FALSE) THEN

Line 8205: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Invoking get_session_details() ');

8201: -- Get the session_id and serial# for the current session
8202: -- These columns will then be inserted in gl_bc_packets.
8203:
8204: -- ====== FND LOG ======
8205: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Invoking get_session_details() ');
8206: -- ====== FND LOG ======
8207:
8208: get_session_details(l_session_id, l_serial_id);
8209:

Line 8211: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Session_Id = '||l_session_id);

8207:
8208: get_session_details(l_session_id, l_serial_id);
8209:
8210: -- ====== FND LOG ======
8211: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Session_Id = '||l_session_id);
8212: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Serial_Id = '||l_serial_id);
8213: -- ====== FND LOG ======
8214:
8215: l_main_stmt := '';

Line 8212: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Serial_Id = '||l_serial_id);

8208: get_session_details(l_session_id, l_serial_id);
8209:
8210: -- ====== FND LOG ======
8211: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Session_Id = '||l_session_id);
8212: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Serial_Id = '||l_serial_id);
8213: -- ====== FND LOG ======
8214:
8215: l_main_stmt := '';
8216:

Line 8219: psa_utils.debug_other_string(g_state_level,l_full_path, 'Funds C/R: l_main_stmt -> '||l_main_stmt);

8215: l_main_stmt := '';
8216:
8217: -- =========================== FND LOG ===========================
8218: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_main_stmt -> '||l_main_stmt);
8219: psa_utils.debug_other_string(g_state_level,l_full_path, 'Funds C/R: l_main_stmt -> '||l_main_stmt);
8220: -- =========================== FND LOG =============================
8221:
8222: l_tmp_stmt := 'SELECT '||
8223: l_packet_id||', '||

Line 8256: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_tmp_stmt -> '||l_tmp_stmt);

8252: 'NULL, NULL';
8253:
8254: -- =========================== FND LOG ===========================
8255: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_tmp_stmt -> '||l_tmp_stmt);
8256: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_tmp_stmt -> '||l_tmp_stmt);
8257: -- =========================== FND LOG =============================
8258:
8259: l_tmp_stmt := l_tmp_stmt || ' FROM gl_je_lines l, gl_je_headers h, ';
8260:

Line 8280: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_tmp_stmt -> '||l_tmp_stmt);

8276: l_tmp_stmt := l_tmp_stmt || l_action_stmt;
8277:
8278: -- =========================== FND LOG ===========================
8279: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_tmp_stmt -> '||l_tmp_stmt);
8280: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_tmp_stmt -> '||l_tmp_stmt);
8281: -- =========================== FND LOG =============================
8282:
8283: l_main_stmt := l_main_stmt || l_tmp_stmt;
8284:

Line 8288: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_main_stmt -> '||l_main_stmt);

8284:
8285: -- =========================== FND LOG ===========================
8286: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_main_stmt -> '||l_main_stmt);
8287: fnd_file.put_line(fnd_file.log, 'Funds C/R: Executing l_main_stmt -> '||l_main_stmt||' using EXECUTE IMMEDIATE');
8288: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_main_stmt -> '||l_main_stmt);
8289: psa_utils.debug_other_string(g_state_level, l_full_path,
8290: 'Funds C/R: Executing l_main_stmt -> '||l_main_stmt||' using EXECUTE IMMEDIATE');
8291: -- =========================== FND LOG =============================
8292:

Line 8289: psa_utils.debug_other_string(g_state_level, l_full_path,

8285: -- =========================== FND LOG ===========================
8286: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_main_stmt -> '||l_main_stmt);
8287: fnd_file.put_line(fnd_file.log, 'Funds C/R: Executing l_main_stmt -> '||l_main_stmt||' using EXECUTE IMMEDIATE');
8288: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_main_stmt -> '||l_main_stmt);
8289: psa_utils.debug_other_string(g_state_level, l_full_path,
8290: 'Funds C/R: Executing l_main_stmt -> '||l_main_stmt||' using EXECUTE IMMEDIATE');
8291: -- =========================== FND LOG =============================
8292:
8293: EXECUTE IMMEDIATE l_main_stmt BULK COLLECT INTO l_tmp_bc_pkts;

Line 8308: psa_utils.debug_other_string(g_error_level,l_full_path, 'Funds C/R: BCTRL -> populate_bc_pkts() failed. ');

8304: END LOOP; --End of loop for all the batches
8305:
8306: IF NOT populate_bc_pkts (l_bc_pkts) THEN
8307: -- ====== FND LOG ======
8308: psa_utils.debug_other_string(g_error_level,l_full_path, 'Funds C/R: BCTRL -> populate_bc_pkts() failed. ');
8309: psa_utils.debug_other_string(g_error_level,l_full_path, 'Funds C/R: BCTRL -> ERROR: FATAL. ');
8310: -- ====== FND LOG ======
8311: END IF;
8312:

Line 8309: psa_utils.debug_other_string(g_error_level,l_full_path, 'Funds C/R: BCTRL -> ERROR: FATAL. ');

8305:
8306: IF NOT populate_bc_pkts (l_bc_pkts) THEN
8307: -- ====== FND LOG ======
8308: psa_utils.debug_other_string(g_error_level,l_full_path, 'Funds C/R: BCTRL -> populate_bc_pkts() failed. ');
8309: psa_utils.debug_other_string(g_error_level,l_full_path, 'Funds C/R: BCTRL -> ERROR: FATAL. ');
8310: -- ====== FND LOG ======
8311: END IF;
8312:
8313: -- Invoke funds checker per packet_id

Line 8317: psa_utils.debug_other_string(g_state_level,l_full_path, 'Funds C/R: BCTRL -> Invoking glxfck() per packet.');

8313: -- Invoke funds checker per packet_id
8314:
8315: -- ====== FND LOG ======
8316: fnd_file.put_line(fnd_file.log, 'Funds C/R: BCTRL -> Invoking glxfck() per packet.');
8317: psa_utils.debug_other_string(g_state_level,l_full_path, 'Funds C/R: BCTRL -> Invoking glxfck() per packet.');
8318: -- ====== FND LOG ======
8319:
8320: FOR x in 1..l_bc_pkts.count
8321: LOOP

Line 8326: psa_utils.debug_other_string(g_state_level,l_full_path,

8322: IF (x = 1 OR (l_bc_pkts(x).packet_id <> l_bc_pkts(x-1).packet_id)) THEN
8323:
8324: -- ====== FND LOG ======
8325: fnd_file.put_line(fnd_file.log, 'Funds C/R: BCTRL -> Invoking glxfck() for packet_id '||l_bc_pkts(x).packet_id);
8326: psa_utils.debug_other_string(g_state_level,l_full_path,
8327: 'Funds C/R: BCTRL -> Invoking glxfck() for packet_id '||l_bc_pkts(x).packet_id);
8328: -- ====== FND LOG ======
8329:
8330: IF NOT glxfck(p_ledgerid => l_ledger_id,

Line 8341: psa_utils.debug_other_string(g_error_level,l_full_path, 'Funds C/R: BCTRL -> glxfck() failed ');

8337: p_calling_prog_flag => 'G',
8338: p_return_code => l_glxfck_return_code) THEN
8339: -- ====== FND LOG ======
8340: fnd_file.put_line(fnd_file.log, 'Funds C/R: BCTRL -> glxfck() failed ');
8341: psa_utils.debug_other_string(g_error_level,l_full_path, 'Funds C/R: BCTRL -> glxfck() failed ');
8342: -- ====== FND LOG ======
8343:
8344: -- ============================== FND LOG =========================
8345: fnd_file.put_line(fnd_file.log, 'Funds C/R: BCTRL l_glxfck_return_code -> T ');

Line 8346: psa_utils.debug_other_string(g_state_level,l_full_path, 'Funds C/R: BCTRL l_glxfck_return_code -> T ');

8342: -- ====== FND LOG ======
8343:
8344: -- ============================== FND LOG =========================
8345: fnd_file.put_line(fnd_file.log, 'Funds C/R: BCTRL l_glxfck_return_code -> T ');
8346: psa_utils.debug_other_string(g_state_level,l_full_path, 'Funds C/R: BCTRL l_glxfck_return_code -> T ');
8347: -- ============================== FND LOG =========================
8348:
8349: l_glxfck_return_code := 'T';
8350:

Line 8361: psa_utils.debug_other_string(g_state_level,l_full_path,

8357:
8358: -- ============================== FND LOG =========================
8359: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_glxfck_return_code ->'||l_glxfck_return_code);
8360: fnd_file.put_line(fnd_file.log, 'Funds C/R: Inserting into l_failed_bc_pkts for packet_id->'||l_bc_pkts(x).packet_id);
8361: psa_utils.debug_other_string(g_state_level,l_full_path,
8362: 'Funds C/R: l_glxfck_return_code ->'||l_glxfck_return_code);
8363: psa_utils.debug_other_string(g_state_level,l_full_path,
8364: 'Funds C/R: Inserting into l_failed_bc_pkts for packet_id->'||l_bc_pkts(x).packet_id);
8365: -- ============================== FND LOG =========================

Line 8363: psa_utils.debug_other_string(g_state_level,l_full_path,

8359: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_glxfck_return_code ->'||l_glxfck_return_code);
8360: fnd_file.put_line(fnd_file.log, 'Funds C/R: Inserting into l_failed_bc_pkts for packet_id->'||l_bc_pkts(x).packet_id);
8361: psa_utils.debug_other_string(g_state_level,l_full_path,
8362: 'Funds C/R: l_glxfck_return_code ->'||l_glxfck_return_code);
8363: psa_utils.debug_other_string(g_state_level,l_full_path,
8364: 'Funds C/R: Inserting into l_failed_bc_pkts for packet_id->'||l_bc_pkts(x).packet_id);
8365: -- ============================== FND LOG =========================
8366:
8367: l_failed_bc_pkts.extend(1);

Line 8375: psa_utils.debug_other_string(g_state_level,l_full_path, 'Funds C/R: l_glxfck_return_code -> '||l_glxfck_return_code);

8371: END IF;
8372:
8373: -- =========================== FND LOG ===========================
8374: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_glxfck_return_code -> '||l_glxfck_return_code);
8375: psa_utils.debug_other_string(g_state_level,l_full_path, 'Funds C/R: l_glxfck_return_code -> '||l_glxfck_return_code);
8376: -- =========================== FND LOG =============================
8377: BEGIN
8378: UPDATE
8379: gl_je_batches

Line 8402: psa_utils.debug_other_string(g_excep_level,l_full_path,

8398: je_batch_id = l_bc_pkts(x).je_batch_id;
8399: EXCEPTION
8400: WHEN OTHERS THEN
8401: -- =========================== FND LOG ===========================
8402: psa_utils.debug_other_string(g_excep_level,l_full_path,
8403: 'Funds C/R: Failed to update budgetary_control_status for gl_je_batches');
8404: fnd_file.put_line(fnd_file.log,
8405: 'Funds C/R: Failed to update budgetary_control_status for gl_je_batches');
8406: -- ========================= FND LOG =============================

Line 8422: psa_utils.debug_other_string(g_excep_level,l_full_path,

8418: AND lookup_type = 'FUNDS_CHECK_RETURN_CODE';
8419: EXCEPTION
8420: WHEN OTHERS THEN
8421: -- =========================== FND LOG ===========================
8422: psa_utils.debug_other_string(g_excep_level,l_full_path,
8423: 'Funds C/R: Failed to fetch meaning from gl_lookups');
8424: fnd_file.put_line(fnd_file.log,
8425: 'Funds C/R: Failed to fetch meaning from gl_lookups');
8426: -- ========================= FND LOG =============================

Line 8431: psa_utils.debug_other_string(g_state_level,l_full_path, 'Funds C/R: Return Code F Meaning l_fmeaning -> '||l_fmeaning);

8427: END;
8428:
8429: -- =========================== FND LOG ===========================
8430: fnd_file.put_line(fnd_file.log, 'Funds C/R: Return Code F Meaning l_fmeaning -> '||l_fmeaning);
8431: psa_utils.debug_other_string(g_state_level,l_full_path, 'Funds C/R: Return Code F Meaning l_fmeaning -> '||l_fmeaning);
8432: -- =========================== FND LOG =============================
8433:
8434: BEGIN
8435: SELECT

Line 8449: psa_utils.debug_other_string(g_excep_level,l_full_path,

8445:
8446: EXCEPTION
8447: WHEN OTHERS THEN
8448: -- =========================== FND LOG ===========================
8449: psa_utils.debug_other_string(g_excep_level,l_full_path,
8450: 'Funds C/R: Failed to fetch meaning from gl_je_batches');
8451: fnd_file.put_line(fnd_file.log,
8452: 'Funds C/R: Failed to fetch meaning from gl_be_batches');
8453: -- ========================= FND LOG =============================

Line 8458: psa_utils.debug_other_string(g_state_level,l_full_path, 'Funds C/R: Return Code J Meaning l_jmeaning -> '||l_jmeaning);

8454: END;
8455:
8456: -- =========================== FND LOG ===========================
8457: fnd_file.put_line(fnd_file.log, 'Funds C/R: Return Code J Meaning l_jmeaning -> '||l_jmeaning);
8458: psa_utils.debug_other_string(g_state_level,l_full_path, 'Funds C/R: Return Code J Meaning l_jmeaning -> '||l_jmeaning);
8459: -- =========================== FND LOG =============================
8460:
8461: -- =========================== XML OUT =============================
8462: fnd_file.put_line(fnd_file.output, ' ');

Line 8575: psa_utils.debug_other_string(g_excep_level,l_full_path, 'Funds C/R: Failed to fetch meaning from gl_lookups');

8571:
8572: EXCEPTION
8573: WHEN OTHERS THEN
8574: -- =========================== FND LOG ===========================
8575: psa_utils.debug_other_string(g_excep_level,l_full_path, 'Funds C/R: Failed to fetch meaning from gl_lookups');
8576: fnd_file.put_line(fnd_file.log, 'Funds C/R: Failed to fetch meaning from gl_lookups');
8577: -- ========================= FND LOG =============================
8578: END;
8579:

Line 8700: psa_utils.debug_other_string(g_excep_level,l_full_path, 'Funds C/R: Failed to fetch ussgl_parent_id from gl_bc_packets');

8696: rowid = l_rowid;
8697: EXCEPTION
8698: WHEN OTHERS THEN
8699: -- =========================== FND LOG ===========================
8700: psa_utils.debug_other_string(g_excep_level,l_full_path, 'Funds C/R: Failed to fetch ussgl_parent_id from gl_bc_packets');
8701: fnd_file.put_line(fnd_file.log, 'Funds C/R: Failed to fetch ussgl_parent_id from gl_bc_packets');
8702: -- ========================= FND LOG =============================
8703: END;
8704:

Line 9026: psa_utils.debug_other_string(g_state_level,l_full_path, ' Insert GL_BC_PACKETS -> ' || SQL%ROWCOUNT);

9022: HAVING
9023: sum(nvl(BP.accounted_dr,0)-nvl(BP.accounted_cr,0)) <> 0;
9024:
9025: -- =========================== FND LOG ===========================
9026: psa_utils.debug_other_string(g_state_level,l_full_path, ' Insert GL_BC_PACKETS -> ' || SQL%ROWCOUNT);
9027: -- ========================= FND LOG =============================
9028:
9029: END glsibc;
9030:

Line 9191: psa_utils.debug_other_string(g_state_level,l_full_path, ' Insert GL_BC_PACKETS -> ' || SQL%ROWCOUNT);

9187: HAVING
9188: sum(nvl(BP.accounted_dr,0)-nvl(BP.accounted_cr,0)) <> 0;
9189:
9190: -- =========================== FND LOG ===========================
9191: psa_utils.debug_other_string(g_state_level,l_full_path, ' Insert GL_BC_PACKETS -> ' || SQL%ROWCOUNT);
9192: -- ========================= FND LOG =============================
9193:
9194:
9195: -- =========================== FND LOG ===========================

Line 9290: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update GL_BC_PACKETS -> ' || SQL%ROWCOUNT);

9286: FROM gl_code_combinations
9287: WHERE template_id = p_curr_temp_id);
9288:
9289: -- =========================== FND LOG ===========================
9290: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update GL_BC_PACKETS -> ' || SQL%ROWCOUNT);
9291: -- ========================= FND LOG =============================
9292:
9293:
9294:

Line 9320: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete GL_BC_PACKETS -> ' || SQL%ROWCOUNT);

9316: AND ah.template_id = p_curr_temp_id
9317: AND ah.summary_code_combination_id = bp.code_combination_id);
9318:
9319: -- =========================== FND LOG ===========================
9320: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete GL_BC_PACKETS -> ' || SQL%ROWCOUNT);
9321: -- ========================= FND LOG =============================
9322:
9323: -- =========================== FND LOG ===========================
9324: fnd_file.put_line(fnd_file.log, 'GL_BC_PACKETS');

Line 9348: psa_utils.debug_other_string(g_state_level,l_full_path, ' x_session_id -> ' || x_session_id);

9344: where s.paddr = p.addr
9345: and s.audsid = USERENV('SESSIONID');
9346:
9347: -- =========================== FND LOG ===========================
9348: psa_utils.debug_other_string(g_state_level,l_full_path, ' x_session_id -> ' || x_session_id);
9349: psa_utils.debug_other_string(g_state_level,l_full_path, ' x_serial_id -> ' || x_serial_id);
9350: -- ========================= FND LOG =============================
9351:
9352: EXCEPTION

Line 9349: psa_utils.debug_other_string(g_state_level,l_full_path, ' x_serial_id -> ' || x_serial_id);

9345: and s.audsid = USERENV('SESSIONID');
9346:
9347: -- =========================== FND LOG ===========================
9348: psa_utils.debug_other_string(g_state_level,l_full_path, ' x_session_id -> ' || x_session_id);
9349: psa_utils.debug_other_string(g_state_level,l_full_path, ' x_serial_id -> ' || x_serial_id);
9350: -- ========================= FND LOG =============================
9351:
9352: EXCEPTION
9353: WHEN others THEN

Line 9355: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);

9351:
9352: EXCEPTION
9353: WHEN others THEN
9354: -- ========================= FND LOG ===========================
9355: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
9356: psa_utils.debug_other_string(g_excep_level,l_full_path, ' raise');
9357: -- ========================= FND LOG ===========================
9358:
9359: raise;

Line 9356: psa_utils.debug_other_string(g_excep_level,l_full_path, ' raise');

9352: EXCEPTION
9353: WHEN others THEN
9354: -- ========================= FND LOG ===========================
9355: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
9356: psa_utils.debug_other_string(g_excep_level,l_full_path, ' raise');
9357: -- ========================= FND LOG ===========================
9358:
9359: raise;
9360: END get_session_details;

Line 9384: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update GL_BC_PACKETS -> ' || SQL%ROWCOUNT);

9380: WHERE group_id = p_grp_id
9381: and application_id = p_application_id);
9382:
9383: -- =========================== FND LOG ===========================
9384: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update GL_BC_PACKETS -> ' || SQL%ROWCOUNT);
9385: -- ========================= FND LOG =============================
9386:
9387: END populate_group_id;
9388:

Line 9676: psa_utils.debug_other_string(g_state_level,l_full_path, 'Inside Program');

9672: l_message VARCHAR2(2000);
9673: BEGIN
9674: l_full_path := g_path||'check_for_xla_errors';
9675: p_return_code := 'N';
9676: psa_utils.debug_other_string(g_state_level,l_full_path, 'Inside Program');
9677: psa_utils.debug_other_string(g_state_level,l_full_path, 'p_error_type='||p_error_type);
9678: IF (p_error_type = 'BFLOW') THEN
9679: psa_utils.debug_other_string(g_state_level,l_full_path, 'Checking for BFLOW Errors');
9680: FOR bflow_rec IN (SELECT l.*,

Line 9677: psa_utils.debug_other_string(g_state_level,l_full_path, 'p_error_type='||p_error_type);

9673: BEGIN
9674: l_full_path := g_path||'check_for_xla_errors';
9675: p_return_code := 'N';
9676: psa_utils.debug_other_string(g_state_level,l_full_path, 'Inside Program');
9677: psa_utils.debug_other_string(g_state_level,l_full_path, 'p_error_type='||p_error_type);
9678: IF (p_error_type = 'BFLOW') THEN
9679: psa_utils.debug_other_string(g_state_level,l_full_path, 'Checking for BFLOW Errors');
9680: FOR bflow_rec IN (SELECT l.*,
9681: e.entity_id event_entiity_id

Line 9679: psa_utils.debug_other_string(g_state_level,l_full_path, 'Checking for BFLOW Errors');

9675: p_return_code := 'N';
9676: psa_utils.debug_other_string(g_state_level,l_full_path, 'Inside Program');
9677: psa_utils.debug_other_string(g_state_level,l_full_path, 'p_error_type='||p_error_type);
9678: IF (p_error_type = 'BFLOW') THEN
9679: psa_utils.debug_other_string(g_state_level,l_full_path, 'Checking for BFLOW Errors');
9680: FOR bflow_rec IN (SELECT l.*,
9681: e.entity_id event_entiity_id
9682: FROM xla_ae_lines_gt l,
9683: xla_events_gt e

Line 9708: psa_utils.debug_other_string(g_state_level,l_full_path, 'Checking for Events Not Processed');

9704: );
9705: p_return_code := 'Y';
9706: END LOOP;
9707: ELSIF (p_error_type = 'EVENTS_NOT_PROCESSED') THEN
9708: psa_utils.debug_other_string(g_state_level,l_full_path, 'Checking for Events Not Processed');
9709: FOR events_rec IN (SELECT *
9710: FROM xla_events_gt e
9711: WHERE NOT EXISTS (SELECT 1
9712: FROM xla_ae_lines_gt l

Line 9725: psa_utils.debug_other_string(g_state_level,l_full_path, 'Checking for Events Not Processed');

9721: );
9722: p_return_code := 'Y';
9723: END LOOP;
9724: ELSIF (p_error_type = 'GL_BC_PACKETS_EMPTY') THEN
9725: psa_utils.debug_other_string(g_state_level,l_full_path, 'Checking for Events Not Processed');
9726: FOR events_rec IN (SELECT *
9727: FROM xla_events_gt e
9728: WHERE NOT EXISTS (SELECT 1
9729: FROM xla_psa_bc_lines_v l

Line 10119: psa_utils.debug_other_string(g_state_level,l_full_path,

10115:
10116: l_full_path := g_path || 'budgetary_control';
10117:
10118: -- ====== FND LOG ======
10119: psa_utils.debug_other_string(g_state_level,l_full_path,
10120: ' BCTRL -> P_LEDGERID = '||p_ledgerid);
10121: psa_utils.debug_other_string(g_state_level,l_full_path,
10122: ' BCTRL -> MODE = '||PSA_BC_XLA_PVT.G_BC_MODE);
10123: psa_utils.debug_other_string(g_state_level,l_full_path,

Line 10121: psa_utils.debug_other_string(g_state_level,l_full_path,

10117:
10118: -- ====== FND LOG ======
10119: psa_utils.debug_other_string(g_state_level,l_full_path,
10120: ' BCTRL -> P_LEDGERID = '||p_ledgerid);
10121: psa_utils.debug_other_string(g_state_level,l_full_path,
10122: ' BCTRL -> MODE = '||PSA_BC_XLA_PVT.G_BC_MODE);
10123: psa_utils.debug_other_string(g_state_level,l_full_path,
10124: ' BCTRL -> OVERRIDE = '||PSA_BC_XLA_PVT.G_OVERRIDE_FLAG);
10125: psa_utils.debug_other_string(g_state_level,l_full_path,

Line 10123: psa_utils.debug_other_string(g_state_level,l_full_path,

10119: psa_utils.debug_other_string(g_state_level,l_full_path,
10120: ' BCTRL -> P_LEDGERID = '||p_ledgerid);
10121: psa_utils.debug_other_string(g_state_level,l_full_path,
10122: ' BCTRL -> MODE = '||PSA_BC_XLA_PVT.G_BC_MODE);
10123: psa_utils.debug_other_string(g_state_level,l_full_path,
10124: ' BCTRL -> OVERRIDE = '||PSA_BC_XLA_PVT.G_OVERRIDE_FLAG);
10125: psa_utils.debug_other_string(g_state_level,l_full_path,
10126: ' BCTRL -> USER_ID = '||PSA_BC_XLA_PVT.G_USER_ID);
10127: psa_utils.debug_other_string(g_state_level,l_full_path,

Line 10125: psa_utils.debug_other_string(g_state_level,l_full_path,

10121: psa_utils.debug_other_string(g_state_level,l_full_path,
10122: ' BCTRL -> MODE = '||PSA_BC_XLA_PVT.G_BC_MODE);
10123: psa_utils.debug_other_string(g_state_level,l_full_path,
10124: ' BCTRL -> OVERRIDE = '||PSA_BC_XLA_PVT.G_OVERRIDE_FLAG);
10125: psa_utils.debug_other_string(g_state_level,l_full_path,
10126: ' BCTRL -> USER_ID = '||PSA_BC_XLA_PVT.G_USER_ID);
10127: psa_utils.debug_other_string(g_state_level,l_full_path,
10128: ' BCTRL -> RESP_ID = '||PSA_BC_XLA_PVT.G_USER_RESP_ID);
10129: -- ====== FND LOG ======

Line 10127: psa_utils.debug_other_string(g_state_level,l_full_path,

10123: psa_utils.debug_other_string(g_state_level,l_full_path,
10124: ' BCTRL -> OVERRIDE = '||PSA_BC_XLA_PVT.G_OVERRIDE_FLAG);
10125: psa_utils.debug_other_string(g_state_level,l_full_path,
10126: ' BCTRL -> USER_ID = '||PSA_BC_XLA_PVT.G_USER_ID);
10127: psa_utils.debug_other_string(g_state_level,l_full_path,
10128: ' BCTRL -> RESP_ID = '||PSA_BC_XLA_PVT.G_USER_RESP_ID);
10129: -- ====== FND LOG ======
10130: check_for_xla_errors ('BFLOW', l_xla_return_code);
10131: IF (l_xla_return_code = 'Y') THEN

Line 10133: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> Bflow failed ');

10129: -- ====== FND LOG ======
10130: check_for_xla_errors ('BFLOW', l_xla_return_code);
10131: IF (l_xla_return_code = 'Y') THEN
10132: -- ====== FND LOG ======
10133: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> Bflow failed ');
10134: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> ERROR: FATAL ');
10135: -- ====== FND LOG ======
10136:
10137: p_return_code := 'T';

Line 10134: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> ERROR: FATAL ');

10130: check_for_xla_errors ('BFLOW', l_xla_return_code);
10131: IF (l_xla_return_code = 'Y') THEN
10132: -- ====== FND LOG ======
10133: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> Bflow failed ');
10134: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> ERROR: FATAL ');
10135: -- ====== FND LOG ======
10136:
10137: p_return_code := 'T';
10138: return FALSE;

Line 10145: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Invoking glxfin() ');

10141:
10142: -- First invoke GLXFIN and assign values to global variables.
10143:
10144: -- ====== FND LOG ======
10145: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Invoking glxfin() ');
10146: -- ====== FND LOG ======
10147:
10148: if not glxfin (p_ledgerid => p_ledgerid,
10149: p_packetid => 0,

Line 10158: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> glxfin failed ');

10154: p_user_resp_id => PSA_BC_XLA_PVT.G_USER_RESP_ID,
10155: p_calling_prog_flag => 'S') then
10156:
10157: -- ====== FND LOG ======
10158: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> glxfin failed ');
10159: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> ERROR: FATAL ');
10160: -- ====== FND LOG ======
10161:
10162: p_return_code := 'T';

Line 10159: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> ERROR: FATAL ');

10155: p_calling_prog_flag => 'S') then
10156:
10157: -- ====== FND LOG ======
10158: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> glxfin failed ');
10159: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> ERROR: FATAL ');
10160: -- ====== FND LOG ======
10161:
10162: p_return_code := 'T';
10163: return FALSE;

Line 10182: psa_utils.debug_other_string(g_error_level,l_full_path,

10178: FETCH c_cnt_events INTO l_event_cnt, l_ae_event_cnt;
10179: CLOSE c_cnt_events;
10180:
10181: -- ====== FND LOG ======
10182: psa_utils.debug_other_string(g_error_level,l_full_path,
10183: ' BCTRL -> Count of events in XLA_EVENTS_GT: '||l_event_cnt);
10184: psa_utils.debug_other_string(g_error_level,l_full_path,
10185: ' BCTRL -> Count of events in XLA_AE_LINES_GT: '||l_ae_event_cnt);
10186: -- ====== FND LOG ======

Line 10184: psa_utils.debug_other_string(g_error_level,l_full_path,

10180:
10181: -- ====== FND LOG ======
10182: psa_utils.debug_other_string(g_error_level,l_full_path,
10183: ' BCTRL -> Count of events in XLA_EVENTS_GT: '||l_event_cnt);
10184: psa_utils.debug_other_string(g_error_level,l_full_path,
10185: ' BCTRL -> Count of events in XLA_AE_LINES_GT: '||l_ae_event_cnt);
10186: -- ====== FND LOG ======
10187:
10188: fnd_file.put_line(fnd_file.log,'The following are the invalid accounting errrors');

Line 10200: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> Budgetary_Control failed ');

10196: End loop;
10197:
10198: IF NOT(NVL(l_ae_event_cnt, 0) = l_event_cnt) THEN
10199: -- ====== FND LOG ======
10200: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> Budgetary_Control failed ');
10201: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> ERROR: FATAL ');
10202: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL p_return_code -> T');
10203: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL Return False ');
10204:

Line 10201: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> ERROR: FATAL ');

10197:
10198: IF NOT(NVL(l_ae_event_cnt, 0) = l_event_cnt) THEN
10199: -- ====== FND LOG ======
10200: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> Budgetary_Control failed ');
10201: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> ERROR: FATAL ');
10202: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL p_return_code -> T');
10203: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL Return False ');
10204:
10205: check_for_xla_errors ('EVENTS_NOT_PROCESSED', l_xla_return_code);

Line 10202: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL p_return_code -> T');

10198: IF NOT(NVL(l_ae_event_cnt, 0) = l_event_cnt) THEN
10199: -- ====== FND LOG ======
10200: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> Budgetary_Control failed ');
10201: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> ERROR: FATAL ');
10202: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL p_return_code -> T');
10203: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL Return False ');
10204:
10205: check_for_xla_errors ('EVENTS_NOT_PROCESSED', l_xla_return_code);
10206:

Line 10203: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL Return False ');

10199: -- ====== FND LOG ======
10200: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> Budgetary_Control failed ');
10201: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> ERROR: FATAL ');
10202: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL p_return_code -> T');
10203: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL Return False ');
10204:
10205: check_for_xla_errors ('EVENTS_NOT_PROCESSED', l_xla_return_code);
10206:
10207: fnd_file.put_line(fnd_file.log,'The following entities have not been processed');

Line 10228: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Initializing collection ');

10224:
10225: -- Initialize the collection variables
10226:
10227: -- ====== FND LOG ======
10228: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Initializing collection ');
10229: -- ====== FND LOG ======
10230:
10231: l_packets := num_rec();
10232:

Line 10237: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Invoking get_session_details() ');

10233: -- Get the session_id and serial# for the current session
10234: -- These columns will then be inserted in gl_bc_packets.
10235:
10236: -- ====== FND LOG ======
10237: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Invoking get_session_details() ');
10238: -- ====== FND LOG ======
10239:
10240: get_session_details(l_session_id, l_serial_id);
10241:

Line 10243: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Session_Id = '||l_session_id);

10239:
10240: get_session_details(l_session_id, l_serial_id);
10241:
10242: -- ====== FND LOG ======
10243: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Session_Id = '||l_session_id);
10244: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Serial_Id = '||l_serial_id);
10245: -- ====== FND LOG ======
10246:
10247: -- Get the JE_SOURCE_NAME for current application

Line 10244: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Serial_Id = '||l_serial_id);

10240: get_session_details(l_session_id, l_serial_id);
10241:
10242: -- ====== FND LOG ======
10243: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Session_Id = '||l_session_id);
10244: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Serial_Id = '||l_serial_id);
10245: -- ====== FND LOG ======
10246:
10247: -- Get the JE_SOURCE_NAME for current application
10248:

Line 10250: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Get Je_Source_name ');

10246:
10247: -- Get the JE_SOURCE_NAME for current application
10248:
10249: -- ====== FND LOG ======
10250: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Get Je_Source_name ');
10251: -- ====== FND LOG ======
10252:
10253: open get_je_source_name(PSA_BC_XLA_PVT.G_APPLICATION_ID);
10254: fetch get_je_source_name into l_je_source_name;

Line 10262: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> JE_SOURCE_NAME = '||l_je_source_name);

10258: close get_je_source_name;
10259:
10260:
10261: -- ====== FND LOG ======
10262: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> JE_SOURCE_NAME = '||l_je_source_name);
10263: -- ====== FND LOG ======
10264:
10265: --================== Allocation Attributes first level of validation Logic Start ======================
10266: /* First level of validation for allocation attributes is two fold:

Line 10292: psa_utils.debug_other_string(g_state_level,l_full_path, 'Resetting l_alloc_used from Y to N');

10288: IF (l_alloc_used = 'Y') THEN
10289: FOR check_prepay_rec IN (SELECT event_class_code
10290: FROM xla_events_gt
10291: WHERE event_class_code = 'PREPAYMENT APPLICATIONS') LOOP
10292: psa_utils.debug_other_string(g_state_level,l_full_path, 'Resetting l_alloc_used from Y to N');
10293: l_alloc_used := 'N';
10294: EXIT;
10295: END LOOP;
10296: END IF;

Line 10299: psa_utils.debug_other_string(g_state_level,l_full_path,

10295: END LOOP;
10296: END IF;
10297:
10298: -- ====== FND LOG ======
10299: psa_utils.debug_other_string(g_state_level,l_full_path,
10300: ' BCTRL -> Allocation Attributes used (Y/N) = '||l_alloc_used);
10301: -- ====== FND LOG ======
10302:
10303: IF (l_alloc_used = 'Y') THEN

Line 10371: psa_utils.debug_other_string(g_state_level, l_full_path, ' l_alloc_event_cnt -> '||l_alloc_event_cnt);

10367: FROM psa_bc_alloc_gt
10368: WHERE hierarchy_id = h.hierarchy_id;
10369:
10370: -- ======================== FND LOG =============================
10371: psa_utils.debug_other_string(g_state_level, l_full_path, ' l_alloc_event_cnt -> '||l_alloc_event_cnt);
10372: -- ======================== FND LOG =============================
10373:
10374: SELECT
10375: COUNT(DISTINCT(xv.event_id))

Line 10397: psa_utils.debug_other_string(g_state_level, l_full_path, ' l_xla_event_cnt -> '||l_xla_event_cnt);

10393: )
10394: );
10395:
10396: -- ======================== FND LOG =============================
10397: psa_utils.debug_other_string(g_state_level, l_full_path, ' l_xla_event_cnt -> '||l_xla_event_cnt);
10398: -- ======================== FND LOG =============================
10399:
10400: -- Compare both the counts. if they are equal
10401: -- then the hierarchy events are eligible for funds check

Line 10408: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated '||sql%rowcount||

10404: psa_bc_alloc_gt
10405: SET status_code = 'P'
10406: WHERE hierarchy_id = h.hierarchy_id;
10407: -- ====== FND LOG ======
10408: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated '||sql%rowcount||
10409: ' rows.');
10410: -- ====== FND LOG ======
10411: ELSE
10412: UPDATE

Line 10417: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated '||sql%rowcount||

10413: psa_bc_alloc_gt
10414: SET status_code = 'F'
10415: WHERE hierarchy_id = h.hierarchy_id;
10416: -- ====== FND LOG ======
10417: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated '||sql%rowcount||
10418: ' rows.');
10419: -- ====== FND LOG ======
10420: END IF;
10421: END LOOP;

Line 10434: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Populate l_bc_pkts pl/sql table ');

10430: -- overcome a limitation with FORALL clause later in the code.
10431:
10432:
10433: -- ====== FND LOG ======
10434: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Populate l_bc_pkts pl/sql table ');
10435: -- ====== FND LOG ======
10436:
10437: SELECT NULL, -- Packet_id is initially NULL. Populated later in the code
10438: p_ledgerid, -- Since XLA view does not provide this column, use parameter

Line 10556: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Ledger Category: '||l_ledger_category);

10552: FETCH get_ledger_category INTO l_ledger_category;
10553: CLOSE get_ledger_category;
10554:
10555: -- ====== FND LOG ======
10556: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Ledger Category: '||l_ledger_category);
10557: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Application Id: '||psa_bc_xla_pvt.g_application_id);
10558: -- ====== FND LOG ======
10559:
10560: IF (l_ledger_category = 'PRIMARY') OR (psa_bc_xla_pvt.g_application_id = 602) THEN

Line 10557: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Application Id: '||psa_bc_xla_pvt.g_application_id);

10553: CLOSE get_ledger_category;
10554:
10555: -- ====== FND LOG ======
10556: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Ledger Category: '||l_ledger_category);
10557: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Application Id: '||psa_bc_xla_pvt.g_application_id);
10558: -- ====== FND LOG ======
10559:
10560: IF (l_ledger_category = 'PRIMARY') OR (psa_bc_xla_pvt.g_application_id = 602) THEN
10561: -- ==================== FND LOG ===========================

Line 10562: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_ledger_category = PRIMARY OR (psa_bc_xla_pvt.g_application_id = 602 --> raise gl_bc_packets_empty');

10558: -- ====== FND LOG ======
10559:
10560: IF (l_ledger_category = 'PRIMARY') OR (psa_bc_xla_pvt.g_application_id = 602) THEN
10561: -- ==================== FND LOG ===========================
10562: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_ledger_category = PRIMARY OR (psa_bc_xla_pvt.g_application_id = 602 --> raise gl_bc_packets_empty');
10563: -- ==================== FND LOG ===========================
10564:
10565: raise gl_bc_packets_empty;
10566: ELSE

Line 10569: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Do not process for Secondary Ledger ');

10565: raise gl_bc_packets_empty;
10566: ELSE
10567:
10568: -- ====== FND LOG ======
10569: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Do not process for Secondary Ledger ');
10570: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Return True');
10571: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL p_return_code -> S ');
10572: -- ====== FND LOG ======
10573: p_return_code := 'S';

Line 10570: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Return True');

10566: ELSE
10567:
10568: -- ====== FND LOG ======
10569: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Do not process for Secondary Ledger ');
10570: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Return True');
10571: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL p_return_code -> S ');
10572: -- ====== FND LOG ======
10573: p_return_code := 'S';
10574: return true;

Line 10571: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL p_return_code -> S ');

10567:
10568: -- ====== FND LOG ======
10569: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Do not process for Secondary Ledger ');
10570: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Return True');
10571: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL p_return_code -> S ');
10572: -- ====== FND LOG ======
10573: p_return_code := 'S';
10574: return true;
10575: END IF;

Line 10580: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Populated '||sql%rowcount||' rows. ');

10576:
10577: ELSE
10578:
10579: -- ====== FND LOG ======
10580: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Populated '||sql%rowcount||' rows. ');
10581: -- ====== FND LOG ======
10582: END IF;
10583:
10584: -- Note above that the packet_id column was assigned a NULL value.

Line 10608: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Row '||x||' assigned packet_id '||l_packet_id);

10604:
10605: l_bc_pkts(x).packet_id := l_packet_id;
10606:
10607: -- ====== FND LOG ======
10608: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Row '||x||' assigned packet_id '||l_packet_id);
10609: -- ====== FND LOG ======
10610:
10611: END LOOP;
10612:

Line 10616: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Invoking populate_bc_pkts() ');

10612:
10613: -- Insert autonomous procedure populate_bc_pkts to insert data in gl_bc_packets
10614:
10615: -- ====== FND LOG ======
10616: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Invoking populate_bc_pkts() ');
10617: -- ====== FND LOG ======
10618:
10619: IF NOT populate_bc_pkts (l_bc_pkts) THEN
10620: -- ====== FND LOG ======

Line 10621: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> populate_bc_pkts() failed. ');

10617: -- ====== FND LOG ======
10618:
10619: IF NOT populate_bc_pkts (l_bc_pkts) THEN
10620: -- ====== FND LOG ======
10621: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> populate_bc_pkts() failed. ');
10622: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> ERROR: FATAL. ');
10623: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> p_return_code -> T');
10624: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> Return false ');
10625: -- ====== FND LOG ======

Line 10622: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> ERROR: FATAL. ');

10618:
10619: IF NOT populate_bc_pkts (l_bc_pkts) THEN
10620: -- ====== FND LOG ======
10621: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> populate_bc_pkts() failed. ');
10622: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> ERROR: FATAL. ');
10623: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> p_return_code -> T');
10624: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> Return false ');
10625: -- ====== FND LOG ======
10626: p_return_code := 'T';

Line 10623: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> p_return_code -> T');

10619: IF NOT populate_bc_pkts (l_bc_pkts) THEN
10620: -- ====== FND LOG ======
10621: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> populate_bc_pkts() failed. ');
10622: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> ERROR: FATAL. ');
10623: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> p_return_code -> T');
10624: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> Return false ');
10625: -- ====== FND LOG ======
10626: p_return_code := 'T';
10627: return FALSE;

Line 10624: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> Return false ');

10620: -- ====== FND LOG ======
10621: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> populate_bc_pkts() failed. ');
10622: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> ERROR: FATAL. ');
10623: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> p_return_code -> T');
10624: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> Return false ');
10625: -- ====== FND LOG ======
10626: p_return_code := 'T';
10627: return FALSE;
10628: END IF;

Line 10633: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Invoking glxfck() per packet.');

10629:
10630: -- Invoke funds checker per packet_id. Update the relevant SLA tables.
10631:
10632: -- ====== FND LOG ======
10633: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Invoking glxfck() per packet.');
10634: -- ====== FND LOG ======
10635:
10636: FOR i IN 1..l_packets.count
10637: LOOP

Line 10640: psa_utils.debug_other_string(g_state_level,l_full_path,

10636: FOR i IN 1..l_packets.count
10637: LOOP
10638:
10639: -- ====== FND LOG ======
10640: psa_utils.debug_other_string(g_state_level,l_full_path,
10641: ' BCTRL -> Invoking glxfck() for packet_id '||l_packets(i));
10642: -- ====== FND LOG ======
10643:
10644: IF NOT glxfck( p_ledgerid ,

Line 10655: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> glxfck() failed ');

10651: 'S' ,
10652: l_ret_code ) THEN
10653:
10654: -- ====== FND LOG ======
10655: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> glxfck() failed ');
10656: -- ====== FND LOG ======
10657:
10658: -- ============================== FND LOG =========================
10659: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL l_ret_code -> T ');

Line 10659: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL l_ret_code -> T ');

10655: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> glxfck() failed ');
10656: -- ====== FND LOG ======
10657:
10658: -- ============================== FND LOG =========================
10659: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL l_ret_code -> T ');
10660: -- ============================== FND LOG =========================
10661:
10662: l_ret_code := 'T';
10663: END IF;

Line 10668: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Update funds_status_code '||

10664:
10665: -- Update Funds_Status_Code column in XLA_AE_HEADERS_GT
10666:
10667: -- ====== FND LOG ======
10668: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Update funds_status_code '||
10669: 'of xla_ae_headers_gt ');
10670: -- ====== FND LOG ======
10671:
10672: IF (PSA_BC_XLA_PVT.G_BC_MODE = 'P') AND (l_ret_code <> 'T') THEN

Line 10676: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> GET_STATUS_PER_HEADER DETAILS ');

10672: IF (PSA_BC_XLA_PVT.G_BC_MODE = 'P') AND (l_ret_code <> 'T') THEN
10673: FOR y IN get_status_per_header(l_packets(i))
10674: LOOP
10675: -- ====== FND LOG ======
10676: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> GET_STATUS_PER_HEADER DETAILS ');
10677: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> ----------------------------- ');
10678: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.AE_HEADER_ID = '||y.ae_header_id);
10679: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.SUCCESS_CNT = '||y.success_cnt);
10680: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.APPROVED_CNT = '||y.approved_cnt);

Line 10677: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> ----------------------------- ');

10673: FOR y IN get_status_per_header(l_packets(i))
10674: LOOP
10675: -- ====== FND LOG ======
10676: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> GET_STATUS_PER_HEADER DETAILS ');
10677: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> ----------------------------- ');
10678: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.AE_HEADER_ID = '||y.ae_header_id);
10679: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.SUCCESS_CNT = '||y.success_cnt);
10680: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.APPROVED_CNT = '||y.approved_cnt);
10681: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.FAILED_CNT = '||y.failed_cnt);

Line 10678: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.AE_HEADER_ID = '||y.ae_header_id);

10674: LOOP
10675: -- ====== FND LOG ======
10676: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> GET_STATUS_PER_HEADER DETAILS ');
10677: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> ----------------------------- ');
10678: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.AE_HEADER_ID = '||y.ae_header_id);
10679: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.SUCCESS_CNT = '||y.success_cnt);
10680: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.APPROVED_CNT = '||y.approved_cnt);
10681: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.FAILED_CNT = '||y.failed_cnt);
10682: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.REJECTED_CNT = '||y.rejected_cnt);

Line 10679: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.SUCCESS_CNT = '||y.success_cnt);

10675: -- ====== FND LOG ======
10676: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> GET_STATUS_PER_HEADER DETAILS ');
10677: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> ----------------------------- ');
10678: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.AE_HEADER_ID = '||y.ae_header_id);
10679: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.SUCCESS_CNT = '||y.success_cnt);
10680: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.APPROVED_CNT = '||y.approved_cnt);
10681: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.FAILED_CNT = '||y.failed_cnt);
10682: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.REJECTED_CNT = '||y.rejected_cnt);
10683: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.TOTAL_CNT = '||y.total_cnt);

Line 10680: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.APPROVED_CNT = '||y.approved_cnt);

10676: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> GET_STATUS_PER_HEADER DETAILS ');
10677: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> ----------------------------- ');
10678: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.AE_HEADER_ID = '||y.ae_header_id);
10679: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.SUCCESS_CNT = '||y.success_cnt);
10680: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.APPROVED_CNT = '||y.approved_cnt);
10681: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.FAILED_CNT = '||y.failed_cnt);
10682: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.REJECTED_CNT = '||y.rejected_cnt);
10683: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.TOTAL_CNT = '||y.total_cnt);
10684: -- ====== FND LOG ======

Line 10681: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.FAILED_CNT = '||y.failed_cnt);

10677: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> ----------------------------- ');
10678: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.AE_HEADER_ID = '||y.ae_header_id);
10679: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.SUCCESS_CNT = '||y.success_cnt);
10680: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.APPROVED_CNT = '||y.approved_cnt);
10681: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.FAILED_CNT = '||y.failed_cnt);
10682: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.REJECTED_CNT = '||y.rejected_cnt);
10683: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.TOTAL_CNT = '||y.total_cnt);
10684: -- ====== FND LOG ======
10685:

Line 10682: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.REJECTED_CNT = '||y.rejected_cnt);

10678: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.AE_HEADER_ID = '||y.ae_header_id);
10679: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.SUCCESS_CNT = '||y.success_cnt);
10680: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.APPROVED_CNT = '||y.approved_cnt);
10681: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.FAILED_CNT = '||y.failed_cnt);
10682: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.REJECTED_CNT = '||y.rejected_cnt);
10683: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.TOTAL_CNT = '||y.total_cnt);
10684: -- ====== FND LOG ======
10685:
10686: IF (y.success_cnt = y.total_cnt) OR (y.approved_cnt = y.total_cnt) THEN

Line 10683: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.TOTAL_CNT = '||y.total_cnt);

10679: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.SUCCESS_CNT = '||y.success_cnt);
10680: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.APPROVED_CNT = '||y.approved_cnt);
10681: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.FAILED_CNT = '||y.failed_cnt);
10682: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.REJECTED_CNT = '||y.rejected_cnt);
10683: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.TOTAL_CNT = '||y.total_cnt);
10684: -- ====== FND LOG ======
10685:
10686: IF (y.success_cnt = y.total_cnt) OR (y.approved_cnt = y.total_cnt) THEN
10687: SELECT nvl(min('A'), 'S') into l_xla_hdr_status

Line 10700: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL l_xla_hdr_status -> '||l_xla_hdr_status);

10696: l_xla_hdr_status := 'P';
10697: END IF;
10698:
10699: -- ============================== FND LOG =========================
10700: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL l_xla_hdr_status -> '||l_xla_hdr_status);
10701: -- ============================== FND LOG =========================
10702:
10703: UPDATE xla_ae_headers_gt
10704: SET funds_status_code = l_xla_hdr_status

Line 10710: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> XLA Header '||y.ae_header_id||

10706: ledger_id = p_ledgerid;
10707:
10708: IF SQL%FOUND THEN
10709: -- ====== FND LOG ======
10710: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> XLA Header '||y.ae_header_id||
10711: ', Status updated to '||l_xla_hdr_status);
10712: -- ====== FND LOG ======
10713: END IF;
10714:

Line 10725: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated funds_status_code of '||

10721: WHERE packet_id = l_packets(i)) and
10722: ledger_id = p_ledgerid;
10723:
10724: -- ====== FND LOG ======
10725: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated funds_status_code of '||
10726: sql%rowcount||' rows successfully. ');
10727: -- ====== FND LOG ======
10728: END IF;
10729:

Line 10747: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Update funds_status_code '||

10743:
10744: -- Update Funds_Status_Code column in XLA_VALIDATION_LINES_GT
10745:
10746: -- ====== FND LOG ======
10747: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Update funds_status_code '||
10748: 'of xla_validation_lines_gt');
10749: -- ====== FND LOG ======
10750:
10751: -- Bug 5397349 .. Start

Line 10769: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated '||sql%rowcount||

10765: vl.ae_line_num = l_xla_line_tbl(x) AND
10766: vl.ledger_id = p_ledgerid;
10767:
10768: -- ====== FND LOG ======
10769: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated '||sql%rowcount||
10770: ' rows.');
10771: -- ====== FND LOG ======
10772:
10773: EXIT when c_get_result_codes%notfound;

Line 10784: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Update result_code '||

10780:
10781: -- Update PSA_BC_XLA_EVENTS_GT table with result_code
10782:
10783: -- ====== FND LOG ======
10784: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Update result_code '||
10785: 'of psa_bc_xla_events_gt');
10786: -- ====== FND LOG ======
10787:
10788: -- this update will ensure that only valid xla events

Line 10804: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated valid funds check '||sql%rowcount||

10800: WHERE hg.event_id = eg.event_id)
10801: where eg.event_id in (select event_id from xla_ae_headers_gt);
10802:
10803: -- ====== FND LOG ======
10804: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated valid funds check '||sql%rowcount||
10805: ' rows.');
10806: -- ====== FND LOG ======
10807:
10808: -- Update global variable for packet_id to the first packet_id

Line 10813: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated '||

10809:
10810: PSA_BC_XLA_PVT.G_PACKET_ID := l_packets(1);
10811:
10812: -- ====== FND LOG ======
10813: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated '||
10814: ' PSA_BC_XLA_PVT.G_PACKET_ID to '||PSA_BC_XLA_PVT.G_PACKET_ID);
10815: -- ====== FND LOG ======
10816:
10817: -- ====== FND LOG ======

Line 10818: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_t_status_cnt = '||l_t_status_cnt);

10814: ' PSA_BC_XLA_PVT.G_PACKET_ID to '||PSA_BC_XLA_PVT.G_PACKET_ID);
10815: -- ====== FND LOG ======
10816:
10817: -- ====== FND LOG ======
10818: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_t_status_cnt = '||l_t_status_cnt);
10819: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_s_status_cnt = '||l_s_status_cnt);
10820: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_a_status_cnt = '||l_a_status_cnt);
10821: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_f_status_cnt = '||l_f_status_cnt);
10822: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_p_status_cnt = '||l_p_status_cnt);

Line 10819: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_s_status_cnt = '||l_s_status_cnt);

10815: -- ====== FND LOG ======
10816:
10817: -- ====== FND LOG ======
10818: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_t_status_cnt = '||l_t_status_cnt);
10819: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_s_status_cnt = '||l_s_status_cnt);
10820: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_a_status_cnt = '||l_a_status_cnt);
10821: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_f_status_cnt = '||l_f_status_cnt);
10822: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_p_status_cnt = '||l_p_status_cnt);
10823: -- ====== FND LOG ======

Line 10820: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_a_status_cnt = '||l_a_status_cnt);

10816:
10817: -- ====== FND LOG ======
10818: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_t_status_cnt = '||l_t_status_cnt);
10819: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_s_status_cnt = '||l_s_status_cnt);
10820: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_a_status_cnt = '||l_a_status_cnt);
10821: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_f_status_cnt = '||l_f_status_cnt);
10822: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_p_status_cnt = '||l_p_status_cnt);
10823: -- ====== FND LOG ======
10824:

Line 10821: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_f_status_cnt = '||l_f_status_cnt);

10817: -- ====== FND LOG ======
10818: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_t_status_cnt = '||l_t_status_cnt);
10819: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_s_status_cnt = '||l_s_status_cnt);
10820: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_a_status_cnt = '||l_a_status_cnt);
10821: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_f_status_cnt = '||l_f_status_cnt);
10822: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_p_status_cnt = '||l_p_status_cnt);
10823: -- ====== FND LOG ======
10824:
10825: -- Bug 4918234

Line 10822: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_p_status_cnt = '||l_p_status_cnt);

10818: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_t_status_cnt = '||l_t_status_cnt);
10819: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_s_status_cnt = '||l_s_status_cnt);
10820: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_a_status_cnt = '||l_a_status_cnt);
10821: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_f_status_cnt = '||l_f_status_cnt);
10822: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_p_status_cnt = '||l_p_status_cnt);
10823: -- ====== FND LOG ======
10824:
10825: -- Bug 4918234
10826: /* We need to update the related events stauses which were NOT picked up by funds checker.

Line 10841: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Updated '||sql%rowcount||' rows of XLA_AE_HEADERS_GT with fail status.');

10837: WHERE status_code <> 'P');
10838:
10839: IF(SQL%ROWCOUNT<> 0) THEN
10840: -- ====== FND LOG ======
10841: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Updated '||sql%rowcount||' rows of XLA_AE_HEADERS_GT with fail status.');
10842: -- ====== FND LOG ======
10843: END IF;
10844:
10845: -- Update Funds_Status_Code column in XLA_VALIDATION_LINES_GT

Line 10855: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated ' ||sql%rowcount||' rows of XLA_VALIDATION_LINES_GT with F76 status code.');

10851: WHERE status_code <> 'P');
10852:
10853: IF(SQL%ROWCOUNT<> 0) THEN
10854: -- ====== FND LOG ======
10855: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated ' ||sql%rowcount||' rows of XLA_VALIDATION_LINES_GT with F76 status code.');
10856: -- ====== FND LOG ======
10857: END IF;
10858:
10859: --================== Allocation Attributes second level of validation Logic start =================

Line 10891: psa_utils.debug_other_string(g_state_level, l_full_path, 'BCTRL -> Updated '

10887: AND status_code NOT IN ('F', 'R')
10888: AND session_id = l_session_id
10889: AND serial_id = l_serial_id;
10890: -- ====== FND LOG ======
10891: psa_utils.debug_other_string(g_state_level, l_full_path, 'BCTRL -> Updated '
10892: ||sql%rowcount||' rows of GL_BC_PACKETS with F77 status.');
10893: -- ====== FND LOG ======
10894:
10895: ELSE

Line 10912: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated funds_status_code of '||

10908: AND session_id = l_session_id
10909: AND serial_id = l_serial_id) and
10910: ledger_id = p_ledgerid;
10911: -- ====== FND LOG ======
10912: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated funds_status_code of '||
10913: sql%rowcount||' rows successfully of XLA_AE_HEADERS_GT. ');
10914: -- ====== FND LOG ======
10915:
10916: UPDATE xla_validation_lines_gt vl

Line 10925: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated '||sql%rowcount||

10921: AND session_id = l_session_id
10922: AND serial_id = l_serial_id) and
10923: vl.ledger_id = p_ledgerid;
10924: -- ====== FND LOG ======
10925: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated '||sql%rowcount||
10926: ' rows of XLA_VALIDATION_LINES_GT with F77 status.');
10927: -- ====== FND LOG ======
10928:
10929: -- Reinitialize all the count variables

Line 10971: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Return_code = '||p_return_code);

10967: p_return_code := 'S';
10968: END IF;
10969:
10970: -- ====== FND LOG ======
10971: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Return_code = '||p_return_code);
10972: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Return TRUE');
10973: -- ====== FND LOG ======
10974:
10975: -- Invoke the DEBUG_XLA procedure to transfer data from XLA global temporary tables to

Line 10972: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Return TRUE');

10968: END IF;
10969:
10970: -- ====== FND LOG ======
10971: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Return_code = '||p_return_code);
10972: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Return TRUE');
10973: -- ====== FND LOG ======
10974:
10975: -- Invoke the DEBUG_XLA procedure to transfer data from XLA global temporary tables to
10976: -- PSA regular tables.

Line 10980: psa_utils.debug_other_string(g_state_level,l_full_path,'Cleaning up psa_bc_alloc_gt Table');

10976: -- PSA regular tables.
10977:
10978: debug_xla ( 'BUDGETARY_CONTROL_END' );
10979:
10980: psa_utils.debug_other_string(g_state_level,l_full_path,'Cleaning up psa_bc_alloc_gt Table');
10981: DELETE FROM psa_bc_alloc_gt; --For bug 7607496
10982: psa_utils.debug_other_string(g_state_level,l_full_path, ' Deleted Rows -> ' || SQL%ROWCOUNT);
10983:
10984: return TRUE;

Line 10982: psa_utils.debug_other_string(g_state_level,l_full_path, ' Deleted Rows -> ' || SQL%ROWCOUNT);

10978: debug_xla ( 'BUDGETARY_CONTROL_END' );
10979:
10980: psa_utils.debug_other_string(g_state_level,l_full_path,'Cleaning up psa_bc_alloc_gt Table');
10981: DELETE FROM psa_bc_alloc_gt; --For bug 7607496
10982: psa_utils.debug_other_string(g_state_level,l_full_path, ' Deleted Rows -> ' || SQL%ROWCOUNT);
10983:
10984: return TRUE;
10985:
10986: EXCEPTION

Line 10990: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> XLA_AE_HEADERS_GT DUMP');

10986: EXCEPTION
10987: WHEN GL_BC_PACKETS_EMPTY THEN
10988: IF (NOT g_xla_debug) THEN
10989: -- ====== FND LOG ======
10990: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> XLA_AE_HEADERS_GT DUMP');
10991: psa_utils.debug_other_string(g_error_level,l_full_path, ' -------------------- ');
10992:
10993: -- ====== FND LOG ======
10994: FOR h IN debug_xla_ae_headers_gt

Line 10991: psa_utils.debug_other_string(g_error_level,l_full_path, ' -------------------- ');

10987: WHEN GL_BC_PACKETS_EMPTY THEN
10988: IF (NOT g_xla_debug) THEN
10989: -- ====== FND LOG ======
10990: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> XLA_AE_HEADERS_GT DUMP');
10991: psa_utils.debug_other_string(g_error_level,l_full_path, ' -------------------- ');
10992:
10993: -- ====== FND LOG ======
10994: FOR h IN debug_xla_ae_headers_gt
10995: LOOP

Line 10997: psa_utils.debug_other_string(g_error_level,l_full_path, ' EVENT_ID = '||h.event_id||' , '||

10993: -- ====== FND LOG ======
10994: FOR h IN debug_xla_ae_headers_gt
10995: LOOP
10996: -- ====== FND LOG ======
10997: psa_utils.debug_other_string(g_error_level,l_full_path, ' EVENT_ID = '||h.event_id||' , '||
10998: ' AE_HEADER_ID = '||h.ae_header_id||' , '||
10999: ' LEDGER_ID = '||h.ledger_id||' , '||
11000: ' EVENT_TYPE_CODE = '||h.event_type_code||' , '||
11001: ' FUNDS_STATUS_CODE = '||h.funds_status_code||' , '||

Line 11007: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> XLA_AE_LINES_GT DUMP');

11003: ' BALANCE_TYPE_CODE = '||h.balance_type_code);
11004: -- ====== FND LOG ======
11005: END LOOP;
11006: -- ====== FND LOG ======
11007: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> XLA_AE_LINES_GT DUMP');
11008: psa_utils.debug_other_string(g_error_level,l_full_path, ' -------------------- ');
11009:
11010:
11011: -- ====== FND LOG ======

Line 11008: psa_utils.debug_other_string(g_error_level,l_full_path, ' -------------------- ');

11004: -- ====== FND LOG ======
11005: END LOOP;
11006: -- ====== FND LOG ======
11007: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> XLA_AE_LINES_GT DUMP');
11008: psa_utils.debug_other_string(g_error_level,l_full_path, ' -------------------- ');
11009:
11010:
11011: -- ====== FND LOG ======
11012: FOR x IN debug_xla_ae_lines_gt

Line 11015: psa_utils.debug_other_string(g_error_level,l_full_path, ' EVENT_ID = '||x.event_id||' , '||

11011: -- ====== FND LOG ======
11012: FOR x IN debug_xla_ae_lines_gt
11013: LOOP
11014: -- ====== FND LOG ======
11015: psa_utils.debug_other_string(g_error_level,l_full_path, ' EVENT_ID = '||x.event_id||' , '||
11016: ' AE_HEADER_ID = '||x.ae_header_id||' , '||
11017: ' AE_LINE_NUM = '||x.ae_line_num);
11018: -- ====== FND LOG ======
11019: END LOOP;

Line 11022: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> XLA_VALIDATION_LINES_GT DUMP');

11018: -- ====== FND LOG ======
11019: END LOOP;
11020:
11021: -- ====== FND LOG ======
11022: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> XLA_VALIDATION_LINES_GT DUMP');
11023: psa_utils.debug_other_string(g_error_level,l_full_path, ' ---------------------------- ');
11024: -- ====== FND LOG ======
11025: FOR y IN debug_xla_val_lines_gt
11026: LOOP

Line 11023: psa_utils.debug_other_string(g_error_level,l_full_path, ' ---------------------------- ');

11019: END LOOP;
11020:
11021: -- ====== FND LOG ======
11022: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> XLA_VALIDATION_LINES_GT DUMP');
11023: psa_utils.debug_other_string(g_error_level,l_full_path, ' ---------------------------- ');
11024: -- ====== FND LOG ======
11025: FOR y IN debug_xla_val_lines_gt
11026: LOOP
11027: -- ====== FND LOG ======

Line 11028: psa_utils.debug_other_string(g_error_level,l_full_path, ' AE_HEADER_ID = '||y.ae_header_id||' , '||

11024: -- ====== FND LOG ======
11025: FOR y IN debug_xla_val_lines_gt
11026: LOOP
11027: -- ====== FND LOG ======
11028: psa_utils.debug_other_string(g_error_level,l_full_path, ' AE_HEADER_ID = '||y.ae_header_id||' , '||
11029: ' AE_LINE_NUM = '||y.ae_line_num||' , '||
11030: ' PERIOD_NAME = '||y.period_name||' , '||
11031: ' ACCOUNTING_ENTRY_STATUS_CODE = '||y.accounting_entry_status_code||' , '||
11032: ' BALANCING_LINE_TYPE = '||y.balancing_line_type);

Line 11037: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> XLA_EVENTS_GT DUMP');

11033: -- ====== FND LOG ======
11034: END LOOP;
11035:
11036: -- ====== FND LOG ======
11037: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> XLA_EVENTS_GT DUMP');
11038: psa_utils.debug_other_string(g_error_level,l_full_path, ' ---------------------------- ');
11039: -- ====== FND LOG ======
11040: FOR z in debug_xla_events_gt
11041: LOOP

Line 11038: psa_utils.debug_other_string(g_error_level,l_full_path, ' ---------------------------- ');

11034: END LOOP;
11035:
11036: -- ====== FND LOG ======
11037: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> XLA_EVENTS_GT DUMP');
11038: psa_utils.debug_other_string(g_error_level,l_full_path, ' ---------------------------- ');
11039: -- ====== FND LOG ======
11040: FOR z in debug_xla_events_gt
11041: LOOP
11042: -- ====== FND LOG ======

Line 11043: psa_utils.debug_other_string(g_error_level,l_full_path, ' APPLICATION_ID = '||z.application_id||' , '||

11039: -- ====== FND LOG ======
11040: FOR z in debug_xla_events_gt
11041: LOOP
11042: -- ====== FND LOG ======
11043: psa_utils.debug_other_string(g_error_level,l_full_path, ' APPLICATION_ID = '||z.application_id||' , '||
11044: ' EVENT_ID = '||z.event_id||' , '||
11045: ' EVENT_DATE = '||z.event_date||' , '||
11046: ' EVENT_TYPE_CODE = '||z.event_type_code||' , '||
11047: ' REFERENCE_NUM_1 = '||z.reference_num_1);

Line 11051: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> XLA_PSA_BC_LINES_V DUMP');

11047: ' REFERENCE_NUM_1 = '||z.reference_num_1);
11048: -- ====== FND LOG ======
11049: END LOOP;
11050: -- ====== FND LOG ======
11051: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> XLA_PSA_BC_LINES_V DUMP');
11052: psa_utils.debug_other_string(g_error_level,l_full_path,' --------------------------------------- ');
11053: -- ====== FND LOG ======
11054: FOR v in debug_xla_psa_bc_v
11055: LOOP

Line 11052: psa_utils.debug_other_string(g_error_level,l_full_path,' --------------------------------------- ');

11048: -- ====== FND LOG ======
11049: END LOOP;
11050: -- ====== FND LOG ======
11051: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> XLA_PSA_BC_LINES_V DUMP');
11052: psa_utils.debug_other_string(g_error_level,l_full_path,' --------------------------------------- ');
11053: -- ====== FND LOG ======
11054: FOR v in debug_xla_psa_bc_v
11055: LOOP
11056: -- ====== FND LOG ======

Line 11057: psa_utils.debug_other_string(g_error_level,l_full_path, ' EVENT_ID = '||v.event_id||' , '||

11053: -- ====== FND LOG ======
11054: FOR v in debug_xla_psa_bc_v
11055: LOOP
11056: -- ====== FND LOG ======
11057: psa_utils.debug_other_string(g_error_level,l_full_path, ' EVENT_ID = '||v.event_id||' , '||
11058: ' AE_HEADER_ID = '||v.ae_header_id||' , '||
11059: ' AE_LINE_NUM = '||v.ae_line_num||' , '||
11060: ' ENTITY_ID = '||v.entity_id||' , '||
11061: ' PERIOD_NAME = '||v.period_name);

Line 11066: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> PSA_BC_ALLOC_GT DUMP');

11062: -- ====== FND LOG ======
11063: END LOOP;
11064:
11065: -- ====== FND LOG ======
11066: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> PSA_BC_ALLOC_GT DUMP');
11067: psa_utils.debug_other_string(g_error_level,l_full_path,' --------------------------------------- ');
11068: -- ====== FND LOG ======
11069: FOR p in debug_psa_bc_alloc_gt
11070: LOOP

Line 11067: psa_utils.debug_other_string(g_error_level,l_full_path,' --------------------------------------- ');

11063: END LOOP;
11064:
11065: -- ====== FND LOG ======
11066: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> PSA_BC_ALLOC_GT DUMP');
11067: psa_utils.debug_other_string(g_error_level,l_full_path,' --------------------------------------- ');
11068: -- ====== FND LOG ======
11069: FOR p in debug_psa_bc_alloc_gt
11070: LOOP
11071: -- ====== FND LOG ======

Line 11072: psa_utils.debug_other_string(g_error_level,l_full_path, ' HIERARCHY_ID = '||p.hierarchy_id||' , '||

11068: -- ====== FND LOG ======
11069: FOR p in debug_psa_bc_alloc_gt
11070: LOOP
11071: -- ====== FND LOG ======
11072: psa_utils.debug_other_string(g_error_level,l_full_path, ' HIERARCHY_ID = '||p.hierarchy_id||' , '||
11073: ' EVENT_ID = '||p.event_id||' , '||
11074: ' AE_HEADER_ID = '||p.ae_header_id||' , '||
11075: ' AE_LINE_NUM = '||p.ae_line_num||' , '||
11076: ' STATUS_CODE = '||p.status_code);

Line 11084: psa_utils.debug_other_string(g_error_level,l_full_path, ' XLA_PSA_BC_LINES_V returns '||l_var_1||' rows. ');

11080:
11081: select count(*) into l_var_1
11082: from xla_psa_bc_lines_v;
11083: -- ====== FND LOG ======
11084: psa_utils.debug_other_string(g_error_level,l_full_path, ' XLA_PSA_BC_LINES_V returns '||l_var_1||' rows. ');
11085: psa_utils.debug_other_string(g_error_level,l_full_path, ' Error: Populated 0 rows in gl_bc_packets.');
11086: psa_utils.debug_other_string(g_error_level,l_full_path, ' RETURN -> FALSE');
11087: -- ====== FND LOG ======
11088: END IF;

Line 11085: psa_utils.debug_other_string(g_error_level,l_full_path, ' Error: Populated 0 rows in gl_bc_packets.');

11081: select count(*) into l_var_1
11082: from xla_psa_bc_lines_v;
11083: -- ====== FND LOG ======
11084: psa_utils.debug_other_string(g_error_level,l_full_path, ' XLA_PSA_BC_LINES_V returns '||l_var_1||' rows. ');
11085: psa_utils.debug_other_string(g_error_level,l_full_path, ' Error: Populated 0 rows in gl_bc_packets.');
11086: psa_utils.debug_other_string(g_error_level,l_full_path, ' RETURN -> FALSE');
11087: -- ====== FND LOG ======
11088: END IF;
11089: p_return_code := 'T';

Line 11086: psa_utils.debug_other_string(g_error_level,l_full_path, ' RETURN -> FALSE');

11082: from xla_psa_bc_lines_v;
11083: -- ====== FND LOG ======
11084: psa_utils.debug_other_string(g_error_level,l_full_path, ' XLA_PSA_BC_LINES_V returns '||l_var_1||' rows. ');
11085: psa_utils.debug_other_string(g_error_level,l_full_path, ' Error: Populated 0 rows in gl_bc_packets.');
11086: psa_utils.debug_other_string(g_error_level,l_full_path, ' RETURN -> FALSE');
11087: -- ====== FND LOG ======
11088: END IF;
11089: p_return_code := 'T';
11090: return FALSE;

Line 11093: psa_utils.debug_other_string(g_excep_level, l_full_path, ' BCTRL -> Exception Raised: '||sqlerrm);

11089: p_return_code := 'T';
11090: return FALSE;
11091: WHEN OTHERS THEN
11092: -- ====== FND LOG ======
11093: psa_utils.debug_other_string(g_excep_level, l_full_path, ' BCTRL -> Exception Raised: '||sqlerrm);
11094: psa_utils.debug_other_string(g_excep_level, l_full_path, ' BCTRL -> Return_code = T');
11095: psa_utils.debug_other_string(g_excep_level, l_full_path, ' BCTRL -> Return FALSE');
11096: -- ====== FND LOG ======
11097: p_return_code := 'T';

Line 11094: psa_utils.debug_other_string(g_excep_level, l_full_path, ' BCTRL -> Return_code = T');

11090: return FALSE;
11091: WHEN OTHERS THEN
11092: -- ====== FND LOG ======
11093: psa_utils.debug_other_string(g_excep_level, l_full_path, ' BCTRL -> Exception Raised: '||sqlerrm);
11094: psa_utils.debug_other_string(g_excep_level, l_full_path, ' BCTRL -> Return_code = T');
11095: psa_utils.debug_other_string(g_excep_level, l_full_path, ' BCTRL -> Return FALSE');
11096: -- ====== FND LOG ======
11097: p_return_code := 'T';
11098: return FALSE;

Line 11095: psa_utils.debug_other_string(g_excep_level, l_full_path, ' BCTRL -> Return FALSE');

11091: WHEN OTHERS THEN
11092: -- ====== FND LOG ======
11093: psa_utils.debug_other_string(g_excep_level, l_full_path, ' BCTRL -> Exception Raised: '||sqlerrm);
11094: psa_utils.debug_other_string(g_excep_level, l_full_path, ' BCTRL -> Return_code = T');
11095: psa_utils.debug_other_string(g_excep_level, l_full_path, ' BCTRL -> Return FALSE');
11096: -- ====== FND LOG ======
11097: p_return_code := 'T';
11098: return FALSE;
11099:

Line 11139: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> p_failed_ldgr_array.COUNT: '|| p_failed_ldgr_array.COUNT);

11135: l_f82_cnt := 0;
11136: l_full_path := g_path || 'sync_xla_errors';
11137:
11138: -- ====== FND LOG ======
11139: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> p_failed_ldgr_array.COUNT: '|| p_failed_ldgr_array.COUNT);
11140: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> p_failed_evnt_array.COUNT: '|| p_failed_evnt_array.COUNT);
11141: -- ====== FND LOG ======
11142:
11143: FORALL i IN 1..p_failed_ldgr_array.COUNT

Line 11140: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> p_failed_evnt_array.COUNT: '|| p_failed_evnt_array.COUNT);

11136: l_full_path := g_path || 'sync_xla_errors';
11137:
11138: -- ====== FND LOG ======
11139: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> p_failed_ldgr_array.COUNT: '|| p_failed_ldgr_array.COUNT);
11140: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> p_failed_evnt_array.COUNT: '|| p_failed_evnt_array.COUNT);
11141: -- ====== FND LOG ======
11142:
11143: FORALL i IN 1..p_failed_ldgr_array.COUNT
11144: UPDATE gl_bc_packets

Line 11158: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated GL_BC_PACKETS '||l_f81_cnt||

11154:
11155: l_f81_cnt := SQL%ROWCOUNT;
11156:
11157: -- ====== FND LOG ======
11158: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated GL_BC_PACKETS '||l_f81_cnt||
11159: ' rows to F81 status.');
11160: -- ====== FND LOG ======
11161:
11162:

Line 11177: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated GL_BC_PACKETS '||l_f82_cnt||

11173:
11174: l_f82_cnt := SQL%ROWCOUNT;
11175:
11176: -- ====== FND LOG ======
11177: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated GL_BC_PACKETS '||l_f82_cnt||
11178: ' rows to F82 status.');
11179: -- ====== FND LOG ======
11180:
11181: -- This check is to ensure that if we have not updated any GL_BC_PACKETS

Line 11195: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated PSA_BC_XLA_EVENTS_GT '||sql%rowcount||

11191: WHERE event_id = p_failed_evnt_array(k)
11192: AND result_code <> 'XLA_ERROR';
11193:
11194: -- ====== FND LOG ======
11195: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated PSA_BC_XLA_EVENTS_GT '||sql%rowcount||
11196: ' rows to XLA_ERROR status.');
11197: -- ====== FND LOG ======
11198:
11199: END IF;

Line 11226: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated GL_BC_PACKET_ARRIVAL_ORDER '||sql%rowcount||

11222: AND result_code IN ('F81', 'F82')
11223: ) ;
11224:
11225: -- ====== FND LOG ======
11226: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated GL_BC_PACKET_ARRIVAL_ORDER '||sql%rowcount||
11227: ' rows.');
11228: -- ====== FND LOG ======
11229:
11230:

Line 11237: psa_utils.debug_other_string(g_excep_level, l_full_path, ' BCTRL -> Exception Raised: '||sqlerrm);

11233:
11234: EXCEPTION
11235: WHEN OTHERS THEN
11236: -- ====== FND LOG ======
11237: psa_utils.debug_other_string(g_excep_level, l_full_path, ' BCTRL -> Exception Raised: '||sqlerrm);
11238: -- ====== FND LOG ======
11239: IF (c_success_evt_exists%ISOPEN) THEN
11240: CLOSE c_success_evt_exists;
11241: END IF;