DBA Data[Home] [Help]

APPS.PSA_FUNDS_CHECKER_PKG dependencies on PSA_UTILS

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

344:
345: l_full_path := g_path || 'glxfck - public1';
346:
347: -- ========================= FND LOG ===========================
348: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
349: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
350: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
351: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
352: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);

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

345: l_full_path := g_path || 'glxfck - public1';
346:
347: -- ========================= FND LOG ===========================
348: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
349: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
350: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
351: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
352: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
353: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);

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

346:
347: -- ========================= FND LOG ===========================
348: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
349: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
350: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
351: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
352: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
353: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
354: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);

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

347: -- ========================= FND LOG ===========================
348: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
349: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
350: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
351: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
352: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
353: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
354: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
355: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);

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

348: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
349: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
350: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
351: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
352: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
353: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
354: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
355: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
356: -- ========================= FND LOG ===========================

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

349: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
350: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
351: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
352: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
353: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
354: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
355: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
356: -- ========================= FND LOG ===========================
357:

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

350: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
351: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
352: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
353: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
354: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
355: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
356: -- ========================= FND LOG ===========================
357:
358: IF NOT glxfck( p_ledgerid ,

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

351: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
352: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
353: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
354: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
355: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
356: -- ========================= FND LOG ===========================
357:
358: IF NOT glxfck( p_ledgerid ,
359: p_packetid ,

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

365: p_calling_prog_flag ,
366: p_return_code ) THEN
367:
368: -- ========================= FND LOG ===========================
369: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfck --> FALSE goto gl_error');
370: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_return_code --> ' || p_return_code);
371: -- ========================= FND LOG ===========================
372: goto gl_error;
373:

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

366: p_return_code ) THEN
367:
368: -- ========================= FND LOG ===========================
369: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfck --> FALSE goto gl_error');
370: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_return_code --> ' || p_return_code);
371: -- ========================= FND LOG ===========================
372: goto gl_error;
373:
374: END IF;

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

374: END IF;
375:
376: IF (p_return_code = 'O') THEN
377: -- ========================= FND LOG ===========================
378: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_return_code --> O goto normal_exit');
379: -- ========================= FND LOG ===========================
380:
381: goto normal_exit;
382: END IF;

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

386:
387: IF (p_mode = 'U' AND NOT g_requery_flag) THEN
388: p_unrsv_packet_id := p_packetid;
389: -- ========================= FND LOG ===========================
390: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_unrsv_packet_id --> ' || p_unrsv_packet_id );
391: -- ========================= FND LOG ===========================
392: END IF;
393:
394: -- If g_requery_flag is TRUE set p_return_code = "Q"

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

397:
398: IF g_requery_flag THEN
399: p_return_code := 'Q';
400: -- ========================= FND LOG ===========================
401: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_return_code --> Q => Success/Advisory ');
402: -- ========================= FND LOG ===========================
403: END IF;
404:
405: <>

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

404:
405: <>
406:
407: -- ========================= FND LOG ===========================
408: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN --> TRUE ');
409: -- ========================= FND LOG ===========================
410:
411: RETURN(TRUE);
412:

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

412:
413: <>
414:
415: -- ========================= FND LOG ===========================
416: psa_utils.debug_other_string(g_state_level,l_full_path, ' reached gl_error label ');
417: -- ========================= FND LOG ===========================
418:
419: if not glxfuf then
420: -- ========================= FND LOG ===========================

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

417: -- ========================= FND LOG ===========================
418:
419: if not glxfuf then
420: -- ========================= FND LOG ===========================
421: psa_utils.debug_other_string(g_state_level,l_full_path, ' Raise OTHERS ');
422: -- ========================= FND LOG ===========================
423: raise others;
424: end if;
425:

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

423: raise others;
424: end if;
425:
426: -- ========================= FND LOG ===========================
427: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN --> FALSE ');
428: -- ========================= FND LOG ===========================
429:
430: RETURN(FALSE);
431:

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

432: EXCEPTION
433:
434: WHEN OTHERS THEN
435: -- ========================= FND LOG ===========================
436: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
437: -- ========================= FND LOG ===========================
438:
439: message_token('PROCEDURE', 'Funds Checker');
440: message_token('EVENT', SQLERRM);

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

440: message_token('EVENT', SQLERRM);
441: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
442:
443: -- ========================= FND LOG ===========================
444: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN --> FALSE ');
445: -- ========================= FND LOG ===========================
446:
447: return(FALSE);
448:

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

513:
514: l_full_path := g_path || 'glxfck - private';
515:
516: -- =========================== FND LOG ===========================
517: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFCK PRIVATE - START' );
518: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
519: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
520: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
521: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);

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

514: l_full_path := g_path || 'glxfck - private';
515:
516: -- =========================== FND LOG ===========================
517: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFCK PRIVATE - START' );
518: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
519: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
520: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
521: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
522: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);

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

515:
516: -- =========================== FND LOG ===========================
517: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFCK PRIVATE - START' );
518: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
519: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
520: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
521: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
522: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
523: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);

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

516: -- =========================== FND LOG ===========================
517: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFCK PRIVATE - START' );
518: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
519: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
520: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
521: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
522: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
523: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
524: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);

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

517: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFCK PRIVATE - START' );
518: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
519: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
520: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
521: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
522: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
523: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
524: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
525: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);

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

518: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
519: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
520: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
521: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
522: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
523: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
524: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
525: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
526: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfin ');

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

519: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
520: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
521: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
522: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
523: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
524: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
525: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
526: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfin ');
527: -- ========================= FND LOG =============================

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

520: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
521: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
522: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
523: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
524: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
525: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
526: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfin ');
527: -- ========================= FND LOG =============================
528:

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

521: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
522: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
523: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
524: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
525: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
526: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfin ');
527: -- ========================= FND LOG =============================
528:
529: if (p_calling_prog_flag = 'S' and g_fcmode = 'U') then

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

522: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
523: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
524: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
525: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
526: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfin ');
527: -- ========================= FND LOG =============================
528:
529: if (p_calling_prog_flag = 'S' and g_fcmode = 'U') then
530: -- =========================== FND LOG ===========================

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

527: -- ========================= FND LOG =============================
528:
529: if (p_calling_prog_flag = 'S' and g_fcmode = 'U') then
530: -- =========================== FND LOG ===========================
531: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling Program = S and mode = Unreservation so return without processing. RETURN -> TRUE.' );
532: -- =========================== FND LOG ===========================
533: -- Since we will not be supporting unreservation functionality for SLA
534: -- return back.
535: return true;

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

535: return true;
536: end if;
537:
538: -- =========================== FND LOG ===========================
539: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfin - initialization ' );
540: -- =========================== FND LOG ===========================
541:
542: -- Initialize Global Variables
543: if not glxfin(p_ledgerid => p_ledgerid,

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

549: p_user_resp_id => p_user_resp_id,
550: p_calling_prog_flag => p_calling_prog_flag) then
551:
552: -- =========================== FND LOG ===========================
553: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfin --> RETURN FALSE -> goto fatal_error');
554: -- ========================= FND LOG =============================
555:
556: goto fatal_error;
557: end if;

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

556: goto fatal_error;
557: end if;
558:
559: -- =========================== FND LOG ===========================
560: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfcp - preprocessor ');
561: -- ========================= FND LOG =============================
562:
563: -- Funds Check Processor
564: if not glxfcp then

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

562:
563: -- Funds Check Processor
564: if not glxfcp then
565: -- =========================== FND LOG ===========================
566: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfcp --> RETURN FALSE -> goto fatal_error');
567: -- ========================= FND LOG =============================
568: goto fatal_error;
569: end if;
570:

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

570:
571:
572: if g_overlapping_budget=TRUE then
573: -- =========================== FND LOG ===========================
574: psa_utils.debug_other_string(g_state_level,l_full_path, ' return_code --> F');
575: -- ========================= FND LOG =============================
576:
577: p_return_code := 'F';
578:

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

576:
577: p_return_code := 'F';
578:
579: -- =========================== FND LOG ===========================
580: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN --> TRUE ');
581: -- ========================= FND LOG =============================
582: return(TRUE);
583:
584: end if ;

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

587: -- Override Transactions
588: if g_override_flag and g_calling_prog_flag = 'G' and not g_conc_flag then
589:
590: -- =========================== FND LOG ===========================
591: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_override_flag --> TRUE ');
592: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_calling_prog_flag --> G ');
593: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_conc_flag --> FALSE ');
594: -- ========================= FND LOG =============================
595:

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

588: if g_override_flag and g_calling_prog_flag = 'G' and not g_conc_flag then
589:
590: -- =========================== FND LOG ===========================
591: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_override_flag --> TRUE ');
592: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_calling_prog_flag --> G ');
593: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_conc_flag --> FALSE ');
594: -- ========================= FND LOG =============================
595:
596: open det_override_reqd;

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

589:
590: -- =========================== FND LOG ===========================
591: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_override_flag --> TRUE ');
592: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_calling_prog_flag --> G ');
593: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_conc_flag --> FALSE ');
594: -- ========================= FND LOG =============================
595:
596: open det_override_reqd;
597: fetch det_override_reqd INTO l_override_reqd;

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

598:
599: if (det_override_reqd%NOTFOUND) then
600:
601: -- =========================== FND LOG ===========================
602: psa_utils.debug_other_string(g_state_level,l_full_path, ' det_override_reqd%NOTFOUND ');
603: -- ========================= FND LOG =============================
604:
605: open ussgl_override_reqd;
606: fetch ussgl_override_reqd INTO l_override_reqd;

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

607:
608: if (ussgl_override_reqd%FOUND) then
609:
610: -- =========================== FND LOG ===========================
611: psa_utils.debug_other_string(g_state_level,l_full_path, ' ussgl_override_reqd%FOUND ');
612: -- ========================= FND LOG =============================
613:
614: g_return_code := 'O';
615: goto normal_exit;

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

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

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

627:
628: end if;
629:
630: -- =========================== FND LOG ===========================
631: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxcon ');
632: -- ========================= FND LOG =============================
633:
634: -- Set Result Codes, Return Code, Append Journal Logic
635: if not glxcon then

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

633:
634: -- Set Result Codes, Return Code, Append Journal Logic
635: if not glxcon then
636: -- =========================== FND LOG ===========================
637: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxcon --> RETURN FALSE -> goto fatal_error');
638: -- ========================= FND LOG =============================
639: goto fatal_error;
640: end if;
641:

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

639: goto fatal_error;
640: end if;
641:
642: -- =========================== FND LOG ===========================
643: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glrchk ');
644: -- ========================= FND LOG =============================
645:
646: if not glrchk('X') then
647: -- =========================== FND LOG ===========================

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

644: -- ========================= FND LOG =============================
645:
646: if not glrchk('X') then
647: -- =========================== FND LOG ===========================
648: psa_utils.debug_other_string(g_state_level,l_full_path, ' glrchk --> RETURN FALSE -> goto fatal_error');
649: -- ========================= FND LOG =============================
650: goto fatal_error;
651: end if;
652:

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

660: close ussgl_override_reqd;
661: END IF;
662:
663: -- =========================== FND LOG ===========================
664: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code --> ' || g_return_code);
665: -- ========================= FND LOG =============================
666:
667: p_return_code := g_return_code;
668:

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

666:
667: p_return_code := g_return_code;
668:
669: -- =========================== FND LOG ===========================
670: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN --> TRUE ');
671: -- ========================= FND LOG =============================
672:
673: return(TRUE);
674:

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

675:
676: <>
677:
678: -- =========================== FND LOG ===========================
679: psa_utils.debug_other_string(g_state_level,l_full_path, ' Reached FATAL ERROR LABEL ');
680: -- ========================= FND LOG =============================
681:
682: if not glxfuf then
683: -- =========================== FND LOG ===========================

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

680: -- ========================= FND LOG =============================
681:
682: if not glxfuf then
683: -- =========================== FND LOG ===========================
684: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfuf --> RETURN FALSE -> RAISE OTHERS');
685: -- ========================= FND LOG =============================
686: raise others;
687: end if;
688:

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

686: raise others;
687: end if;
688:
689: -- =========================== FND LOG ===========================
690: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE ');
691: -- ========================= FND LOG =============================
692:
693: return(FALSE);
694:

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

695: EXCEPTION
696:
697: WHEN OTHERS THEN
698: -- =========================== FND LOG ===========================
699: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
700: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE ');
701: -- ========================= FND LOG =============================
702:
703: message_token('PROCEDURE', 'Funds Checker');

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

696:
697: WHEN OTHERS THEN
698: -- =========================== FND LOG ===========================
699: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
700: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE ');
701: -- ========================= FND LOG =============================
702:
703: message_token('PROCEDURE', 'Funds Checker');
704: message_token('EVENT', SQLERRM);

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

760:
761: l_full_path := g_path || 'glxfin';
762:
763: -- =========================== FND LOG ===========================
764: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFIN - START' );
765: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
766: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
767: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
768: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);

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

761: l_full_path := g_path || 'glxfin';
762:
763: -- =========================== FND LOG ===========================
764: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFIN - START' );
765: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
766: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
767: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
768: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
769: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);

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

762:
763: -- =========================== FND LOG ===========================
764: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFIN - START' );
765: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
766: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
767: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
768: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
769: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
770: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);

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

763: -- =========================== FND LOG ===========================
764: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFIN - START' );
765: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
766: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
767: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
768: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
769: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
770: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
771: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);

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

764: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFIN - START' );
765: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
766: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
767: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
768: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
769: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
770: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
771: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
772: -- ========================= FND LOG =============================

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

765: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
766: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
767: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
768: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
769: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
770: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
771: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
772: -- ========================= FND LOG =============================
773:

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

766: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
767: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
768: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
769: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
770: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
771: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
772: -- ========================= FND LOG =============================
773:
774: g_psa_pacheck := FALSE;

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

767: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
768: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
769: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
770: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
771: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
772: -- ========================= FND LOG =============================
773:
774: g_psa_pacheck := FALSE;
775: g_psa_grantcheck := FALSE;

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

781: g_overlapping_budget := FALSE; -- Used When there are multiple overlapping budgets for the account
782:
783:
784: -- =========================== FND LOG ===========================
785: psa_utils.debug_other_string(g_state_level,l_full_path, ' SETTING VARIABLES ' );
786: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_pacheck -> FALSE');
787: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_grantcheck -> FALSE');
788: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_enabled -> FALSE');
789: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag -> FALSE');

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

782:
783:
784: -- =========================== FND LOG ===========================
785: psa_utils.debug_other_string(g_state_level,l_full_path, ' SETTING VARIABLES ' );
786: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_pacheck -> FALSE');
787: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_grantcheck -> FALSE');
788: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_enabled -> FALSE');
789: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag -> FALSE');
790: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> FALSE');

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

783:
784: -- =========================== FND LOG ===========================
785: psa_utils.debug_other_string(g_state_level,l_full_path, ' SETTING VARIABLES ' );
786: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_pacheck -> FALSE');
787: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_grantcheck -> FALSE');
788: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_enabled -> FALSE');
789: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag -> FALSE');
790: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> FALSE');
791: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_requery_flag -> FALSE');

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

784: -- =========================== FND LOG ===========================
785: psa_utils.debug_other_string(g_state_level,l_full_path, ' SETTING VARIABLES ' );
786: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_pacheck -> FALSE');
787: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_grantcheck -> FALSE');
788: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_enabled -> FALSE');
789: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag -> FALSE');
790: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> FALSE');
791: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_requery_flag -> FALSE');
792: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ussgl_option_flag -> FALSE');

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

785: psa_utils.debug_other_string(g_state_level,l_full_path, ' SETTING VARIABLES ' );
786: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_pacheck -> FALSE');
787: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_grantcheck -> FALSE');
788: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_enabled -> FALSE');
789: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag -> FALSE');
790: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> FALSE');
791: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_requery_flag -> FALSE');
792: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ussgl_option_flag -> FALSE');
793: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_overlapping_budget -> FALSE');

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

786: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_pacheck -> FALSE');
787: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_grantcheck -> FALSE');
788: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_enabled -> FALSE');
789: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag -> FALSE');
790: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> FALSE');
791: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_requery_flag -> FALSE');
792: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ussgl_option_flag -> FALSE');
793: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_overlapping_budget -> FALSE');
794: -- ========================= FND LOG =============================

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

787: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_grantcheck -> FALSE');
788: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_enabled -> FALSE');
789: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag -> FALSE');
790: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> FALSE');
791: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_requery_flag -> FALSE');
792: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ussgl_option_flag -> FALSE');
793: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_overlapping_budget -> FALSE');
794: -- ========================= FND LOG =============================
795:

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

788: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_enabled -> FALSE');
789: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag -> FALSE');
790: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> FALSE');
791: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_requery_flag -> FALSE');
792: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ussgl_option_flag -> FALSE');
793: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_overlapping_budget -> FALSE');
794: -- ========================= FND LOG =============================
795:
796: /*===========================================+

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

789: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag -> FALSE');
790: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> FALSE');
791: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_requery_flag -> FALSE');
792: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ussgl_option_flag -> FALSE');
793: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_overlapping_budget -> FALSE');
794: -- ========================= FND LOG =============================
795:
796: /*===========================================+
797: | Assign Parameters to Global Variables |

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

801: g_packet_id := p_packetid;
802: g_fcmode := p_mode;
803:
804: -- ========================= FND LOG =============================
805: psa_utils.debug_other_string(g_state_level,l_full_path, 'Calling Get_Session_Details to fetch session variables');
806: -- ========================= FND LOG =============================
807:
808: Get_Session_Details(g_session_id, g_serial_id);
809:

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

807:
808: Get_Session_Details(g_session_id, g_serial_id);
809:
810: -- ========================= FND LOG =============================
811: psa_utils.debug_other_string(g_state_level,l_full_path, 'Session_Id = '||g_session_id);
812: psa_utils.debug_other_string(g_state_level,l_full_path, 'Serial_Id = '||g_serial_id);
813: -- ========================= FND LOG =============================
814:
815: IF p_calling_prog_flag IN ('P', 'H') THEN

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

808: Get_Session_Details(g_session_id, g_serial_id);
809:
810: -- ========================= FND LOG =============================
811: psa_utils.debug_other_string(g_state_level,l_full_path, 'Session_Id = '||g_session_id);
812: psa_utils.debug_other_string(g_state_level,l_full_path, 'Serial_Id = '||g_serial_id);
813: -- ========================= FND LOG =============================
814:
815: IF p_calling_prog_flag IN ('P', 'H') THEN
816: -- ========================= FND LOG =============================

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

813: -- ========================= FND LOG =============================
814:
815: IF p_calling_prog_flag IN ('P', 'H') THEN
816: -- ========================= FND LOG =============================
817: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag = P or H -> g_calling_prog_flag = S');
818: -- ========================= FND LOG =============================
819:
820: g_calling_prog_flag := 'S';
821: ELSE

Line 823: 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);

819:
820: g_calling_prog_flag := 'S';
821: ELSE
822: -- ========================= FND LOG =============================
823: 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);
824: -- ========================= FND LOG =============================
825:
826: g_calling_prog_flag := p_calling_prog_flag;
827: END IF;

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

827: END IF;
828:
829: IF g_fcmode ='C' THEN -- Funds Check Partial Mode Check
830: -- ========================= FND LOG =====================================
831: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = C -> g_partial_resv_flag = Y');
832: -- ========================= FND LOG =====================================
833:
834: g_partial_resv_flag := 'Y';
835: ELSIF g_fcmode = 'M' THEN -- Funds Check Full Mode Check

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

833:
834: g_partial_resv_flag := 'Y';
835: ELSIF g_fcmode = 'M' THEN -- Funds Check Full Mode Check
836: -- ========================= FND LOG =====================================
837: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = M -> g_partial_resv_flag = N');
838: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = M -> g_fcmode = C');
839: -- ========================= FND LOG =====================================
840:
841: g_partial_resv_flag := 'N';

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

834: g_partial_resv_flag := 'Y';
835: ELSIF g_fcmode = 'M' THEN -- Funds Check Full Mode Check
836: -- ========================= FND LOG =====================================
837: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = M -> g_partial_resv_flag = N');
838: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = M -> g_fcmode = C');
839: -- ========================= FND LOG =====================================
840:
841: g_partial_resv_flag := 'N';
842: g_fcmode := 'C';

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

841: g_partial_resv_flag := 'N';
842: g_fcmode := 'C';
843: ELSIF g_fcmode = 'P' THEN -- Funds Reserve Partial Mode Check
844: -- ========================= FND LOG =====================================
845: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = P -> g_partial_resv_flag = Y');
846: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = P -> g_fcmode = R');
847: -- ========================= FND LOG =====================================
848:
849: g_partial_resv_flag := 'Y';

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

842: g_fcmode := 'C';
843: ELSIF g_fcmode = 'P' THEN -- Funds Reserve Partial Mode Check
844: -- ========================= FND LOG =====================================
845: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = P -> g_partial_resv_flag = Y');
846: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = P -> g_fcmode = R');
847: -- ========================= FND LOG =====================================
848:
849: g_partial_resv_flag := 'Y';
850: g_fcmode := 'R';

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

849: g_partial_resv_flag := 'Y';
850: g_fcmode := 'R';
851: ELSE
852: -- ========================= FND LOG =====================================
853: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode != C, M and P -> g_partial_resv_flag = N');
854: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> '||g_fcmode);
855: -- ========================= FND LOG =====================================
856:
857: g_partial_resv_flag := 'N';

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

850: g_fcmode := 'R';
851: ELSE
852: -- ========================= FND LOG =====================================
853: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode != C, M and P -> g_partial_resv_flag = N');
854: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> '||g_fcmode);
855: -- ========================= FND LOG =====================================
856:
857: g_partial_resv_flag := 'N';
858: END IF;

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

857: g_partial_resv_flag := 'N';
858: END IF;
859:
860: -- =========================== FND LOG ===========================
861: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ledger_id -> ' || g_ledger_id);
862: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id -> ' || g_packet_id);
863: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);
864: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_partial_resv_flag -> '|| g_partial_resv_flag);
865: -- ========================= FND LOG =============================

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

858: END IF;
859:
860: -- =========================== FND LOG ===========================
861: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ledger_id -> ' || g_ledger_id);
862: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id -> ' || g_packet_id);
863: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);
864: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_partial_resv_flag -> '|| g_partial_resv_flag);
865: -- ========================= FND LOG =============================
866:

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

859:
860: -- =========================== FND LOG ===========================
861: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ledger_id -> ' || g_ledger_id);
862: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id -> ' || g_packet_id);
863: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);
864: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_partial_resv_flag -> '|| g_partial_resv_flag);
865: -- ========================= FND LOG =============================
866:
867: /*========================+

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

860: -- =========================== FND LOG ===========================
861: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ledger_id -> ' || g_ledger_id);
862: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id -> ' || g_packet_id);
863: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);
864: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_partial_resv_flag -> '|| g_partial_resv_flag);
865: -- ========================= FND LOG =============================
866:
867: /*========================+
868: | Set Overrides Flag |

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

869: +========================*/
870:
871: if (p_override = 'N') then
872: -- =========================== FND LOG ===========================
873: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override = N -> g_override_flag = FALSE');
874: -- =========================== FND LOG ===========================
875:
876: g_override_flag := FALSE;
877: else

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

875:
876: g_override_flag := FALSE;
877: else
878: -- =========================== FND LOG ===========================
879: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override != N -> g_override_flag = TRUE');
880: -- =========================== FND LOG ===========================
881:
882: g_override_flag := TRUE;
883: end if;

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

893: g_user_id := FND_GLOBAL.USER_ID;
894: end if;
895:
896: -- =========================== FND LOG ===========================
897: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_user_id -> ' || g_user_id);
898: -- ========================= FND LOG =============================
899:
900: if g_user_id = -1 then
901: message_token('PROCEDURE', 'Funds Checker');

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

900: if g_user_id = -1 then
901: message_token('PROCEDURE', 'Funds Checker');
902: add_message('SQLGL', 'GL_INVALID_USERID');
903: -- =========================== FND LOG ===========================
904: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE');
905: -- ========================= FND LOG =============================
906: g_debug := g_debug||' GLXFIN Failed : G_USER_ID = -1';
907: return(FALSE);
908: end if;

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

917: g_resp_appl_id := 101;
918: end if;
919:
920: -- =========================== FND LOG ===========================
921: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_resp_appl_id -> ' || g_resp_appl_id);
922: -- ========================= FND LOG =============================
923:
924: /*=========================+
925: | Get Responsibility ID |

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

932: g_user_resp_id := FND_GLOBAL.RESP_ID;
933: end if;
934:
935: -- =========================== FND LOG ===========================
936: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_user_resp_id -> ' || g_user_resp_id);
937: -- ========================= FND LOG =============================
938:
939: if g_user_resp_id = -1 then
940: message_token('PROCEDURE', 'Funds Checker');

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

939: if g_user_resp_id = -1 then
940: message_token('PROCEDURE', 'Funds Checker');
941: add_message('SQLGL', 'GL_INVALID_RESPID');
942: -- =========================== FND LOG ===========================
943: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE');
944: -- ========================= FND LOG =============================
945: g_debug := g_debug||' GLXFIN Failed : G_USER_RESP_ID = -1';
946: return(FALSE);
947: end if;

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

958: end if;
959:
960: -- =========================== FND LOG ===========================
961: IF (g_conc_flag) THEN
962: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_conc_flag -> TRUE');
963: ELSE
964: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_conc_flag -> FALSE');
965: END IF;
966: -- ========================= FND LOG =============================

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

960: -- =========================== FND LOG ===========================
961: IF (g_conc_flag) THEN
962: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_conc_flag -> TRUE');
963: ELSE
964: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_conc_flag -> FALSE');
965: END IF;
966: -- ========================= FND LOG =============================
967:
968: IF g_calling_prog_flag = 'G' THEN

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

977: l_industry,
978: l_defined);
979:
980: -- =========================== FND LOG ===========================
981: psa_utils.debug_other_string(g_state_level,l_full_path, ' Getting INDUSTRY details ');
982: -- ========================= FND LOG =============================
983:
984: if not l_defined then
985: if not FND_INSTALLATION.GET(g_resp_appl_id,

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

989:
990: message_token('ROUTINE', 'Funds Checker');
991: add_message('SQLGL', 'GL_CANT_GET_INSTALL_INDUSTRY');
992: -- =========================== FND LOG ===========================
993: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE');
994: -- ========================= FND LOG =============================
995: g_debug := g_debug||' GLXFIN Failed : Oracle General Ledger
996: was unable to get installation industry from Funds Checker.
997: Contact your system administrator.';

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

1002:
1003: -- Check for Profiles if Government Install
1004:
1005: -- =========================== FND LOG ===========================
1006: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_industry -> ' || l_industry);
1007: -- ========================= FND LOG =============================
1008:
1009: if l_industry = 'G' then
1010:

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

1011: FND_PROFILE.GET('USSGL_OPTION', l_value);
1012:
1013: if l_value is null then
1014: -- =========================== FND LOG ===========================
1015: psa_utils.debug_other_string(g_state_level,l_full_path, ' RAISE OTHERS');
1016: -- ========================= FND LOG =============================
1017: raise others;
1018: end if;
1019:

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

1017: raise others;
1018: end if;
1019:
1020: -- =========================== FND LOG ===========================
1021: psa_utils.debug_other_string(g_state_level,l_full_path, ' USSGL_OPTION, l_value -> ' || l_Value);
1022: -- ========================= FND LOG =============================
1023:
1024: if l_value = 'Y' then
1025: -- =========================== FND LOG ===========================

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

1022: -- ========================= FND LOG =============================
1023:
1024: if l_value = 'Y' then
1025: -- =========================== FND LOG ===========================
1026: psa_utils.debug_other_string(g_state_level,l_full_path, ' G_USSGL_OPTION_FLAG -> TRUE ');
1027: -- ========================= FND LOG =============================
1028: g_ussgl_option_flag := TRUE;
1029: end if;
1030:

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

1037: l_fv_prepay_prof,
1038: l_fv_prepay_defined);
1039:
1040: -- =========================== FND LOG ===========================
1041: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_fv_prepay_prof -> ' || l_fv_prepay_prof);
1042: -- ========================= FND LOG =============================
1043:
1044: if l_fv_prepay_prof = 'Y' then
1045: g_fv_prepay_prof := TRUE;

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

1048: end if;
1049:
1050: -- =========================== FND LOG ===========================
1051: IF (g_fv_prepay_prof) THEN
1052: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fv_prepay_prof -> TRUE');
1053: ELSE
1054: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fv_prepay_prof -> FALSE');
1055: END IF;
1056: -- ========================= FND LOG =============================

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

1050: -- =========================== FND LOG ===========================
1051: IF (g_fv_prepay_prof) THEN
1052: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fv_prepay_prof -> TRUE');
1053: ELSE
1054: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fv_prepay_prof -> FALSE');
1055: END IF;
1056: -- ========================= FND LOG =============================
1057:
1058: end if;

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

1071: g_reverse_tc_flag := l_reverse_tc_flag;
1072: end if;
1073:
1074: -- =========================== FND LOG ===========================
1075: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_reverse_tc_flag -> ' || g_reverse_tc_flag);
1076: -- ========================= FND LOG =============================
1077:
1078: end if; -- l_industry = 'G'
1079:

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

1083: /*
1084: FND_PROFILE.GET('CREATE_BUDGETARY_ENCUMBRANCES', l_value);
1085:
1086: -- =========================== FND LOG ===========================
1087: psa_utils.debug_other_string(g_state_level,l_full_path, ' CBE - l_value -> ' || l_Value);
1088: -- ========================= FND LOG =============================
1089:
1090: if l_value is null then
1091: -- =========================== FND LOG ===========================

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

1088: -- ========================= FND LOG =============================
1089:
1090: if l_value is null then
1091: -- =========================== FND LOG ===========================
1092: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_value is null -> raise others');
1093: -- ========================= FND LOG =============================
1094:
1095: raise others;
1096: else

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

1094:
1095: raise others;
1096: else
1097: -- =========================== FND LOG ===========================
1098: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_value not null -> g_budgetary_enc_flag = l_value = ' || l_value);
1099: -- ========================= FND LOG =============================
1100:
1101: g_budgetary_enc_flag := l_value;
1102: end if;

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

1109: FND_PROFILE.GET('PSA_DEBUG_MODE', l_value);
1110:
1111: IF l_value = 'Y' THEN
1112: -- =========================== FND LOG ===========================
1113: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_value = Y -> g_xla_debug = TRUE');
1114: -- ========================= FND LOG =============================
1115:
1116: g_xla_debug := TRUE;
1117: ELSE

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

1115:
1116: g_xla_debug := TRUE;
1117: ELSE
1118: -- =========================== FND LOG ===========================
1119: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_value != Y -> g_xla_debug = FALSE');
1120: -- ========================= FND LOG =============================
1121:
1122: g_xla_debug := FALSE;
1123: END IF;

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

1141:
1142: g_bc_option_id := to_number(l_value);
1143:
1144: -- =========================== FND LOG ===========================
1145: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_bc_option_id -> ' || g_bc_option_id);
1146: -- ========================= FND LOG =============================
1147:
1148: g_return_code := NULL;
1149:

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

1149:
1150: g_num_segs := 0;
1151:
1152: -- =========================== FND LOG ===========================
1153: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code -> ' || g_return_code);
1154: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_num_segs -> ' || g_num_segs);
1155: -- ========================= FND LOG =============================
1156:
1157: for i in 1..30 loop

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

1150: g_num_segs := 0;
1151:
1152: -- =========================== FND LOG ===========================
1153: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code -> ' || g_return_code);
1154: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_num_segs -> ' || g_num_segs);
1155: -- ========================= FND LOG =============================
1156:
1157: for i in 1..30 loop
1158: seg_name(i) := null;

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

1164: | Check for PA enabled |
1165: +=============================*/
1166:
1167: -- =========================== FND LOG ===========================
1168: psa_utils.debug_other_string(g_state_level,l_full_path, ' Check PA is enable or not ' );
1169: -- ========================= FND LOG =============================
1170:
1171: BEGIN
1172: l_industry := NULL;

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

1180: l_pa_enabled := 0;
1181: l_prepare_stmt := 'BEGIN IF PA_BUDGET_FUND_PKG.IS_PA_BC_ENABLED() THEN'||' :1 := 1; END IF; END;';
1182:
1183: -- =========================== FND LOG ===========================
1184: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_prepare_stmt -> ' || l_prepare_stmt );
1185: -- ========================= FND LOG =============================
1186:
1187: EXECUTE IMMEDIATE l_prepare_stmt USING OUT l_pa_enabled;
1188:

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

