DBA Data[Home] [Help]

APPS.FARX_MCP dependencies on FA_DEBUG_PKG

Line 241: FA_DEBUG_PKG.Initialize;

237: BEGIN
238:
239: -- Initialize message stacks.
240: FA_SRVR_MSG.Init_Server_Message;
241: FA_DEBUG_PKG.Initialize;
242: FA_DEBUG_PKG.SET_DEBUG_FLAG;
243:
244:
245: -- Initialize global variables.

Line 242: FA_DEBUG_PKG.SET_DEBUG_FLAG;

238:
239: -- Initialize message stacks.
240: FA_SRVR_MSG.Init_Server_Message;
241: FA_DEBUG_PKG.Initialize;
242: FA_DEBUG_PKG.SET_DEBUG_FLAG;
243:
244:
245: -- Initialize global variables.
246: -- (These are session specific variables, and thus values need to

Line 332: fa_debug_pkg.add('FARX_MCP.Preview_Change',

328: h_debug_flag := 'YES';
329: END IF;
330:
331: if (g_print_debug) then
332: fa_debug_pkg.add('FARX_MCP.Preview_Change',
333: 'Starting Preview',
334: '');
335: end if;
336:

Line 350: fa_debug_pkg.add('FARX_MCP.Preview_Change',

346: request id, if there is any.
347: =========================================================================*/
348:
349: if (g_print_debug) then
350: fa_debug_pkg.add('FARX_MCP.Preview_Change',
351: 'before deleting rows from itf table',
352: '');
353: end if;
354:

Line 440: fa_debug_pkg.add('after fecth',

436: a_tbl(a_index).from_deprn_limit_amount; -- Bug 6964615 end
437: EXIT WHEN mass_change_assets%NOTFOUND;
438:
439: if (g_print_debug) then
440: fa_debug_pkg.add('after fecth',
441: 'asset_id',
442: a_tbl(a_index).asset_id);
443: end if;
444:

Line 446: fa_debug_pkg.add('calling',

442: a_tbl(a_index).asset_id);
443: end if;
444:
445: if (g_print_debug) then
446: fa_debug_pkg.add('calling',
447: 'store results',
448: a_index);
449: end if;
450:

Line 465: fa_debug_pkg.add('FARX_RP.Preview_Reclass',

461: -- and a_index to 0. Commit changes at every 200 assets as well.
462: IF (g_asset_count = h_commit_level) THEN
463: FOR i IN 1 .. a_index LOOP
464: if (g_print_debug) then
465: fa_debug_pkg.add('FARX_RP.Preview_Reclass',
466: 'Preview - inserting asset into itf-table at 200 loop',
467: a_tbl(a_index).asset_id );
468: end if;
469:

Line 492: fa_debug_pkg.add('FARX_MCP.Preview_Change',

488:
489: END LOOP;
490:
491: if (g_print_debug) then
492: fa_debug_pkg.add('FARX_MCP.Preview_Change',
493: 'after loop',
494: '');
495: end if;
496:

Line 504: fa_debug_pkg.add('FARX_MCP.Preview_Change',

500: -- Up to a_index - 1, to account for the extra increment taken for a_index
501: -- when no more rows were found in the cursor loop.
502:
503: if (g_print_debug) then
504: fa_debug_pkg.add('FARX_MCP.Preview_Change',
505: 'after closing cursor',
506: '');
507: end if;
508:

Line 513: fa_debug_pkg.add('FARX_MCP.Preview_Change',

509:
510: FOR i IN 1 .. (a_index - 1) LOOP
511:
512: if (g_print_debug) then
513: fa_debug_pkg.add('FARX_MCP.Preview_Change',
514: 'asset inserted',
515: a_tbl(i).asset_id);
516: fa_debug_pkg.add('FARX_MCP.Preview_Change',
517: 'book inserted',

Line 516: fa_debug_pkg.add('FARX_MCP.Preview_Change',

512: if (g_print_debug) then
513: fa_debug_pkg.add('FARX_MCP.Preview_Change',
514: 'asset inserted',
515: a_tbl(i).asset_id);
516: fa_debug_pkg.add('FARX_MCP.Preview_Change',
517: 'book inserted',
518: a_tbl(i).book_type_code);
519: end if;
520:

Line 565: -- fa_debug_pkg.dump_debug_messages(max_mesgs => 0);

561: */
562:
563: -- Commented for bugfix 4672237
564: -- if (g_print_debug) then
565: -- fa_debug_pkg.dump_debug_messages(max_mesgs => 0);
566: -- end if;
567:
568: FND_MSG_PUB.Count_And_Get(
569: p_count => h_msg_count,

Line 575: FA_DEBUG_PKG.Write_Debug_Log;

571: FA_SRVR_MSG.Write_Msg_Log(
572: msg_count => h_msg_count,
573: msg_data => h_msg_data);
574: IF (h_debug_flag = 'YES') THEN
575: FA_DEBUG_PKG.Write_Debug_Log;
576: END IF;
577:
578: errbuf := ''; -- No error.
579: retcode := 0; -- Completed normally.

Line 606: -- fa_debug_pkg.dump_debug_messages(max_mesgs => 0);

602:
603:
604: -- Commented for bugfix 4672237
605: -- if (g_print_debug) then
606: -- fa_debug_pkg.dump_debug_messages(max_mesgs => 0);
607: -- end if;
608:
609: /* Retrieve message log and write result to log and output. */
610: IF (X_RX_Flag = 'YES') THEN

Line 618: FA_DEBUG_PKG.Write_Debug_Log;

614: FA_SRVR_MSG.Write_Msg_Log(
615: msg_count => h_msg_count,
616: msg_data => h_msg_data);
617: IF (h_debug_flag = 'YES') THEN
618: FA_DEBUG_PKG.Write_Debug_Log;
619: END IF;
620: END IF;
621: WHEN OTHERS THEN
622: retcode := 2; -- Completed with error.

Line 650: -- fa_debug_pkg.dump_debug_messages(max_mesgs => 0);

646:
647:
648: -- Commented for bugfix 4672237
649: -- if (g_print_debug) then
650: -- fa_debug_pkg.dump_debug_messages(max_mesgs => 0);
651: -- end if;
652:
653: /* Retrieve message log and write result to log and output. */
654: IF (X_RX_Flag = 'YES') THEN

Line 662: FA_DEBUG_PKG.Write_Debug_Log;

658: FA_SRVR_MSG.Write_Msg_Log(
659: msg_count => h_msg_count,
660: msg_data => h_msg_data);
661: IF (h_debug_flag = 'YES') THEN
662: FA_DEBUG_PKG.Write_Debug_Log;
663: END IF;
664: END IF;
665:
666: END Preview_Change;

Line 760: fa_debug_pkg.add('store',

756: a_tbl(a_index).to_method := nvl(X_mc_rec.to_method_code, a_tbl(a_index).from_method);
757: a_tbl(a_index).to_bonus_rule := nvl(X_mc_rec.to_bonus_rule, a_tbl(a_index).from_bonus_rule);
758:
759: if (g_print_debug) then
760: fa_debug_pkg.add('store',
761: 'entering group logic, to group assoc',
762: X_mc_rec.to_group_association);
763: fa_debug_pkg.add('store',
764: 'entering group logic, from group num',

Line 763: fa_debug_pkg.add('store',

759: if (g_print_debug) then
760: fa_debug_pkg.add('store',
761: 'entering group logic, to group assoc',
762: X_mc_rec.to_group_association);
763: fa_debug_pkg.add('store',
764: 'entering group logic, from group num',
765: X_mc_rec.from_group_asset_number);
766:
767: fa_debug_pkg.add('store',

Line 767: fa_debug_pkg.add('store',

763: fa_debug_pkg.add('store',
764: 'entering group logic, from group num',
765: X_mc_rec.from_group_asset_number);
766:
767: fa_debug_pkg.add('store',
768: 'entering group logic, to group number',
769: X_mc_rec.to_group_asset_number);
770:
771: end if;