1186:
1187: EXECUTE IMMEDIATE l_prepare_stmt USING OUT l_pa_enabled;
1188:
1189: -- =========================== FND LOG ===========================
1190: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_pa_enabled -> ' || l_pa_enabled );
1191: -- ========================= FND LOG =============================
1192:
1193:
1194: IF l_pa_enabled = 1 THEN

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

1195:
1196: g_psa_pacheck := TRUE;
1197:
1198: -- =========================== FND LOG ===========================
1199: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_pacheck --> TRUE ' );
1200: -- ========================= FND LOG =============================
1201:
1202: END IF;
1203: END IF;

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

1207: WHEN OTHERS THEN
1208: g_psa_pacheck := FALSE;
1209:
1210: -- =========================== FND LOG ===========================
1211: psa_utils.debug_other_string(g_excep_level,l_full_path, ' g_psa_pacheck --> FALSE ' );
1212: psa_utils.debug_other_string(g_excep_level,l_full_path, ' ERROR: '||sqlerrm );
1213: -- ========================= FND LOG =============================
1214: END;
1215:

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

1208: g_psa_pacheck := FALSE;
1209:
1210: -- =========================== FND LOG ===========================
1211: psa_utils.debug_other_string(g_excep_level,l_full_path, ' g_psa_pacheck --> FALSE ' );
1212: psa_utils.debug_other_string(g_excep_level,l_full_path, ' ERROR: '||sqlerrm );
1213: -- ========================= FND LOG =============================
1214: END;
1215:
1216:

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

1218: | Check for GMS enabled |
1219: +=============================*/
1220:
1221: -- =========================== FND LOG ===========================
1222: psa_utils.debug_other_string(g_state_level,l_full_path, ' Check GMS is enable or not ' );
1223: -- ========================= FND LOG =============================
1224: BEGIN
1225: l_industry := NULL;
1226: l_prepare_stmt := NULL;

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

1233: l_gms_enabled := 0;
1234: l_prepare_stmt := 'BEGIN IF GMS_INSTALL.ENABLED() THEN'||' :1 := 1; END IF; END;';
1235:
1236: -- =========================== FND LOG ===========================
1237: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_prepare_stmt -> ' || l_prepare_stmt );
1238: -- ========================= FND LOG =============================
1239:
1240: EXECUTE IMMEDIATE l_prepare_stmt USING OUT l_gms_enabled;
1241:

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

1239:
1240: EXECUTE IMMEDIATE l_prepare_stmt USING OUT l_gms_enabled;
1241:
1242: -- =========================== FND LOG ===========================
1243: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_gms_enabled -> ' || l_gms_enabled );
1244: -- ========================= FND LOG =============================
1245:
1246:
1247: IF l_gms_enabled = 1 THEN

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

1248:
1249: g_psa_grantcheck := TRUE;
1250:
1251: -- =========================== FND LOG ===========================
1252: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_grantcheck --> TRUE ' );
1253: -- ========================= FND LOG =============================
1254:
1255: END IF;
1256: END IF;

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

1260: WHEN OTHERS THEN
1261: g_psa_grantcheck := FALSE;
1262:
1263: -- =========================== FND LOG ===========================
1264: psa_utils.debug_other_string(g_excep_level,l_full_path, ' g_psa_grantcheck --> FALSE ' );
1265: psa_utils.debug_other_string(g_excep_level,l_full_path, ' ERROR: '||sqlerrm );
1266: -- ========================= FND LOG =============================
1267: END;
1268:

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

1261: g_psa_grantcheck := FALSE;
1262:
1263: -- =========================== FND LOG ===========================
1264: psa_utils.debug_other_string(g_excep_level,l_full_path, ' g_psa_grantcheck --> FALSE ' );
1265: psa_utils.debug_other_string(g_excep_level,l_full_path, ' ERROR: '||sqlerrm );
1266: -- ========================= FND LOG =============================
1267: END;
1268:
1269:

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

1271: | Check CBC Enabled |
1272: +========================*/
1273:
1274: -- =========================== FND LOG ===========================
1275: psa_utils.debug_other_string(g_state_level,l_full_path, ' Check CBC is enabled or not' );
1276: -- ========================= FND LOG =============================
1277:
1278: BEGIN
1279:

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

1280: IF (l_igi_status = 'I') THEN
1281:
1282: l_prepare_stmt := 'SELECT cc_bc_enable_flag FROM igc_cc_bc_enable WHERE set_of_books_id = :1';
1283: -- =========================== FND LOG ===========================
1284: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_prepare_stmt -> ' || l_prepare_stmt );
1285: -- ========================= FND LOG =============================
1286:
1287: EXECUTE IMMEDIATE l_prepare_stmt INTO l_cbc_enabled USING g_ledger_id;
1288:

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

1294: EXCEPTION
1295: WHEN OTHERS THEN
1296: g_cbc_enabled := FALSE;
1297: -- =========================== FND LOG ===========================
1298: psa_utils.debug_other_string(g_excep_level,l_full_path, ' g_cbc_enabled --> FALSE ' );
1299: psa_utils.debug_other_string(g_excep_level,l_full_path, ' ERROR: '||sqlerrm );
1300: -- ========================= FND LOG =============================
1301: END;
1302:

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

1295: WHEN OTHERS THEN
1296: g_cbc_enabled := FALSE;
1297: -- =========================== FND LOG ===========================
1298: psa_utils.debug_other_string(g_excep_level,l_full_path, ' g_cbc_enabled --> FALSE ' );
1299: psa_utils.debug_other_string(g_excep_level,l_full_path, ' ERROR: '||sqlerrm );
1300: -- ========================= FND LOG =============================
1301: END;
1302:
1303:

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

1302:
1303:
1304: IF g_cbc_enabled THEN
1305: -- =========================== FND LOG ===========================
1306: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_enabled --> TRUE');
1307: -- ========================= FND LOG =============================
1308: ELSE
1309: -- =========================== FND LOG ===========================
1310: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_enabled --> FALSE');

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

1306: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_enabled --> TRUE');
1307: -- ========================= FND LOG =============================
1308: ELSE
1309: -- =========================== FND LOG ===========================
1310: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_enabled --> FALSE');
1311: -- ========================= FND LOG =============================
1312: END IF;
1313:
1314:

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

1320: FETCH set_of_books INTO g_coa_id, g_func_curr_code;
1321: CLOSE set_of_books;
1322:
1323: -- =========================== FND LOG ===========================
1324: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_coa_id -> ' || g_coa_id);
1325: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_func_curr_code -> ' || g_func_curr_code);
1326: -- ========================= FND LOG =============================
1327:
1328: -- ===============================================================

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

1321: CLOSE set_of_books;
1322:
1323: -- =========================== FND LOG ===========================
1324: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_coa_id -> ' || g_coa_id);
1325: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_func_curr_code -> ' || g_func_curr_code);
1326: -- ========================= FND LOG =============================
1327:
1328: -- ===============================================================
1329: psa_utils.debug_other_string(g_state_level,l_full_path,'Getting value of Profile PSA_ENABLE_EFC');

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

1325: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_func_curr_code -> ' || g_func_curr_code);
1326: -- ========================= FND LOG =============================
1327:
1328: -- ===============================================================
1329: psa_utils.debug_other_string(g_state_level,l_full_path,'Getting value of Profile PSA_ENABLE_EFC');
1330: -- ===============================================================
1331:
1332: FND_PROFILE.GET('PSA_ENABLE_EFC',g_enable_efc_flag);
1333:

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

1331:
1332: FND_PROFILE.GET('PSA_ENABLE_EFC',g_enable_efc_flag);
1333:
1334: -- ================================================================
1335: psa_utils.debug_other_string(g_state_level,l_full_path,'Value of Profile PSA_ENABLE_EFC' || g_enable_efc_flag);
1336: -- ================================================================
1337:
1338: -- =========================== FND LOG ===========================
1339: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE');

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

1335: psa_utils.debug_other_string(g_state_level,l_full_path,'Value of Profile PSA_ENABLE_EFC' || g_enable_efc_flag);
1336: -- ================================================================
1337:
1338: -- =========================== FND LOG ===========================
1339: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE');
1340: -- ========================= FND LOG =============================
1341:
1342: return(TRUE);
1343:

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

1345: EXCEPTION
1346:
1347: WHEN OTHERS THEN
1348: -- ========================= FND LOG ===========================
1349: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
1350: -- ========================= FND LOG ===========================
1351:
1352: message_token('PROCEDURE', 'Funds Checker');
1353: message_token('EVENT', SQLERRM);

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

1353: message_token('EVENT', SQLERRM);
1354: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
1355:
1356: -- ========================= FND LOG ===========================
1357: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN --> FALSE ');
1358: -- ========================= FND LOG ===========================
1359: g_debug := g_debug||' GLXFIN Failed : '||SQLERRM;
1360:
1361: return(FALSE);

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

1384:
1385: l_full_path := g_path || 'glxfcp';
1386:
1387: -- =========================== FND LOG ===========================
1388: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFCP - START' );
1389: -- ========================= FND LOG =============================
1390:
1391: --
1392: -- If Mode is Unreservation, assign Packet ID to Unreservation Packet ID

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

1395: -- error occurs before glxfiu()
1396: --
1397:
1398: -- =========================== FND LOG ===========================
1399: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);
1400: -- ========================= FND LOG =============================
1401:
1402: if g_fcmode = 'U' then
1403: g_packet_id_ursvd := g_packet_id;

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

1406: g_packet_id_ursvd := 0;
1407: end if;
1408:
1409: -- =========================== FND LOG ===========================
1410: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id_ursvd -> ' || g_packet_id_ursvd);
1411: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id -> ' || g_packet_id);
1412: -- ========================= FND LOG =============================
1413:
1414: IF g_cbc_enabled THEN

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

1407: end if;
1408:
1409: -- =========================== FND LOG ===========================
1410: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id_ursvd -> ' || g_packet_id_ursvd);
1411: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id -> ' || g_packet_id);
1412: -- ========================= FND LOG =============================
1413:
1414: IF g_cbc_enabled THEN
1415:

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

1413:
1414: IF g_cbc_enabled THEN
1415:
1416: -- =========================== FND LOG ===========================
1417: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling GLZCBC ');
1418: -- ========================= FND LOG =============================
1419:
1420: g_cbc_retcode := glzcbc;
1421:

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

1419:
1420: g_cbc_retcode := glzcbc;
1421:
1422: -- =========================== FND LOG ===========================
1423: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_retcode -> ' || g_cbc_retcode);
1424: -- ========================= FND LOG =============================
1425:
1426: IF g_cbc_retcode = -1 THEN
1427:

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

1425:
1426: IF g_cbc_retcode = -1 THEN
1427:
1428: -- =========================== FND LOG ===========================
1429: psa_utils.debug_other_string(g_state_level,l_full_path, ' glzcbc RETURN -> FALSE');
1430: psa_utils.debug_other_string(g_state_level,l_full_path, ' ERROR: ROLLBACK, RETURN -> FALSE');
1431: -- ========================= FND LOG =============================
1432:
1433: g_debug := g_debug||' GLXFCP Failed : G_CBC_RETOCDE = -1';

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

1426: IF g_cbc_retcode = -1 THEN
1427:
1428: -- =========================== FND LOG ===========================
1429: psa_utils.debug_other_string(g_state_level,l_full_path, ' glzcbc RETURN -> FALSE');
1430: psa_utils.debug_other_string(g_state_level,l_full_path, ' ERROR: ROLLBACK, RETURN -> FALSE');
1431: -- ========================= FND LOG =============================
1432:
1433: g_debug := g_debug||' GLXFCP Failed : G_CBC_RETOCDE = -1';
1434: -- Bug 3214062

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

1437:
1438: ELSIF g_cbc_retcode = 0 THEN
1439:
1440: -- =========================== FND LOG ===========================
1441: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfrc ');
1442: -- ========================= FND LOG =============================
1443:
1444: if not glxfrc then
1445: -- =========================== FND LOG ===========================

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

1442: -- ========================= FND LOG =============================
1443:
1444: if not glxfrc then
1445: -- =========================== FND LOG ===========================
1446: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfrc RETURN -> FALSE');
1447: psa_utils.debug_other_string(g_state_level,l_full_path, ' ERROR: ROLLBACK, RETURN -> FALSE');
1448: -- ========================= FND LOG =============================
1449:
1450: -- Bug 3214062

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

1443:
1444: if not glxfrc then
1445: -- =========================== FND LOG ===========================
1446: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfrc RETURN -> FALSE');
1447: psa_utils.debug_other_string(g_state_level,l_full_path, ' ERROR: ROLLBACK, RETURN -> FALSE');
1448: -- ========================= FND LOG =============================
1449:
1450: -- Bug 3214062
1451: rollback;

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

1455: -- Bug 3214062
1456: commit;
1457:
1458: -- =========================== FND LOG ===========================
1459: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE');
1460: -- ========================= FND LOG =============================
1461:
1462: RETURN TRUE;
1463:

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

1465:
1466: END IF; -- g_cbc_enabled
1467:
1468: -- =========================== FND LOG ===========================
1469: psa_utils.debug_other_string(g_state_level,l_full_path, ' resetting g_append_je_flag to FALSE ');
1470: -- ========================= FND LOG =============================
1471:
1472: -- Reset Append JE Flag
1473: g_append_je_flag := FALSE;

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

1479: if ((g_ussgl_option_flag) and
1480: (g_fcmode <> 'U')) then
1481:
1482: -- =========================== FND LOG ===========================
1483: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ussgl_option_flag -> TRUE ');
1484: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode <> U ');
1485: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling fv_prepay_pkg ');
1486: -- ========================= FND LOG =============================
1487:

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

1480: (g_fcmode <> 'U')) then
1481:
1482: -- =========================== FND LOG ===========================
1483: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ussgl_option_flag -> TRUE ');
1484: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode <> U ');
1485: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling fv_prepay_pkg ');
1486: -- ========================= FND LOG =============================
1487:
1488: if not fv_prepay_pkg then

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

1481:
1482: -- =========================== FND LOG ===========================
1483: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ussgl_option_flag -> TRUE ');
1484: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode <> U ');
1485: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling fv_prepay_pkg ');
1486: -- ========================= FND LOG =============================
1487:
1488: if not fv_prepay_pkg then
1489: -- =========================== FND LOG ===========================

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

1486: -- ========================= FND LOG =============================
1487:
1488: if not fv_prepay_pkg then
1489: -- =========================== FND LOG ===========================
1490: psa_utils.debug_other_string(g_state_level,l_full_path, ' fv_prepay_pkg - RETURN -> FALSE');
1491: -- ========================= FND LOG =============================
1492: g_debug := g_debug||' GLXFCP Failed : FV_PREPAY_PKG failed';
1493: rollback;
1494: return (FALSE);

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

1494: return (FALSE);
1495: end if;
1496:
1497: -- =========================== FND LOG ===========================
1498: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfug ');
1499: -- ========================= FND LOG =============================
1500:
1501: if not glxfug then
1502: -- =========================== FND LOG ===========================

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

1499: -- ========================= FND LOG =============================
1500:
1501: if not glxfug then
1502: -- =========================== FND LOG ===========================
1503: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFUG - RETURN -> FALSE');
1504: -- ========================= FND LOG =============================
1505: rollback;
1506: return(FALSE);
1507: end if;

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

1512: -- for proper pre-processing.
1513:
1514: if g_psa_pacheck then
1515: -- =========================== FND LOG ===========================
1516: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_pacheck -> TRUE');
1517: -- ========================= FND LOG =============================
1518:
1519: if not glzpafck then
1520: -- =========================== FND LOG ===========================

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

1517: -- ========================= FND LOG =============================
1518:
1519: if not glzpafck then
1520: -- =========================== FND LOG ===========================
1521: psa_utils.debug_other_string(g_state_level,l_full_path, ' glzpafck - RETURN -> FALSE');
1522: -- ========================= FND LOG =============================
1523: rollback;
1524: return(FALSE);
1525: end if;

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

1526:
1527: end if;
1528:
1529: -- =========================== FND LOG ===========================
1530: psa_utils.debug_other_string(g_state_level,l_full_path, ' Populating records in PSA_OPTION_DETAILS_GT ');
1531: -- ========================= FND LOG =============================
1532:
1533: FOR indx IN source_cat
1534: LOOP

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

1547: FROM gl_bc_option_details bc
1548: WHERE bc_option_id = g_bc_option_id);
1549:
1550: -- =========================== FND LOG ===========================
1551: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_option_selected -> '||l_option_selected);
1552: -- ========================= FND LOG =============================
1553:
1554: INSERT INTO psa_option_details_gt
1555: ( packet_id,

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

1588: 3, indx.je_category_name,
1589: 'Other');
1590:
1591: -- =========================== FND LOG ===========================
1592: psa_utils.debug_other_string(g_state_level,l_full_path, sql%rowcount||' Rows Inserted into psa_option_details_gt ');
1593: -- ========================= FND LOG =============================
1594:
1595:
1596: END LOOP;

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

1598: -- If Mode is Unreservation, insert Unreservation Packet into the queue
1599: if g_fcmode = 'U' then
1600:
1601: -- =========================== FND LOG ===========================
1602: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = U ');
1603: -- ========================= FND LOG =============================
1604:
1605: if not glxfiu then
1606: -- =========================== FND LOG ===========================

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

1603: -- ========================= FND LOG =============================
1604:
1605: if not glxfiu then
1606: -- =========================== FND LOG ===========================
1607: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfui - RETURN -> FALSE ');
1608: -- ========================= FND LOG =============================
1609: rollback;
1610: return(FALSE);
1611: end if;

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

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

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

1629:
1630: gms_retcode := '~';
1631:
1632: -- =========================== FND LOG ===========================
1633: psa_utils.debug_other_string(g_state_level,l_full_path, ' gms_retcode -> ' || gms_retcode);
1634: -- ========================= FND LOG =============================
1635:
1636: if g_psa_grantcheck then
1637: -- =========================== FND LOG ===========================

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

1634: -- ========================= FND LOG =============================
1635:
1636: if g_psa_grantcheck then
1637: -- =========================== FND LOG ===========================
1638: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glzgchk');
1639: -- ========================= FND LOG =============================
1640: g_psa_grantcheck := glzgchk;
1641: end if;
1642:

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

1643: -- Process Balances
1644:
1645: if (g_fcmode <> 'F') then
1646: -- =========================== FND LOG ===========================
1647: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode <> F');
1648: -- ========================= FND LOG =============================
1649:
1650: if not glxfgb then
1651: -- =========================== FND LOG ===========================

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

1648: -- ========================= FND LOG =============================
1649:
1650: if not glxfgb then
1651: -- =========================== FND LOG ===========================
1652: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfgb -> FALSE');
1653: -- ========================= FND LOG =============================
1654: rollback;
1655: return(FALSE);
1656: end if;

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

1663: -- ## is not supported in 11.5 and beyond.
1664:
1665: if not glxfrc then
1666: -- =========================== FND LOG ===========================
1667: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfrc -> FALSE');
1668: -- ========================= FND LOG =============================
1669: rollback;
1670: return(FALSE);
1671: end if;

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

1675: --
1676: commit;
1677:
1678: -- =========================== FND LOG ===========================
1679: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE');
1680: -- ========================= FND LOG =============================
1681:
1682: return(TRUE);
1683:

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

1684: EXCEPTION
1685:
1686: WHEN OTHERS THEN
1687: -- =========================== FND LOG ===========================
1688: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
1689: -- ========================= FND LOG =============================
1690:
1691: message_token('PROCEDURE', 'Funds Checker');
1692: message_token('EVENT', SQLERRM);

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

1696: -- Bug 3214062
1697: rollback;
1698:
1699: -- =========================== FND LOG ===========================
1700: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> TRUE');
1701: -- ========================= FND LOG =============================
1702: return(FALSE);
1703:
1704: END glxfcp;

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

1787:
1788: l_full_path := g_path || 'glxfug';
1789:
1790: -- =========================== FND LOG ===========================
1791: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFUG - START' );
1792: -- ========================= FND LOG =============================
1793:
1794: -- Check that USSGL transactions need to be created since the overhead for
1795: -- constructing and executing the Dynamic SQL for inserting USSGL

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

1799:
1800: fetch ussgl into l_tmpmsg;
1801:
1802: -- =========================== FND LOG ===========================
1803: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_tmpmsg -> ' || l_tmpmsg );
1804: -- ========================= FND LOG =============================
1805:
1806: -- No USSGL Transactions need to be created
1807: if ussgl%NOTFOUND then

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

1805:
1806: -- No USSGL Transactions need to be created
1807: if ussgl%NOTFOUND then
1808: -- =========================== FND LOG ===========================
1809: psa_utils.debug_other_string(g_state_level,l_full_path, ' goto normal_exit label' );
1810: -- ========================= FND LOG =============================
1811: goto normal_exit;
1812: end if;
1813:

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

1822: fetch append_je into l_tmpmsg;
1823:
1824: if append_je%FOUND then
1825: -- =========================== FND LOG ===========================
1826: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> TRUE');
1827: -- ========================= FND LOG =============================
1828: g_append_je_flag := TRUE;
1829: else
1830: -- =========================== FND LOG ===========================

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

1827: -- ========================= FND LOG =============================
1828: g_append_je_flag := TRUE;
1829: else
1830: -- =========================== FND LOG ===========================
1831: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> FALSE');
1832: -- ========================= FND LOG =============================
1833: g_append_je_flag := FALSE;
1834: end if;
1835:

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

1842: BP.packet_id = g_packet_id
1843: AND BP.ussgl_transaction_code IS NOT NULL;
1844:
1845: -- =========================== FND LOG ===========================
1846: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets -> ' || SQL%ROWCOUNT );
1847: -- ========================= FND LOG =============================
1848:
1849: if g_append_je_flag then
1850:

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

1885:
1886: end if;
1887:
1888: -- =========================== FND LOG ===========================
1889: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets -> ' || SQL%ROWCOUNT );
1890: psa_utils.debug_other_string(g_state_level,l_full_path, 'Calling glxfkf' );
1891: -- ========================= FND LOG =============================
1892:
1893: -- Retrieve Flex Info for the Flex Structure

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

1886: end if;
1887:
1888: -- =========================== FND LOG ===========================
1889: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets -> ' || SQL%ROWCOUNT );
1890: psa_utils.debug_other_string(g_state_level,l_full_path, 'Calling glxfkf' );
1891: -- ========================= FND LOG =============================
1892:
1893: -- Retrieve Flex Info for the Flex Structure
1894: if not glxfkf then

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

1892:
1893: -- Retrieve Flex Info for the Flex Structure
1894: if not glxfkf then
1895: -- =========================== FND LOG ===========================
1896: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfkf ->False --> RETURN FALSE' );
1897: -- ========================= FND LOG =============================
1898: return(FALSE);
1899: end if;
1900:

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

2025: 'bp.last_update_date, ' ||
2026: 'bp.last_updated_by, ';
2027:
2028: -- =========================== FND LOG ===========================
2029: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_reverse_tc_flag -> ' || g_reverse_tc_flag );
2030: -- ========================= FND LOG =============================
2031:
2032: if g_reverse_tc_flag = 'N' then
2033:

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

2233: 'and bp.packet_id = ' || g_packet_id || ' ' ||
2234: 'and bp.ussgl_transaction_code is not null';
2235:
2236: -- =========================== FND LOG ===========================
2237: psa_utils.debug_other_string(g_state_level,l_full_path, ' sql_ussgl -> ' || SUBSTR(sql_ussgl,1,3500));
2238: psa_utils.debug_other_string(g_state_level,l_full_path, ' sql_ussgl -> ' || SUBSTR(sql_ussgl,3500,7000));
2239: -- ========================= FND LOG =============================
2240:
2241: execute immediate sql_ussgl;

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

2234: 'and bp.ussgl_transaction_code is not null';
2235:
2236: -- =========================== FND LOG ===========================
2237: psa_utils.debug_other_string(g_state_level,l_full_path, ' sql_ussgl -> ' || SUBSTR(sql_ussgl,1,3500));
2238: psa_utils.debug_other_string(g_state_level,l_full_path, ' sql_ussgl -> ' || SUBSTR(sql_ussgl,3500,7000));
2239: -- ========================= FND LOG =============================
2240:
2241: execute immediate sql_ussgl;
2242:

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

2240:
2241: execute immediate sql_ussgl;
2242:
2243: -- =========================== FND LOG ===========================
2244: psa_utils.debug_other_string(g_state_level,l_full_path, 'USSGL Rows Inserted: '||sql%rowcount);
2245: -- ========================= FND LOG =============================
2246:
2247: -- Now that the USSGL Transactions have been generated in the queue, we
2248: -- pick up the Code Combinations which need to be created in the Code

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

2273: 'and bp.code_combination_id < 0 ' ||
2274: 'and bp.account_segment_value is not null';
2275:
2276: -- =========================== FND LOG ===========================
2277: psa_utils.debug_other_string(g_state_level,l_full_path, ' sql_ussgl1 -> ' || SUBSTR(sql_ussgl,1,3500));
2278: psa_utils.debug_other_string(g_state_level,l_full_path, ' sql_ussgl1 -> ' || SUBSTR(sql_ussgl,3500,7000));
2279: -- ========================= FND LOG =============================
2280:
2281: cur_ussgl := dbms_sql.open_cursor;

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

2274: 'and bp.account_segment_value is not null';
2275:
2276: -- =========================== FND LOG ===========================
2277: psa_utils.debug_other_string(g_state_level,l_full_path, ' sql_ussgl1 -> ' || SUBSTR(sql_ussgl,1,3500));
2278: psa_utils.debug_other_string(g_state_level,l_full_path, ' sql_ussgl1 -> ' || SUBSTR(sql_ussgl,3500,7000));
2279: -- ========================= FND LOG =============================
2280:
2281: cur_ussgl := dbms_sql.open_cursor;
2282: dbms_sql.parse(cur_ussgl, sql_ussgl, dbms_sql.v7);

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

2318: where bp.code_combination_id = l_ccid
2319: and bp.account_segment_value=seg_val(g_acct_seg_index);
2320:
2321: -- =========================== FND LOG ===========================
2322: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets -> ' || SQL%ROWCOUNT);
2323: -- ========================= FND LOG =============================
2324:
2325: else
2326: exit;

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

2330:
2331: dbms_sql.close_cursor(cur_ussgl);
2332:
2333: -- =========================== FND LOG ===========================
2334: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);
2335: -- ========================= FND LOG =============================
2336:
2337: -- Exit Function if Mode is Check
2338: if g_fcmode = 'C' then

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

2336:
2337: -- Exit Function if Mode is Check
2338: if g_fcmode = 'C' then
2339: -- =========================== FND LOG ===========================
2340: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = C -> goto normal_exit label');
2341: -- ========================= FND LOG =============================
2342: goto normal_exit;
2343: end if;
2344:

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

2342: goto normal_exit;
2343: end if;
2344:
2345: -- =========================== FND LOG ===========================
2346: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode != C -> RETURN TRUE');
2347: -- ========================= FND LOG =============================
2348:
2349: return(TRUE);
2350:

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

2350:
2351: <>
2352:
2353: -- =========================== FND LOG ===========================
2354: psa_utils.debug_other_string(g_state_level,l_full_path, ' reached normal_exit label ');
2355: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE ');
2356: -- ========================= FND LOG =============================
2357:
2358: if ussgl%ISOPEN then

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

2351: <>
2352:
2353: -- =========================== FND LOG ===========================
2354: psa_utils.debug_other_string(g_state_level,l_full_path, ' reached normal_exit label ');
2355: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE ');
2356: -- ========================= FND LOG =============================
2357:
2358: if ussgl%ISOPEN then
2359: close ussgl;

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

2363:
2364: <>
2365:
2366: -- =========================== FND LOG ===========================
2367: psa_utils.debug_other_string(g_state_level,l_full_path, ' reached return_invalid label ');
2368: -- ========================= FND LOG =============================
2369:
2370: if dbms_sql.is_open(cur_ussgl) then
2371: dbms_sql.close_cursor(cur_ussgl);

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

2375: message_token('EVENT', FND_MESSAGE.GET_ENCODED);
2376: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
2377:
2378: -- =========================== FND LOG ===========================
2379: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE ');
2380: -- ========================= FND LOG =============================
2381:
2382: g_debug := g_debug||' GLXFUG Failed : FND_FLEX_EXT.GET_COMBINATION_ID returned FALSE';
2383:

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

2388:
2389: WHEN OTHERS THEN
2390:
2391: -- =========================== FND LOG ===========================
2392: psa_utils.debug_other_string(g_excep_level,l_full_path, ' WHEN OTHERS EXCEPTION ' || SQLERRM);
2393: -- ========================= FND LOG =============================
2394:
2395: if ussgl%ISOPEN then
2396: close ussgl;

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

2408: message_token('EVENT', SQLERRM);
2409: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
2410:
2411: -- =========================== FND LOG ===========================
2412: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE ');
2413: -- ========================= FND LOG =============================
2414:
2415: g_debug := g_debug||' GLXFUG Failed : '||SQLERRM;
2416: return(FALSE);

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

2445:
2446: l_full_path := g_path || 'glxfkf';
2447:
2448: -- =========================== FND LOG ===========================
2449: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFUF - START' );
2450: -- ========================= FND LOG =============================
2451:
2452: -- Retrieve Active Segment Info
2453: for c_seginfo in seginfo(101, 'GL#', g_coa_id) loop

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

2463: g_acct_seg_index) then
2464: message_token('ROUTINE', 'GL_FC_PKG');
2465: add_message('FND', 'FLEXGL-NO ACCT SEG');
2466: -- =========================== FND LOG ===========================
2467: psa_utils.debug_other_string(g_state_level,l_full_path, ' RAISE OTHERS ' );
2468: -- ========================= FND LOG =============================
2469: g_debug := g_debug||' GLXFKF Failed : FND_FLEX_APIS.GET_QUALIFIER_SEGNUM returned FALSE';
2470: raise others;
2471: end if;

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

2470: raise others;
2471: end if;
2472:
2473: -- =========================== FND LOG ===========================
2474: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_acct_seg_index -> ' || g_acct_seg_index );
2475: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE ');
2476: -- ========================= FND LOG =============================
2477:
2478: return(TRUE);

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

2471: end if;
2472:
2473: -- =========================== FND LOG ===========================
2474: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_acct_seg_index -> ' || g_acct_seg_index );
2475: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE ');
2476: -- ========================= FND LOG =============================
2477:
2478: return(TRUE);
2479:

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

2481: EXCEPTION
2482:
2483: WHEN OTHERS THEN
2484: -- =========================== FND LOG ===========================
2485: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS' || SQLERRM );
2486: -- ========================= FND LOG =============================
2487:
2488: message_token('PROCEDURE', 'Funds Checker');
2489: message_token('EVENT', SQLERRM);

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

2489: message_token('EVENT', SQLERRM);
2490: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
2491:
2492: -- =========================== FND LOG ===========================
2493: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE' );
2494: -- ========================= FND LOG =============================
2495:
2496: g_debug := g_debug||' GLXFKF Failed : '||SQLERRM;
2497: return(FALSE);

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

2543:
2544: l_full_path := g_path || 'glxfiu.';
2545:
2546: -- =========================== FND LOG ===========================
2547: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFUI - START' );
2548: -- ========================= FND LOG =============================
2549:
2550: open pkt_id;
2551: fetch pkt_id into g_packet_id;

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

2551: fetch pkt_id into g_packet_id;
2552: close pkt_id;
2553:
2554: -- =========================== FND LOG ===========================
2555: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id -> ' || g_packet_id );
2556: -- ========================= FND LOG =============================
2557:
2558: -- Insert Unreservation Packet into gl_bc_packets
2559: insert into gl_bc_packets

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

2704: and bp.template_id is null
2705: and bp.status_code = 'A';
2706:
2707: -- =========================== FND LOG ===========================
2708: psa_utils.debug_other_string(g_state_level,l_full_path, ' Insert gl_bc_packets -> ' || SQL%ROWCOUNT );
2709: -- ========================= FND LOG =============================
2710:
2711: BEGIN
2712:

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

2729:
2730: g_append_je_flag := TRUE;
2731:
2732: -- =========================== FND LOG ===========================
2733: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_dummy -> ' || l_dummy );
2734: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> TRUE');
2735: -- ========================= FND LOG =============================
2736:
2737: EXCEPTION

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

2730: g_append_je_flag := TRUE;
2731:
2732: -- =========================== FND LOG ===========================
2733: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_dummy -> ' || l_dummy );
2734: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> TRUE');
2735: -- ========================= FND LOG =============================
2736:
2737: EXCEPTION
2738: WHEN OTHERS THEN

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

2737: EXCEPTION
2738: WHEN OTHERS THEN
2739:
2740: -- =========================== FND LOG ===========================
2741: psa_utils.debug_other_string(g_excep_level,l_full_path, ' g_append_je_flag -> FALSE');
2742: -- ========================= FND LOG =============================
2743:
2744: g_append_je_flag := FALSE;
2745: END;

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

2744: g_append_je_flag := FALSE;
2745: END;
2746:
2747: -- =========================== FND LOG ===========================
2748: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE ' );
2749: -- ========================= FND LOG =============================
2750:
2751: return(TRUE);
2752:

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

2753: EXCEPTION
2754:
2755: WHEN OTHERS THEN
2756: -- =========================== FND LOG ===========================
2757: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS - ' || SQLERRM );
2758: -- ========================= FND LOG =============================
2759:
2760: if pkt_id%ISOPEN then
2761: close pkt_id;

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

2765: message_token('EVENT', SQLERRM);
2766: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
2767:
2768: -- =========================== FND LOG ===========================
2769: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE');
2770: -- ========================= FND LOG =============================
2771:
2772: g_debug := g_debug||'GLXFIU Failed : '||SQLERRM;
2773:

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

2815:
2816: l_full_path := g_path || 'glxfss.';
2817:
2818: -- =========================== FND LOG ===========================
2819: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFSS - START' );
2820: -- ========================= FND LOG =============================
2821:
2822: -- Denormalized Columns are not updated if mode is Unreservation since
2823: -- this is handled in glxfiu()

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

2822: -- Denormalized Columns are not updated if mode is Unreservation since
2823: -- this is handled in glxfiu()
2824:
2825: -- ========================= FND LOG =============================
2826: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);
2827: -- ========================= FND LOG =============================
2828:
2829: if g_fcmode <> 'U' then
2830:

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

2894: EXCEPTION
2895: WHEN OVERLAPPING_BUDGET THEN
2896:
2897: -- =========================== FND LOG ===========================
2898: psa_utils.debug_other_string(g_state_level,l_full_path, ' There are multiple overlapping budgets assigned to account');
2899: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets 1 updated failed');
2900: psa_utils.debug_other_string(g_state_level,l_full_path, ' Updating the status code = F/R based on g_fcmode');
2901: psa_utils.debug_other_string(g_state_level,l_full_path, ' Updating the result code= F77/F80 based on overlapping budget');
2902: -- ========================= FND LOG =============================

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

2895: WHEN OVERLAPPING_BUDGET THEN
2896:
2897: -- =========================== FND LOG ===========================
2898: psa_utils.debug_other_string(g_state_level,l_full_path, ' There are multiple overlapping budgets assigned to account');
2899: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets 1 updated failed');
2900: psa_utils.debug_other_string(g_state_level,l_full_path, ' Updating the status code = F/R based on g_fcmode');
2901: psa_utils.debug_other_string(g_state_level,l_full_path, ' Updating the result code= F77/F80 based on overlapping budget');
2902: -- ========================= FND LOG =============================
2903:

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

2896:
2897: -- =========================== FND LOG ===========================
2898: psa_utils.debug_other_string(g_state_level,l_full_path, ' There are multiple overlapping budgets assigned to account');
2899: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets 1 updated failed');
2900: psa_utils.debug_other_string(g_state_level,l_full_path, ' Updating the status code = F/R based on g_fcmode');
2901: psa_utils.debug_other_string(g_state_level,l_full_path, ' Updating the result code= F77/F80 based on overlapping budget');
2902: -- ========================= FND LOG =============================
2903:
2904: update gl_bc_packets bp

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

2897: -- =========================== FND LOG ===========================
2898: psa_utils.debug_other_string(g_state_level,l_full_path, ' There are multiple overlapping budgets assigned to account');
2899: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets 1 updated failed');
2900: psa_utils.debug_other_string(g_state_level,l_full_path, ' Updating the status code = F/R based on g_fcmode');
2901: psa_utils.debug_other_string(g_state_level,l_full_path, ' Updating the result code= F77/F80 based on overlapping budget');
2902: -- ========================= FND LOG =============================
2903:
2904: update gl_bc_packets bp
2905: set STATUS_CODE = DECODE(g_fcmode,'C','F','R'),

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

2919: where
2920: bp.packet_id = g_packet_id;
2921:
2922: -- =========================== FND LOG ===========================
2923: psa_utils.debug_other_string(g_state_level,l_full_path, ' Set g_overlapping_budget = TRUE, Return -> TRUE');
2924: -- ========================= FND LOG =============================
2925: g_overlapping_budget:=TRUE;
2926: return(TRUE);
2927: end;

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

2927: end;
2928:
2929:
2930: -- =========================== FND LOG ===========================
2931: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets 1 updated -> ' || SQL%ROWCOUNT || ' rows');
2932: -- ========================= FND LOG =============================
2933:
2934: update gl_bc_packets bp
2935: set (bp.automatic_encumbrance_flag,

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

3023: where bp.packet_id = g_packet_id
3024: and bp.template_id is null;
3025:
3026: -- =========================== FND LOG ===========================
3027: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets 2 updated -> ' || SQL%ROWCOUNT || ' rows');
3028: -- ========================= FND LOG =============================
3029:
3030: update gl_bc_packets bp
3031: set (funds_check_level_code,

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

3055: and bp.funding_budget_version_id is not null;
3056:
3057:
3058: -- =========================== FND LOG ===========================
3059: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets 3 updated -> ' || SQL%ROWCOUNT || ' rows');
3060: -- ========================= FND LOG =============================
3061:
3062:
3063: /*----------------------------------------------------------------------+

Line 3105: psa_utils.debug_other_string(g_state_level,l_full_path,

3101:
3102:
3103: if g_conc_flag then
3104: -- =========================== FND LOG ===========================
3105: psa_utils.debug_other_string(g_state_level,l_full_path,
3106: ' Lock gl_bc_dual2 in row share mode' );
3107: -- ========================= FND LOG =============================
3108: LOCK TABLE gl_bc_dual2 IN ROW SHARE MODE;
3109: else

Line 3111: psa_utils.debug_other_string(g_state_level,l_full_path,

3107: -- ========================= FND LOG =============================
3108: LOCK TABLE gl_bc_dual2 IN ROW SHARE MODE;
3109: else
3110: -- =========================== FND LOG ===========================
3111: psa_utils.debug_other_string(g_state_level,l_full_path,
3112: ' Lock gl_bc_dual2 in row share mode nowait' );
3113: -- ========================= FND LOG =============================
3114: LOCK TABLE gl_bc_dual2 IN ROW SHARE MODE NOWAIT;
3115: end if;

Line 3281: psa_utils.debug_other_string(g_state_level,l_full_path,

3277: -- Set Summarized Flag if Summary Transactions were inserted into the queue
3278:
3279: if SQL%FOUND then
3280: -- =========================== FND LOG ===========================
3281: psa_utils.debug_other_string(g_state_level,l_full_path,
3282: ' Insert gl_bc_packets - summ trans ' || SQL%ROWCOUNT );
3283:
3284: psa_utils.debug_other_string(g_state_level,l_full_path,
3285: ' g_summarized_flag -> TRUE' );

Line 3284: psa_utils.debug_other_string(g_state_level,l_full_path,

3280: -- =========================== FND LOG ===========================
3281: psa_utils.debug_other_string(g_state_level,l_full_path,
3282: ' Insert gl_bc_packets - summ trans ' || SQL%ROWCOUNT );
3283:
3284: psa_utils.debug_other_string(g_state_level,l_full_path,
3285: ' g_summarized_flag -> TRUE' );
3286: -- ========================= FND LOG =============================
3287: g_summarized_flag := TRUE;
3288: end if;

Line 3303: psa_utils.debug_other_string(g_state_level,l_full_path,

3299: -- an error
3300:
3301: if g_conc_flag then
3302: -- =========================== FND LOG ===========================
3303: psa_utils.debug_other_string(g_state_level,l_full_path,
3304: ' g_conc_flag -> TRUE' );
3305: -- ========================= FND LOG =============================
3306:
3307: open lock_gl_conc_ctrl;

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

3317: fetch arrseq into g_arrival_seq;
3318: close arrseq;
3319:
3320: -- =========================== FND LOG ===========================
3321: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_arrival_seq -> ' || g_arrival_seq);
3322: -- ========================= FND LOG =============================
3323:
3324: insert into gl_bc_packet_arrival_order
3325: (packet_id,

Line 3340: psa_utils.debug_other_string(g_state_level,l_full_path,

3336: g_user_id);
3337:
3338:
3339: -- =========================== FND LOG ===========================
3340: psa_utils.debug_other_string(g_state_level,l_full_path,
3341: ' insert gl_bc_packet_arrival_order -> ' || SQL%ROWCOUNT);
3342: -- ========================= FND LOG =============================
3343:
3344: -- Commit to release Lock on gl_concurrency_control

Line 3354: psa_utils.debug_other_string(g_state_level,l_full_path,

3350: -- Funds Checker Summarization and the Add/Delete Summary Accounts
3351: -- process
3352:
3353: -- =========================== FND LOG ===========================
3354: psa_utils.debug_other_string(g_state_level,l_full_path,
3355: ' lock table gl_bc_dual2 in row share mode nowait');
3356: -- ========================= FND LOG =============================
3357:
3358: LOCK TABLE gl_bc_dual2 IN ROW SHARE MODE NOWAIT;

Line 3361: psa_utils.debug_other_string(g_state_level,l_full_path,

3357:
3358: LOCK TABLE gl_bc_dual2 IN ROW SHARE MODE NOWAIT;
3359:
3360: -- =========================== FND LOG ===========================
3361: psa_utils.debug_other_string(g_state_level,l_full_path,
3362: ' RETURN -> TRUE ');
3363: -- ========================= FND LOG =============================
3364:
3365: return(TRUE);

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

3368:
3369: WHEN OTHERS THEN
3370:
3371: -- =========================== FND LOG ===========================
3372: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
3373: -- ========================= FND LOG =============================
3374:
3375: if arrseq%ISOPEN then
3376: close arrseq;

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

3386: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
3387: end if;
3388:
3389: -- =========================== FND LOG ===========================
3390: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE');
3391: -- ========================= FND LOG =============================
3392: g_debug := g_debug||'GLXFSS Failed : '||SQLERRM;
3393:
3394: return(FALSE);

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

3425:
3426: l_full_path := g_path || 'glxfgb';
3427:
3428: -- =========================== FND LOG ===========================
3429: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFGB - START' );
3430: -- ========================= FND LOG =============================
3431:
3432:
3433: -- Bug 3574935 .. Start

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

3452:
3453: -- Bug 3574935 .. End
3454:
3455: -- =========================== FND LOG ===========================
3456: -- psa_utils.debug_other_string(g_state_level,l_full_path, ' l_max_packet_id -> '|| l_max_packet_id );
3457: -- ========================= FND LOG =============================
3458:
3459: -- Lock dummy table gl_bc_dual in Row Share Mode to ensure Read Consistency
3460: -- between gl_bc_packets and gl_balances in the next two balance update

Line 3478: psa_utils.debug_other_string(g_state_level,l_full_path,

3474: -- a fatal error
3475:
3476: if g_conc_flag then
3477: -- =========================== FND LOG ===========================
3478: psa_utils.debug_other_string(g_state_level,l_full_path,
3479: ' Lock table gl_bc_dual in row share mode' );
3480: -- ========================= FND LOG =============================
3481: LOCK TABLE gl_bc_dual IN ROW SHARE MODE;
3482: else

Line 3484: psa_utils.debug_other_string(g_state_level,l_full_path,

3480: -- ========================= FND LOG =============================
3481: LOCK TABLE gl_bc_dual IN ROW SHARE MODE;
3482: else
3483: -- =========================== FND LOG ===========================
3484: psa_utils.debug_other_string(g_state_level,l_full_path,
3485: ' Lock table gl_bc_dual in row share mode NOWAIT' );
3486: -- ========================= FND LOG =============================
3487: LOCK TABLE gl_bc_dual IN ROW SHARE MODE NOWAIT;
3488: end if;

Line 3684: psa_utils.debug_other_string(g_state_level,l_full_path,

3680: AND currency_flag = 'Y');
3681:
3682:
3683: -- =========================== FND LOG ===========================
3684: psa_utils.debug_other_string(g_state_level,l_full_path,
3685: ' Update approved and pending balance in gl_bc_packets ' || SQL%ROWCOUNT );
3686: -- ========================= FND LOG =============================
3687:
3688:

Line 3744: psa_utils.debug_other_string(g_state_level,l_full_path,

3740: l_quarter_num := 0;
3741: l_period_year := 0;
3742: END;
3743: -- =========================== FND LOG ===========================
3744: psa_utils.debug_other_string(g_state_level,l_full_path,
3745: ' Picking up the lates OPEN period ' || SQL%ROWCOUNT );
3746: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_effective_period_num -> ' || l_effective_period_num);
3747: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_period_name -> ' || l_period_name);
3748: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_quarter_num -> ' || l_quarter_num);

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

3742: END;
3743: -- =========================== FND LOG ===========================
3744: psa_utils.debug_other_string(g_state_level,l_full_path,
3745: ' Picking up the lates OPEN period ' || SQL%ROWCOUNT );
3746: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_effective_period_num -> ' || l_effective_period_num);
3747: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_period_name -> ' || l_period_name);
3748: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_quarter_num -> ' || l_quarter_num);
3749: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_period_year -> ' || l_period_year);
3750: -- ========================= FND LOG =============================

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

3743: -- =========================== FND LOG ===========================
3744: psa_utils.debug_other_string(g_state_level,l_full_path,
3745: ' Picking up the lates OPEN period ' || SQL%ROWCOUNT );
3746: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_effective_period_num -> ' || l_effective_period_num);
3747: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_period_name -> ' || l_period_name);
3748: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_quarter_num -> ' || l_quarter_num);
3749: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_period_year -> ' || l_period_year);
3750: -- ========================= FND LOG =============================
3751:

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

3744: psa_utils.debug_other_string(g_state_level,l_full_path,
3745: ' Picking up the lates OPEN period ' || SQL%ROWCOUNT );
3746: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_effective_period_num -> ' || l_effective_period_num);
3747: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_period_name -> ' || l_period_name);
3748: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_quarter_num -> ' || l_quarter_num);
3749: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_period_year -> ' || l_period_year);
3750: -- ========================= FND LOG =============================
3751:
3752: -- Bugfix 2231059

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

3745: ' Picking up the lates OPEN period ' || SQL%ROWCOUNT );
3746: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_effective_period_num -> ' || l_effective_period_num);
3747: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_period_name -> ' || l_period_name);
3748: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_quarter_num -> ' || l_quarter_num);
3749: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_period_year -> ' || l_period_year);
3750: -- ========================= FND LOG =============================
3751:
3752: -- Bugfix 2231059
3753:

Line 3886: psa_utils.debug_other_string(g_state_level,l_full_path,

3882: bp.funding_budget_version_id);
3883:
3884:
3885: -- =========================== FND LOG ===========================
3886: psa_utils.debug_other_string(g_state_level,l_full_path,
3887: ' Update posted balance in gl_bc_packets ' || SQL%ROWCOUNT );
3888: -- ========================= FND LOG =============================
3889:
3890: -- Commit to release Lock on gl_bc_dual

Line 3899: psa_utils.debug_other_string(g_state_level,l_full_path,

3895: -- consistency between the Funds Checker Summarization and the Add/Delete
3896: -- Summary Accounts program
3897:
3898: -- =========================== FND LOG ===========================
3899: psa_utils.debug_other_string(g_state_level,l_full_path,
3900: ' Lock table gl_bc_dual2 in row share mode nowait' );
3901: -- ========================= FND LOG =============================
3902: LOCK TABLE gl_bc_dual2 IN ROW SHARE MODE NOWAIT;
3903:

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

3901: -- ========================= FND LOG =============================
3902: LOCK TABLE gl_bc_dual2 IN ROW SHARE MODE NOWAIT;
3903:
3904: -- =========================== FND LOG ===========================
3905: psa_utils.debug_other_string(g_state_level,l_full_path,' RETURN -> TRUE ' );
3906: -- ========================= FND LOG =============================
3907: return(TRUE);
3908:
3909:

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

3911:
3912: WHEN OTHERS THEN
3913:
3914: -- =========================== FND LOG ===========================
3915: psa_utils.debug_other_string(g_excep_level,l_full_path,' EXCEPTION WHEN OTHERS '|| SQLERRM );
3916: -- ========================= FND LOG =============================
3917:
3918: if SQLCODE = -54 then
3919: message_token('PROCEDURE', 'Funds Checker');

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

3925: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
3926: end if;
3927:
3928: -- =========================== FND LOG ===========================
3929: psa_utils.debug_other_string(g_excep_level,l_full_path,' RETURN -> FALSE ' );
3930: -- ========================= FND LOG =============================
3931: g_debug := g_debug||' GLXFGB Failed : '||SQLERRM;
3932:
3933: return(FALSE);

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

4071:
4072: l_full_path := g_path || 'glxfrc';
4073:
4074: -- =========================== FND LOG ===========================
4075: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFRC - START' );
4076: -- ========================= FND LOG =============================
4077:
4078: -- Update Result Code for all transactions in Packet
4079: update gl_bc_packets bp

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

4185:
4186:
4187:
4188: -- =========================== FND LOG ===========================
4189: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update Result Code gl_bc_packets 1 updated -> ' || SQL%ROWCOUNT || ' rows');
4190: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);
4191: -- ========================= FND LOG =============================
4192:
4193: /* -------------------------------------------------------------------+

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

4186:
4187:
4188: -- =========================== FND LOG ===========================
4189: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update Result Code gl_bc_packets 1 updated -> ' || SQL%ROWCOUNT || ' rows');
4190: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);
4191: -- ========================= FND LOG =============================
4192:
4193: /* -------------------------------------------------------------------+
4194: | Updating result code to F78 id funds check is failed and absolute|

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

4210: -- originating/generated tie back logic
4211:
4212: if g_fcmode = 'F' then
4213: -- =========================== FND LOG ===========================
4214: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode = F -> goto normal_exit');
4215: -- ========================= FND LOG =============================
4216: goto normal_exit;
4217: end if;
4218:

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

4219:
4220: if g_summarized_flag then
4221:
4222: -- =========================== FND LOG ===========================
4223: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag -> TRUE ');
4224: -- ========================= FND LOG =============================
4225:
4226: -- Update Result Code for Detail Transactions when Summary Transactions
4227: -- fail Funds Check and Checking is Absolute

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

4256: and pk.result_code in ('F02', 'F12')
4257: );
4258:
4259: -- =========================== FND LOG ===========================
4260: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets 2 updated -> ' || SQL%ROWCOUNT || ' rows');
4261: -- ========================= FND LOG =============================
4262:
4263: -- Update Result Code for Detail Transactions when Summary Transactions
4264: -- fail Funds Check and Checking is Advisory

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

4291: and pk.result_code in ('P20', 'P25')
4292: );
4293:
4294: -- =========================== FND LOG ===========================
4295: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets 3 updated -> ' || SQL%ROWCOUNT || ' rows');
4296: -- ========================= FND LOG =============================
4297:
4298: end if;
4299:

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

4304:
4305: if g_ussgl_option_flag then
4306:
4307: -- =========================== FND LOG ===========================
4308: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ussgl_option_flag -> TRUE');
4309: -- ========================= FND LOG =============================
4310:
4311: update gl_bc_packets bp
4312: set bp.result_code =

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

4330: or pk.ussgl_link_to_parent_id in (bp.ussgl_link_to_parent_id, bp.ussgl_parent_id))
4331: );
4332:
4333: -- =========================== FND LOG ===========================
4334: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets 4 updated -> ' || SQL%ROWCOUNT || ' rows');
4335: -- ========================= FND LOG =============================
4336:
4337: end if;
4338:

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

4346: IF g_override_flag THEN
4347:
4348: if not glxfor then
4349: -- =========================== FND LOG ===========================
4350: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfor --> RETURN FALSE -> goto fatal_error');
4351: -- ========================= FND LOG =============================
4352: return false;
4353: end if;
4354: END IF;

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

4361: (g_summarized_flag) and
4362: (l_ret_code in ('S', 'A'))) then
4363:
4364: -- ========================= FND LOG ===========================
4365: psa_utils.debug_other_string(g_state_level,l_full_path, ' inside Ist IF ');
4366: -- ========================= FND LOG ===========================
4367:
4368: update gl_bc_packets bp
4369: set bp.result_code = 'P23'

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

4371: and bp.result_code like 'F%'
4372: and bp.template_id is not null;
4373:
4374: -- ========================= FND LOG ===========================
4375: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets 5 updated -> ' || SQL%ROWCOUNT || ' rows');
4376: -- ========================= FND LOG ===========================
4377:
4378: end if;
4379:

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

4389: bp.last_update_date = sysdate
4390: where bp.packet_id = g_packet_id;
4391:
4392: -- ========================= FND LOG ===========================
4393: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets 6 updated -> ' || SQL%ROWCOUNT || ' rows');
4394: -- ========================= FND LOG ===========================
4395:
4396: END IF;
4397:

Line 4413: psa_utils.debug_other_string(g_state_level,l_full_path,

4409: AND pk.source_distribution_id_num_1 = l_source_dist_id_num_1_tbl(I)
4410: AND pk.result_code like 'P%';
4411:
4412: -- ========================= FND LOG ===========================
4413: psa_utils.debug_other_string(g_state_level,l_full_path,
4414: ' update gl_bc_packets 6.1, result_code to F77 for same packet and same distribution updated -> ' || SQL%ROWCOUNT || ' rows');
4415: -- ========================= FND LOG ===========================
4416:
4417: CLOSE c_get_failed_distributions;

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

4430: WHERE bc.packet_id = pk.packet_id
4431: AND bc.result_code = 'P20');
4432:
4433: -- ========================= FND LOG ===========================
4434: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets 7 updated -> ' || SQL%ROWCOUNT || ' rows');
4435: -- ========================= FND LOG ===========================
4436:
4437:
4438: UPDATE gl_bc_packets pk

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

4444: WHERE bc.packet_id = pk.packet_id
4445: AND bc.result_code = 'P25');
4446:
4447: -- ========================= FND LOG ===========================
4448: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets 8 updated -> ' || SQL%ROWCOUNT || ' rows');
4449: -- ========================= FND LOG ===========================
4450:
4451:
4452: -- =========================== FND LOG ===========================

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

4449: -- ========================= FND LOG ===========================
4450:
4451:
4452: -- =========================== FND LOG ===========================
4453: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE');
4454: -- ========================= FND LOG =============================
4455:
4456: return(TRUE);
4457:

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

4456: return(TRUE);
4457:
4458: <>
4459: -- =========================== FND LOG ===========================
4460: psa_utils.debug_other_string(g_state_level,l_full_path, ' Reached label normal exit');
4461: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE');
4462: -- ========================= FND LOG =============================
4463:
4464: return(TRUE);

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

4457:
4458: <>
4459: -- =========================== FND LOG ===========================
4460: psa_utils.debug_other_string(g_state_level,l_full_path, ' Reached label normal exit');
4461: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE');
4462: -- ========================= FND LOG =============================
4463:
4464: return(TRUE);
4465:

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

4466: EXCEPTION
4467:
4468: WHEN OTHERS THEN
4469: -- =========================== FND LOG ===========================
4470: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
4471: -- ========================= FND LOG =============================
4472:
4473: message_token('PROCEDURE', 'Funds Checker');
4474: message_token('EVENT', SQLERRM);

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

4474: message_token('EVENT', SQLERRM);
4475: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
4476:
4477: -- =========================== FND LOG ===========================
4478: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE');
4479: -- ========================= FND LOG =============================
4480: g_debug := g_debug||' GLXFRC Failed : '||SQLERRM;
4481: return(FALSE);
4482:

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

4501: p_conc_proc := 'F';
4502: l_full_path := g_path || 'glzcbc.';
4503:
4504: -- =========================== FND LOG ===========================
4505: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLZCBC - START' );
4506: -- ========================= FND LOG =============================
4507:
4508: cbc_fck_stmt :=
4509: 'BEGIN :ret_code := IGC_CBC_GL_FC_PKG.glzcbc(:packet_id,p_ledger_id,:mode,:conc_proc); END;';

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

4508: cbc_fck_stmt :=
4509: 'BEGIN :ret_code := IGC_CBC_GL_FC_PKG.glzcbc(:packet_id,p_ledger_id,:mode,:conc_proc); END;';
4510:
4511: -- =========================== FND LOG ===========================
4512: psa_utils.debug_other_string(g_state_level,l_full_path, ' cbc_fck_stmt -> ' || cbc_fck_stmt );
4513: -- ========================= FND LOG =============================
4514:
4515: -- Assign parameter values before calling IGC
4516:

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

4518: p_packet_id := g_packet_id;
4519: p_mode := g_fcmode;
4520:
4521: -- =========================== FND LOG ===========================
4522: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ledger_id -> ' || g_ledger_id );
4523: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id -> ' || g_packet_id );
4524: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode );
4525: -- ========================= FND LOG =============================
4526:

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

4519: p_mode := g_fcmode;
4520:
4521: -- =========================== FND LOG ===========================
4522: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ledger_id -> ' || g_ledger_id );
4523: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id -> ' || g_packet_id );
4524: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode );
4525: -- ========================= FND LOG =============================
4526:
4527: execute immediate cbc_fck_stmt

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

4520:
4521: -- =========================== FND LOG ===========================
4522: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ledger_id -> ' || g_ledger_id );
4523: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id -> ' || g_packet_id );
4524: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode );
4525: -- ========================= FND LOG =============================
4526:
4527: execute immediate cbc_fck_stmt
4528: USING IN OUT cbc_code,IN p_packet_id,IN p_ledger_id,IN p_mode,IN p_conc_proc;

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

4527: execute immediate cbc_fck_stmt
4528: USING IN OUT cbc_code,IN p_packet_id,IN p_ledger_id,IN p_mode,IN p_conc_proc;
4529:
4530: -- =========================== FND LOG ===========================
4531: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN cbc_code -> ' || cbc_code );
4532: -- ========================= FND LOG =============================
4533:
4534: RETURN cbc_code;
4535:

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

4536: EXCEPTION
4537: WHEN OTHERS THEN
4538:
4539: -- =========================== FND LOG ===========================
4540: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> 1' );
4541: -- ========================= FND LOG =============================
4542:
4543: RETURN 1;
4544:

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

4562:
4563: l_full_path := g_path || 'glzgchk';
4564:
4565: -- =========================== FND LOG ===========================
4566: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLZGCHK - START' );
4567: -- ========================= FND LOG =============================
4568:
4569: gms_stmt :=
4570: 'BEGIN '||

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

4575: '''N'', :gms_retcode); '||
4576: 'END;';
4577:
4578: -- =========================== FND LOG ===========================
4579: psa_utils.debug_other_string(g_state_level,l_full_path, ' gms_stmt -> ' || gms_stmt );
4580: -- ========================= FND LOG =============================
4581:
4582: execute immediate gms_stmt using g_ledger_id, g_packet_id, g_fcmode,
4583: g_partial_resv_flag, in out gms_retcode;

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

4582: execute immediate gms_stmt using g_ledger_id, g_packet_id, g_fcmode,
4583: g_partial_resv_flag, in out gms_retcode;
4584:
4585: -- =========================== FND LOG ===========================
4586: psa_utils.debug_other_string(g_state_level,l_full_path, ' gms_retcode -> ' || gms_retcode );
4587: -- ========================= FND LOG =============================
4588:
4589: IF NOT gms_retcode = '~'
4590: AND gms_retcode IS NOT NULL THEN

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

4588:
4589: IF NOT gms_retcode = '~'
4590: AND gms_retcode IS NOT NULL THEN
4591: -- =========================== FND LOG ===========================
4592: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE' );
4593: -- ========================= FND LOG =============================
4594: RETURN(TRUE);
4595: END IF;
4596:

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

4594: RETURN(TRUE);
4595: END IF;
4596:
4597: -- =========================== FND LOG ===========================
4598: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE' );
4599: -- ========================= FND LOG =============================
4600: RETURN(FALSE);
4601:
4602: EXCEPTION

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

4603:
4604: WHEN OTHERS THEN
4605:
4606: -- =========================== FND LOG ===========================
4607: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHER '|| SQLERRM );
4608: -- ========================= FND LOG =============================
4609:
4610: /* Even when an SQL exception is raised, if the gms_retcode */
4611: /* has been set, indicate that processing has completed. */

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

4614:
4615: IF NOT gms_retcode = '~'
4616: AND gms_retcode IS NOT NULL THEN
4617: -- =========================== FND LOG ===========================
4618: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> TRUE' );
4619: -- ========================= FND LOG =============================
4620: RETURN(TRUE);
4621: ELSE
4622: -- =========================== FND LOG ===========================

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

4619: -- ========================= FND LOG =============================
4620: RETURN(TRUE);
4621: ELSE
4622: -- =========================== FND LOG ===========================
4623: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE' );
4624: -- ========================= FND LOG =============================
4625: RETURN(FALSE);
4626: END IF;
4627:

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

4650:
4651: l_full_path := g_path || 'glzpafck.';
4652:
4653: -- ========================= FND LOG ===========================
4654: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLZPAFCK --> START ');
4655: -- ========================= FND LOG ===========================
4656:
4657: pa_stmt :=
4658: 'BEGIN '||

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

4660: ':g_fcmode_var, :g_partial_resv_flag_var, NULL, NULL,:pa_retcode, :err_msg, :err_stg); '||
4661: 'END;';
4662:
4663: -- ========================= FND LOG ===========================
4664: psa_utils.debug_other_string(g_state_level,l_full_path, ' pa_stmt -> ' || pa_stmt);
4665: -- ========================= FND LOG ===========================
4666:
4667: EXECUTE IMMEDIATE pa_stmt USING 'GL', g_ledger_id, g_packet_id, g_fcmode,
4668: g_partial_resv_flag, OUT pa_retcode,

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

4669: OUT err_msg, OUT err_stg;
4670:
4671: IF err_msg IS NOT NULL THEN
4672: -- ========================= FND LOG ===========================
4673: psa_utils.debug_other_string(g_state_level,l_full_path, ' pa_retcode -> ' || pa_retcode);
4674: psa_utils.debug_other_string(g_state_level,l_full_path, ' err_msg -> ' || err_msg);
4675: psa_utils.debug_other_string(g_state_level,l_full_path, ' err_stg -> ' || err_stg);
4676: -- ========================= FND LOG ===========================
4677: END IF;

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

4670:
4671: IF err_msg IS NOT NULL THEN
4672: -- ========================= FND LOG ===========================
4673: psa_utils.debug_other_string(g_state_level,l_full_path, ' pa_retcode -> ' || pa_retcode);
4674: psa_utils.debug_other_string(g_state_level,l_full_path, ' err_msg -> ' || err_msg);
4675: psa_utils.debug_other_string(g_state_level,l_full_path, ' err_stg -> ' || err_stg);
4676: -- ========================= FND LOG ===========================
4677: END IF;
4678:

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

4671: IF err_msg IS NOT NULL THEN
4672: -- ========================= FND LOG ===========================
4673: psa_utils.debug_other_string(g_state_level,l_full_path, ' pa_retcode -> ' || pa_retcode);
4674: psa_utils.debug_other_string(g_state_level,l_full_path, ' err_msg -> ' || err_msg);
4675: psa_utils.debug_other_string(g_state_level,l_full_path, ' err_stg -> ' || err_stg);
4676: -- ========================= FND LOG ===========================
4677: END IF;
4678:
4679: IF (pa_retcode IS NULL) OR (pa_retcode = 'T') THEN

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

4677: END IF;
4678:
4679: IF (pa_retcode IS NULL) OR (pa_retcode = 'T') THEN
4680: -- ========================= FND LOG ===========================
4681: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE ');
4682: -- ========================= FND LOG ===========================
4683: g_debug := g_debug||' GLZPAFCK Failed : (PA_RETCODE IS NULL OR PA_RETCODE = T)';
4684: RETURN(FALSE);
4685: END IF;

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

4684: RETURN(FALSE);
4685: END IF;
4686:
4687: -- ========================= FND LOG ===========================
4688: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE ');
4689: -- ========================= FND LOG ===========================
4690:
4691: RETURN(TRUE);
4692:

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

4693: EXCEPTION
4694:
4695: WHEN OTHERS THEN
4696: -- ========================= FND LOG ===========================
4697: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ');
4698: -- ========================= FND LOG ===========================
4699:
4700: /* Even when an SQL exception is raised, if the pa_retcode */
4701: /* has been set, indicate that processing has completed. */

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

4701: /* has been set, indicate that processing has completed. */
4702:
4703: IF pa_retcode = 'T' THEN
4704: -- ========================= FND LOG ===========================
4705: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE ');
4706: -- ========================= FND LOG ===========================
4707: g_debug := g_debug||' GLZPAFCK Failed : PA_RETCODE = T';
4708: RETURN(FALSE);
4709: END IF;

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

4708: RETURN(FALSE);
4709: END IF;
4710:
4711: -- ========================= FND LOG ===========================
4712: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE ');
4713: -- ========================= FND LOG ===========================
4714:
4715: RETURN(TRUE);
4716:

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

4731:
4732: l_full_path := g_path || 'glxfor';
4733:
4734: -- ========================= FND LOG ===========================
4735: psa_utils.debug_other_string(g_state_level, l_full_path, ' GLXFOR --> START ');
4736: -- ========================= FND LOG ===========================
4737:
4738: -- Update Result Code for Detail Transactions
4739:

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

4763: and pk.result_code between 'F20' and 'F29'))
4764: );
4765:
4766: -- ========================= FND LOG ===========================
4767: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets1 -> ' || SQL%ROWCOUNT);
4768: -- ========================= FND LOG ===========================
4769:
4770: -- ========================= FND LOG ===========================
4771: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_calling_prog_flag -> ' || g_calling_prog_flag);

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

4767: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets1 -> ' || SQL%ROWCOUNT);
4768: -- ========================= FND LOG ===========================
4769:
4770: -- ========================= FND LOG ===========================
4771: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_calling_prog_flag -> ' || g_calling_prog_flag);
4772: -- ========================= FND LOG ===========================
4773:
4774:
4775: IF (g_calling_prog_flag = 'G') THEN

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

4792:
4793: END IF;
4794:
4795: -- ========================= FND LOG ===========================
4796: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets2 -> ' || SQL%ROWCOUNT);
4797: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE ');
4798: -- ========================= FND LOG ===========================
4799:
4800: return(TRUE);

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

4793: END IF;
4794:
4795: -- ========================= FND LOG ===========================
4796: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update gl_bc_packets2 -> ' || SQL%ROWCOUNT);
4797: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE ');
4798: -- ========================= FND LOG ===========================
4799:
4800: return(TRUE);
4801:

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

4803: EXCEPTION
4804:
4805: WHEN OTHERS THEN
4806: -- ========================= FND LOG ===========================
4807: psa_utils.debug_other_string(g_excep_level,l_full_path, ' WHEN OTHERS EXCEPTION ' || SQLERRM);
4808: -- ========================= FND LOG ===========================
4809:
4810: message_token('PROCEDURE', 'Funds Checker');
4811: message_token('EVENT', SQLERRM);

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

4811: message_token('EVENT', SQLERRM);
4812: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
4813:
4814: -- ========================= FND LOG ===========================
4815: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE ');
4816: -- ========================= FND LOG ===========================
4817: g_debug := g_debug||' GLXFOR Failed : '||SQLERRM;
4818: return(FALSE);
4819:

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

4895:
4896: l_full_path := g_path || 'glxfrs';
4897:
4898: -- ========================= FND LOG ===========================
4899: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFRS --> START ');
4900: -- ========================= FND LOG ===========================
4901:
4902: -- Return Code for the Packet
4903:

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

4905: fetch retcode into g_return_code;
4906: close retcode;
4907:
4908: -- ========================= FND LOG ===========================
4909: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code --> ' || g_return_code);
4910: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glrchk ');
4911: -- ========================= FND LOG ===========================
4912:
4913: if not glrchk(g_return_code) then

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

4906: close retcode;
4907:
4908: -- ========================= FND LOG ===========================
4909: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code --> ' || g_return_code);
4910: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glrchk ');
4911: -- ========================= FND LOG ===========================
4912:
4913: if not glrchk(g_return_code) then
4914: -- ========================= FND LOG ===========================

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

4911: -- ========================= FND LOG ===========================
4912:
4913: if not glrchk(g_return_code) then
4914: -- ========================= FND LOG ===========================
4915: psa_utils.debug_other_string(g_state_level,l_full_path, ' glrchk --> FALSE ');
4916: -- ========================= FND LOG ===========================
4917: return(FALSE);
4918: end if;
4919:

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

4969: where bp.packet_id = g_packet_id;
4970: end if;
4971:
4972: -- ========================= FND LOG ===========================
4973: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets --> ' || SQL%ROWCOUNT);
4974: -- ========================= FND LOG ===========================
4975:
4976: -- Update the Result Code of all Summary Transactions that fail Funds
4977: -- Reservation to 'P23', when each of their corresponding details got

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

4986: -- the detail(s)
4987: --
4988:
4989: -- ========================= FND LOG ===========================
4990: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode --> ' || g_fcmode);
4991: IF (g_summarized_flag) THEN
4992: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag --> TRUE ');
4993: ELSE
4994: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag --> FALSE ');

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

4988:
4989: -- ========================= FND LOG ===========================
4990: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode --> ' || g_fcmode);
4991: IF (g_summarized_flag) THEN
4992: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag --> TRUE ');
4993: ELSE
4994: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag --> FALSE ');
4995: END IF;
4996: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code --> ' || g_return_code);

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

4990: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode --> ' || g_fcmode);
4991: IF (g_summarized_flag) THEN
4992: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag --> TRUE ');
4993: ELSE
4994: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag --> FALSE ');
4995: END IF;
4996: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code --> ' || g_return_code);
4997: -- ========================= FND LOG ===========================
4998:

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

4992: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag --> TRUE ');
4993: ELSE
4994: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_summarized_flag --> FALSE ');
4995: END IF;
4996: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code --> ' || g_return_code);
4997: -- ========================= FND LOG ===========================
4998:
4999: if ((g_fcmode in ('R', 'U', 'A')) and
5000: (g_summarized_flag) and

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

5000: (g_summarized_flag) and
5001: (g_return_code in ('S', 'A'))) then
5002:
5003: -- ========================= FND LOG ===========================
5004: psa_utils.debug_other_string(g_state_level,l_full_path, ' inside Ist IF ');
5005: -- ========================= FND LOG ===========================
5006:
5007: update gl_bc_packets bp
5008: set bp.result_code = 'P23'

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

5010: and bp.result_code like 'F%'
5011: and bp.template_id is not null;
5012:
5013: -- ========================= FND LOG ===========================
5014: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets --> ' || SQL%ROWCOUNT);
5015: -- ========================= FND LOG ===========================
5016:
5017: end if;
5018:

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

5050: (g_return_code = 'P')) then
5051: begin
5052:
5053: -- ========================= FND LOG ===========================
5054: psa_utils.debug_other_string(g_state_level,l_full_path, ' inside IInd IF ');
5055: -- ========================= FND LOG ===========================
5056:
5057: update gl_bc_packets bp
5058: set (bp.entered_dr,

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

5090: where bp.packet_id = g_packet_id
5091: and bp.template_id is not null;
5092:
5093: -- ========================= FND LOG ===========================
5094: psa_utils.debug_other_string(g_state_level,l_full_path, ' update gl_bc_packets --> ' || SQL%ROWCOUNT);
5095: -- ========================= FND LOG ===========================
5096:
5097: end;
5098: end if;

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

5097: end;
5098: end if;
5099:
5100: -- ========================= FND LOG ===========================
5101: psa_utils.debug_other_string(g_state_level,l_full_path, ' calling glxfar ');
5102: -- ========================= FND LOG ===========================
5103:
5104: if not glxfar then
5105: -- ========================= FND LOG ===========================

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

5102: -- ========================= FND LOG ===========================
5103:
5104: if not glxfar then
5105: -- ========================= FND LOG ===========================
5106: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN --> FALSE');
5107: -- ========================= FND LOG ===========================
5108: return(FALSE);
5109: end if;
5110:

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

5108: return(FALSE);
5109: end if;
5110:
5111: -- ========================= FND LOG ===========================
5112: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN --> TRUE ');
5113: -- ========================= FND LOG ===========================
5114:
5115: return(TRUE);
5116:

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

5126: message_token('EVENT', SQLERRM);
5127: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
5128:
5129: -- ========================= FND LOG ===========================
5130: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEOPTION WHEN OTHERS '|| SQLERRM);
5131: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN --> FALSE ');
5132: -- ========================= FND LOG ===========================
5133: g_debug := g_debug||' GLXFRS Failed : '||SQLERRM;
5134: return(FALSE);

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

5127: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
5128:
5129: -- ========================= FND LOG ===========================
5130: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEOPTION WHEN OTHERS '|| SQLERRM);
5131: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN --> FALSE ');
5132: -- ========================= FND LOG ===========================
5133: g_debug := g_debug||' GLXFRS Failed : '||SQLERRM;
5134: return(FALSE);
5135:

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

5164: BEGIN
5165: l_full_path := g_path || 'glrchk.';
5166:
5167: -- ========================= FND LOG ===========================
5168: psa_utils.debug_other_string(g_state_level,l_full_path, ' glrchk --> START ');
5169: psa_utils.debug_other_string(g_state_level,l_full_path, ' post_control --> ' || post_control);
5170: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_retcode --> ' || g_cbc_retcode);
5171: -- ========================= FND LOG ===========================
5172:

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

5165: l_full_path := g_path || 'glrchk.';
5166:
5167: -- ========================= FND LOG ===========================
5168: psa_utils.debug_other_string(g_state_level,l_full_path, ' glrchk --> START ');
5169: psa_utils.debug_other_string(g_state_level,l_full_path, ' post_control --> ' || post_control);
5170: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_retcode --> ' || g_cbc_retcode);
5171: -- ========================= FND LOG ===========================
5172:
5173: /*========================+

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

5166:
5167: -- ========================= FND LOG ===========================
5168: psa_utils.debug_other_string(g_state_level,l_full_path, ' glrchk --> START ');
5169: psa_utils.debug_other_string(g_state_level,l_full_path, ' post_control --> ' || post_control);
5170: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_retcode --> ' || g_cbc_retcode);
5171: -- ========================= FND LOG ===========================
5172:
5173: /*========================+
5174: | CBC Reconcile |

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

5174: | CBC Reconcile |
5175: +========================*/
5176:
5177: -- ========================= FND LOG ===========================
5178: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_cbc_retcode-> '||g_cbc_retcode);
5179: -- ========================= FND LOG ===========================
5180:
5181:
5182: IF g_cbc_retcode = 1 then

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

5180:
5181:
5182: IF g_cbc_retcode = 1 then
5183: -- ========================= FND LOG ===========================
5184: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling CBC Reconcile ');
5185: -- ========================= FND LOG ===========================
5186:
5187: DECLARE
5188: cbc_recon_stmt VARCHAR2(2000);

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

5189: cbc_recon_code NUMBER(15);
5190:
5191: BEGIN
5192: -- ========================= FND LOG ===========================
5193: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLRCHK(CBCRECONCILE) --> START ');
5194: -- ========================= FND LOG ===========================
5195:
5196: cbc_recon_stmt :=
5197: 'BEGIN :ret_code := IGC_CBC_GL_FC_PKG.reconcile_glzcbc(:packet_id,:sob_id,:mode); END;';

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

5196: cbc_recon_stmt :=
5197: 'BEGIN :ret_code := IGC_CBC_GL_FC_PKG.reconcile_glzcbc(:packet_id,:sob_id,:mode); END;';
5198:
5199: -- ========================= FND LOG ===========================
5200: psa_utils.debug_other_string(g_state_level,l_full_path, ' cbc_recon_stmt --> ' || cbc_recon_stmt);
5201: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ledger_id --> ' || g_ledger_id);
5202: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id --> ' || g_packet_id);
5203: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_mode --> ' || g_fcmode);
5204: -- ========================= FND LOG ===========================

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

5197: 'BEGIN :ret_code := IGC_CBC_GL_FC_PKG.reconcile_glzcbc(:packet_id,:sob_id,:mode); END;';
5198:
5199: -- ========================= FND LOG ===========================
5200: psa_utils.debug_other_string(g_state_level,l_full_path, ' cbc_recon_stmt --> ' || cbc_recon_stmt);
5201: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ledger_id --> ' || g_ledger_id);
5202: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id --> ' || g_packet_id);
5203: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_mode --> ' || g_fcmode);
5204: -- ========================= FND LOG ===========================
5205:

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

5198:
5199: -- ========================= FND LOG ===========================
5200: psa_utils.debug_other_string(g_state_level,l_full_path, ' cbc_recon_stmt --> ' || cbc_recon_stmt);
5201: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ledger_id --> ' || g_ledger_id);
5202: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id --> ' || g_packet_id);
5203: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_mode --> ' || g_fcmode);
5204: -- ========================= FND LOG ===========================
5205:
5206: execute immediate cbc_recon_stmt

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

5199: -- ========================= FND LOG ===========================
5200: psa_utils.debug_other_string(g_state_level,l_full_path, ' cbc_recon_stmt --> ' || cbc_recon_stmt);
5201: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_ledger_id --> ' || g_ledger_id);
5202: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_packet_id --> ' || g_packet_id);
5203: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_mode --> ' || g_fcmode);
5204: -- ========================= FND LOG ===========================
5205:
5206: execute immediate cbc_recon_stmt
5207: USING IN OUT cbc_recon_code,IN g_packet_id,IN g_ledger_id,IN g_fcmode;

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

5206: execute immediate cbc_recon_stmt
5207: USING IN OUT cbc_recon_code,IN g_packet_id,IN g_ledger_id,IN g_fcmode;
5208:
5209: -- ========================= FND LOG ===========================
5210: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN cbc_recon_code --> ' || cbc_recon_code);
5211: -- ========================= FND LOG ===========================
5212:
5213: IF cbc_recon_code = -1 THEN
5214: g_debug := g_debug||' GLRCHK Failed : CBC_RECONC_CODE = -1';

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

5224: END IF;
5225:
5226: -- ========================= FND LOG ===========================
5227: IF (g_psa_grantcheck) THEN
5228: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_grantcheck --> TRUE ');
5229: ELSE
5230: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_grantcheck --> FALSE ');
5231: END IF;
5232: -- ========================= FND LOG ===========================

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

5226: -- ========================= FND LOG ===========================
5227: IF (g_psa_grantcheck) THEN
5228: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_grantcheck --> TRUE ');
5229: ELSE
5230: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_grantcheck --> FALSE ');
5231: END IF;
5232: -- ========================= FND LOG ===========================
5233:
5234: /*========================+

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

5237:
5238: IF g_psa_grantcheck THEN
5239:
5240: -- ========================= FND LOG ===========================
5241: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling GMS Reconcile ');
5242: -- ========================= FND LOG ===========================
5243:
5244: DECLARE
5245:

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

5248: gms_control gl_bc_packets.result_code%TYPE;
5249:
5250: BEGIN
5251: -- ========================= FND LOG ===========================
5252: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLRCHK(GMS Reconcile) --> START ');
5253: psa_utils.debug_other_string(g_state_level,l_full_path, ' post_control -> ' || post_control);
5254: -- ========================= FND LOG ===========================
5255:
5256: IF post_control = 'X' OR post_control = 'Z' THEN

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

5249:
5250: BEGIN
5251: -- ========================= FND LOG ===========================
5252: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLRCHK(GMS Reconcile) --> START ');
5253: psa_utils.debug_other_string(g_state_level,l_full_path, ' post_control -> ' || post_control);
5254: -- ========================= FND LOG ===========================
5255:
5256: IF post_control = 'X' OR post_control = 'Z' THEN
5257: gl_retcode := g_return_code;

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

5261: gms_control := gms_retcode;
5262: END IF;
5263:
5264: -- ========================= FND LOG ===========================
5265: psa_utils.debug_other_string(g_state_level,l_full_path, ' gl_retcode -> ' || gl_retcode);
5266: psa_utils.debug_other_string(g_state_level,l_full_path, ' gms_control -> ' || gms_control);
5267: -- ========================= FND LOG ===========================
5268:
5269: gms_stmt :=

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

5262: END IF;
5263:
5264: -- ========================= FND LOG ===========================
5265: psa_utils.debug_other_string(g_state_level,l_full_path, ' gl_retcode -> ' || gl_retcode);
5266: psa_utils.debug_other_string(g_state_level,l_full_path, ' gms_control -> ' || gms_control);
5267: -- ========================= FND LOG ===========================
5268:
5269: gms_stmt :=
5270: 'BEGIN '||

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

5272: ':gl_retcode, :gms_control, :g_partial_resv_flag); '||
5273: 'END;';
5274:
5275: -- ========================= FND LOG ===========================
5276: psa_utils.debug_other_string(g_state_level,l_full_path, ' gms_stmt -> ' || gms_stmt);
5277: -- ========================= FND LOG ===========================
5278:
5279: execute immediate gms_stmt using g_packet_id, g_fcmode, in out gl_retcode,
5280: gms_control, g_partial_resv_flag;

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

5284:
5285: IF gl_retcode IS NOT NULL AND gl_retcode <> 'Z' THEN
5286:
5287: -- ========================= FND LOG ===========================
5288: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code -> ' || g_return_code);
5289: psa_utils.debug_other_string(g_state_level,l_full_path, ' Goto -> GMS_RECONCILE_EXIT (Normal) ');
5290: -- ========================= FND LOG ===========================
5291:
5292: g_return_code := gl_retcode;

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

5285: IF gl_retcode IS NOT NULL AND gl_retcode <> 'Z' THEN
5286:
5287: -- ========================= FND LOG ===========================
5288: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code -> ' || g_return_code);
5289: psa_utils.debug_other_string(g_state_level,l_full_path, ' Goto -> GMS_RECONCILE_EXIT (Normal) ');
5290: -- ========================= FND LOG ===========================
5291:
5292: g_return_code := gl_retcode;
5293: goto gms_reconcile_exit;

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

5294:
5295: END IF;
5296:
5297: -- ========================= FND LOG ===========================
5298: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE ');
5299: -- ========================= FND LOG ===========================
5300: g_debug := g_debug||' GLRCHK Failed';
5301: RETURN(FALSE);
5302:

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

5306:
5307: WHEN OTHERS THEN
5308:
5309: -- ========================= FND LOG ===========================
5310: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
5311: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE ');
5312: -- ========================= FND LOG ===========================
5313: g_debug := g_debug||' GLRCHK Failed : '||SQLERRM;
5314: RETURN(FALSE);

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

5307: WHEN OTHERS THEN
5308:
5309: -- ========================= FND LOG ===========================
5310: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
5311: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE ');
5312: -- ========================= FND LOG ===========================
5313: g_debug := g_debug||' GLRCHK Failed : '||SQLERRM;
5314: RETURN(FALSE);
5315: END;

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

5317: END IF;
5318:
5319: -- ========================= FND LOG ===========================
5320: IF (g_psa_pacheck) THEN
5321: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_pacheck --> TRUE ');
5322: ELSE
5323: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_pacheck --> FALSE ');
5324: END IF;
5325: -- ========================= FND LOG ===========================

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

5319: -- ========================= FND LOG ===========================
5320: IF (g_psa_pacheck) THEN
5321: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_pacheck --> TRUE ');
5322: ELSE
5323: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_psa_pacheck --> FALSE ');
5324: END IF;
5325: -- ========================= FND LOG ===========================
5326:
5327: /*========================+

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

5329: +========================*/
5330:
5331: IF (g_psa_pacheck) AND (post_control = 'X') THEN
5332: -- ========================= FND LOG ===========================
5333: psa_utils.debug_other_string(g_state_level,l_full_path, ' calling glzpacfm ');
5334: -- ========================= FND LOG ===========================
5335:
5336: DECLARE
5337:

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

5339: err_stg VARCHAR2(1024);
5340:
5341: BEGIN
5342: -- ========================= FND LOG ===========================
5343: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLRCHK(GLZPAFCM) --> START ');
5344: -- ========================= FND LOG ===========================
5345:
5346: pa_stmt :=
5347: 'BEGIN '||

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

5349: ':g_fcmode_var, :g_partial_resv_flag_var, NULL, NULL,:gl_retcode, :err_stg); '||
5350: 'END;';
5351:
5352: -- ========================= FND LOG ===========================
5353: psa_utils.debug_other_string(g_state_level,l_full_path, ' pa_stmt -> ' || pa_stmt);
5354: -- ========================= FND LOG ===========================
5355:
5356: -- ========================= FND LOG ===========================
5357: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);

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

5353: psa_utils.debug_other_string(g_state_level,l_full_path, ' pa_stmt -> ' || pa_stmt);
5354: -- ========================= FND LOG ===========================
5355:
5356: -- ========================= FND LOG ===========================
5357: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);
5358: -- ========================= FND LOG ===========================
5359:
5360: IF g_fcmode = 'U' THEN
5361: EXECUTE IMMEDIATE pa_stmt USING 'GL', g_packet_id_ursvd, g_fcmode,

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

5365: g_partial_resv_flag, IN OUT g_return_code, OUT err_stg;
5366: END IF;
5367:
5368: -- ========================= FND LOG ===========================
5369: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code -> ' || g_return_code);
5370: psa_utils.debug_other_string(g_state_level,l_full_path, ' err_stg -> ' || err_stg);
5371: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE');
5372: -- ========================= FND LOG ===========================
5373:

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

5366: END IF;
5367:
5368: -- ========================= FND LOG ===========================
5369: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code -> ' || g_return_code);
5370: psa_utils.debug_other_string(g_state_level,l_full_path, ' err_stg -> ' || err_stg);
5371: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE');
5372: -- ========================= FND LOG ===========================
5373:
5374: EXCEPTION

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

5367:
5368: -- ========================= FND LOG ===========================
5369: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code -> ' || g_return_code);
5370: psa_utils.debug_other_string(g_state_level,l_full_path, ' err_stg -> ' || err_stg);
5371: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE');
5372: -- ========================= FND LOG ===========================
5373:
5374: EXCEPTION
5375:

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

5375:
5376: WHEN OTHERS THEN
5377:
5378: -- ========================= FND LOG ===========================
5379: psa_utils.debug_other_string(g_excep_level,l_full_path, ' WHEN OTHERS EXCEPTION' );
5380: -- ========================= FND LOG ===========================
5381:
5382: /* Even when an SQL exception is raised, if the pa_retcode */
5383: /* has been set, indicate that processing has completed. */

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

5382: /* Even when an SQL exception is raised, if the pa_retcode */
5383: /* has been set, indicate that processing has completed. */
5384:
5385: -- ========================= FND LOG ===========================
5386: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> TRUE ');
5387: -- ========================= FND LOG ===========================
5388:
5389: END;
5390:

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

5390:
5391: END IF;
5392:
5393: -- ========================= FND LOG ===========================
5394: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN --> TRUE ');
5395: -- ========================= FND LOG ===========================
5396:
5397: RETURN(TRUE);
5398:

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

5482:
5483: l_full_path := g_path || 'glxfje';
5484:
5485: -- ========================= FND LOG ===========================
5486: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFJE --> START ');
5487: -- ========================= FND LOG ===========================
5488:
5489: -- Get Originating Batch ID and Actual Flag
5490: open orig_bat;

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

5491: fetch orig_bat into l_je_batch_id, l_actual_flag, l_max_je_line_num;
5492: close orig_bat;
5493:
5494: -- ========================= FND LOG ===========================
5495: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_je_batch_id -> ' || l_je_batch_id);
5496: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_actual_flag -> ' || l_actual_flag);
5497: -- ========================= FND LOG ===========================
5498:
5499: -- Check whether we should avoid copying DFF information

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

5492: close orig_bat;
5493:
5494: -- ========================= FND LOG ===========================
5495: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_je_batch_id -> ' || l_je_batch_id);
5496: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_actual_flag -> ' || l_actual_flag);
5497: -- ========================= FND LOG ===========================
5498:
5499: -- Check whether we should avoid copying DFF information
5500: open avoid_copy_dff_attr;

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

5504: end if;
5505: close avoid_copy_dff_attr;
5506:
5507: -- ========================= FND LOG ===========================
5508: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_avoid_copying_attr -> ' || l_avoid_copying_attr);
5509: -- ========================= FND LOG ===========================
5510:
5511: -- Create/Delete separate Actual Batch for the generated transactions
5512: -- if the Originating Batch is Budget/Encumbrance; else, append/delete

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

5513: -- the generated transactions to/from the Originating Actual Batch
5514:
5515: if l_actual_flag <> 'A' then
5516: -- ========================= FND LOG ===========================
5517: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);
5518: -- ========================= FND LOG ===========================
5519:
5520: if g_fcmode = 'U' then
5521: -- ========================= FND LOG ===========================

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

5518: -- ========================= FND LOG ===========================
5519:
5520: if g_fcmode = 'U' then
5521: -- ========================= FND LOG ===========================
5522: psa_utils.debug_other_string(g_state_level,l_full_path, ' goto delete_separate_batch label ');
5523: -- ========================= FND LOG ===========================
5524: goto delete_separate_batch;
5525: else
5526: -- ========================= FND LOG ===========================

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

5523: -- ========================= FND LOG ===========================
5524: goto delete_separate_batch;
5525: else
5526: -- ========================= FND LOG ===========================
5527: psa_utils.debug_other_string(g_state_level,l_full_path, ' goto create_separate_batch label ');
5528: -- ========================= FND LOG ===========================
5529: goto create_separate_batch;
5530: end if;
5531:

Line 5595: psa_utils.debug_other_string(g_state_level,l_full_path,

5591: and bp.packet_id = g_packet_id
5592: and bp.ussgl_link_to_parent_id is not null;
5593:
5594: -- ========================= FND LOG ===========================
5595: psa_utils.debug_other_string(g_state_level,l_full_path,
5596: ' gl_je_lines for originating batch ' || sql%ROWCOUNT);
5597: -- ========================= FND LOG ===========================
5598:
5599: else

Line 5702: psa_utils.debug_other_string(g_state_level,l_full_path,

5698: AND JL1.je_header_id = BP.je_header_id
5699: AND JL1.je_line_num = BP.je_line_num;
5700:
5701: -- ========================= FND LOG ===========================
5702: psa_utils.debug_other_string(g_state_level,l_full_path,
5703: ' Insert GL_JE_LINES -> ' || sql%ROWCOUNT);
5704: -- ========================= FND LOG ===========================
5705:
5706: end if;

Line 5723: psa_utils.debug_other_string(g_state_level,l_full_path,

5719: )
5720: and jl.reference_10 = 'glxfje() generated: ' || g_packet_id_ursvd;
5721:
5722: -- ========================= FND LOG ===========================
5723: psa_utils.debug_other_string(g_state_level,l_full_path,
5724: ' delete gl_je_lines - Unreservation ' || sql%ROWCOUNT);
5725: -- ========================= FND LOG ===========================
5726:
5727: end if;

Line 5768: psa_utils.debug_other_string(g_state_level,l_full_path,

5764: and bp1.ussgl_link_to_parent_id is not null
5765: );
5766:
5767: -- ========================= FND LOG ===========================
5768: psa_utils.debug_other_string(g_state_level,l_full_path,
5769: ' Update Control Total and Running Totals - gl_je_headers ' || SQL%ROWCOUNT);
5770: -- ========================= FND LOG ===========================
5771:
5772:

Line 5806: psa_utils.debug_other_string(g_state_level,l_full_path,

5802: )
5803: where jb.je_batch_id = l_je_batch_id;
5804:
5805: -- ========================= FND LOG ===========================
5806: psa_utils.debug_other_string(g_state_level,l_full_path,
5807: ' Update gl_je_batches - Batch Control Total, Running Totals, ' ||
5808: ' Budgetary Control Status ' || SQL%ROWCOUNT);
5809: psa_utils.debug_other_string(g_state_level,l_full_path, ' goto normal_exit label ');
5810: -- ========================= FND LOG ===========================

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

5805: -- ========================= FND LOG ===========================
5806: psa_utils.debug_other_string(g_state_level,l_full_path,
5807: ' Update gl_je_batches - Batch Control Total, Running Totals, ' ||
5808: ' Budgetary Control Status ' || SQL%ROWCOUNT);
5809: psa_utils.debug_other_string(g_state_level,l_full_path, ' goto normal_exit label ');
5810: -- ========================= FND LOG ===========================
5811:
5812: -- Invoke GL API to fix the GL_JE_SEGMENT_VALUES table.
5813: -- We invoke this API with batch_id parameter so that it works with both inserts/deletes

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

5819:
5820: <>
5821:
5822: -- ========================= FND LOG ===========================
5823: psa_utils.debug_other_string(g_state_level,l_full_path, ' Reached create_separate_batch label ');
5824: -- ========================= FND LOG ===========================
5825:
5826: -- Get new Batch ID from Sequence
5827: open batch_id;

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

5832: fetch enable_approval into l_enable_app;
5833: close enable_approval;
5834:
5835: -- ========================= FND LOG ===========================
5836: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_gen_batch_id -> '|| l_gen_batch_id);
5837: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_enable_app -> '|| l_enable_app.enable_je_approval_flag);
5838: -- ========================= FND LOG ===========================
5839:
5840: if l_enable_app.enable_je_approval_flag = 'Y' then

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

5833: close enable_approval;
5834:
5835: -- ========================= FND LOG ===========================
5836: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_gen_batch_id -> '|| l_gen_batch_id);
5837: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_enable_app -> '|| l_enable_app.enable_je_approval_flag);
5838: -- ========================= FND LOG ===========================
5839:
5840: if l_enable_app.enable_je_approval_flag = 'Y' then
5841:

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

5843: fetch je_source into l_je_source;
5844: close je_source;
5845:
5846: -- ========================= FND LOG ===========================
5847: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_je_source -> '|| l_je_source.je_source);
5848: -- ========================= FND LOG ===========================
5849:
5850: open je_approval(l_je_source.je_source);
5851: fetch je_approval into l_je_approval;

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

5851: fetch je_approval into l_je_approval;
5852: close je_approval;
5853:
5854: -- ========================= FND LOG ===========================
5855: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_je_approval -> '|| l_je_approval.journal_approval_flag);
5856: -- ========================= FND LOG ===========================
5857:
5858: if l_je_approval.journal_approval_flag = 'Y' then
5859: l_approval_status_code := 'R';

Line 5869: psa_utils.debug_other_string(g_state_level,l_full_path,

5865: l_approval_status_code := 'Z';
5866: end if;
5867:
5868: -- ========================= FND LOG ===========================
5869: psa_utils.debug_other_string(g_state_level,l_full_path,
5870: ' l_approval_status_code -> '|| l_approval_status_code);
5871: -- ========================= FND LOG ===========================
5872:
5873: -- Create new Actual Batch for the Generated Transactions

Line 5941: psa_utils.debug_other_string(g_state_level,l_full_path,

5937: and jb.je_batch_id = l_je_batch_id;
5938:
5939:
5940: -- ========================= FND LOG ===========================
5941: psa_utils.debug_other_string(g_state_level,l_full_path,
5942: ' Creating new actual bacth - gl_je_batches -> '|| SQL%ROWCOUNT);
5943: -- ========================= FND LOG ===========================
5944:
5945:

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

5943: -- ========================= FND LOG ===========================
5944:
5945:
5946: -- ========================= FND LOG ===========================
5947: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glurevd ');
5948: -- ========================= FND LOG ===========================
5949:
5950: DECLARE
5951:

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

5958: FOR x IN batch_sources
5959: LOOP
5960:
5961: -- ========================= FND LOG ===========================
5962: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.je_header_id -> '|| x.je_header_id);
5963: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.je_category -> '|| x.je_category);
5964: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.je_source -> '|| x.je_source);
5965: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.period_name -> '|| x.period_name);
5966: -- ========================= FND LOG ===========================

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

5959: LOOP
5960:
5961: -- ========================= FND LOG ===========================
5962: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.je_header_id -> '|| x.je_header_id);
5963: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.je_category -> '|| x.je_category);
5964: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.je_source -> '|| x.je_source);
5965: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.period_name -> '|| x.period_name);
5966: -- ========================= FND LOG ===========================
5967:

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

5960:
5961: -- ========================= FND LOG ===========================
5962: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.je_header_id -> '|| x.je_header_id);
5963: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.je_category -> '|| x.je_category);
5964: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.je_source -> '|| x.je_source);
5965: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.period_name -> '|| x.period_name);
5966: -- ========================= FND LOG ===========================
5967:
5968: IF NOT ( glurevd(p_ledger_id => g_ledger_id,

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

5961: -- ========================= FND LOG ===========================
5962: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.je_header_id -> '|| x.je_header_id);
5963: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.je_category -> '|| x.je_category);
5964: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.je_source -> '|| x.je_source);
5965: psa_utils.debug_other_string(g_state_level,l_full_path, ' x.period_name -> '|| x.period_name);
5966: -- ========================= FND LOG ===========================
5967:
5968: IF NOT ( glurevd(p_ledger_id => g_ledger_id,
5969: p_je_category => x.je_category,

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

5973: x_reversal_method => l_reversal_method,
5974: p_balance_type => 'A')) THEN
5975:
5976: -- ========================= FND LOG ===========================
5977: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE ');
5978: -- ========================= FND LOG ===========================
5979: g_debug := g_debug||' GLXFJE Failed : glurevd returned FALSE';
5980: return (FALSE);
5981: END IF;

Line 6055: psa_utils.debug_other_string(g_state_level,l_full_path,

6051: );
6052:
6053:
6054: -- ========================= FND LOG ===========================
6055: psa_utils.debug_other_string(g_state_level,l_full_path,
6056: ' Insert gl_je_headers - Headers for Actual Batches ' || SQL%ROWCOUNT);
6057: -- ========================= FND LOG ===========================
6058: END LOOP;
6059: END;

Line 6082: psa_utils.debug_other_string(g_state_level,l_full_path,

6078: )
6079: where JH.je_batch_id = l_gen_batch_id;
6080:
6081: -- ========================= FND LOG ===========================
6082: psa_utils.debug_other_string(g_state_level,l_full_path,
6083: ' update gl_je_headers - running totals - ' || SQL%ROWCOUNT);
6084: -- ========================= FND LOG ===========================
6085:
6086: -- Insert generated transactions in packet into gl_je_lines

Line 6226: psa_utils.debug_other_string(g_state_level,l_full_path,

6222:
6223: end if;
6224:
6225: -- ========================= FND LOG ===========================
6226: psa_utils.debug_other_string(g_state_level,l_full_path,
6227: ' Insert gl_je_lines - ' || SQL%ROWCOUNT);
6228: -- ========================= FND LOG ===========================
6229:
6230:

Line 6241: psa_utils.debug_other_string(g_state_level,l_full_path,

6237: where bp.packet_id = g_packet_id
6238: and bp.ussgl_link_to_parent_id is not null;
6239:
6240: -- ========================= FND LOG ===========================
6241: psa_utils.debug_other_string(g_state_level,l_full_path,
6242: ' update gl_bc_packets - je_bacth_id - ' || SQL%ROWCOUNT);
6243: -- ========================= FND LOG ===========================
6244:
6245: -- Clean up attribute1 in gl_je_headers (contains header id of the

Line 6253: psa_utils.debug_other_string(g_state_level,l_full_path,

6249: set jh.attribute1 = null
6250: where jh.je_batch_id = l_gen_batch_id;
6251:
6252: -- ========================= FND LOG ===========================
6253: psa_utils.debug_other_string(g_state_level,l_full_path,
6254: ' update gl_je_headers -> ' || SQL%ROWCOUNT);
6255: psa_utils.debug_other_string(g_state_level,l_full_path,
6256: ' goto normal_exit label ');
6257: -- ========================= FND LOG ===========================

Line 6255: psa_utils.debug_other_string(g_state_level,l_full_path,

6251:
6252: -- ========================= FND LOG ===========================
6253: psa_utils.debug_other_string(g_state_level,l_full_path,
6254: ' update gl_je_headers -> ' || SQL%ROWCOUNT);
6255: psa_utils.debug_other_string(g_state_level,l_full_path,
6256: ' goto normal_exit label ');
6257: -- ========================= FND LOG ===========================
6258:
6259: -- Invoke GL API to fix the GL_JE_SEGMENT_VALUES table.

Line 6267: psa_utils.debug_other_string(g_state_level,l_full_path,

6263: goto normal_exit;
6264:
6265: <>
6266: -- ========================= FND LOG ===========================
6267: psa_utils.debug_other_string(g_state_level,l_full_path,
6268: ' Reached delete_seperate_batch label ');
6269: -- ========================= FND LOG ===========================
6270:
6271: -- Delete all previously created associated generated transactions from

Line 6287: psa_utils.debug_other_string(g_state_level,l_full_path,

6283: )
6284: and jl.reference_10 = 'glxfje() generated: ' || g_packet_id_ursvd;
6285:
6286: -- ========================= FND LOG ===========================
6287: psa_utils.debug_other_string(g_state_level,l_full_path,
6288: ' Delete gl_je_lines - ' || SQL%ROWCOUNT);
6289: -- ========================= FND LOG ===========================
6290:
6291: -- Delete all associated headers of the generated transactions

Line 6303: psa_utils.debug_other_string(g_state_level,l_full_path,

6299: and bp.ussgl_link_to_parent_id is not null
6300: );
6301:
6302: -- ========================= FND LOG ===========================
6303: psa_utils.debug_other_string(g_state_level,l_full_path,
6304: ' Delete gl_je_headers - ' || SQL%ROWCOUNT);
6305: -- ========================= FND LOG ===========================
6306:
6307: -- Delete the associated batch of the generated transactions

Line 6315: psa_utils.debug_other_string(g_state_level,l_full_path,

6311: delete from gl_je_batches jb
6312: where jb.je_batch_id = x.je_batch_id;
6313:
6314: -- ========================= FND LOG ===========================
6315: psa_utils.debug_other_string(g_state_level,l_full_path,
6316: ' Delete gl_je_batches - ' || SQL%ROWCOUNT);
6317: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN - TRUE ');
6318: -- ========================= FND LOG ===========================
6319:

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

6313:
6314: -- ========================= FND LOG ===========================
6315: psa_utils.debug_other_string(g_state_level,l_full_path,
6316: ' Delete gl_je_batches - ' || SQL%ROWCOUNT);
6317: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN - TRUE ');
6318: -- ========================= FND LOG ===========================
6319:
6320: -- Invoke the GL API to fix the GL_JE_SEGMENT_VALUES table
6321:

Line 6330: psa_utils.debug_other_string(g_state_level,l_full_path,

6326: return(TRUE);
6327:
6328: <>
6329: -- ========================= FND LOG ===========================
6330: psa_utils.debug_other_string(g_state_level,l_full_path,
6331: ' Reached normal_exit label');
6332: -- ========================= FND LOG ===========================
6333:
6334: if NOT g_conc_flag AND l_actual_flag = 'A' then

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

6336: g_requery_flag := TRUE;
6337: end if;
6338:
6339: -- ========================= FND LOG ===========================
6340: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN - TRUE ');
6341: -- ========================= FND LOG ===========================
6342: return(TRUE);
6343:
6344:

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

6358: message_token('EVENT', SQLERRM);
6359: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
6360:
6361: -- ========================= FND LOG ===========================
6362: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
6363: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN - FALSE ');
6364: -- ========================= FND LOG ===========================
6365: g_debug := g_debug||' GLXFJE Failed : '||SQLERRM;
6366: return(FALSE);

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

6359: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
6360:
6361: -- ========================= FND LOG ===========================
6362: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
6363: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN - FALSE ');
6364: -- ========================= FND LOG ===========================
6365: g_debug := g_debug||' GLXFJE Failed : '||SQLERRM;
6366: return(FALSE);
6367:

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

6401:
6402: l_full_path := g_path || 'glxfpp1';
6403:
6404: -- ========================= FND LOG ===========================
6405: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFPP1 --> START ');
6406: -- ========================= FND LOG ===========================
6407:
6408: -- Delete Packet Transactions
6409: delete from gl_bc_packets bp

Line 6413: psa_utils.debug_other_string(g_state_level,l_full_path,

6409: delete from gl_bc_packets bp
6410: where bp.packet_id in (p_packetid, p_packetid_ursvd);
6411:
6412: -- ========================= FND LOG ===========================
6413: psa_utils.debug_other_string(g_state_level,l_full_path,
6414: ' delete from gl_bc_packets ' || SQL%ROWCOUNT);
6415: -- ========================= FND LOG ===========================
6416:
6417: -- Delete Packet Arrival Order Record

Line 6422: psa_utils.debug_other_string(g_state_level,l_full_path,

6418: delete from gl_bc_packet_arrival_order ao
6419: where ao.packet_id in (p_packetid, p_packetid_ursvd);
6420:
6421: -- ========================= FND LOG ===========================
6422: psa_utils.debug_other_string(g_state_level,l_full_path,
6423: ' delete from gl_bc_packet_arrival_order ' || SQL%ROWCOUNT);
6424: -- ========================= FND LOG ===========================
6425:
6426: EXCEPTION

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

6431: message_token('EVENT', SQLERRM);
6432: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
6433:
6434: -- ========================= FND LOG ===========================
6435: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
6436: -- ========================= FND LOG ===========================
6437:
6438: END glxfpp;
6439:

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

6447:
6448: l_full_path := g_path || 'glxfpp2';
6449:
6450: -- ========================= FND LOG ===========================
6451: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFPP2 --> START ');
6452: -- ========================= FND LOG ===========================
6453:
6454: -- Delete Packet Transactions
6455: delete from gl_bc_packets bp

Line 6459: psa_utils.debug_other_string(g_state_level,l_full_path,

6455: delete from gl_bc_packets bp
6456: where bp.event_id = p_eventid;
6457:
6458: -- ========================= FND LOG ===========================
6459: psa_utils.debug_other_string(g_state_level,l_full_path,
6460: ' delete from gl_bc_packets ' || SQL%ROWCOUNT);
6461: -- ========================= FND LOG ===========================
6462:
6463: -- Delete Packet Arrival Order Record

Line 6470: psa_utils.debug_other_string(g_state_level,l_full_path,

6466: from gl_bc_packets
6467: where event_id = p_eventid);
6468:
6469: -- ========================= FND LOG ===========================
6470: psa_utils.debug_other_string(g_state_level,l_full_path,
6471: ' delete from gl_bc_packet_arrival_order ' || SQL%ROWCOUNT);
6472: -- ========================= FND LOG ===========================
6473:
6474: -- Delete History Record

Line 6479: psa_utils.debug_other_string(g_state_level,l_full_path,

6475: delete from gl_bc_packets_hists bp
6476: where bp.event_id = p_eventid;
6477:
6478: -- ========================= FND LOG ===========================
6479: psa_utils.debug_other_string(g_state_level,l_full_path,
6480: ' delete from gl_bc_packets_hists ' || SQL%ROWCOUNT);
6481: -- ========================= FND LOG ===========================
6482:
6483: EXCEPTION

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

6488: message_token('EVENT', SQLERRM);
6489: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
6490:
6491: -- ========================= FND LOG ===========================
6492: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
6493: -- ========================= FND LOG ===========================
6494:
6495: END glxfpp;
6496:

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

6519:
6520: l_full_path := g_path || 'glxfuf';
6521:
6522: -- ========================= FND LOG ===========================
6523: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfuf -> START ');
6524: -- ========================= FND LOG ===========================
6525:
6526: -- Update Status Code for the Packet Transactions
6527: update gl_bc_packets bp

Line 6532: psa_utils.debug_other_string(g_state_level,l_full_path,

6528: set bp.status_code = 'T'
6529: where bp.packet_id = g_packet_id;
6530:
6531: -- ========================= FND LOG ===========================
6532: psa_utils.debug_other_string(g_state_level,l_full_path,
6533: ' g_packet_id -> ' || g_packet_id );
6534: psa_utils.debug_other_string(g_state_level,l_full_path,
6535: ' update gl_bc_packets with T -> ' || SQL%ROWCOUNT );
6536: -- ========================= FND LOG ===========================

Line 6534: psa_utils.debug_other_string(g_state_level,l_full_path,

6530:
6531: -- ========================= FND LOG ===========================
6532: psa_utils.debug_other_string(g_state_level,l_full_path,
6533: ' g_packet_id -> ' || g_packet_id );
6534: psa_utils.debug_other_string(g_state_level,l_full_path,
6535: ' update gl_bc_packets with T -> ' || SQL%ROWCOUNT );
6536: -- ========================= FND LOG ===========================
6537:
6538: -- Update Affect Funds Flag

Line 6544: psa_utils.debug_other_string(g_state_level,l_full_path,

6540: set ao.affect_funds_flag = 'N'
6541: where ao.packet_id = g_packet_id;
6542:
6543: -- ========================= FND LOG ===========================
6544: psa_utils.debug_other_string(g_state_level,l_full_path,
6545: ' update gl_bc_packet_arrival_order to N -> ' || SQL%ROWCOUNT );
6546: -- ========================= FND LOG ===========================
6547:
6548: if not glrchk('Z') then

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

6546: -- ========================= FND LOG ===========================
6547:
6548: if not glrchk('Z') then
6549: -- ========================= FND LOG ===========================
6550: psa_utils.debug_other_string(g_state_level,l_full_path, ' glrchk(Z) -> FALSE' );
6551: -- ========================= FND LOG ===========================
6552: null;
6553: end if;
6554:

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

6552: null;
6553: end if;
6554:
6555: -- ========================= FND LOG ===========================
6556: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN --> TRUE' );
6557: -- ========================= FND LOG ===========================
6558: return(TRUE);
6559:
6560: EXCEPTION

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

6565: message_token('EVENT', SQLERRM);
6566: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
6567:
6568: -- ========================= FND LOG ===========================
6569: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM );
6570: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN --> FALSE' );
6571: -- ========================= FND LOG ===========================
6572: g_debug := g_debug||' GLXFUF Failed : '||SQLERRM;
6573: return(FALSE);

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

6566: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
6567:
6568: -- ========================= FND LOG ===========================
6569: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM );
6570: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN --> FALSE' );
6571: -- ========================= FND LOG ===========================
6572: g_debug := g_debug||' GLXFUF Failed : '||SQLERRM;
6573: return(FALSE);
6574:

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

6593: g_no_msg_tokens := g_no_msg_tokens + 1;
6594: end if;
6595:
6596: -- ========================= FND LOG ===========================
6597: psa_utils.debug_other_string(g_excep_level,l_full_path, ' g_no_msg_tokens -> ' || g_no_msg_tokens );
6598: -- ========================= FND LOG ===========================
6599:
6600: msg_tok_names(g_no_msg_tokens) := tokname;
6601: msg_tok_val(g_no_msg_tokens) := tokval;

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

6634: -- Clear Message Token stack
6635: g_no_msg_tokens := 0;
6636:
6637: -- ========================= FND LOG ===========================
6638: psa_utils.debug_other_string(g_excep_level,l_full_path, ' g_no_msg_tokens -> ' || g_no_msg_tokens );
6639: -- ========================= FND LOG ===========================
6640:
6641:
6642: END add_message;

Line 6697: psa_utils.debug_other_string(g_excep_level,l_full_path, ' l_fv_prepay_pkg.status -> ' || l_fv_prepay_pkg.status );

6693: into l_fv_prepay_pkg;
6694: close c_fv_prepay_pkg;
6695:
6696: -- ========================= FND LOG ===========================
6697: psa_utils.debug_other_string(g_excep_level,l_full_path, ' l_fv_prepay_pkg.status -> ' || l_fv_prepay_pkg.status );
6698: -- ========================= FND LOG ===========================
6699:
6700:
6701: if l_fv_prepay_pkg.status = 'Y' then

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

6745: message_token('EVENT', SQLERRM);
6746: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
6747:
6748: -- ========================= FND LOG ===========================
6749: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
6750: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN FALSE');
6751: -- ========================= FND LOG ===========================
6752:
6753: g_debug := g_debug||' FV_PREPAY_PKG Failed : '||SQLERRM;

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

6746: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
6747:
6748: -- ========================= FND LOG ===========================
6749: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
6750: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN FALSE');
6751: -- ========================= FND LOG ===========================
6752:
6753: g_debug := g_debug||' FV_PREPAY_PKG Failed : '||SQLERRM;
6754: return FALSE;

Line 6779: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFAR -> START ');

6775:
6776: l_full_path := g_path || 'glxfar';
6777:
6778: -- ========================= FND LOG ===========================
6779: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFAR -> START ');
6780: -- ========================= FND LOG ===========================
6781:
6782: -- Update Affect Funds Flag to 'N' if Mode is Reservation and Return Code
6783: -- is Failure

Line 6794: psa_utils.debug_other_string(g_state_level,l_full_path,

6790: set ao.affect_funds_flag = 'N'
6791: where ao.packet_id = g_packet_id;
6792:
6793: -- ========================= FND LOG ===========================
6794: psa_utils.debug_other_string(g_state_level,l_full_path,
6795: ' update gl_bc_packet_arrival_order -> ' || SQL%ROWCOUNT);
6796: -- ========================= FND LOG ===========================
6797:
6798: -- Commit so that a later rollback does not reset this flag

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

6798: -- Commit so that a later rollback does not reset this flag
6799: commit;
6800:
6801: -- ========================= FND LOG ===========================
6802: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN - TRUE');
6803: -- ========================= FND LOG ===========================
6804: RETURN (TRUE);
6805:
6806: end;

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

6807: end if;
6808:
6809: commit;
6810: -- ========================= FND LOG ===========================
6811: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN - TRUE');
6812: -- ========================= FND LOG ===========================
6813: RETURN (TRUE);
6814:
6815: EXCEPTION

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||' GLXFAR 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||' GLXFAR Failed : '||SQLERRM;
6829: -- bug 3471744

Line 6848: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXCON -> START ');

6844:
6845: l_full_path := g_path || 'glxcon.';
6846:
6847: -- ========================= FND LOG ===========================
6848: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXCON -> START ');
6849: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfrs .. ');
6850: -- ========================= FND LOG ===========================
6851:
6852: -- Get Return Status

Line 6849: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfrs .. ');

6845: l_full_path := g_path || 'glxcon.';
6846:
6847: -- ========================= FND LOG ===========================
6848: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXCON -> START ');
6849: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfrs .. ');
6850: -- ========================= FND LOG ===========================
6851:
6852: -- Get Return Status
6853: if not glxfrs then

Line 6855: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFRS - RETURN FALSE ');

6851:
6852: -- Get Return Status
6853: if not glxfrs then
6854: -- ========================= FND LOG ===========================
6855: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFRS - RETURN FALSE ');
6856: psa_utils.debug_other_string(g_state_level,l_full_path, ' goto fatal_error label ');
6857: -- ========================= FND LOG ===========================
6858: goto fatal_error;
6859: end if;

Line 6856: psa_utils.debug_other_string(g_state_level,l_full_path, ' goto fatal_error label ');

6852: -- Get Return Status
6853: if not glxfrs then
6854: -- ========================= FND LOG ===========================
6855: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFRS - RETURN FALSE ');
6856: psa_utils.debug_other_string(g_state_level,l_full_path, ' goto fatal_error label ');
6857: -- ========================= FND LOG ===========================
6858: goto fatal_error;
6859: end if;
6860:

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

6858: goto fatal_error;
6859: end if;
6860:
6861: -- ========================= FND LOG ===========================
6862: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);
6863: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code -> '|| g_return_code);
6864: -- ========================= FND LOG ===========================
6865:
6866: -- Process Journal Entries Module if all transactions pass Funds

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

6859: end if;
6860:
6861: -- ========================= FND LOG ===========================
6862: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_fcmode -> ' || g_fcmode);
6863: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_return_code -> '|| g_return_code);
6864: -- ========================= FND LOG ===========================
6865:
6866: -- Process Journal Entries Module if all transactions pass Funds
6867: -- (Un)Reservation and Append JE Flag is set

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

6870: (g_return_code in ('S', 'A'))) then
6871:
6872: if g_append_je_flag then
6873: -- ========================= FND LOG ===========================
6874: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> TRUE');
6875: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfje ..');
6876: -- ========================= FND LOG ===========================
6877:
6878: if not glxfje then

Line 6875: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfje ..');

6871:
6872: if g_append_je_flag then
6873: -- ========================= FND LOG ===========================
6874: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> TRUE');
6875: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfje ..');
6876: -- ========================= FND LOG ===========================
6877:
6878: if not glxfje then
6879: -- ========================= FND LOG ===========================

Line 6880: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFJE RETURN FALSE ');

6876: -- ========================= FND LOG ===========================
6877:
6878: if not glxfje then
6879: -- ========================= FND LOG ===========================
6880: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFJE RETURN FALSE ');
6881: psa_utils.debug_other_string(g_state_level,l_full_path, ' goto fatal_error label ');
6882: -- ========================= FND LOG ===========================
6883: goto fatal_error;
6884: end if;

Line 6881: psa_utils.debug_other_string(g_state_level,l_full_path, ' goto fatal_error label ');

6877:
6878: if not glxfje then
6879: -- ========================= FND LOG ===========================
6880: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFJE RETURN FALSE ');
6881: psa_utils.debug_other_string(g_state_level,l_full_path, ' goto fatal_error label ');
6882: -- ========================= FND LOG ===========================
6883: goto fatal_error;
6884: end if;
6885:

Line 6894: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfpp .. ');

6890:
6891: if g_fcmode = 'U' then
6892:
6893: -- ========================= FND LOG ===========================
6894: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfpp .. ');
6895: -- ========================= FND LOG ===========================
6896: glxfpp(g_packet_id, g_packet_id_ursvd);
6897:
6898: -- If Journal Entries were deleted then Commit

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

6897:
6898: -- If Journal Entries were deleted then Commit
6899: if g_append_je_flag then
6900: -- ========================= FND LOG ===========================
6901: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> TRUE ');
6902: psa_utils.debug_other_string(g_state_level,l_full_path, ' COMMIT ');
6903: -- ========================= FND LOG ===========================
6904: commit;
6905: end if;

Line 6902: psa_utils.debug_other_string(g_state_level,l_full_path, ' COMMIT ');

6898: -- If Journal Entries were deleted then Commit
6899: if g_append_je_flag then
6900: -- ========================= FND LOG ===========================
6901: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_append_je_flag -> TRUE ');
6902: psa_utils.debug_other_string(g_state_level,l_full_path, ' COMMIT ');
6903: -- ========================= FND LOG ===========================
6904: commit;
6905: end if;
6906:

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

6907: end if;
6908: end if;
6909:
6910: -- ========================= FND LOG ===========================
6911: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> TRUE ');
6912: -- ========================= FND LOG ===========================
6913: return(TRUE);
6914:
6915: <>

Line 6917: psa_utils.debug_other_string(g_state_level,l_full_path, ' Reached fatal_error label ');

6913: return(TRUE);
6914:
6915: <>
6916: -- ========================= FND LOG ===========================
6917: psa_utils.debug_other_string(g_state_level,l_full_path, ' Reached fatal_error label ');
6918: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfuf .. ');
6919: -- ========================= FND LOG ===========================
6920:
6921: if not glxfuf then

Line 6918: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfuf .. ');

6914:
6915: <>
6916: -- ========================= FND LOG ===========================
6917: psa_utils.debug_other_string(g_state_level,l_full_path, ' Reached fatal_error label ');
6918: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxfuf .. ');
6919: -- ========================= FND LOG ===========================
6920:
6921: if not glxfuf then
6922: -- ========================= FND LOG ===========================

Line 6923: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFUF - RETURN FALSE ');

6919: -- ========================= FND LOG ===========================
6920:
6921: if not glxfuf then
6922: -- ========================= FND LOG ===========================
6923: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFUF - RETURN FALSE ');
6924: psa_utils.debug_other_string(g_state_level,l_full_path, ' RASIE OTHERS ');
6925: -- ========================= FND LOG ===========================
6926: raise others;
6927: end if;

Line 6924: psa_utils.debug_other_string(g_state_level,l_full_path, ' RASIE OTHERS ');

6920:
6921: if not glxfuf then
6922: -- ========================= FND LOG ===========================
6923: psa_utils.debug_other_string(g_state_level,l_full_path, ' GLXFUF - RETURN FALSE ');
6924: psa_utils.debug_other_string(g_state_level,l_full_path, ' RASIE OTHERS ');
6925: -- ========================= FND LOG ===========================
6926: raise others;
6927: end if;
6928:

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

6926: raise others;
6927: end if;
6928:
6929: -- ========================= FND LOG ===========================
6930: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE ');
6931: -- ========================= FND LOG ===========================
6932: g_debug := g_debug||' GLXCON Failed';
6933: return(FALSE);
6934:

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

6940: message_token('EVENT', SQLERRM);
6941: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
6942:
6943: -- ========================= FND LOG ===========================
6944: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
6945: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE ');
6946: -- ========================= FND LOG ===========================
6947: g_debug := g_debug||' GLXCON Failed : '||SQLERRM;
6948: return(FALSE);

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

6941: add_message('SQLGL', 'GL_UNHANDLED_EXCEPTION');
6942:
6943: -- ========================= FND LOG ===========================
6944: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
6945: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE ');
6946: -- ========================= FND LOG ===========================
6947: g_debug := g_debug||' GLXCON Failed : '||SQLERRM;
6948: return(FALSE);
6949:

Line 6978: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledger_id -> ' || p_ledger_id);

6974:
6975: l_full_path := g_path || 'glurevd';
6976:
6977: -- ========================= FND LOG ===========================
6978: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledger_id -> ' || p_ledger_id);
6979: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_category -> ' || p_je_category);
6980: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_source -> ' || p_je_source);
6981: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_period -> ' || p_je_period);
6982: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_date -> '

Line 6979: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_category -> ' || p_je_category);

6975: l_full_path := g_path || 'glurevd';
6976:
6977: -- ========================= FND LOG ===========================
6978: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledger_id -> ' || p_ledger_id);
6979: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_category -> ' || p_je_category);
6980: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_source -> ' || p_je_source);
6981: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_period -> ' || p_je_period);
6982: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_date -> '
6983: || to_char(p_je_date, 'DD-MON-YYYY'));

Line 6980: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_source -> ' || p_je_source);

6976:
6977: -- ========================= FND LOG ===========================
6978: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledger_id -> ' || p_ledger_id);
6979: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_category -> ' || p_je_category);
6980: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_source -> ' || p_je_source);
6981: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_period -> ' || p_je_period);
6982: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_date -> '
6983: || to_char(p_je_date, 'DD-MON-YYYY'));
6984: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_balance_type -> ' || p_balance_type);

Line 6981: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_period -> ' || p_je_period);

6977: -- ========================= FND LOG ===========================
6978: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledger_id -> ' || p_ledger_id);
6979: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_category -> ' || p_je_category);
6980: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_source -> ' || p_je_source);
6981: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_period -> ' || p_je_period);
6982: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_date -> '
6983: || to_char(p_je_date, 'DD-MON-YYYY'));
6984: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_balance_type -> ' || p_balance_type);
6985: -- ========================= FND LOG ===========================

Line 6982: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_date -> '

6978: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledger_id -> ' || p_ledger_id);
6979: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_category -> ' || p_je_category);
6980: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_source -> ' || p_je_source);
6981: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_period -> ' || p_je_period);
6982: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_date -> '
6983: || to_char(p_je_date, 'DD-MON-YYYY'));
6984: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_balance_type -> ' || p_balance_type);
6985: -- ========================= FND LOG ===========================
6986:

Line 6984: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_balance_type -> ' || p_balance_type);

6980: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_source -> ' || p_je_source);
6981: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_period -> ' || p_je_period);
6982: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_je_date -> '
6983: || to_char(p_je_date, 'DD-MON-YYYY'));
6984: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_balance_type -> ' || p_balance_type);
6985: -- ========================= FND LOG ===========================
6986:
6987: IF (p_balance_type = 'A') THEN
6988: BEGIN

Line 7001: psa_utils.debug_other_string(g_excep_level,l_full_path,

6997: x_reversal_date => l_reversal_date);
6998: EXCEPTION
6999: WHEN OTHERS THEN
7000: -- ========================= FND LOG ===========================
7001: psa_utils.debug_other_string(g_excep_level,l_full_path,
7002: 'Call to GL_AUTOREVERSE_DATE_PKG raised unhandled exception - '
7003: ||sqlcode||' - '||sqlerrm);
7004: psa_utils.debug_unexpected_msg(l_full_path);
7005: -- ========================= FND LOG ===========================

Line 7004: psa_utils.debug_unexpected_msg(l_full_path);

7000: -- ========================= FND LOG ===========================
7001: psa_utils.debug_other_string(g_excep_level,l_full_path,
7002: 'Call to GL_AUTOREVERSE_DATE_PKG raised unhandled exception - '
7003: ||sqlcode||' - '||sqlerrm);
7004: psa_utils.debug_unexpected_msg(l_full_path);
7005: -- ========================= FND LOG ===========================
7006:
7007: GL_AUTOREVERSE_DATE_PKG.get_default_reversal_method(
7008: g_ledger_id, p_je_category, l_reversal_method);

Line 7011: psa_utils.debug_other_string(g_excep_level,l_full_path,

7007: GL_AUTOREVERSE_DATE_PKG.get_default_reversal_method(
7008: g_ledger_id, p_je_category, l_reversal_method);
7009:
7010: -- ========================= FND LOG ===========================
7011: psa_utils.debug_other_string(g_excep_level,l_full_path,
7012: 'l_reversal_method value returned by get_default_reversal_method : '||l_reversal_method);
7013: -- ========================= FND LOG ===========================
7014:
7015: END;

Line 7023: psa_utils.debug_other_string(g_excep_level,l_full_path,

7019: GL_AUTOREVERSE_DATE_PKG.get_default_reversal_method(
7020: g_ledger_id, p_je_category, l_reversal_method);
7021:
7022: -- ========================= FND LOG ===========================
7023: psa_utils.debug_other_string(g_excep_level,l_full_path,
7024: 'l_reversal_method value returned by get_default_reversal_method : '||l_reversal_method);
7025: -- ========================= FND LOG ===========================
7026:
7027: END IF;

Line 7032: psa_utils.debug_other_string(g_excep_level,l_full_path,'x_reversal_method -> l_reversal_method');

7028:
7029: IF (l_reversal_method IS NOT NULL) THEN
7030:
7031: -- ========================= FND LOG ===========================
7032: psa_utils.debug_other_string(g_excep_level,l_full_path,'x_reversal_method -> l_reversal_method');
7033: psa_utils.debug_other_string(g_excep_level,l_full_path,'Return -> True');
7034: -- ========================= FND LOG ===========================
7035:
7036: x_reversal_method := l_reversal_method;

Line 7033: psa_utils.debug_other_string(g_excep_level,l_full_path,'Return -> True');

7029: IF (l_reversal_method IS NOT NULL) THEN
7030:
7031: -- ========================= FND LOG ===========================
7032: psa_utils.debug_other_string(g_excep_level,l_full_path,'x_reversal_method -> l_reversal_method');
7033: psa_utils.debug_other_string(g_excep_level,l_full_path,'Return -> True');
7034: -- ========================= FND LOG ===========================
7035:
7036: x_reversal_method := l_reversal_method;
7037: return TRUE;

Line 7040: psa_utils.debug_other_string(g_excep_level,l_full_path,'Return -> False');

7036: x_reversal_method := l_reversal_method;
7037: return TRUE;
7038: ELSE
7039: -- ========================= FND LOG ===========================
7040: psa_utils.debug_other_string(g_excep_level,l_full_path,'Return -> False');
7041: -- ========================= FND LOG ===========================
7042:
7043: return FALSE;
7044: END IF;

Line 7049: psa_utils.debug_other_string(g_excep_level,l_full_path,

7045:
7046: EXCEPTION
7047: WHEN OTHERS THEN
7048: -- ========================= FND LOG ===========================
7049: psa_utils.debug_other_string(g_excep_level,l_full_path,
7050: 'Exception raised in main body execution - '||sqlcode||' - '||sqlerrm);
7051: psa_utils.debug_unexpected_msg(l_full_path);
7052: -- ========================= FND LOG ===========================
7053: g_debug := g_debug||' GLUREVD Failed : '||SQLERRM;

Line 7051: psa_utils.debug_unexpected_msg(l_full_path);

7047: WHEN OTHERS THEN
7048: -- ========================= FND LOG ===========================
7049: psa_utils.debug_other_string(g_excep_level,l_full_path,
7050: 'Exception raised in main body execution - '||sqlcode||' - '||sqlerrm);
7051: psa_utils.debug_unexpected_msg(l_full_path);
7052: -- ========================= FND LOG ===========================
7053: g_debug := g_debug||' GLUREVD Failed : '||SQLERRM;
7054: x_reversal_method := NULL;
7055: return FALSE;

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

7098: BEGIN
7099: l_full_path := g_path || 'gl_confirm_override';
7100:
7101: -- ========================= FND LOG ===========================
7102: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
7103: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
7104: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
7105: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
7106: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);

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

7099: l_full_path := g_path || 'gl_confirm_override';
7100:
7101: -- ========================= FND LOG ===========================
7102: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
7103: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
7104: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
7105: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
7106: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
7107: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);

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

7100:
7101: -- ========================= FND LOG ===========================
7102: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
7103: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
7104: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
7105: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
7106: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
7107: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
7108: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);

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

7101: -- ========================= FND LOG ===========================
7102: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
7103: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
7104: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
7105: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
7106: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
7107: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
7108: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
7109: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_confirm_override -> ' || p_confirm_override);

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

7102: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_ledgerid -> ' || p_ledgerid);
7103: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
7104: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
7105: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
7106: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
7107: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
7108: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
7109: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_confirm_override -> ' || p_confirm_override);
7110: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);

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

7103: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_packetid -> ' || p_packetid);
7104: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
7105: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
7106: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
7107: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
7108: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
7109: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_confirm_override -> ' || p_confirm_override);
7110: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
7111: -- ========================= FND LOG ===========================

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

7104: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_mode -> ' || p_mode);
7105: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
7106: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
7107: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
7108: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
7109: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_confirm_override -> ' || p_confirm_override);
7110: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
7111: -- ========================= FND LOG ===========================
7112:

Line 7109: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_confirm_override -> ' || p_confirm_override);

7105: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_override -> ' || p_override);
7106: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
7107: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
7108: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
7109: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_confirm_override -> ' || p_confirm_override);
7110: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
7111: -- ========================= FND LOG ===========================
7112:
7113: if p_calling_prog_flag <> 'G' then

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

7106: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_conc_flag -> ' || p_conc_flag);
7107: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_id -> ' || p_user_id);
7108: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag -> ' || p_calling_prog_flag);
7109: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_confirm_override -> ' || p_confirm_override);
7110: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_user_resp_id -> ' || p_user_resp_id);
7111: -- ========================= FND LOG ===========================
7112:
7113: if p_calling_prog_flag <> 'G' then
7114:

Line 7116: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag <> G -> raise others');

7112:
7113: if p_calling_prog_flag <> 'G' then
7114:
7115: -- =========================== FND LOG ===========================
7116: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_calling_prog_flag <> G -> raise others');
7117: -- ========================= FND LOG =============================
7118:
7119: raise others;
7120: end if;

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

7129: p_user_resp_id => p_user_resp_id,
7130: p_calling_prog_flag => p_calling_prog_flag) then
7131:
7132: -- =========================== FND LOG ===========================
7133: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfin --> RETURN FALSE -> goto fatal_error');
7134: -- ========================= FND LOG =============================
7135:
7136: goto fatal_error;
7137: end if;

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

7138:
7139: -- Override Transactions
7140: if (g_override_flag) and (p_confirm_override = 'Y') then
7141: -- =========================== FND LOG ===========================
7142: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_override_flag --> TRUE ');
7143: -- ========================= FND LOG =============================
7144:
7145: if not glxfor then
7146: -- =========================== FND LOG ===========================

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

7143: -- ========================= FND LOG =============================
7144:
7145: if not glxfor then
7146: -- =========================== FND LOG ===========================
7147: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfor --> RETURN FALSE -> goto fatal_error');
7148: -- ========================= FND LOG =============================
7149: goto fatal_error;
7150: end if;
7151:

Line 7154: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_override_flag --> FALSE ');

7150: end if;
7151:
7152: else
7153: -- =========================== FND LOG ===========================
7154: psa_utils.debug_other_string(g_state_level,l_full_path, ' g_override_flag --> FALSE ');
7155: -- ========================= FND LOG =============================
7156: end if;
7157:
7158: -- =========================== FND LOG ===========================

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

7155: -- ========================= FND LOG =============================
7156: end if;
7157:
7158: -- =========================== FND LOG ===========================
7159: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glxcon ');
7160: -- ========================= FND LOG =============================
7161:
7162: open append_je;
7163: fetch append_je into l_dummy;

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

7170:
7171: -- Set Result Codes, Return Code, Append Journal Logic
7172: if not glxcon then
7173: -- =========================== FND LOG ===========================
7174: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxcon --> RETURN FALSE -> goto fatal_error');
7175: -- ========================= FND LOG =============================
7176: goto fatal_error;
7177: end if;
7178:

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

7176: goto fatal_error;
7177: end if;
7178:
7179: -- =========================== FND LOG ===========================
7180: psa_utils.debug_other_string(g_state_level,l_full_path, ' Calling glrchk ');
7181: -- ========================= FND LOG =============================
7182:
7183: if not glrchk('X') then
7184: -- =========================== FND LOG ===========================

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

7181: -- ========================= FND LOG =============================
7182:
7183: if not glrchk('X') then
7184: -- =========================== FND LOG ===========================
7185: psa_utils.debug_other_string(g_state_level,l_full_path, ' glrchk(X) --> RETURN FALSE -> goto fatal_error');
7186: -- ========================= FND LOG =============================
7187: goto fatal_error;
7188: end if;
7189:

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

7187: goto fatal_error;
7188: end if;
7189:
7190: -- =========================== FND LOG ===========================
7191: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_return_code = g_return_code --> ' || g_return_code);
7192: -- ========================= FND LOG =============================
7193:
7194: p_return_code := g_return_code;
7195:

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

7193:
7194: p_return_code := g_return_code;
7195:
7196: -- =========================== FND LOG ===========================
7197: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN --> TRUE ');
7198: -- ========================= FND LOG =============================
7199:
7200: IF (p_mode = 'U' AND NOT g_requery_flag) THEN
7201: p_unrsv_packet_id := p_packetid;

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

7199:
7200: IF (p_mode = 'U' AND NOT g_requery_flag) THEN
7201: p_unrsv_packet_id := p_packetid;
7202: -- ========================= FND LOG ===========================
7203: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_unrsv_packet_id --> ' || p_unrsv_packet_id );
7204: -- ========================= FND LOG ===========================
7205: END IF;
7206:
7207: -- If g_requery_flag is TRUE set p_return_code = "Q"

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

7210:
7211: IF g_requery_flag THEN
7212: p_return_code := 'Q';
7213: -- ========================= FND LOG ===========================
7214: psa_utils.debug_other_string(g_state_level,l_full_path, ' p_return_code --> Q => Success/Advisory ');
7215: -- ========================= FND LOG ===========================
7216: END IF;
7217:
7218: -- ========================= FND LOG ===========================

Line 7219: psa_utils.debug_other_string(g_state_level,l_full_path, ' Return -> True');

7215: -- ========================= FND LOG ===========================
7216: END IF;
7217:
7218: -- ========================= FND LOG ===========================
7219: psa_utils.debug_other_string(g_state_level,l_full_path, ' Return -> True');
7220: -- ========================= FND LOG ===========================
7221:
7222: return(TRUE);
7223:

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

7223:
7224: <>
7225:
7226: -- =========================== FND LOG ===========================
7227: psa_utils.debug_other_string(g_state_level,l_full_path, ' Reached FATAL ERROR LABEL ');
7228: -- ========================= FND LOG =============================
7229:
7230: if not glxfuf then
7231: -- =========================== FND LOG ===========================

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

7228: -- ========================= FND LOG =============================
7229:
7230: if not glxfuf then
7231: -- =========================== FND LOG ===========================
7232: psa_utils.debug_other_string(g_state_level,l_full_path, ' glxfuf --> RETURN FALSE -> RAISE OTHERS');
7233: -- ========================= FND LOG =============================
7234: raise others;
7235: end if;
7236:

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

7234: raise others;
7235: end if;
7236:
7237: -- =========================== FND LOG ===========================
7238: psa_utils.debug_other_string(g_state_level,l_full_path, ' RETURN -> FALSE ');
7239: -- ========================= FND LOG =============================
7240:
7241: g_debug := g_debug||' GL_CONFIRM_OVERRIDE Failed';
7242: return(FALSE);

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

7244: EXCEPTION
7245:
7246: WHEN OTHERS THEN
7247: -- =========================== FND LOG ===========================
7248: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
7249: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE ');
7250: -- ========================= FND LOG =============================
7251:
7252: message_token('PROCEDURE', 'Funds Checker');

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

7245:
7246: WHEN OTHERS THEN
7247: -- =========================== FND LOG ===========================
7248: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
7249: psa_utils.debug_other_string(g_excep_level,l_full_path, ' RETURN -> FALSE ');
7250: -- ========================= FND LOG =============================
7251:
7252: message_token('PROCEDURE', 'Funds Checker');
7253: message_token('EVENT', SQLERRM);

Line 7299: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete gl_bc_packets 1 deleted ' || SQL%ROWCOUNT || ' rows');

7295: WHERE audsid = Q.session_id
7296: and Serial# = Q.serial_id)));
7297:
7298: -- =========================== FND LOG ===========================
7299: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete gl_bc_packets 1 deleted ' || SQL%ROWCOUNT || ' rows');
7300: -- ========================= FND LOG =============================
7301:
7302:
7303: DELETE from gl_bc_packets Q

Line 7399: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete gl_bc_packets 2 deleted ' || SQL%ROWCOUNT || ' rows');

7395: GROUP_ID
7396: bulk collect into g_bc_pkts_hist;
7397:
7398: -- =========================== FND LOG ===========================
7399: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete gl_bc_packets 2 deleted ' || SQL%ROWCOUNT || ' rows');
7400: -- ========================= FND LOG =============================
7401:
7402:
7403: FORALL i IN 1..g_bc_pkts_hist.count

Line 7413: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete psa_bc_accounting_errors deleted ' || SQL%ROWCOUNT || ' rows');

7409: DELETE from psa_bc_accounting_errors
7410: where (sysdate - creation_date) >= p_purge_days;
7411:
7412: -- =========================== FND LOG ===========================
7413: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete psa_bc_accounting_errors deleted ' || SQL%ROWCOUNT || ' rows');
7414: -- ========================= FND LOG =============================
7415:
7416: DELETE from psa_xla_validation_lines_logs
7417: where (sysdate - creation_date) >= p_purge_days;

Line 7420: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete psa_xla_validation_lines_logs deleted ' || SQL%ROWCOUNT || ' rows');

7416: DELETE from psa_xla_validation_lines_logs
7417: where (sysdate - creation_date) >= p_purge_days;
7418:
7419: -- =========================== FND LOG ===========================
7420: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete psa_xla_validation_lines_logs deleted ' || SQL%ROWCOUNT || ' rows');
7421: -- ========================= FND LOG =============================
7422:
7423: DELETE from psa_xla_events_logs
7424: where (sysdate - creation_date) >= p_purge_days;

Line 7427: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete psa_xla_events_logs deleted ' || SQL%ROWCOUNT || ' rows');

7423: DELETE from psa_xla_events_logs
7424: where (sysdate - creation_date) >= p_purge_days;
7425:
7426: -- =========================== FND LOG ===========================
7427: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete psa_xla_events_logs deleted ' || SQL%ROWCOUNT || ' rows');
7428: -- ========================= FND LOG =============================
7429:
7430: DELETE from psa_xla_ae_lines_logs
7431: where (sysdate - creation_date) >= p_purge_days;

Line 7434: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete psa_xla_ae_lines_logs deleted ' || SQL%ROWCOUNT || ' rows');

7430: DELETE from psa_xla_ae_lines_logs
7431: where (sysdate - creation_date) >= p_purge_days;
7432:
7433: -- =========================== FND LOG ===========================
7434: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete psa_xla_ae_lines_logs deleted ' || SQL%ROWCOUNT || ' rows');
7435: -- ========================= FND LOG =============================
7436:
7437: DELETE from psa_xla_ae_headers_logs
7438: where (sysdate - creation_date) >= p_purge_days;

Line 7441: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete psa_xla_ae_header_logs deleted ' || SQL%ROWCOUNT || ' rows');

7437: DELETE from psa_xla_ae_headers_logs
7438: where (sysdate - creation_date) >= p_purge_days;
7439:
7440: -- =========================== FND LOG ===========================
7441: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete psa_xla_ae_header_logs deleted ' || SQL%ROWCOUNT || ' rows');
7442: -- ========================= FND LOG =============================
7443:
7444: -- ========================= FND LOG =============================
7445:

Line 7450: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete psa_xla_dist_links_logs deleted ' || SQL%ROWCOUNT || ' rows');

7446: DELETE from psa_xla_dist_links_logs
7447: where (sysdate - creation_date) >= p_purge_days;
7448:
7449: -- =========================== FND LOG ===========================
7450: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete psa_xla_dist_links_logs deleted ' || SQL%ROWCOUNT || ' rows');
7451: -- ========================= FND LOG =============================
7452:
7453: end if;
7454:

Line 7501: 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'));

7497:
7498: l_purge_date := TO_DATE(p_purge_date, 'YYYY/MM/DD HH24:MI:SS');
7499:
7500: -- =========================== FND LOG ===========================
7501: 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'));
7502: -- ========================= FND LOG =============================
7503:
7504:
7505: l_stmt := 'delete from gl_bc_packets_hists '||

Line 7527: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_stmt -> ' || l_stmt);

7523:
7524: l_stmt := l_stmt ||'and status_code IN ('||l_status_code||')';
7525:
7526: -- =========================== FND LOG ===========================
7527: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_stmt -> ' || l_stmt);
7528: -- ========================= FND LOG =============================
7529:
7530:
7531: execute immediate l_stmt using l_purge_date, p_ledger_id;

Line 7553: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_pkt_id -> ' || l_pkt_id);

7549: select gl_bc_packets_s.nextval into l_pkt_id
7550: from dual;
7551:
7552: -- =========================== FND LOG ===========================
7553: psa_utils.debug_other_string(g_state_level,l_full_path, ' l_pkt_id -> ' || l_pkt_id);
7554: -- ========================= FND LOG =============================
7555:
7556: return l_pkt_id;
7557: END get_packet_id;

Line 7588: psa_utils.debug_other_string(g_excep_level,l_full_path, ' BCTRL -> '||sqlerrm);

7584: RETURN TRUE;
7585:
7586: EXCEPTION
7587: WHEN OTHERS THEN
7588: psa_utils.debug_other_string(g_excep_level,l_full_path, ' BCTRL -> '||sqlerrm);
7589: rollback;
7590: RETURN FALSE;
7591:
7592: END populate_bc_pkts;

Line 7876: psa_utils.debug_other_string(g_excep_level,l_full_path,

7872: EXCEPTION
7873: WHEN OTHERS THEN
7874: -- =========================== FND LOG ===========================
7875: fnd_file.put_line(fnd_file.log, 'Funds C/R: Failed to fetch data from gl_sets_of_books');
7876: psa_utils.debug_other_string(g_excep_level,l_full_path,
7877: 'Funds C/R: Failed to fetch data from gl_sets_of_books');
7878: -- ========================= FND LOG =============================
7879: END;
7880:

Line 7888: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_sob_name -> '||l_sob_name);

7884: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_automatic_tax_flag -> '||l_automatic_tax_flag);
7885: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_coa_id -> '||l_coa_id);
7886: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_currency_code -> '||l_currency_code);
7887: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_check_flag -> '||l_check_flag);
7888: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_sob_name -> '||l_sob_name);
7889: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_budgetary_control_flag -> '||l_budgetary_control_flag);
7890: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_automatic_tax_flag -> '||l_automatic_tax_flag);
7891: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_coa_id -> '||l_coa_id);
7892: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_currency_code -> '||l_currency_code);

Line 7889: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_budgetary_control_flag -> '||l_budgetary_control_flag);

7885: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_coa_id -> '||l_coa_id);
7886: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_currency_code -> '||l_currency_code);
7887: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_check_flag -> '||l_check_flag);
7888: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_sob_name -> '||l_sob_name);
7889: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_budgetary_control_flag -> '||l_budgetary_control_flag);
7890: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_automatic_tax_flag -> '||l_automatic_tax_flag);
7891: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_coa_id -> '||l_coa_id);
7892: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_currency_code -> '||l_currency_code);
7893: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_check_flag -> '||l_check_flag);

Line 7890: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_automatic_tax_flag -> '||l_automatic_tax_flag);

7886: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_currency_code -> '||l_currency_code);
7887: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_check_flag -> '||l_check_flag);
7888: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_sob_name -> '||l_sob_name);
7889: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_budgetary_control_flag -> '||l_budgetary_control_flag);
7890: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_automatic_tax_flag -> '||l_automatic_tax_flag);
7891: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_coa_id -> '||l_coa_id);
7892: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_currency_code -> '||l_currency_code);
7893: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_check_flag -> '||l_check_flag);
7894: -- =========================== FND LOG =============================

Line 7891: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_coa_id -> '||l_coa_id);

7887: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_check_flag -> '||l_check_flag);
7888: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_sob_name -> '||l_sob_name);
7889: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_budgetary_control_flag -> '||l_budgetary_control_flag);
7890: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_automatic_tax_flag -> '||l_automatic_tax_flag);
7891: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_coa_id -> '||l_coa_id);
7892: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_currency_code -> '||l_currency_code);
7893: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_check_flag -> '||l_check_flag);
7894: -- =========================== FND LOG =============================
7895:

Line 7892: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_currency_code -> '||l_currency_code);

7888: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_sob_name -> '||l_sob_name);
7889: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_budgetary_control_flag -> '||l_budgetary_control_flag);
7890: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_automatic_tax_flag -> '||l_automatic_tax_flag);
7891: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_coa_id -> '||l_coa_id);
7892: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_currency_code -> '||l_currency_code);
7893: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_check_flag -> '||l_check_flag);
7894: -- =========================== FND LOG =============================
7895:
7896: IF (l_budgetary_control_flag = 'N') THEN

Line 7893: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_check_flag -> '||l_check_flag);

7889: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_budgetary_control_flag -> '||l_budgetary_control_flag);
7890: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_automatic_tax_flag -> '||l_automatic_tax_flag);
7891: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_coa_id -> '||l_coa_id);
7892: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_currency_code -> '||l_currency_code);
7893: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_check_flag -> '||l_check_flag);
7894: -- =========================== FND LOG =============================
7895:
7896: IF (l_budgetary_control_flag = 'N') THEN
7897: FND_MESSAGE.SET_NAME('PSA', 'R_FCMA0037');

Line 7900: psa_utils.debug_other_string(g_state_level, l_full_path,

7896: IF (l_budgetary_control_flag = 'N') THEN
7897: FND_MESSAGE.SET_NAME('PSA', 'R_FCMA0037');
7898: l_bc_not_enabled_msg := FND_MESSAGE.GET();
7899: -- =========================== FND LOG ===========================
7900: psa_utils.debug_other_string(g_state_level, l_full_path,
7901: 'Funds C/R: l_budgetary_control_flag -> '||l_budgetary_control_flag); --Need to finalize the debug level
7902: fnd_file.put_line(fnd_file.log, 'Funds C/R: '||l_bc_not_enabled_msg);
7903: -- ========================= FND LOG =============================
7904:

Line 7923: psa_utils.debug_other_string(g_excep_level,l_full_path,

7919: autopost_set_id = p_autopost_set_id;
7920: EXCEPTION
7921: WHEN OTHERS THEN
7922: -- =========================== FND LOG ===========================
7923: psa_utils.debug_other_string(g_excep_level,l_full_path,
7924: 'Funds C/R: Failed to fetch autopost_set_name from gl_automatic_posting_sets');
7925: fnd_file.put_line(fnd_file.log, 'Funds C/R: Failed to fetch autopost_set_name from gl_automatic_posting_sets');
7926: -- ========================= FND LOG =============================
7927: END;

Line 7939: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: p_autopost_set_id -> '||p_autopost_set_id);

7935: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_autopost_set_name -> '||l_autopost_set_name);
7936: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_appl_id -> '||l_appl_id);
7937: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_resp_id -> '||l_resp_id);
7938: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_user_id -> '||l_user_id);
7939: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: p_autopost_set_id -> '||p_autopost_set_id);
7940: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_autopost_set_name -> '||l_autopost_set_name);
7941: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_appl_id -> '||l_appl_id);
7942: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_resp_id -> '||l_resp_id);
7943: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_user_id -> '||l_user_id);

Line 7940: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_autopost_set_name -> '||l_autopost_set_name);

7936: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_appl_id -> '||l_appl_id);
7937: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_resp_id -> '||l_resp_id);
7938: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_user_id -> '||l_user_id);
7939: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: p_autopost_set_id -> '||p_autopost_set_id);
7940: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_autopost_set_name -> '||l_autopost_set_name);
7941: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_appl_id -> '||l_appl_id);
7942: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_resp_id -> '||l_resp_id);
7943: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_user_id -> '||l_user_id);
7944: -- =========================== FND LOG =============================

Line 7941: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_appl_id -> '||l_appl_id);

7937: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_resp_id -> '||l_resp_id);
7938: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_user_id -> '||l_user_id);
7939: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: p_autopost_set_id -> '||p_autopost_set_id);
7940: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_autopost_set_name -> '||l_autopost_set_name);
7941: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_appl_id -> '||l_appl_id);
7942: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_resp_id -> '||l_resp_id);
7943: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_user_id -> '||l_user_id);
7944: -- =========================== FND LOG =============================
7945:

Line 7942: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_resp_id -> '||l_resp_id);

7938: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_user_id -> '||l_user_id);
7939: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: p_autopost_set_id -> '||p_autopost_set_id);
7940: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_autopost_set_name -> '||l_autopost_set_name);
7941: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_appl_id -> '||l_appl_id);
7942: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_resp_id -> '||l_resp_id);
7943: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_user_id -> '||l_user_id);
7944: -- =========================== FND LOG =============================
7945:
7946: IF (l_automatic_tax_flag = 'Y') AND (p_check_flag = 'R') THEN

Line 7943: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_user_id -> '||l_user_id);

7939: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: p_autopost_set_id -> '||p_autopost_set_id);
7940: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_autopost_set_name -> '||l_autopost_set_name);
7941: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_appl_id -> '||l_appl_id);
7942: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_resp_id -> '||l_resp_id);
7943: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_user_id -> '||l_user_id);
7944: -- =========================== FND LOG =============================
7945:
7946: IF (l_automatic_tax_flag = 'Y') AND (p_check_flag = 'R') THEN
7947:

Line 7998: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: -------------------------------');

7994: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_je_batch_id -> '||l_je_batch_id);
7995: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_packet_id -> '||l_packet_id);
7996: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_batch_name -> '||l_batch_name);
7997: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_source_name -> '||l_source_name);
7998: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: -------------------------------');
7999: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_period_name -> '||l_period_name);
8000: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_actual_flag -> '||l_actual_flag);
8001: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_je_batch_id -> '||l_je_batch_id);
8002: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_packet_id -> '||l_packet_id);

Line 7999: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_period_name -> '||l_period_name);

7995: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_packet_id -> '||l_packet_id);
7996: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_batch_name -> '||l_batch_name);
7997: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_source_name -> '||l_source_name);
7998: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: -------------------------------');
7999: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_period_name -> '||l_period_name);
8000: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_actual_flag -> '||l_actual_flag);
8001: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_je_batch_id -> '||l_je_batch_id);
8002: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_packet_id -> '||l_packet_id);
8003: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_batch_name -> '||l_batch_name);

Line 8000: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_actual_flag -> '||l_actual_flag);

7996: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_batch_name -> '||l_batch_name);
7997: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_source_name -> '||l_source_name);
7998: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: -------------------------------');
7999: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_period_name -> '||l_period_name);
8000: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_actual_flag -> '||l_actual_flag);
8001: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_je_batch_id -> '||l_je_batch_id);
8002: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_packet_id -> '||l_packet_id);
8003: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_batch_name -> '||l_batch_name);
8004: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_source_name -> '||l_source_name);

Line 8001: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_je_batch_id -> '||l_je_batch_id);

7997: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_source_name -> '||l_source_name);
7998: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: -------------------------------');
7999: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_period_name -> '||l_period_name);
8000: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_actual_flag -> '||l_actual_flag);
8001: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_je_batch_id -> '||l_je_batch_id);
8002: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_packet_id -> '||l_packet_id);
8003: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_batch_name -> '||l_batch_name);
8004: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_source_name -> '||l_source_name);
8005: -- =========================== FND LOG =============================

Line 8002: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_packet_id -> '||l_packet_id);

7998: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: -------------------------------');
7999: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_period_name -> '||l_period_name);
8000: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_actual_flag -> '||l_actual_flag);
8001: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_je_batch_id -> '||l_je_batch_id);
8002: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_packet_id -> '||l_packet_id);
8003: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_batch_name -> '||l_batch_name);
8004: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_source_name -> '||l_source_name);
8005: -- =========================== FND LOG =============================
8006:

Line 8003: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_batch_name -> '||l_batch_name);

7999: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_period_name -> '||l_period_name);
8000: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_actual_flag -> '||l_actual_flag);
8001: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_je_batch_id -> '||l_je_batch_id);
8002: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_packet_id -> '||l_packet_id);
8003: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_batch_name -> '||l_batch_name);
8004: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_source_name -> '||l_source_name);
8005: -- =========================== FND LOG =============================
8006:
8007: -- =========================== XML OUT =============================

Line 8004: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_source_name -> '||l_source_name);

8000: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_actual_flag -> '||l_actual_flag);
8001: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_je_batch_id -> '||l_je_batch_id);
8002: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_packet_id -> '||l_packet_id);
8003: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_batch_name -> '||l_batch_name);
8004: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_source_name -> '||l_source_name);
8005: -- =========================== FND LOG =============================
8006:
8007: -- =========================== XML OUT =============================
8008: IF (l_xml_b_header <> FALSE) THEN

Line 8019: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Invoking get_session_details() ');

8015: -- Get the session_id and serial# for the current session
8016: -- These columns will then be inserted in gl_bc_packets.
8017:
8018: -- ====== FND LOG ======
8019: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Invoking get_session_details() ');
8020: -- ====== FND LOG ======
8021:
8022: get_session_details(l_session_id, l_serial_id);
8023:

Line 8025: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Session_Id = '||l_session_id);

8021:
8022: get_session_details(l_session_id, l_serial_id);
8023:
8024: -- ====== FND LOG ======
8025: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Session_Id = '||l_session_id);
8026: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Serial_Id = '||l_serial_id);
8027: -- ====== FND LOG ======
8028:
8029: l_main_stmt := '';

Line 8026: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Serial_Id = '||l_serial_id);

8022: get_session_details(l_session_id, l_serial_id);
8023:
8024: -- ====== FND LOG ======
8025: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Session_Id = '||l_session_id);
8026: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Serial_Id = '||l_serial_id);
8027: -- ====== FND LOG ======
8028:
8029: l_main_stmt := '';
8030:

Line 8033: psa_utils.debug_other_string(g_state_level,l_full_path, 'Funds C/R: l_main_stmt -> '||l_main_stmt);

8029: l_main_stmt := '';
8030:
8031: -- =========================== FND LOG ===========================
8032: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_main_stmt -> '||l_main_stmt);
8033: psa_utils.debug_other_string(g_state_level,l_full_path, 'Funds C/R: l_main_stmt -> '||l_main_stmt);
8034: -- =========================== FND LOG =============================
8035:
8036: l_tmp_stmt := 'SELECT '||
8037: l_packet_id||', '||

Line 8070: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_tmp_stmt -> '||l_tmp_stmt);

8066: 'NULL, NULL';
8067:
8068: -- =========================== FND LOG ===========================
8069: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_tmp_stmt -> '||l_tmp_stmt);
8070: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_tmp_stmt -> '||l_tmp_stmt);
8071: -- =========================== FND LOG =============================
8072:
8073: l_tmp_stmt := l_tmp_stmt || ' FROM gl_je_lines l, gl_je_headers h, ';
8074:

Line 8094: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_tmp_stmt -> '||l_tmp_stmt);

8090: l_tmp_stmt := l_tmp_stmt || l_action_stmt;
8091:
8092: -- =========================== FND LOG ===========================
8093: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_tmp_stmt -> '||l_tmp_stmt);
8094: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_tmp_stmt -> '||l_tmp_stmt);
8095: -- =========================== FND LOG =============================
8096:
8097: l_main_stmt := l_main_stmt || l_tmp_stmt;
8098:

Line 8102: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_main_stmt -> '||l_main_stmt);

8098:
8099: -- =========================== FND LOG ===========================
8100: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_main_stmt -> '||l_main_stmt);
8101: fnd_file.put_line(fnd_file.log, 'Funds C/R: Executing l_main_stmt -> '||l_main_stmt||' using EXECUTE IMMEDIATE');
8102: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_main_stmt -> '||l_main_stmt);
8103: psa_utils.debug_other_string(g_state_level, l_full_path,
8104: 'Funds C/R: Executing l_main_stmt -> '||l_main_stmt||' using EXECUTE IMMEDIATE');
8105: -- =========================== FND LOG =============================
8106:

Line 8103: psa_utils.debug_other_string(g_state_level, l_full_path,

8099: -- =========================== FND LOG ===========================
8100: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_main_stmt -> '||l_main_stmt);
8101: fnd_file.put_line(fnd_file.log, 'Funds C/R: Executing l_main_stmt -> '||l_main_stmt||' using EXECUTE IMMEDIATE');
8102: psa_utils.debug_other_string(g_state_level, l_full_path, 'Funds C/R: l_main_stmt -> '||l_main_stmt);
8103: psa_utils.debug_other_string(g_state_level, l_full_path,
8104: 'Funds C/R: Executing l_main_stmt -> '||l_main_stmt||' using EXECUTE IMMEDIATE');
8105: -- =========================== FND LOG =============================
8106:
8107: EXECUTE IMMEDIATE l_main_stmt BULK COLLECT INTO l_tmp_bc_pkts;

Line 8122: psa_utils.debug_other_string(g_error_level,l_full_path, 'Funds C/R: BCTRL -> populate_bc_pkts() failed. ');

8118: END LOOP; --End of loop for all the batches
8119:
8120: IF NOT populate_bc_pkts (l_bc_pkts) THEN
8121: -- ====== FND LOG ======
8122: psa_utils.debug_other_string(g_error_level,l_full_path, 'Funds C/R: BCTRL -> populate_bc_pkts() failed. ');
8123: psa_utils.debug_other_string(g_error_level,l_full_path, 'Funds C/R: BCTRL -> ERROR: FATAL. ');
8124: -- ====== FND LOG ======
8125: END IF;
8126:

Line 8123: psa_utils.debug_other_string(g_error_level,l_full_path, 'Funds C/R: BCTRL -> ERROR: FATAL. ');

8119:
8120: IF NOT populate_bc_pkts (l_bc_pkts) THEN
8121: -- ====== FND LOG ======
8122: psa_utils.debug_other_string(g_error_level,l_full_path, 'Funds C/R: BCTRL -> populate_bc_pkts() failed. ');
8123: psa_utils.debug_other_string(g_error_level,l_full_path, 'Funds C/R: BCTRL -> ERROR: FATAL. ');
8124: -- ====== FND LOG ======
8125: END IF;
8126:
8127: -- Invoke funds checker per packet_id

Line 8131: psa_utils.debug_other_string(g_state_level,l_full_path, 'Funds C/R: BCTRL -> Invoking glxfck() per packet.');

8127: -- Invoke funds checker per packet_id
8128:
8129: -- ====== FND LOG ======
8130: fnd_file.put_line(fnd_file.log, 'Funds C/R: BCTRL -> Invoking glxfck() per packet.');
8131: psa_utils.debug_other_string(g_state_level,l_full_path, 'Funds C/R: BCTRL -> Invoking glxfck() per packet.');
8132: -- ====== FND LOG ======
8133:
8134: FOR x in 1..l_bc_pkts.count
8135: LOOP

Line 8140: psa_utils.debug_other_string(g_state_level,l_full_path,

8136: IF (x = 1 OR (l_bc_pkts(x).packet_id <> l_bc_pkts(x-1).packet_id)) THEN
8137:
8138: -- ====== FND LOG ======
8139: fnd_file.put_line(fnd_file.log, 'Funds C/R: BCTRL -> Invoking glxfck() for packet_id '||l_bc_pkts(x).packet_id);
8140: psa_utils.debug_other_string(g_state_level,l_full_path,
8141: 'Funds C/R: BCTRL -> Invoking glxfck() for packet_id '||l_bc_pkts(x).packet_id);
8142: -- ====== FND LOG ======
8143:
8144: IF NOT glxfck(p_ledgerid => l_ledger_id,

Line 8155: psa_utils.debug_other_string(g_error_level,l_full_path, 'Funds C/R: BCTRL -> glxfck() failed ');

8151: p_calling_prog_flag => 'G',
8152: p_return_code => l_glxfck_return_code) THEN
8153: -- ====== FND LOG ======
8154: fnd_file.put_line(fnd_file.log, 'Funds C/R: BCTRL -> glxfck() failed ');
8155: psa_utils.debug_other_string(g_error_level,l_full_path, 'Funds C/R: BCTRL -> glxfck() failed ');
8156: -- ====== FND LOG ======
8157:
8158: -- ============================== FND LOG =========================
8159: fnd_file.put_line(fnd_file.log, 'Funds C/R: BCTRL l_glxfck_return_code -> T ');

Line 8160: psa_utils.debug_other_string(g_state_level,l_full_path, 'Funds C/R: BCTRL l_glxfck_return_code -> T ');

8156: -- ====== FND LOG ======
8157:
8158: -- ============================== FND LOG =========================
8159: fnd_file.put_line(fnd_file.log, 'Funds C/R: BCTRL l_glxfck_return_code -> T ');
8160: psa_utils.debug_other_string(g_state_level,l_full_path, 'Funds C/R: BCTRL l_glxfck_return_code -> T ');
8161: -- ============================== FND LOG =========================
8162:
8163: l_glxfck_return_code := 'T';
8164:

Line 8175: psa_utils.debug_other_string(g_state_level,l_full_path,

8171:
8172: -- ============================== FND LOG =========================
8173: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_glxfck_return_code ->'||l_glxfck_return_code);
8174: 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);
8175: psa_utils.debug_other_string(g_state_level,l_full_path,
8176: 'Funds C/R: l_glxfck_return_code ->'||l_glxfck_return_code);
8177: psa_utils.debug_other_string(g_state_level,l_full_path,
8178: 'Funds C/R: Inserting into l_failed_bc_pkts for packet_id->'||l_bc_pkts(x).packet_id);
8179: -- ============================== FND LOG =========================

Line 8177: psa_utils.debug_other_string(g_state_level,l_full_path,

8173: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_glxfck_return_code ->'||l_glxfck_return_code);
8174: 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);
8175: psa_utils.debug_other_string(g_state_level,l_full_path,
8176: 'Funds C/R: l_glxfck_return_code ->'||l_glxfck_return_code);
8177: psa_utils.debug_other_string(g_state_level,l_full_path,
8178: 'Funds C/R: Inserting into l_failed_bc_pkts for packet_id->'||l_bc_pkts(x).packet_id);
8179: -- ============================== FND LOG =========================
8180:
8181: l_failed_bc_pkts.extend(1);

Line 8189: psa_utils.debug_other_string(g_state_level,l_full_path, 'Funds C/R: l_glxfck_return_code -> '||l_glxfck_return_code);

8185: END IF;
8186:
8187: -- =========================== FND LOG ===========================
8188: fnd_file.put_line(fnd_file.log, 'Funds C/R: l_glxfck_return_code -> '||l_glxfck_return_code);
8189: psa_utils.debug_other_string(g_state_level,l_full_path, 'Funds C/R: l_glxfck_return_code -> '||l_glxfck_return_code);
8190: -- =========================== FND LOG =============================
8191: BEGIN
8192: UPDATE
8193: gl_je_batches

Line 8216: psa_utils.debug_other_string(g_excep_level,l_full_path,

8212: je_batch_id = l_bc_pkts(x).je_batch_id;
8213: EXCEPTION
8214: WHEN OTHERS THEN
8215: -- =========================== FND LOG ===========================
8216: psa_utils.debug_other_string(g_excep_level,l_full_path,
8217: 'Funds C/R: Failed to update budgetary_control_status for gl_je_batches');
8218: fnd_file.put_line(fnd_file.log,
8219: 'Funds C/R: Failed to update budgetary_control_status for gl_je_batches');
8220: -- ========================= FND LOG =============================

Line 8236: psa_utils.debug_other_string(g_excep_level,l_full_path,

8232: AND lookup_type = 'FUNDS_CHECK_RETURN_CODE';
8233: EXCEPTION
8234: WHEN OTHERS THEN
8235: -- =========================== FND LOG ===========================
8236: psa_utils.debug_other_string(g_excep_level,l_full_path,
8237: 'Funds C/R: Failed to fetch meaning from gl_lookups');
8238: fnd_file.put_line(fnd_file.log,
8239: 'Funds C/R: Failed to fetch meaning from gl_lookups');
8240: -- ========================= FND LOG =============================

Line 8245: psa_utils.debug_other_string(g_state_level,l_full_path, 'Funds C/R: Return Code F Meaning l_fmeaning -> '||l_fmeaning);

8241: END;
8242:
8243: -- =========================== FND LOG ===========================
8244: fnd_file.put_line(fnd_file.log, 'Funds C/R: Return Code F Meaning l_fmeaning -> '||l_fmeaning);
8245: psa_utils.debug_other_string(g_state_level,l_full_path, 'Funds C/R: Return Code F Meaning l_fmeaning -> '||l_fmeaning);
8246: -- =========================== FND LOG =============================
8247:
8248: BEGIN
8249: SELECT

Line 8263: psa_utils.debug_other_string(g_excep_level,l_full_path,

8259:
8260: EXCEPTION
8261: WHEN OTHERS THEN
8262: -- =========================== FND LOG ===========================
8263: psa_utils.debug_other_string(g_excep_level,l_full_path,
8264: 'Funds C/R: Failed to fetch meaning from gl_je_batches');
8265: fnd_file.put_line(fnd_file.log,
8266: 'Funds C/R: Failed to fetch meaning from gl_be_batches');
8267: -- ========================= FND LOG =============================

Line 8272: psa_utils.debug_other_string(g_state_level,l_full_path, 'Funds C/R: Return Code J Meaning l_jmeaning -> '||l_jmeaning);

8268: END;
8269:
8270: -- =========================== FND LOG ===========================
8271: fnd_file.put_line(fnd_file.log, 'Funds C/R: Return Code J Meaning l_jmeaning -> '||l_jmeaning);
8272: psa_utils.debug_other_string(g_state_level,l_full_path, 'Funds C/R: Return Code J Meaning l_jmeaning -> '||l_jmeaning);
8273: -- =========================== FND LOG =============================
8274:
8275: -- =========================== XML OUT =============================
8276: fnd_file.put_line(fnd_file.output, ' ');

Line 8389: psa_utils.debug_other_string(g_excep_level,l_full_path, 'Funds C/R: Failed to fetch meaning from gl_lookups');

8385:
8386: EXCEPTION
8387: WHEN OTHERS THEN
8388: -- =========================== FND LOG ===========================
8389: psa_utils.debug_other_string(g_excep_level,l_full_path, 'Funds C/R: Failed to fetch meaning from gl_lookups');
8390: fnd_file.put_line(fnd_file.log, 'Funds C/R: Failed to fetch meaning from gl_lookups');
8391: -- ========================= FND LOG =============================
8392: END;
8393:

Line 8514: psa_utils.debug_other_string(g_excep_level,l_full_path, 'Funds C/R: Failed to fetch ussgl_parent_id from gl_bc_packets');

8510: rowid = l_rowid;
8511: EXCEPTION
8512: WHEN OTHERS THEN
8513: -- =========================== FND LOG ===========================
8514: psa_utils.debug_other_string(g_excep_level,l_full_path, 'Funds C/R: Failed to fetch ussgl_parent_id from gl_bc_packets');
8515: fnd_file.put_line(fnd_file.log, 'Funds C/R: Failed to fetch ussgl_parent_id from gl_bc_packets');
8516: -- ========================= FND LOG =============================
8517: END;
8518:

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

8836: HAVING
8837: sum(nvl(BP.accounted_dr,0)-nvl(BP.accounted_cr,0)) <> 0;
8838:
8839: -- =========================== FND LOG ===========================
8840: psa_utils.debug_other_string(g_state_level,l_full_path, ' Insert GL_BC_PACKETS -> ' || SQL%ROWCOUNT);
8841: -- ========================= FND LOG =============================
8842:
8843: END glsibc;
8844:

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

9001: HAVING
9002: sum(nvl(BP.accounted_dr,0)-nvl(BP.accounted_cr,0)) <> 0;
9003:
9004: -- =========================== FND LOG ===========================
9005: psa_utils.debug_other_string(g_state_level,l_full_path, ' Insert GL_BC_PACKETS -> ' || SQL%ROWCOUNT);
9006: -- ========================= FND LOG =============================
9007:
9008:
9009: -- =========================== FND LOG ===========================

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

9100: FROM gl_code_combinations
9101: WHERE template_id = p_curr_temp_id);
9102:
9103: -- =========================== FND LOG ===========================
9104: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update GL_BC_PACKETS -> ' || SQL%ROWCOUNT);
9105: -- ========================= FND LOG =============================
9106:
9107:
9108:

Line 9134: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete GL_BC_PACKETS -> ' || SQL%ROWCOUNT);

9130: AND ah.template_id = p_curr_temp_id
9131: AND ah.summary_code_combination_id = bp.code_combination_id);
9132:
9133: -- =========================== FND LOG ===========================
9134: psa_utils.debug_other_string(g_state_level,l_full_path, ' Delete GL_BC_PACKETS -> ' || SQL%ROWCOUNT);
9135: -- ========================= FND LOG =============================
9136:
9137: -- =========================== FND LOG ===========================
9138: fnd_file.put_line(fnd_file.log, 'GL_BC_PACKETS');

Line 9162: psa_utils.debug_other_string(g_state_level,l_full_path, ' x_session_id -> ' || x_session_id);

9158: where s.paddr = p.addr
9159: and s.audsid = USERENV('SESSIONID');
9160:
9161: -- =========================== FND LOG ===========================
9162: psa_utils.debug_other_string(g_state_level,l_full_path, ' x_session_id -> ' || x_session_id);
9163: psa_utils.debug_other_string(g_state_level,l_full_path, ' x_serial_id -> ' || x_serial_id);
9164: -- ========================= FND LOG =============================
9165:
9166: EXCEPTION

Line 9163: psa_utils.debug_other_string(g_state_level,l_full_path, ' x_serial_id -> ' || x_serial_id);

9159: and s.audsid = USERENV('SESSIONID');
9160:
9161: -- =========================== FND LOG ===========================
9162: psa_utils.debug_other_string(g_state_level,l_full_path, ' x_session_id -> ' || x_session_id);
9163: psa_utils.debug_other_string(g_state_level,l_full_path, ' x_serial_id -> ' || x_serial_id);
9164: -- ========================= FND LOG =============================
9165:
9166: EXCEPTION
9167: WHEN others THEN

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

9165:
9166: EXCEPTION
9167: WHEN others THEN
9168: -- ========================= FND LOG ===========================
9169: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
9170: psa_utils.debug_other_string(g_excep_level,l_full_path, ' raise');
9171: -- ========================= FND LOG ===========================
9172:
9173: raise;

Line 9170: psa_utils.debug_other_string(g_excep_level,l_full_path, ' raise');

9166: EXCEPTION
9167: WHEN others THEN
9168: -- ========================= FND LOG ===========================
9169: psa_utils.debug_other_string(g_excep_level,l_full_path, ' EXCEPTION WHEN OTHERS ' || SQLERRM);
9170: psa_utils.debug_other_string(g_excep_level,l_full_path, ' raise');
9171: -- ========================= FND LOG ===========================
9172:
9173: raise;
9174: END get_session_details;

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

9194: WHERE group_id = p_grp_id
9195: and application_id = p_application_id);
9196:
9197: -- =========================== FND LOG ===========================
9198: psa_utils.debug_other_string(g_state_level,l_full_path, ' Update GL_BC_PACKETS -> ' || SQL%ROWCOUNT);
9199: -- ========================= FND LOG =============================
9200:
9201: END populate_group_id;
9202:

Line 9844: psa_utils.debug_other_string(g_state_level,l_full_path,

9840:
9841: l_full_path := g_path || 'budgetary_control';
9842:
9843: -- ====== FND LOG ======
9844: psa_utils.debug_other_string(g_state_level,l_full_path,
9845: ' BCTRL -> P_LEDGERID = '||p_ledgerid);
9846: psa_utils.debug_other_string(g_state_level,l_full_path,
9847: ' BCTRL -> MODE = '||PSA_BC_XLA_PVT.G_BC_MODE);
9848: psa_utils.debug_other_string(g_state_level,l_full_path,

Line 9846: psa_utils.debug_other_string(g_state_level,l_full_path,

9842:
9843: -- ====== FND LOG ======
9844: psa_utils.debug_other_string(g_state_level,l_full_path,
9845: ' BCTRL -> P_LEDGERID = '||p_ledgerid);
9846: psa_utils.debug_other_string(g_state_level,l_full_path,
9847: ' BCTRL -> MODE = '||PSA_BC_XLA_PVT.G_BC_MODE);
9848: psa_utils.debug_other_string(g_state_level,l_full_path,
9849: ' BCTRL -> OVERRIDE = '||PSA_BC_XLA_PVT.G_OVERRIDE_FLAG);
9850: psa_utils.debug_other_string(g_state_level,l_full_path,

Line 9848: psa_utils.debug_other_string(g_state_level,l_full_path,

9844: psa_utils.debug_other_string(g_state_level,l_full_path,
9845: ' BCTRL -> P_LEDGERID = '||p_ledgerid);
9846: psa_utils.debug_other_string(g_state_level,l_full_path,
9847: ' BCTRL -> MODE = '||PSA_BC_XLA_PVT.G_BC_MODE);
9848: psa_utils.debug_other_string(g_state_level,l_full_path,
9849: ' BCTRL -> OVERRIDE = '||PSA_BC_XLA_PVT.G_OVERRIDE_FLAG);
9850: psa_utils.debug_other_string(g_state_level,l_full_path,
9851: ' BCTRL -> USER_ID = '||PSA_BC_XLA_PVT.G_USER_ID);
9852: psa_utils.debug_other_string(g_state_level,l_full_path,

Line 9850: psa_utils.debug_other_string(g_state_level,l_full_path,

9846: psa_utils.debug_other_string(g_state_level,l_full_path,
9847: ' BCTRL -> MODE = '||PSA_BC_XLA_PVT.G_BC_MODE);
9848: psa_utils.debug_other_string(g_state_level,l_full_path,
9849: ' BCTRL -> OVERRIDE = '||PSA_BC_XLA_PVT.G_OVERRIDE_FLAG);
9850: psa_utils.debug_other_string(g_state_level,l_full_path,
9851: ' BCTRL -> USER_ID = '||PSA_BC_XLA_PVT.G_USER_ID);
9852: psa_utils.debug_other_string(g_state_level,l_full_path,
9853: ' BCTRL -> RESP_ID = '||PSA_BC_XLA_PVT.G_USER_RESP_ID);
9854: -- ====== FND LOG ======

Line 9852: psa_utils.debug_other_string(g_state_level,l_full_path,

9848: psa_utils.debug_other_string(g_state_level,l_full_path,
9849: ' BCTRL -> OVERRIDE = '||PSA_BC_XLA_PVT.G_OVERRIDE_FLAG);
9850: psa_utils.debug_other_string(g_state_level,l_full_path,
9851: ' BCTRL -> USER_ID = '||PSA_BC_XLA_PVT.G_USER_ID);
9852: psa_utils.debug_other_string(g_state_level,l_full_path,
9853: ' BCTRL -> RESP_ID = '||PSA_BC_XLA_PVT.G_USER_RESP_ID);
9854: -- ====== FND LOG ======
9855:
9856: -- First invoke GLXFIN and assign values to global variables.

Line 9859: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Invoking glxfin() ');

9855:
9856: -- First invoke GLXFIN and assign values to global variables.
9857:
9858: -- ====== FND LOG ======
9859: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Invoking glxfin() ');
9860: -- ====== FND LOG ======
9861:
9862: if not glxfin (p_ledgerid => p_ledgerid,
9863: p_packetid => 0,

Line 9872: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> glxfin failed ');

9868: p_user_resp_id => PSA_BC_XLA_PVT.G_USER_RESP_ID,
9869: p_calling_prog_flag => 'S') then
9870:
9871: -- ====== FND LOG ======
9872: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> glxfin failed ');
9873: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> ERROR: FATAL ');
9874: -- ====== FND LOG ======
9875:
9876: p_return_code := 'T';

Line 9873: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> ERROR: FATAL ');

9869: p_calling_prog_flag => 'S') then
9870:
9871: -- ====== FND LOG ======
9872: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> glxfin failed ');
9873: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> ERROR: FATAL ');
9874: -- ====== FND LOG ======
9875:
9876: p_return_code := 'T';
9877: return FALSE;

Line 9896: psa_utils.debug_other_string(g_error_level,l_full_path,

9892: FETCH c_cnt_events INTO l_event_cnt, l_ae_event_cnt;
9893: CLOSE c_cnt_events;
9894:
9895: -- ====== FND LOG ======
9896: psa_utils.debug_other_string(g_error_level,l_full_path,
9897: ' BCTRL -> Count of events in XLA_EVENTS_GT: '||l_event_cnt);
9898: psa_utils.debug_other_string(g_error_level,l_full_path,
9899: ' BCTRL -> Count of events in XLA_AE_LINES_GT: '||l_ae_event_cnt);
9900: -- ====== FND LOG ======

Line 9898: psa_utils.debug_other_string(g_error_level,l_full_path,

9894:
9895: -- ====== FND LOG ======
9896: psa_utils.debug_other_string(g_error_level,l_full_path,
9897: ' BCTRL -> Count of events in XLA_EVENTS_GT: '||l_event_cnt);
9898: psa_utils.debug_other_string(g_error_level,l_full_path,
9899: ' BCTRL -> Count of events in XLA_AE_LINES_GT: '||l_ae_event_cnt);
9900: -- ====== FND LOG ======
9901:
9902: fnd_file.put_line(fnd_file.log,'The following are the invalid accounting errrors');

Line 9914: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> Budgetary_Control failed ');

9910: End loop;
9911:
9912: IF NOT(NVL(l_ae_event_cnt, 0) = l_event_cnt) THEN
9913: -- ====== FND LOG ======
9914: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> Budgetary_Control failed ');
9915: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> ERROR: FATAL ');
9916: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL p_return_code -> T');
9917: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL Return False ');
9918:

Line 9915: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> ERROR: FATAL ');

9911:
9912: IF NOT(NVL(l_ae_event_cnt, 0) = l_event_cnt) THEN
9913: -- ====== FND LOG ======
9914: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> Budgetary_Control failed ');
9915: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> ERROR: FATAL ');
9916: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL p_return_code -> T');
9917: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL Return False ');
9918:
9919: fnd_file.put_line(fnd_file.log,'The following entities have not been processed');

Line 9916: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL p_return_code -> T');

9912: IF NOT(NVL(l_ae_event_cnt, 0) = l_event_cnt) THEN
9913: -- ====== FND LOG ======
9914: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> Budgetary_Control failed ');
9915: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> ERROR: FATAL ');
9916: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL p_return_code -> T');
9917: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL Return False ');
9918:
9919: fnd_file.put_line(fnd_file.log,'The following entities have not been processed');
9920: fnd_file.put_line(fnd_file.log,'======================================= ');

Line 9917: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL Return False ');

9913: -- ====== FND LOG ======
9914: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> Budgetary_Control failed ');
9915: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> ERROR: FATAL ');
9916: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL p_return_code -> T');
9917: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL Return False ');
9918:
9919: fnd_file.put_line(fnd_file.log,'The following entities have not been processed');
9920: fnd_file.put_line(fnd_file.log,'======================================= ');
9921: for missing_entity in

Line 9940: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Initializing collection ');

9936:
9937: -- Initialize the collection variables
9938:
9939: -- ====== FND LOG ======
9940: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Initializing collection ');
9941: -- ====== FND LOG ======
9942:
9943: l_packets := num_rec();
9944:

Line 9949: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Invoking get_session_details() ');

9945: -- Get the session_id and serial# for the current session
9946: -- These columns will then be inserted in gl_bc_packets.
9947:
9948: -- ====== FND LOG ======
9949: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Invoking get_session_details() ');
9950: -- ====== FND LOG ======
9951:
9952: get_session_details(l_session_id, l_serial_id);
9953:

Line 9955: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Session_Id = '||l_session_id);

9951:
9952: get_session_details(l_session_id, l_serial_id);
9953:
9954: -- ====== FND LOG ======
9955: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Session_Id = '||l_session_id);
9956: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Serial_Id = '||l_serial_id);
9957: -- ====== FND LOG ======
9958:
9959: -- Get the JE_SOURCE_NAME for current application

Line 9956: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Serial_Id = '||l_serial_id);

9952: get_session_details(l_session_id, l_serial_id);
9953:
9954: -- ====== FND LOG ======
9955: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Session_Id = '||l_session_id);
9956: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Serial_Id = '||l_serial_id);
9957: -- ====== FND LOG ======
9958:
9959: -- Get the JE_SOURCE_NAME for current application
9960:

Line 9962: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Get Je_Source_name ');

9958:
9959: -- Get the JE_SOURCE_NAME for current application
9960:
9961: -- ====== FND LOG ======
9962: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Get Je_Source_name ');
9963: -- ====== FND LOG ======
9964:
9965: open get_je_source_name(PSA_BC_XLA_PVT.G_APPLICATION_ID);
9966: fetch get_je_source_name into l_je_source_name;

Line 9974: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> JE_SOURCE_NAME = '||l_je_source_name);

9970: close get_je_source_name;
9971:
9972:
9973: -- ====== FND LOG ======
9974: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> JE_SOURCE_NAME = '||l_je_source_name);
9975: -- ====== FND LOG ======
9976:
9977: --================== Allocation Attributes first level of validation Logic Start ======================
9978: /* First level of validation for allocation attributes is two fold:

Line 9999: psa_utils.debug_other_string(g_state_level,l_full_path,

9995: l_alloc_used := 'N';
9996: END IF;
9997:
9998: -- ====== FND LOG ======
9999: psa_utils.debug_other_string(g_state_level,l_full_path,
10000: ' BCTRL -> Allocation Attributes used (Y/N) = '||l_alloc_used);
10001: -- ====== FND LOG ======
10002:
10003: IF (l_alloc_used = 'Y') THEN

Line 10071: psa_utils.debug_other_string(g_state_level, l_full_path, ' l_alloc_event_cnt -> '||l_alloc_event_cnt);

10067: FROM psa_bc_alloc_gt
10068: WHERE hierarchy_id = h.hierarchy_id;
10069:
10070: -- ======================== FND LOG =============================
10071: psa_utils.debug_other_string(g_state_level, l_full_path, ' l_alloc_event_cnt -> '||l_alloc_event_cnt);
10072: -- ======================== FND LOG =============================
10073:
10074: SELECT
10075: COUNT(DISTINCT(xv.event_id))

Line 10097: psa_utils.debug_other_string(g_state_level, l_full_path, ' l_xla_event_cnt -> '||l_xla_event_cnt);

10093: )
10094: );
10095:
10096: -- ======================== FND LOG =============================
10097: psa_utils.debug_other_string(g_state_level, l_full_path, ' l_xla_event_cnt -> '||l_xla_event_cnt);
10098: -- ======================== FND LOG =============================
10099:
10100: -- Compare both the counts. if they are equal
10101: -- then the hierarchy events are eligible for funds check

Line 10108: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated '||sql%rowcount||

10104: psa_bc_alloc_gt
10105: SET status_code = 'P'
10106: WHERE hierarchy_id = h.hierarchy_id;
10107: -- ====== FND LOG ======
10108: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated '||sql%rowcount||
10109: ' rows.');
10110: -- ====== FND LOG ======
10111: ELSE
10112: UPDATE

Line 10117: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated '||sql%rowcount||

10113: psa_bc_alloc_gt
10114: SET status_code = 'F'
10115: WHERE hierarchy_id = h.hierarchy_id;
10116: -- ====== FND LOG ======
10117: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated '||sql%rowcount||
10118: ' rows.');
10119: -- ====== FND LOG ======
10120: END IF;
10121: END LOOP;

Line 10134: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Populate l_bc_pkts pl/sql table ');

10130: -- overcome a limitation with FORALL clause later in the code.
10131:
10132:
10133: -- ====== FND LOG ======
10134: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Populate l_bc_pkts pl/sql table ');
10135: -- ====== FND LOG ======
10136:
10137: SELECT NULL, -- Packet_id is initially NULL. Populated later in the code
10138: p_ledgerid, -- Since XLA view does not provide this column, use parameter

Line 10254: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Ledger Category: '||l_ledger_category);

10250: FETCH get_ledger_category INTO l_ledger_category;
10251: CLOSE get_ledger_category;
10252:
10253: -- ====== FND LOG ======
10254: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Ledger Category: '||l_ledger_category);
10255: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Application Id: '||psa_bc_xla_pvt.g_application_id);
10256: -- ====== FND LOG ======
10257:
10258: IF (l_ledger_category = 'PRIMARY') OR (psa_bc_xla_pvt.g_application_id = 602) THEN

Line 10255: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Application Id: '||psa_bc_xla_pvt.g_application_id);

10251: CLOSE get_ledger_category;
10252:
10253: -- ====== FND LOG ======
10254: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Ledger Category: '||l_ledger_category);
10255: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Application Id: '||psa_bc_xla_pvt.g_application_id);
10256: -- ====== FND LOG ======
10257:
10258: IF (l_ledger_category = 'PRIMARY') OR (psa_bc_xla_pvt.g_application_id = 602) THEN
10259: -- ==================== FND LOG ===========================

Line 10260: 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');

10256: -- ====== FND LOG ======
10257:
10258: IF (l_ledger_category = 'PRIMARY') OR (psa_bc_xla_pvt.g_application_id = 602) THEN
10259: -- ==================== FND LOG ===========================
10260: 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');
10261: -- ==================== FND LOG ===========================
10262:
10263: raise gl_bc_packets_empty;
10264: ELSE

Line 10267: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Do not process for Secondary Ledger ');

10263: raise gl_bc_packets_empty;
10264: ELSE
10265:
10266: -- ====== FND LOG ======
10267: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Do not process for Secondary Ledger ');
10268: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Return True');
10269: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL p_return_code -> S ');
10270: -- ====== FND LOG ======
10271: p_return_code := 'S';

Line 10268: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Return True');

10264: ELSE
10265:
10266: -- ====== FND LOG ======
10267: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Do not process for Secondary Ledger ');
10268: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Return True');
10269: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL p_return_code -> S ');
10270: -- ====== FND LOG ======
10271: p_return_code := 'S';
10272: return true;

Line 10269: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL p_return_code -> S ');

10265:
10266: -- ====== FND LOG ======
10267: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Do not process for Secondary Ledger ');
10268: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Return True');
10269: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL p_return_code -> S ');
10270: -- ====== FND LOG ======
10271: p_return_code := 'S';
10272: return true;
10273: END IF;

Line 10278: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Populated '||sql%rowcount||' rows. ');

10274:
10275: ELSE
10276:
10277: -- ====== FND LOG ======
10278: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Populated '||sql%rowcount||' rows. ');
10279: -- ====== FND LOG ======
10280: END IF;
10281:
10282: -- Note above that the packet_id column was assigned a NULL value.

Line 10306: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Row '||x||' assigned packet_id '||l_packet_id);

10302:
10303: l_bc_pkts(x).packet_id := l_packet_id;
10304:
10305: -- ====== FND LOG ======
10306: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Row '||x||' assigned packet_id '||l_packet_id);
10307: -- ====== FND LOG ======
10308:
10309: END LOOP;
10310:

Line 10314: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Invoking populate_bc_pkts() ');

10310:
10311: -- Insert autonomous procedure populate_bc_pkts to insert data in gl_bc_packets
10312:
10313: -- ====== FND LOG ======
10314: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Invoking populate_bc_pkts() ');
10315: -- ====== FND LOG ======
10316:
10317: IF NOT populate_bc_pkts (l_bc_pkts) THEN
10318: -- ====== FND LOG ======

Line 10319: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> populate_bc_pkts() failed. ');

10315: -- ====== FND LOG ======
10316:
10317: IF NOT populate_bc_pkts (l_bc_pkts) THEN
10318: -- ====== FND LOG ======
10319: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> populate_bc_pkts() failed. ');
10320: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> ERROR: FATAL. ');
10321: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> p_return_code -> T');
10322: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> Return false ');
10323: -- ====== FND LOG ======

Line 10320: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> ERROR: FATAL. ');

10316:
10317: IF NOT populate_bc_pkts (l_bc_pkts) THEN
10318: -- ====== FND LOG ======
10319: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> populate_bc_pkts() failed. ');
10320: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> ERROR: FATAL. ');
10321: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> p_return_code -> T');
10322: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> Return false ');
10323: -- ====== FND LOG ======
10324: p_return_code := 'T';

Line 10321: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> p_return_code -> T');

10317: IF NOT populate_bc_pkts (l_bc_pkts) THEN
10318: -- ====== FND LOG ======
10319: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> populate_bc_pkts() failed. ');
10320: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> ERROR: FATAL. ');
10321: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> p_return_code -> T');
10322: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> Return false ');
10323: -- ====== FND LOG ======
10324: p_return_code := 'T';
10325: return FALSE;

Line 10322: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> Return false ');

10318: -- ====== FND LOG ======
10319: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> populate_bc_pkts() failed. ');
10320: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> ERROR: FATAL. ');
10321: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> p_return_code -> T');
10322: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> Return false ');
10323: -- ====== FND LOG ======
10324: p_return_code := 'T';
10325: return FALSE;
10326: END IF;

Line 10331: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Invoking glxfck() per packet.');

10327:
10328: -- Invoke funds checker per packet_id. Update the relevant SLA tables.
10329:
10330: -- ====== FND LOG ======
10331: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Invoking glxfck() per packet.');
10332: -- ====== FND LOG ======
10333:
10334: FOR i IN 1..l_packets.count
10335: LOOP

Line 10338: psa_utils.debug_other_string(g_state_level,l_full_path,

10334: FOR i IN 1..l_packets.count
10335: LOOP
10336:
10337: -- ====== FND LOG ======
10338: psa_utils.debug_other_string(g_state_level,l_full_path,
10339: ' BCTRL -> Invoking glxfck() for packet_id '||l_packets(i));
10340: -- ====== FND LOG ======
10341:
10342: IF NOT glxfck( p_ledgerid ,

Line 10353: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> glxfck() failed ');

10349: 'S' ,
10350: l_ret_code ) THEN
10351:
10352: -- ====== FND LOG ======
10353: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> glxfck() failed ');
10354: -- ====== FND LOG ======
10355:
10356: -- ============================== FND LOG =========================
10357: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL l_ret_code -> T ');

Line 10357: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL l_ret_code -> T ');

10353: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> glxfck() failed ');
10354: -- ====== FND LOG ======
10355:
10356: -- ============================== FND LOG =========================
10357: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL l_ret_code -> T ');
10358: -- ============================== FND LOG =========================
10359:
10360: l_ret_code := 'T';
10361: END IF;

Line 10366: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Update funds_status_code '||

10362:
10363: -- Update Funds_Status_Code column in XLA_AE_HEADERS_GT
10364:
10365: -- ====== FND LOG ======
10366: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Update funds_status_code '||
10367: 'of xla_ae_headers_gt ');
10368: -- ====== FND LOG ======
10369:
10370: IF (PSA_BC_XLA_PVT.G_BC_MODE = 'P') AND (l_ret_code <> 'T') THEN

Line 10374: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> GET_STATUS_PER_HEADER DETAILS ');

10370: IF (PSA_BC_XLA_PVT.G_BC_MODE = 'P') AND (l_ret_code <> 'T') THEN
10371: FOR y IN get_status_per_header(l_packets(i))
10372: LOOP
10373: -- ====== FND LOG ======
10374: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> GET_STATUS_PER_HEADER DETAILS ');
10375: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> ----------------------------- ');
10376: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.AE_HEADER_ID = '||y.ae_header_id);
10377: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.SUCCESS_CNT = '||y.success_cnt);
10378: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.APPROVED_CNT = '||y.approved_cnt);

Line 10375: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> ----------------------------- ');

10371: FOR y IN get_status_per_header(l_packets(i))
10372: LOOP
10373: -- ====== FND LOG ======
10374: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> GET_STATUS_PER_HEADER DETAILS ');
10375: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> ----------------------------- ');
10376: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.AE_HEADER_ID = '||y.ae_header_id);
10377: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.SUCCESS_CNT = '||y.success_cnt);
10378: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.APPROVED_CNT = '||y.approved_cnt);
10379: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.FAILED_CNT = '||y.failed_cnt);

Line 10376: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.AE_HEADER_ID = '||y.ae_header_id);

10372: LOOP
10373: -- ====== FND LOG ======
10374: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> GET_STATUS_PER_HEADER DETAILS ');
10375: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> ----------------------------- ');
10376: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.AE_HEADER_ID = '||y.ae_header_id);
10377: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.SUCCESS_CNT = '||y.success_cnt);
10378: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.APPROVED_CNT = '||y.approved_cnt);
10379: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.FAILED_CNT = '||y.failed_cnt);
10380: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.REJECTED_CNT = '||y.rejected_cnt);

Line 10377: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.SUCCESS_CNT = '||y.success_cnt);

10373: -- ====== FND LOG ======
10374: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> GET_STATUS_PER_HEADER DETAILS ');
10375: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> ----------------------------- ');
10376: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.AE_HEADER_ID = '||y.ae_header_id);
10377: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.SUCCESS_CNT = '||y.success_cnt);
10378: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.APPROVED_CNT = '||y.approved_cnt);
10379: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.FAILED_CNT = '||y.failed_cnt);
10380: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.REJECTED_CNT = '||y.rejected_cnt);
10381: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.TOTAL_CNT = '||y.total_cnt);

Line 10378: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.APPROVED_CNT = '||y.approved_cnt);

10374: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> GET_STATUS_PER_HEADER DETAILS ');
10375: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> ----------------------------- ');
10376: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.AE_HEADER_ID = '||y.ae_header_id);
10377: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.SUCCESS_CNT = '||y.success_cnt);
10378: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.APPROVED_CNT = '||y.approved_cnt);
10379: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.FAILED_CNT = '||y.failed_cnt);
10380: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.REJECTED_CNT = '||y.rejected_cnt);
10381: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.TOTAL_CNT = '||y.total_cnt);
10382: -- ====== FND LOG ======

Line 10379: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.FAILED_CNT = '||y.failed_cnt);

10375: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> ----------------------------- ');
10376: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.AE_HEADER_ID = '||y.ae_header_id);
10377: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.SUCCESS_CNT = '||y.success_cnt);
10378: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.APPROVED_CNT = '||y.approved_cnt);
10379: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.FAILED_CNT = '||y.failed_cnt);
10380: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.REJECTED_CNT = '||y.rejected_cnt);
10381: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.TOTAL_CNT = '||y.total_cnt);
10382: -- ====== FND LOG ======
10383:

Line 10380: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.REJECTED_CNT = '||y.rejected_cnt);

10376: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.AE_HEADER_ID = '||y.ae_header_id);
10377: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.SUCCESS_CNT = '||y.success_cnt);
10378: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.APPROVED_CNT = '||y.approved_cnt);
10379: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.FAILED_CNT = '||y.failed_cnt);
10380: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.REJECTED_CNT = '||y.rejected_cnt);
10381: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.TOTAL_CNT = '||y.total_cnt);
10382: -- ====== FND LOG ======
10383:
10384: IF (y.success_cnt = y.total_cnt) OR (y.approved_cnt = y.total_cnt) THEN

Line 10381: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.TOTAL_CNT = '||y.total_cnt);

10377: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.SUCCESS_CNT = '||y.success_cnt);
10378: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.APPROVED_CNT = '||y.approved_cnt);
10379: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.FAILED_CNT = '||y.failed_cnt);
10380: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.REJECTED_CNT = '||y.rejected_cnt);
10381: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Y.TOTAL_CNT = '||y.total_cnt);
10382: -- ====== FND LOG ======
10383:
10384: IF (y.success_cnt = y.total_cnt) OR (y.approved_cnt = y.total_cnt) THEN
10385: SELECT nvl(min('A'), 'S') into l_xla_hdr_status

Line 10398: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL l_xla_hdr_status -> '||l_xla_hdr_status);

10394: l_xla_hdr_status := 'P';
10395: END IF;
10396:
10397: -- ============================== FND LOG =========================
10398: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL l_xla_hdr_status -> '||l_xla_hdr_status);
10399: -- ============================== FND LOG =========================
10400:
10401: UPDATE xla_ae_headers_gt
10402: SET funds_status_code = l_xla_hdr_status

Line 10408: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> XLA Header '||y.ae_header_id||

10404: ledger_id = p_ledgerid;
10405:
10406: IF SQL%FOUND THEN
10407: -- ====== FND LOG ======
10408: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> XLA Header '||y.ae_header_id||
10409: ', Status updated to '||l_xla_hdr_status);
10410: -- ====== FND LOG ======
10411: END IF;
10412:

Line 10423: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated funds_status_code of '||

10419: WHERE packet_id = l_packets(i)) and
10420: ledger_id = p_ledgerid;
10421:
10422: -- ====== FND LOG ======
10423: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated funds_status_code of '||
10424: sql%rowcount||' rows successfully. ');
10425: -- ====== FND LOG ======
10426: END IF;
10427:

Line 10445: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Update funds_status_code '||

10441:
10442: -- Update Funds_Status_Code column in XLA_VALIDATION_LINES_GT
10443:
10444: -- ====== FND LOG ======
10445: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Update funds_status_code '||
10446: 'of xla_validation_lines_gt');
10447: -- ====== FND LOG ======
10448:
10449: -- Bug 5397349 .. Start

Line 10467: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated '||sql%rowcount||

10463: vl.ae_line_num = l_xla_line_tbl(x) AND
10464: vl.ledger_id = p_ledgerid;
10465:
10466: -- ====== FND LOG ======
10467: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated '||sql%rowcount||
10468: ' rows.');
10469: -- ====== FND LOG ======
10470:
10471: EXIT when c_get_result_codes%notfound;

Line 10482: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Update result_code '||

10478:
10479: -- Update PSA_BC_XLA_EVENTS_GT table with result_code
10480:
10481: -- ====== FND LOG ======
10482: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Update result_code '||
10483: 'of psa_bc_xla_events_gt');
10484: -- ====== FND LOG ======
10485:
10486: -- this update will ensure that only valid xla events

Line 10502: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated valid funds check '||sql%rowcount||

10498: WHERE hg.event_id = eg.event_id)
10499: where eg.event_id in (select event_id from xla_ae_headers_gt);
10500:
10501: -- ====== FND LOG ======
10502: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated valid funds check '||sql%rowcount||
10503: ' rows.');
10504: -- ====== FND LOG ======
10505:
10506: -- Update global variable for packet_id to the first packet_id

Line 10511: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated '||

10507:
10508: PSA_BC_XLA_PVT.G_PACKET_ID := l_packets(1);
10509:
10510: -- ====== FND LOG ======
10511: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated '||
10512: ' PSA_BC_XLA_PVT.G_PACKET_ID to '||PSA_BC_XLA_PVT.G_PACKET_ID);
10513: -- ====== FND LOG ======
10514:
10515: -- ====== FND LOG ======

Line 10516: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_t_status_cnt = '||l_t_status_cnt);

10512: ' PSA_BC_XLA_PVT.G_PACKET_ID to '||PSA_BC_XLA_PVT.G_PACKET_ID);
10513: -- ====== FND LOG ======
10514:
10515: -- ====== FND LOG ======
10516: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_t_status_cnt = '||l_t_status_cnt);
10517: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_s_status_cnt = '||l_s_status_cnt);
10518: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_a_status_cnt = '||l_a_status_cnt);
10519: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_f_status_cnt = '||l_f_status_cnt);
10520: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_p_status_cnt = '||l_p_status_cnt);

Line 10517: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_s_status_cnt = '||l_s_status_cnt);

10513: -- ====== FND LOG ======
10514:
10515: -- ====== FND LOG ======
10516: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_t_status_cnt = '||l_t_status_cnt);
10517: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_s_status_cnt = '||l_s_status_cnt);
10518: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_a_status_cnt = '||l_a_status_cnt);
10519: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_f_status_cnt = '||l_f_status_cnt);
10520: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_p_status_cnt = '||l_p_status_cnt);
10521: -- ====== FND LOG ======

Line 10518: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_a_status_cnt = '||l_a_status_cnt);

10514:
10515: -- ====== FND LOG ======
10516: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_t_status_cnt = '||l_t_status_cnt);
10517: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_s_status_cnt = '||l_s_status_cnt);
10518: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_a_status_cnt = '||l_a_status_cnt);
10519: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_f_status_cnt = '||l_f_status_cnt);
10520: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_p_status_cnt = '||l_p_status_cnt);
10521: -- ====== FND LOG ======
10522:

Line 10519: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_f_status_cnt = '||l_f_status_cnt);

10515: -- ====== FND LOG ======
10516: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_t_status_cnt = '||l_t_status_cnt);
10517: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_s_status_cnt = '||l_s_status_cnt);
10518: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_a_status_cnt = '||l_a_status_cnt);
10519: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_f_status_cnt = '||l_f_status_cnt);
10520: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_p_status_cnt = '||l_p_status_cnt);
10521: -- ====== FND LOG ======
10522:
10523: -- Bug 4918234

Line 10520: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_p_status_cnt = '||l_p_status_cnt);

10516: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_t_status_cnt = '||l_t_status_cnt);
10517: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_s_status_cnt = '||l_s_status_cnt);
10518: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_a_status_cnt = '||l_a_status_cnt);
10519: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_f_status_cnt = '||l_f_status_cnt);
10520: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> l_p_status_cnt = '||l_p_status_cnt);
10521: -- ====== FND LOG ======
10522:
10523: -- Bug 4918234
10524: /* We need to update the related events stauses which were NOT picked up by funds checker.

Line 10539: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Updated '||sql%rowcount||' rows of XLA_AE_HEADERS_GT with fail status.');

10535: WHERE status_code <> 'P');
10536:
10537: IF(SQL%ROWCOUNT<> 0) THEN
10538: -- ====== FND LOG ======
10539: psa_utils.debug_other_string(g_state_level,l_full_path, ' BCTRL -> Updated '||sql%rowcount||' rows of XLA_AE_HEADERS_GT with fail status.');
10540: -- ====== FND LOG ======
10541: END IF;
10542:
10543: -- Update Funds_Status_Code column in XLA_VALIDATION_LINES_GT

Line 10553: 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.');

10549: WHERE status_code <> 'P');
10550:
10551: IF(SQL%ROWCOUNT<> 0) THEN
10552: -- ====== FND LOG ======
10553: 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.');
10554: -- ====== FND LOG ======
10555: END IF;
10556:
10557: --================== Allocation Attributes second level of validation Logic start =================

Line 10589: psa_utils.debug_other_string(g_state_level, l_full_path, 'BCTRL -> Updated '

10585: AND status_code NOT IN ('F', 'R')
10586: AND session_id = l_session_id
10587: AND serial_id = l_serial_id;
10588: -- ====== FND LOG ======
10589: psa_utils.debug_other_string(g_state_level, l_full_path, 'BCTRL -> Updated '
10590: ||sql%rowcount||' rows of GL_BC_PACKETS with F77 status.');
10591: -- ====== FND LOG ======
10592:
10593: ELSE

Line 10610: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated funds_status_code of '||

10606: AND session_id = l_session_id
10607: AND serial_id = l_serial_id) and
10608: ledger_id = p_ledgerid;
10609: -- ====== FND LOG ======
10610: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated funds_status_code of '||
10611: sql%rowcount||' rows successfully of XLA_AE_HEADERS_GT. ');
10612: -- ====== FND LOG ======
10613:
10614: UPDATE xla_validation_lines_gt vl

Line 10623: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated '||sql%rowcount||

10619: AND session_id = l_session_id
10620: AND serial_id = l_serial_id) and
10621: vl.ledger_id = p_ledgerid;
10622: -- ====== FND LOG ======
10623: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated '||sql%rowcount||
10624: ' rows of XLA_VALIDATION_LINES_GT with F77 status.');
10625: -- ====== FND LOG ======
10626:
10627: -- Reinitialize all the count variables

Line 10669: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Return_code = '||p_return_code);

10665: p_return_code := 'S';
10666: END IF;
10667:
10668: -- ====== FND LOG ======
10669: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Return_code = '||p_return_code);
10670: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Return TRUE');
10671: -- ====== FND LOG ======
10672:
10673: -- Invoke the DEBUG_XLA procedure to transfer data from XLA global temporary tables to

Line 10670: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Return TRUE');

10666: END IF;
10667:
10668: -- ====== FND LOG ======
10669: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Return_code = '||p_return_code);
10670: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Return TRUE');
10671: -- ====== FND LOG ======
10672:
10673: -- Invoke the DEBUG_XLA procedure to transfer data from XLA global temporary tables to
10674: -- PSA regular tables.

Line 10678: psa_utils.debug_other_string(g_state_level,l_full_path,'Cleaning up psa_bc_alloc_gt Table');

10674: -- PSA regular tables.
10675:
10676: debug_xla ( 'BUDGETARY_CONTROL_END' );
10677:
10678: psa_utils.debug_other_string(g_state_level,l_full_path,'Cleaning up psa_bc_alloc_gt Table');
10679: DELETE FROM psa_bc_alloc_gt; --For bug 7607496
10680: psa_utils.debug_other_string(g_state_level,l_full_path, ' Deleted Rows -> ' || SQL%ROWCOUNT);
10681:
10682: return TRUE;

Line 10680: psa_utils.debug_other_string(g_state_level,l_full_path, ' Deleted Rows -> ' || SQL%ROWCOUNT);

10676: debug_xla ( 'BUDGETARY_CONTROL_END' );
10677:
10678: psa_utils.debug_other_string(g_state_level,l_full_path,'Cleaning up psa_bc_alloc_gt Table');
10679: DELETE FROM psa_bc_alloc_gt; --For bug 7607496
10680: psa_utils.debug_other_string(g_state_level,l_full_path, ' Deleted Rows -> ' || SQL%ROWCOUNT);
10681:
10682: return TRUE;
10683:
10684: EXCEPTION

Line 10688: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> XLA_AE_HEADERS_GT DUMP');

10684: EXCEPTION
10685: WHEN GL_BC_PACKETS_EMPTY THEN
10686: IF (NOT g_xla_debug) THEN
10687: -- ====== FND LOG ======
10688: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> XLA_AE_HEADERS_GT DUMP');
10689: psa_utils.debug_other_string(g_error_level,l_full_path, ' -------------------- ');
10690:
10691: -- ====== FND LOG ======
10692: FOR h IN debug_xla_ae_headers_gt

Line 10689: psa_utils.debug_other_string(g_error_level,l_full_path, ' -------------------- ');

10685: WHEN GL_BC_PACKETS_EMPTY THEN
10686: IF (NOT g_xla_debug) THEN
10687: -- ====== FND LOG ======
10688: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> XLA_AE_HEADERS_GT DUMP');
10689: psa_utils.debug_other_string(g_error_level,l_full_path, ' -------------------- ');
10690:
10691: -- ====== FND LOG ======
10692: FOR h IN debug_xla_ae_headers_gt
10693: LOOP

Line 10695: psa_utils.debug_other_string(g_error_level,l_full_path, ' EVENT_ID = '||h.event_id||' , '||

10691: -- ====== FND LOG ======
10692: FOR h IN debug_xla_ae_headers_gt
10693: LOOP
10694: -- ====== FND LOG ======
10695: psa_utils.debug_other_string(g_error_level,l_full_path, ' EVENT_ID = '||h.event_id||' , '||
10696: ' AE_HEADER_ID = '||h.ae_header_id||' , '||
10697: ' LEDGER_ID = '||h.ledger_id||' , '||
10698: ' EVENT_TYPE_CODE = '||h.event_type_code||' , '||
10699: ' FUNDS_STATUS_CODE = '||h.funds_status_code||' , '||

Line 10705: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> XLA_AE_LINES_GT DUMP');

10701: ' BALANCE_TYPE_CODE = '||h.balance_type_code);
10702: -- ====== FND LOG ======
10703: END LOOP;
10704: -- ====== FND LOG ======
10705: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> XLA_AE_LINES_GT DUMP');
10706: psa_utils.debug_other_string(g_error_level,l_full_path, ' -------------------- ');
10707:
10708:
10709: -- ====== FND LOG ======

Line 10706: psa_utils.debug_other_string(g_error_level,l_full_path, ' -------------------- ');

10702: -- ====== FND LOG ======
10703: END LOOP;
10704: -- ====== FND LOG ======
10705: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> XLA_AE_LINES_GT DUMP');
10706: psa_utils.debug_other_string(g_error_level,l_full_path, ' -------------------- ');
10707:
10708:
10709: -- ====== FND LOG ======
10710: FOR x IN debug_xla_ae_lines_gt

Line 10713: psa_utils.debug_other_string(g_error_level,l_full_path, ' EVENT_ID = '||x.event_id||' , '||

10709: -- ====== FND LOG ======
10710: FOR x IN debug_xla_ae_lines_gt
10711: LOOP
10712: -- ====== FND LOG ======
10713: psa_utils.debug_other_string(g_error_level,l_full_path, ' EVENT_ID = '||x.event_id||' , '||
10714: ' AE_HEADER_ID = '||x.ae_header_id||' , '||
10715: ' AE_LINE_NUM = '||x.ae_line_num);
10716: -- ====== FND LOG ======
10717: END LOOP;

Line 10720: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> XLA_VALIDATION_LINES_GT DUMP');

10716: -- ====== FND LOG ======
10717: END LOOP;
10718:
10719: -- ====== FND LOG ======
10720: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> XLA_VALIDATION_LINES_GT DUMP');
10721: psa_utils.debug_other_string(g_error_level,l_full_path, ' ---------------------------- ');
10722: -- ====== FND LOG ======
10723: FOR y IN debug_xla_val_lines_gt
10724: LOOP

Line 10721: psa_utils.debug_other_string(g_error_level,l_full_path, ' ---------------------------- ');

10717: END LOOP;
10718:
10719: -- ====== FND LOG ======
10720: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> XLA_VALIDATION_LINES_GT DUMP');
10721: psa_utils.debug_other_string(g_error_level,l_full_path, ' ---------------------------- ');
10722: -- ====== FND LOG ======
10723: FOR y IN debug_xla_val_lines_gt
10724: LOOP
10725: -- ====== FND LOG ======

Line 10726: psa_utils.debug_other_string(g_error_level,l_full_path, ' AE_HEADER_ID = '||y.ae_header_id||' , '||

10722: -- ====== FND LOG ======
10723: FOR y IN debug_xla_val_lines_gt
10724: LOOP
10725: -- ====== FND LOG ======
10726: psa_utils.debug_other_string(g_error_level,l_full_path, ' AE_HEADER_ID = '||y.ae_header_id||' , '||
10727: ' AE_LINE_NUM = '||y.ae_line_num||' , '||
10728: ' PERIOD_NAME = '||y.period_name||' , '||
10729: ' ACCOUNTING_ENTRY_STATUS_CODE = '||y.accounting_entry_status_code||' , '||
10730: ' BALANCING_LINE_TYPE = '||y.balancing_line_type);

Line 10735: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> XLA_EVENTS_GT DUMP');

10731: -- ====== FND LOG ======
10732: END LOOP;
10733:
10734: -- ====== FND LOG ======
10735: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> XLA_EVENTS_GT DUMP');
10736: psa_utils.debug_other_string(g_error_level,l_full_path, ' ---------------------------- ');
10737: -- ====== FND LOG ======
10738: FOR z in debug_xla_events_gt
10739: LOOP

Line 10736: psa_utils.debug_other_string(g_error_level,l_full_path, ' ---------------------------- ');

10732: END LOOP;
10733:
10734: -- ====== FND LOG ======
10735: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> XLA_EVENTS_GT DUMP');
10736: psa_utils.debug_other_string(g_error_level,l_full_path, ' ---------------------------- ');
10737: -- ====== FND LOG ======
10738: FOR z in debug_xla_events_gt
10739: LOOP
10740: -- ====== FND LOG ======

Line 10741: psa_utils.debug_other_string(g_error_level,l_full_path, ' APPLICATION_ID = '||z.application_id||' , '||

10737: -- ====== FND LOG ======
10738: FOR z in debug_xla_events_gt
10739: LOOP
10740: -- ====== FND LOG ======
10741: psa_utils.debug_other_string(g_error_level,l_full_path, ' APPLICATION_ID = '||z.application_id||' , '||
10742: ' EVENT_ID = '||z.event_id||' , '||
10743: ' EVENT_DATE = '||z.event_date||' , '||
10744: ' EVENT_TYPE_CODE = '||z.event_type_code||' , '||
10745: ' REFERENCE_NUM_1 = '||z.reference_num_1);

Line 10749: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> XLA_PSA_BC_LINES_V DUMP');

10745: ' REFERENCE_NUM_1 = '||z.reference_num_1);
10746: -- ====== FND LOG ======
10747: END LOOP;
10748: -- ====== FND LOG ======
10749: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> XLA_PSA_BC_LINES_V DUMP');
10750: psa_utils.debug_other_string(g_error_level,l_full_path,' --------------------------------------- ');
10751: -- ====== FND LOG ======
10752: FOR v in debug_xla_psa_bc_v
10753: LOOP

Line 10750: psa_utils.debug_other_string(g_error_level,l_full_path,' --------------------------------------- ');

10746: -- ====== FND LOG ======
10747: END LOOP;
10748: -- ====== FND LOG ======
10749: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> XLA_PSA_BC_LINES_V DUMP');
10750: psa_utils.debug_other_string(g_error_level,l_full_path,' --------------------------------------- ');
10751: -- ====== FND LOG ======
10752: FOR v in debug_xla_psa_bc_v
10753: LOOP
10754: -- ====== FND LOG ======

Line 10755: psa_utils.debug_other_string(g_error_level,l_full_path, ' EVENT_ID = '||v.event_id||' , '||

10751: -- ====== FND LOG ======
10752: FOR v in debug_xla_psa_bc_v
10753: LOOP
10754: -- ====== FND LOG ======
10755: psa_utils.debug_other_string(g_error_level,l_full_path, ' EVENT_ID = '||v.event_id||' , '||
10756: ' AE_HEADER_ID = '||v.ae_header_id||' , '||
10757: ' AE_LINE_NUM = '||v.ae_line_num||' , '||
10758: ' ENTITY_ID = '||v.entity_id||' , '||
10759: ' PERIOD_NAME = '||v.period_name);

Line 10764: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> PSA_BC_ALLOC_GT DUMP');

10760: -- ====== FND LOG ======
10761: END LOOP;
10762:
10763: -- ====== FND LOG ======
10764: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> PSA_BC_ALLOC_GT DUMP');
10765: psa_utils.debug_other_string(g_error_level,l_full_path,' --------------------------------------- ');
10766: -- ====== FND LOG ======
10767: FOR p in debug_psa_bc_alloc_gt
10768: LOOP

Line 10765: psa_utils.debug_other_string(g_error_level,l_full_path,' --------------------------------------- ');

10761: END LOOP;
10762:
10763: -- ====== FND LOG ======
10764: psa_utils.debug_other_string(g_error_level,l_full_path, ' BCTRL -> PSA_BC_ALLOC_GT DUMP');
10765: psa_utils.debug_other_string(g_error_level,l_full_path,' --------------------------------------- ');
10766: -- ====== FND LOG ======
10767: FOR p in debug_psa_bc_alloc_gt
10768: LOOP
10769: -- ====== FND LOG ======

Line 10770: psa_utils.debug_other_string(g_error_level,l_full_path, ' HIERARCHY_ID = '||p.hierarchy_id||' , '||

10766: -- ====== FND LOG ======
10767: FOR p in debug_psa_bc_alloc_gt
10768: LOOP
10769: -- ====== FND LOG ======
10770: psa_utils.debug_other_string(g_error_level,l_full_path, ' HIERARCHY_ID = '||p.hierarchy_id||' , '||
10771: ' EVENT_ID = '||p.event_id||' , '||
10772: ' AE_HEADER_ID = '||p.ae_header_id||' , '||
10773: ' AE_LINE_NUM = '||p.ae_line_num||' , '||
10774: ' STATUS_CODE = '||p.status_code);

Line 10782: psa_utils.debug_other_string(g_error_level,l_full_path, ' XLA_PSA_BC_LINES_V returns '||l_var_1||' rows. ');

10778:
10779: select count(*) into l_var_1
10780: from xla_psa_bc_lines_v;
10781: -- ====== FND LOG ======
10782: psa_utils.debug_other_string(g_error_level,l_full_path, ' XLA_PSA_BC_LINES_V returns '||l_var_1||' rows. ');
10783: psa_utils.debug_other_string(g_error_level,l_full_path, ' Error: Populated 0 rows in gl_bc_packets.');
10784: psa_utils.debug_other_string(g_error_level,l_full_path, ' RETURN -> FALSE');
10785: -- ====== FND LOG ======
10786: p_return_code := 'T';

Line 10783: psa_utils.debug_other_string(g_error_level,l_full_path, ' Error: Populated 0 rows in gl_bc_packets.');

10779: select count(*) into l_var_1
10780: from xla_psa_bc_lines_v;
10781: -- ====== FND LOG ======
10782: psa_utils.debug_other_string(g_error_level,l_full_path, ' XLA_PSA_BC_LINES_V returns '||l_var_1||' rows. ');
10783: psa_utils.debug_other_string(g_error_level,l_full_path, ' Error: Populated 0 rows in gl_bc_packets.');
10784: psa_utils.debug_other_string(g_error_level,l_full_path, ' RETURN -> FALSE');
10785: -- ====== FND LOG ======
10786: p_return_code := 'T';
10787: return FALSE;

Line 10784: psa_utils.debug_other_string(g_error_level,l_full_path, ' RETURN -> FALSE');

10780: from xla_psa_bc_lines_v;
10781: -- ====== FND LOG ======
10782: psa_utils.debug_other_string(g_error_level,l_full_path, ' XLA_PSA_BC_LINES_V returns '||l_var_1||' rows. ');
10783: psa_utils.debug_other_string(g_error_level,l_full_path, ' Error: Populated 0 rows in gl_bc_packets.');
10784: psa_utils.debug_other_string(g_error_level,l_full_path, ' RETURN -> FALSE');
10785: -- ====== FND LOG ======
10786: p_return_code := 'T';
10787: return FALSE;
10788: END IF;

Line 10791: psa_utils.debug_other_string(g_excep_level, l_full_path, ' BCTRL -> Exception Raised: '||sqlerrm);

10787: return FALSE;
10788: END IF;
10789: WHEN OTHERS THEN
10790: -- ====== FND LOG ======
10791: psa_utils.debug_other_string(g_excep_level, l_full_path, ' BCTRL -> Exception Raised: '||sqlerrm);
10792: psa_utils.debug_other_string(g_excep_level, l_full_path, ' BCTRL -> Return_code = T');
10793: psa_utils.debug_other_string(g_excep_level, l_full_path, ' BCTRL -> Return FALSE');
10794: -- ====== FND LOG ======
10795: p_return_code := 'T';

Line 10792: psa_utils.debug_other_string(g_excep_level, l_full_path, ' BCTRL -> Return_code = T');

10788: END IF;
10789: WHEN OTHERS THEN
10790: -- ====== FND LOG ======
10791: psa_utils.debug_other_string(g_excep_level, l_full_path, ' BCTRL -> Exception Raised: '||sqlerrm);
10792: psa_utils.debug_other_string(g_excep_level, l_full_path, ' BCTRL -> Return_code = T');
10793: psa_utils.debug_other_string(g_excep_level, l_full_path, ' BCTRL -> Return FALSE');
10794: -- ====== FND LOG ======
10795: p_return_code := 'T';
10796: return FALSE;

Line 10793: psa_utils.debug_other_string(g_excep_level, l_full_path, ' BCTRL -> Return FALSE');

10789: WHEN OTHERS THEN
10790: -- ====== FND LOG ======
10791: psa_utils.debug_other_string(g_excep_level, l_full_path, ' BCTRL -> Exception Raised: '||sqlerrm);
10792: psa_utils.debug_other_string(g_excep_level, l_full_path, ' BCTRL -> Return_code = T');
10793: psa_utils.debug_other_string(g_excep_level, l_full_path, ' BCTRL -> Return FALSE');
10794: -- ====== FND LOG ======
10795: p_return_code := 'T';
10796: return FALSE;
10797:

Line 10837: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> p_failed_ldgr_array.COUNT: '|| p_failed_ldgr_array.COUNT);

10833: l_f82_cnt := 0;
10834: l_full_path := g_path || 'sync_xla_errors';
10835:
10836: -- ====== FND LOG ======
10837: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> p_failed_ldgr_array.COUNT: '|| p_failed_ldgr_array.COUNT);
10838: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> p_failed_evnt_array.COUNT: '|| p_failed_evnt_array.COUNT);
10839: -- ====== FND LOG ======
10840:
10841: FORALL i IN 1..p_failed_ldgr_array.COUNT

Line 10838: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> p_failed_evnt_array.COUNT: '|| p_failed_evnt_array.COUNT);

10834: l_full_path := g_path || 'sync_xla_errors';
10835:
10836: -- ====== FND LOG ======
10837: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> p_failed_ldgr_array.COUNT: '|| p_failed_ldgr_array.COUNT);
10838: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> p_failed_evnt_array.COUNT: '|| p_failed_evnt_array.COUNT);
10839: -- ====== FND LOG ======
10840:
10841: FORALL i IN 1..p_failed_ldgr_array.COUNT
10842: UPDATE gl_bc_packets

Line 10856: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated GL_BC_PACKETS '||l_f81_cnt||

10852:
10853: l_f81_cnt := SQL%ROWCOUNT;
10854:
10855: -- ====== FND LOG ======
10856: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated GL_BC_PACKETS '||l_f81_cnt||
10857: ' rows to F81 status.');
10858: -- ====== FND LOG ======
10859:
10860:

Line 10875: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated GL_BC_PACKETS '||l_f82_cnt||

10871:
10872: l_f82_cnt := SQL%ROWCOUNT;
10873:
10874: -- ====== FND LOG ======
10875: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated GL_BC_PACKETS '||l_f82_cnt||
10876: ' rows to F82 status.');
10877: -- ====== FND LOG ======
10878:
10879: -- This check is to ensure that if we have not updated any GL_BC_PACKETS

Line 10893: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated PSA_BC_XLA_EVENTS_GT '||sql%rowcount||

10889: WHERE event_id = p_failed_evnt_array(k)
10890: AND result_code <> 'XLA_ERROR';
10891:
10892: -- ====== FND LOG ======
10893: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated PSA_BC_XLA_EVENTS_GT '||sql%rowcount||
10894: ' rows to XLA_ERROR status.');
10895: -- ====== FND LOG ======
10896:
10897: END IF;

Line 10924: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated GL_BC_PACKET_ARRIVAL_ORDER '||sql%rowcount||

10920: AND result_code IN ('F81', 'F82')
10921: ) ;
10922:
10923: -- ====== FND LOG ======
10924: psa_utils.debug_other_string(g_state_level, l_full_path, ' BCTRL -> Updated GL_BC_PACKET_ARRIVAL_ORDER '||sql%rowcount||
10925: ' rows.');
10926: -- ====== FND LOG ======
10927:
10928:

Line 10935: psa_utils.debug_other_string(g_excep_level, l_full_path, ' BCTRL -> Exception Raised: '||sqlerrm);

10931:
10932: EXCEPTION
10933: WHEN OTHERS THEN
10934: -- ====== FND LOG ======
10935: psa_utils.debug_other_string(g_excep_level, l_full_path, ' BCTRL -> Exception Raised: '||sqlerrm);
10936: -- ====== FND LOG ======
10937: IF (c_success_evt_exists%ISOPEN) THEN
10938: CLOSE c_success_evt_exists;
10939: END IF;