60: BEGIN
61: --
62: -- Debug Info Begin
63: --
64: IF fnd_log.level_procedure >= fnd_log.g_current_runtime_level THEN
65: fnd_log.string(
66: log_level => fnd_log.level_procedure,
67: module => l_module || '.' || 'begin',
68: message =>
61: --
62: -- Debug Info Begin
63: --
64: IF fnd_log.level_procedure >= fnd_log.g_current_runtime_level THEN
65: fnd_log.string(
66: log_level => fnd_log.level_procedure,
67: module => l_module || '.' || 'begin',
68: message =>
69: 'p_application_id => ' || p_application_id || ', ' ||
62: -- Debug Info Begin
63: --
64: IF fnd_log.level_procedure >= fnd_log.g_current_runtime_level THEN
65: fnd_log.string(
66: log_level => fnd_log.level_procedure,
67: module => l_module || '.' || 'begin',
68: message =>
69: 'p_application_id => ' || p_application_id || ', ' ||
70: 'p_table_name => ' || p_table_name || ', ' ||
129: COMMIT;
130: --
131: -- Debug Info End
132: --
133: IF fnd_log.level_procedure >= fnd_log.g_current_runtime_level THEN
134: fnd_log.string(
135: log_level => fnd_log.level_procedure,
136: module => l_module || '.' || 'end',
137: message => 'x_status => ' || x_status || ', ' ||
130: --
131: -- Debug Info End
132: --
133: IF fnd_log.level_procedure >= fnd_log.g_current_runtime_level THEN
134: fnd_log.string(
135: log_level => fnd_log.level_procedure,
136: module => l_module || '.' || 'end',
137: message => 'x_status => ' || x_status || ', ' ||
138: 'x_seq_context_id => ' || x_seq_context_id);
131: -- Debug Info End
132: --
133: IF fnd_log.level_procedure >= fnd_log.g_current_runtime_level THEN
134: fnd_log.string(
135: log_level => fnd_log.level_procedure,
136: module => l_module || '.' || 'end',
137: message => 'x_status => ' || x_status || ', ' ||
138: 'x_seq_context_id => ' || x_seq_context_id);
139: END IF;
141: WHEN OTHERS THEN
142: --
143: -- Logging
144: --
145: IF fnd_log.level_error >= fnd_log.g_current_runtime_level THEN
146: fnd_log.string (
147: log_level => fnd_log.level_error,
148: module => l_module,
149: message => 'SQLERRM: ' || SQLERRM);
142: --
143: -- Logging
144: --
145: IF fnd_log.level_error >= fnd_log.g_current_runtime_level THEN
146: fnd_log.string (
147: log_level => fnd_log.level_error,
148: module => l_module,
149: message => 'SQLERRM: ' || SQLERRM);
150: END IF;
143: -- Logging
144: --
145: IF fnd_log.level_error >= fnd_log.g_current_runtime_level THEN
146: fnd_log.string (
147: log_level => fnd_log.level_error,
148: module => l_module,
149: message => 'SQLERRM: ' || SQLERRM);
150: END IF;
151: --
179: BEGIN
180: --
181: -- Debug Info
182: --
183: IF fnd_log.level_procedure >= fnd_log.g_current_runtime_level THEN
184: fnd_log.string(
185: log_level => fnd_log.level_procedure,
186: module => l_module || '.' || 'begin',
187: message => 'p_request_id => ' || p_request_id);
180: --
181: -- Debug Info
182: --
183: IF fnd_log.level_procedure >= fnd_log.g_current_runtime_level THEN
184: fnd_log.string(
185: log_level => fnd_log.level_procedure,
186: module => l_module || '.' || 'begin',
187: message => 'p_request_id => ' || p_request_id);
188: END IF;
181: -- Debug Info
182: --
183: IF fnd_log.level_procedure >= fnd_log.g_current_runtime_level THEN
184: fnd_log.string(
185: log_level => fnd_log.level_procedure,
186: module => l_module || '.' || 'begin',
187: message => 'p_request_id => ' || p_request_id);
188: END IF;
189: --
235: COMMIT;
236: --
237: -- Debug Info
238: --
239: IF fnd_log.level_procedure >= fnd_log.g_current_runtime_level THEN
240: fnd_log.string(
241: log_level => fnd_log.level_procedure,
242: module => l_module || '.' || 'end',
243: message => 'x_ledgers_locked_cnt => ' || x_ledgers_locked_cnt);
236: --
237: -- Debug Info
238: --
239: IF fnd_log.level_procedure >= fnd_log.g_current_runtime_level THEN
240: fnd_log.string(
241: log_level => fnd_log.level_procedure,
242: module => l_module || '.' || 'end',
243: message => 'x_ledgers_locked_cnt => ' || x_ledgers_locked_cnt);
244: END IF;
237: -- Debug Info
238: --
239: IF fnd_log.level_procedure >= fnd_log.g_current_runtime_level THEN
240: fnd_log.string(
241: log_level => fnd_log.level_procedure,
242: module => l_module || '.' || 'end',
243: message => 'x_ledgers_locked_cnt => ' || x_ledgers_locked_cnt);
244: END IF;
245: EXCEPTION
246: WHEN OTHERS THEN
247: --
248: -- Logging
249: --
250: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
251: fnd_log.string(
252: log_level => fnd_log.level_exception,
253: module => l_module,
254: message => 'p_request_id: ' || p_request_id || ', ' ||
247: --
248: -- Logging
249: --
250: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
251: fnd_log.string(
252: log_level => fnd_log.level_exception,
253: module => l_module,
254: message => 'p_request_id: ' || p_request_id || ', ' ||
255: 'SQLERRM: ' || SQLERRM);
248: -- Logging
249: --
250: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
251: fnd_log.string(
252: log_level => fnd_log.level_exception,
253: module => l_module,
254: message => 'p_request_id: ' || p_request_id || ', ' ||
255: 'SQLERRM: ' || SQLERRM);
256: END IF;
291: BEGIN
292: --
293: -- Debug Info - Begin
294: --
295: IF fnd_log.level_procedure >= fnd_log.g_current_runtime_level THEN
296: fnd_log.string(
297: log_level => fnd_log.level_procedure,
298: module => l_module || '.' || 'begin',
299: message => 'p_request_id => ' || p_request_id);
292: --
293: -- Debug Info - Begin
294: --
295: IF fnd_log.level_procedure >= fnd_log.g_current_runtime_level THEN
296: fnd_log.string(
297: log_level => fnd_log.level_procedure,
298: module => l_module || '.' || 'begin',
299: message => 'p_request_id => ' || p_request_id);
300: END IF;
293: -- Debug Info - Begin
294: --
295: IF fnd_log.level_procedure >= fnd_log.g_current_runtime_level THEN
296: fnd_log.string(
297: log_level => fnd_log.level_procedure,
298: module => l_module || '.' || 'begin',
299: message => 'p_request_id => ' || p_request_id);
300: END IF;
301: --
313: COMMIT;
314:
315: -- Debug Info - End
316: --
317: IF fnd_log.level_procedure >= fnd_log.g_current_runtime_level THEN
318: fnd_log.string(
319: log_level => fnd_log.level_procedure,
320: module => l_module || '.'|| 'end',
321: message => 'x_status => ' || x_status);
314:
315: -- Debug Info - End
316: --
317: IF fnd_log.level_procedure >= fnd_log.g_current_runtime_level THEN
318: fnd_log.string(
319: log_level => fnd_log.level_procedure,
320: module => l_module || '.'|| 'end',
321: message => 'x_status => ' || x_status);
322: END IF;
315: -- Debug Info - End
316: --
317: IF fnd_log.level_procedure >= fnd_log.g_current_runtime_level THEN
318: fnd_log.string(
319: log_level => fnd_log.level_procedure,
320: module => l_module || '.'|| 'end',
321: message => 'x_status => ' || x_status);
322: END IF;
323: EXCEPTION
324: WHEN OTHERS THEN
325: --
326: -- Logging
327: --
328: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
329: fnd_log.string(
330: log_level => fnd_log.level_exception,
331: module => l_module,
332: message => 'p_request_id: ' || p_request_id || ', ' ||
325: --
326: -- Logging
327: --
328: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
329: fnd_log.string(
330: log_level => fnd_log.level_exception,
331: module => l_module,
332: message => 'p_request_id: ' || p_request_id || ', ' ||
333: 'SQLERRM: ' || SQLERRM);
326: -- Logging
327: --
328: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
329: fnd_log.string(
330: log_level => fnd_log.level_exception,
331: module => l_module,
332: message => 'p_request_id: ' || p_request_id || ', ' ||
333: 'SQLERRM: ' || SQLERRM);
334: END IF;
381: BEGIN
382: --
383: -- Debug Information
384: --
385: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
386: FND_LOG.STRING(
387: FND_LOG.LEVEL_PROCEDURE,
388: 'fun.plsql.fun_seq_batch.generate_bulk_numbers.begin',
389: 'Beginning of generate_bulk_numbers');
382: --
383: -- Debug Information
384: --
385: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
386: FND_LOG.STRING(
387: FND_LOG.LEVEL_PROCEDURE,
388: 'fun.plsql.fun_seq_batch.generate_bulk_numbers.begin',
389: 'Beginning of generate_bulk_numbers');
390: END IF;
383: -- Debug Information
384: --
385: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
386: FND_LOG.STRING(
387: FND_LOG.LEVEL_PROCEDURE,
388: 'fun.plsql.fun_seq_batch.generate_bulk_numbers.begin',
389: 'Beginning of generate_bulk_numbers');
390: END IF;
391: --
453: END IF;
454: --
455: -- Debug Information
456: --
457: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
458: FND_LOG.STRING(
459: FND_LOG.LEVEL_PROCEDURE,
460: 'fun.plsql.fun_seq_batch.generate_bulk_numbers.end',
461: 'Generate_bulk_numbers completes successfully.');
454: --
455: -- Debug Information
456: --
457: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
458: FND_LOG.STRING(
459: FND_LOG.LEVEL_PROCEDURE,
460: 'fun.plsql.fun_seq_batch.generate_bulk_numbers.end',
461: 'Generate_bulk_numbers completes successfully.');
462: END IF;
455: -- Debug Information
456: --
457: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
458: FND_LOG.STRING(
459: FND_LOG.LEVEL_PROCEDURE,
460: 'fun.plsql.fun_seq_batch.generate_bulk_numbers.end',
461: 'Generate_bulk_numbers completes successfully.');
462: END IF;
463: EXCEPTION
464: WHEN OTHERS THEN
465: --
466: -- Logging
467: --
468: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
469: fnd_log.string(
470: log_level => fnd_log.level_exception,
471: module => l_module,
472: message => 'p_request_id: ' || p_request_id ||', ' ||
465: --
466: -- Logging
467: --
468: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
469: fnd_log.string(
470: log_level => fnd_log.level_exception,
471: module => l_module,
472: message => 'p_request_id: ' || p_request_id ||', ' ||
473: 'SQLERRM: ' || SQLERRM);
466: -- Logging
467: --
468: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
469: fnd_log.string(
470: log_level => fnd_log.level_exception,
471: module => l_module,
472: message => 'p_request_id: ' || p_request_id ||', ' ||
473: 'SQLERRM: ' || SQLERRM);
474: END IF;
492: BEGIN
493: --
494: -- Debug Information
495: --
496: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
497: FND_LOG.STRING(
498: FND_LOG.LEVEL_PROCEDURE,
499: 'fun.plsql.fun_seq_batch.populate_acct_seq_info.begin',
500: 'Calling fun_seq_batch.populate_acct_seq_info:'||
493: --
494: -- Debug Information
495: --
496: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
497: FND_LOG.STRING(
498: FND_LOG.LEVEL_PROCEDURE,
499: 'fun.plsql.fun_seq_batch.populate_acct_seq_info.begin',
500: 'Calling fun_seq_batch.populate_acct_seq_info:'||
501: 'p_calling_program => ' || p_calling_program ||', ' ||
494: -- Debug Information
495: --
496: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
497: FND_LOG.STRING(
498: FND_LOG.LEVEL_PROCEDURE,
499: 'fun.plsql.fun_seq_batch.populate_acct_seq_info.begin',
500: 'Calling fun_seq_batch.populate_acct_seq_info:'||
501: 'p_calling_program => ' || p_calling_program ||', ' ||
502: 'p_request_id => ' || p_request_id );
514:
515: --
516: -- Debug Information
517: --
518: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
519: FND_LOG.STRING(
520: FND_LOG.LEVEL_PROCEDURE,
521: 'fun.plsql.fun_seq_batch.populate_acct_seq_info.end',
522: 'Calling fun_seq_batch.populate_acct_seq_info:'||
515: --
516: -- Debug Information
517: --
518: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
519: FND_LOG.STRING(
520: FND_LOG.LEVEL_PROCEDURE,
521: 'fun.plsql.fun_seq_batch.populate_acct_seq_info.end',
522: 'Calling fun_seq_batch.populate_acct_seq_info:'||
523: 'p_calling_program => ' || p_calling_program ||', ' ||
516: -- Debug Information
517: --
518: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
519: FND_LOG.STRING(
520: FND_LOG.LEVEL_PROCEDURE,
521: 'fun.plsql.fun_seq_batch.populate_acct_seq_info.end',
522: 'Calling fun_seq_batch.populate_acct_seq_info:'||
523: 'p_calling_program => ' || p_calling_program ||', ' ||
524: 'p_request_id => ' || p_request_id );
527: WHEN no_assigned_seq_info THEN
528: --
529: -- Logging
530: --
531: IF fnd_log.level_error >= fnd_log.g_current_runtime_level THEN
532: fnd_log.string(
533: log_level => fnd_log.level_error,
534: module
535: => 'fun.plsql.fun_seq_batch.populate_acct_seq_info.error',
528: --
529: -- Logging
530: --
531: IF fnd_log.level_error >= fnd_log.g_current_runtime_level THEN
532: fnd_log.string(
533: log_level => fnd_log.level_error,
534: module
535: => 'fun.plsql.fun_seq_batch.populate_acct_seq_info.error',
536: message => 'p_request_id: ' || p_request_id ||', ' ||
529: -- Logging
530: --
531: IF fnd_log.level_error >= fnd_log.g_current_runtime_level THEN
532: fnd_log.string(
533: log_level => fnd_log.level_error,
534: module
535: => 'fun.plsql.fun_seq_batch.populate_acct_seq_info.error',
536: message => 'p_request_id: ' || p_request_id ||', ' ||
537: 'SQLERRM: ' || SQLERRM);
546: WHEN OTHERS THEN
547: --
548: -- Logging
549: --
550: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
551: fnd_log.string(
552: log_level => fnd_log.level_exception,
553: module
554: => 'fun.plsql.fun_seq_batch.populate_acct_seq_info.exception',
547: --
548: -- Logging
549: --
550: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
551: fnd_log.string(
552: log_level => fnd_log.level_exception,
553: module
554: => 'fun.plsql.fun_seq_batch.populate_acct_seq_info.exception',
555: message => 'p_request_id: ' || p_request_id ||', ' ||
548: -- Logging
549: --
550: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
551: fnd_log.string(
552: log_level => fnd_log.level_exception,
553: module
554: => 'fun.plsql.fun_seq_batch.populate_acct_seq_info.exception',
555: message => 'p_request_id: ' || p_request_id ||', ' ||
556: 'SQLERRM: ' || SQLERRM);
592: BEGIN
593: --
594: -- Debug Information
595: --
596: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
597: FND_LOG.STRING(
598: FND_LOG.LEVEL_PROCEDURE,
599: 'fun.plsql.fun_seq_batch.populate_seq_info.begin',
600: 'Beginning of Populate_Seq_Info');
593: --
594: -- Debug Information
595: --
596: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
597: FND_LOG.STRING(
598: FND_LOG.LEVEL_PROCEDURE,
599: 'fun.plsql.fun_seq_batch.populate_seq_info.begin',
600: 'Beginning of Populate_Seq_Info');
601: END IF;
594: -- Debug Information
595: --
596: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
597: FND_LOG.STRING(
598: FND_LOG.LEVEL_PROCEDURE,
599: 'fun.plsql.fun_seq_batch.populate_seq_info.begin',
600: 'Beginning of Populate_Seq_Info');
601: END IF;
602: --
640: l_ctrl_date_tbl(1).date_value := l_gl_date_tbl(i);
641: --
642: -- Debug Information
643: --
644: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
645: FND_LOG.STRING(
646: FND_LOG.LEVEL_PROCEDURE,
647: 'fun.plsql.fun_seq_batch.populate_seq_info.config',
648: 'Calling fun_seq.get_assigned_sequence_info... '
641: --
642: -- Debug Information
643: --
644: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
645: FND_LOG.STRING(
646: FND_LOG.LEVEL_PROCEDURE,
647: 'fun.plsql.fun_seq_batch.populate_seq_info.config',
648: 'Calling fun_seq.get_assigned_sequence_info... '
649: ||', '||
642: -- Debug Information
643: --
644: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
645: FND_LOG.STRING(
646: FND_LOG.LEVEL_PROCEDURE,
647: 'fun.plsql.fun_seq_batch.populate_seq_info.config',
648: 'Calling fun_seq.get_assigned_sequence_info... '
649: ||', '||
650: 'l_debug_je_header_id: '
682:
683: --
684: -- Debug Information
685: --
686: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
687: FND_LOG.STRING(
688: FND_LOG.LEVEL_PROCEDURE,
689: 'fun.plsql.fun_seq_batch.populate_seq_info.config',
690: 'Returning from fun_seq.get_assigned_sequence_info... '
683: --
684: -- Debug Information
685: --
686: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
687: FND_LOG.STRING(
688: FND_LOG.LEVEL_PROCEDURE,
689: 'fun.plsql.fun_seq_batch.populate_seq_info.config',
690: 'Returning from fun_seq.get_assigned_sequence_info... '
691: ||', '||
684: -- Debug Information
685: --
686: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
687: FND_LOG.STRING(
688: FND_LOG.LEVEL_PROCEDURE,
689: 'fun.plsql.fun_seq_batch.populate_seq_info.config',
690: 'Returning from fun_seq.get_assigned_sequence_info... '
691: ||', '||
692: 'l_seq_ver_id_tbl(i): ' || l_seq_ver_id_tbl(i) ||', '||
726: END IF;
727: --
728: -- Debug Information
729: --
730: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
731: FND_LOG.STRING(
732: FND_LOG.LEVEL_PROCEDURE,
733: 'fun.plsql.fun_seq_batch.populate_seq_info.end',
734: 'Populate_Seq_Info completes successfully.');
727: --
728: -- Debug Information
729: --
730: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
731: FND_LOG.STRING(
732: FND_LOG.LEVEL_PROCEDURE,
733: 'fun.plsql.fun_seq_batch.populate_seq_info.end',
734: 'Populate_Seq_Info completes successfully.');
735: END IF;
728: -- Debug Information
729: --
730: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
731: FND_LOG.STRING(
732: FND_LOG.LEVEL_PROCEDURE,
733: 'fun.plsql.fun_seq_batch.populate_seq_info.end',
734: 'Populate_Seq_Info completes successfully.');
735: END IF;
736: EXCEPTION
737: WHEN no_assigned_seq_info THEN
738: --
739: -- Logging
740: --
741: IF fnd_log.level_error >= fnd_log.g_current_runtime_level THEN
742: -- Retrieve FUN_SEQ_NO_ACTIVE_ASSGN_FOUND from the message stack
743: -- and clear the message from the message stack.
744: -- See fun_seq.get_assigned_seq_info.
745: -- This is necessary to use the shorter version of the message
744: -- See fun_seq.get_assigned_seq_info.
745: -- This is necessary to use the shorter version of the message
746: -- for concurrent program logs of posting program. Message text
747: -- longer than 70 chars is not allowed in Pro*C code.
748: -- The longer version is stored in the database via FND logging.
749: fnd_log.string (
750: log_level => fnd_log.level_error,
751: module
752: => 'fun.plsql.fun_seq_batch.populate_seq_info.exception',
745: -- This is necessary to use the shorter version of the message
746: -- for concurrent program logs of posting program. Message text
747: -- longer than 70 chars is not allowed in Pro*C code.
748: -- The longer version is stored in the database via FND logging.
749: fnd_log.string (
750: log_level => fnd_log.level_error,
751: module
752: => 'fun.plsql.fun_seq_batch.populate_seq_info.exception',
753: message
746: -- for concurrent program logs of posting program. Message text
747: -- longer than 70 chars is not allowed in Pro*C code.
748: -- The longer version is stored in the database via FND logging.
749: fnd_log.string (
750: log_level => fnd_log.level_error,
751: module
752: => 'fun.plsql.fun_seq_batch.populate_seq_info.exception',
753: message
754: => 'EXCEPTION: no_assigned_seq_info' || ', ' ||
765: WHEN OTHERS THEN
766: --
767: -- Logging
768: --
769: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
770: fnd_log.string(
771: log_level => fnd_log.level_exception,
772: module => 'fun.plsql.fun_seq_batch.populate_seq_info',
773: message => 'SQLERRM: ' || SQLERRM);
766: --
767: -- Logging
768: --
769: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
770: fnd_log.string(
771: log_level => fnd_log.level_exception,
772: module => 'fun.plsql.fun_seq_batch.populate_seq_info',
773: message => 'SQLERRM: ' || SQLERRM);
774: END IF;
767: -- Logging
768: --
769: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
770: fnd_log.string(
771: log_level => fnd_log.level_exception,
772: module => 'fun.plsql.fun_seq_batch.populate_seq_info',
773: message => 'SQLERRM: ' || SQLERRM);
774: END IF;
775: --
796: BEGIN
797: --
798: -- Debug Information
799: --
800: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
801: FND_LOG.STRING(
802: FND_LOG.LEVEL_PROCEDURE,
803: 'fun.plsql.fun_seq_batch.populate_numbers.begin',
804: 'Beginning of populate_numbers');
797: --
798: -- Debug Information
799: --
800: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
801: FND_LOG.STRING(
802: FND_LOG.LEVEL_PROCEDURE,
803: 'fun.plsql.fun_seq_batch.populate_numbers.begin',
804: 'Beginning of populate_numbers');
805: END IF;
798: -- Debug Information
799: --
800: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
801: FND_LOG.STRING(
802: FND_LOG.LEVEL_PROCEDURE,
803: 'fun.plsql.fun_seq_batch.populate_numbers.begin',
804: 'Beginning of populate_numbers');
805: END IF;
806: --
860: END IF;
861: --
862: -- Debug Information
863: --
864: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
865: FND_LOG.STRING(
866: FND_LOG.LEVEL_PROCEDURE,
867: 'fun.plsql.fun_seq_batch.populate_numbers.end',
868: 'Populate_numbers completes successfully.');
861: --
862: -- Debug Information
863: --
864: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
865: FND_LOG.STRING(
866: FND_LOG.LEVEL_PROCEDURE,
867: 'fun.plsql.fun_seq_batch.populate_numbers.end',
868: 'Populate_numbers completes successfully.');
869: END IF;
862: -- Debug Information
863: --
864: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
865: FND_LOG.STRING(
866: FND_LOG.LEVEL_PROCEDURE,
867: 'fun.plsql.fun_seq_batch.populate_numbers.end',
868: 'Populate_numbers completes successfully.');
869: END IF;
870: --
875: WHEN OTHERS THEN
876: --
877: -- Logging
878: --
879: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
880: fnd_log.string (
881: log_level => fnd_log.level_exception,
882: module => 'fun.plsql.fun_seq_batch.populate_numbers.exception',
883: message => 'SQLERRM: ' || SQLERRM);
876: --
877: -- Logging
878: --
879: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
880: fnd_log.string (
881: log_level => fnd_log.level_exception,
882: module => 'fun.plsql.fun_seq_batch.populate_numbers.exception',
883: message => 'SQLERRM: ' || SQLERRM);
884: END IF;
877: -- Logging
878: --
879: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
880: fnd_log.string (
881: log_level => fnd_log.level_exception,
882: module => 'fun.plsql.fun_seq_batch.populate_numbers.exception',
883: message => 'SQLERRM: ' || SQLERRM);
884: END IF;
885: --
925: WHEN OTHERS THEN
926: --
927: -- Logging
928: --
929: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
930: fnd_log.string(
931: log_level => fnd_log.level_exception,
932: module => l_module,
933: message => 'p_request_id: ' || p_request_id || ', ' ||
926: --
927: -- Logging
928: --
929: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
930: fnd_log.string(
931: log_level => fnd_log.level_exception,
932: module => l_module,
933: message => 'p_request_id: ' || p_request_id || ', ' ||
934: 'SQLERRM: ' || SQLERRM);
927: -- Logging
928: --
929: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
930: fnd_log.string(
931: log_level => fnd_log.level_exception,
932: module => l_module,
933: message => 'p_request_id: ' || p_request_id || ', ' ||
934: 'SQLERRM: ' || SQLERRM);
935: END IF;
967: WHEN OTHERS THEN
968: --
969: -- Logging
970: --
971: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
972: fnd_log.string(
973: log_level => fnd_log.level_exception,
974: module => l_module,
975: message => 'p_request_id: ' || p_request_id || ', ' ||
968: --
969: -- Logging
970: --
971: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
972: fnd_log.string(
973: log_level => fnd_log.level_exception,
974: module => l_module,
975: message => 'p_request_id: ' || p_request_id || ', ' ||
976: 'p_seq_context_id: ' || p_seq_context_id || ', ' ||
969: -- Logging
970: --
971: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
972: fnd_log.string(
973: log_level => fnd_log.level_exception,
974: module => l_module,
975: message => 'p_request_id: ' || p_request_id || ', ' ||
976: 'p_seq_context_id: ' || p_seq_context_id || ', ' ||
977: 'SQLERRM: ' || SQLERRM);
1017: WHEN OTHERS THEN
1018: --
1019: -- Logging
1020: --
1021: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1022: fnd_log.string(
1023: log_level => fnd_log.level_exception,
1024: module => l_module,
1025: message => 'p_request_id: ' || p_request_id || ', ' ||
1018: --
1019: -- Logging
1020: --
1021: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1022: fnd_log.string(
1023: log_level => fnd_log.level_exception,
1024: module => l_module,
1025: message => 'p_request_id: ' || p_request_id || ', ' ||
1026: 'p_seq_context_id: ' || p_seq_context_id || ', ' ||
1019: -- Logging
1020: --
1021: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1022: fnd_log.string(
1023: log_level => fnd_log.level_exception,
1024: module => l_module,
1025: message => 'p_request_id: ' || p_request_id || ', ' ||
1026: 'p_seq_context_id: ' || p_seq_context_id || ', ' ||
1027: 'SQLERRM: ' || SQLERRM);
1078: WHEN OTHERS THEN
1079: --
1080: -- Logging
1081: --
1082: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1083: fnd_log.string(
1084: log_level => fnd_log.level_exception,
1085: module => l_module,
1086: message => 'p_request_id: ' || p_request_id || ', ' ||
1079: --
1080: -- Logging
1081: --
1082: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1083: fnd_log.string(
1084: log_level => fnd_log.level_exception,
1085: module => l_module,
1086: message => 'p_request_id: ' || p_request_id || ', ' ||
1087: 'p_seq_context_id: ' || p_seq_context_id || ', ' ||
1080: -- Logging
1081: --
1082: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1083: fnd_log.string(
1084: log_level => fnd_log.level_exception,
1085: module => l_module,
1086: message => 'p_request_id: ' || p_request_id || ', ' ||
1087: 'p_seq_context_id: ' || p_seq_context_id || ', ' ||
1088: 'SQLERRM: ' || SQLERRM);
1188: WHEN OTHERS THEN
1189: --
1190: -- Logging
1191: --
1192: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1193: fnd_log.string(
1194: log_level => fnd_log.level_exception,
1195: module => l_module,
1196: message => 'p_request_id: ' || p_request_id || ', ' ||
1189: --
1190: -- Logging
1191: --
1192: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1193: fnd_log.string(
1194: log_level => fnd_log.level_exception,
1195: module => l_module,
1196: message => 'p_request_id: ' || p_request_id || ', ' ||
1197: 'SQLERRM: ' || SQLERRM);
1190: -- Logging
1191: --
1192: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1193: fnd_log.string(
1194: log_level => fnd_log.level_exception,
1195: module => l_module,
1196: message => 'p_request_id: ' || p_request_id || ', ' ||
1197: 'SQLERRM: ' || SQLERRM);
1198: END IF;
1253: BEGIN
1254: --
1255: -- Debug Information
1256: --
1257: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1258: FND_LOG.STRING(
1259: FND_LOG.LEVEL_PROCEDURE,
1260: 'fun.plsql.fun_seq_batch.populate_acct_seq_prog_view.begin',
1261: 'p_request_id => ' || p_request_id );
1254: --
1255: -- Debug Information
1256: --
1257: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1258: FND_LOG.STRING(
1259: FND_LOG.LEVEL_PROCEDURE,
1260: 'fun.plsql.fun_seq_batch.populate_acct_seq_prog_view.begin',
1261: 'p_request_id => ' || p_request_id );
1262: END IF;
1255: -- Debug Information
1256: --
1257: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1258: FND_LOG.STRING(
1259: FND_LOG.LEVEL_PROCEDURE,
1260: 'fun.plsql.fun_seq_batch.populate_acct_seq_prog_view.begin',
1261: 'p_request_id => ' || p_request_id );
1262: END IF;
1263:
1317:
1318: --
1319: -- Debug Information
1320: --
1321: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1322: FND_LOG.STRING(
1323: FND_LOG.LEVEL_PROCEDURE,
1324: 'fun.plsql.fun_seq_batch.populate_acct_seq_prog_view.config',
1325: 'Before calling fun_seq.get_assigned_sequence_info... '
1318: --
1319: -- Debug Information
1320: --
1321: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1322: FND_LOG.STRING(
1323: FND_LOG.LEVEL_PROCEDURE,
1324: 'fun.plsql.fun_seq_batch.populate_acct_seq_prog_view.config',
1325: 'Before calling fun_seq.get_assigned_sequence_info... '
1326: ||', '||
1319: -- Debug Information
1320: --
1321: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1322: FND_LOG.STRING(
1323: FND_LOG.LEVEL_PROCEDURE,
1324: 'fun.plsql.fun_seq_batch.populate_acct_seq_prog_view.config',
1325: 'Before calling fun_seq.get_assigned_sequence_info... '
1326: ||', '||
1327: 'l_debug_ae_header_id: '
1364: x_error_code => l_error_code_tbl(i));
1365: --
1366: -- Debug Information
1367: --
1368: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1369: FND_LOG.STRING(
1370: FND_LOG.LEVEL_PROCEDURE,
1371: 'fun.plsql.fun_seq_batch.populate_acct_seq_prog_view.config',
1372: 'After calling fun_seq.get_assigned_sequence_info... '
1365: --
1366: -- Debug Information
1367: --
1368: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1369: FND_LOG.STRING(
1370: FND_LOG.LEVEL_PROCEDURE,
1371: 'fun.plsql.fun_seq_batch.populate_acct_seq_prog_view.config',
1372: 'After calling fun_seq.get_assigned_sequence_info... '
1373: ||', '||
1366: -- Debug Information
1367: --
1368: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1369: FND_LOG.STRING(
1370: FND_LOG.LEVEL_PROCEDURE,
1371: 'fun.plsql.fun_seq_batch.populate_acct_seq_prog_view.config',
1372: 'After calling fun_seq.get_assigned_sequence_info... '
1373: ||', '||
1374: 'l_seq_ver_id_tbl(i): ' || l_seq_ver_id_tbl(i) ||', '||
1455:
1456: --
1457: -- Debug Information
1458: --
1459: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1460: FND_LOG.STRING(
1461: FND_LOG.LEVEL_PROCEDURE,
1462: 'fun.plsql.fun_seq_batchpopulate_acct_seq_prog_view.end',
1463: 'p_request_id: ' || p_request_id );
1456: --
1457: -- Debug Information
1458: --
1459: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1460: FND_LOG.STRING(
1461: FND_LOG.LEVEL_PROCEDURE,
1462: 'fun.plsql.fun_seq_batchpopulate_acct_seq_prog_view.end',
1463: 'p_request_id: ' || p_request_id );
1464: END IF;
1457: -- Debug Information
1458: --
1459: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1460: FND_LOG.STRING(
1461: FND_LOG.LEVEL_PROCEDURE,
1462: 'fun.plsql.fun_seq_batchpopulate_acct_seq_prog_view.end',
1463: 'p_request_id: ' || p_request_id );
1464: END IF;
1465:
1467: WHEN no_assigned_seq_info THEN
1468: --
1469: -- Logging
1470: --
1471: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1472: fnd_log.string(
1473: fnd_log.level_exception,
1474: 'fun.plsql.fun_seq_batch.populate_acct_seq_prog_view',
1475: 'p_request_id: ' || p_request_id ||', ' ||
1468: --
1469: -- Logging
1470: --
1471: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1472: fnd_log.string(
1473: fnd_log.level_exception,
1474: 'fun.plsql.fun_seq_batch.populate_acct_seq_prog_view',
1475: 'p_request_id: ' || p_request_id ||', ' ||
1476: 'ae_header_id: ' || l_debug_ae_header_id|| ', ' ||
1469: -- Logging
1470: --
1471: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1472: fnd_log.string(
1473: fnd_log.level_exception,
1474: 'fun.plsql.fun_seq_batch.populate_acct_seq_prog_view',
1475: 'p_request_id: ' || p_request_id ||', ' ||
1476: 'ae_header_id: ' || l_debug_ae_header_id|| ', ' ||
1477: 'SQLERRM: ' || SQLERRM);
1486: WHEN OTHERS THEN
1487: --
1488: -- Logging
1489: --
1490: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1491: fnd_log.string(
1492: fnd_log.level_exception,
1493: 'fun.plsql.fun_seq_batch.populate_acct_seq_prog_view',
1494: 'Unexpected exception in Populate_Acct_Seq_Prog_View' || ', ' ||
1487: --
1488: -- Logging
1489: --
1490: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1491: fnd_log.string(
1492: fnd_log.level_exception,
1493: 'fun.plsql.fun_seq_batch.populate_acct_seq_prog_view',
1494: 'Unexpected exception in Populate_Acct_Seq_Prog_View' || ', ' ||
1495: 'p_request_id: ' || p_request_id ||', ' ||
1488: -- Logging
1489: --
1490: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1491: fnd_log.string(
1492: fnd_log.level_exception,
1493: 'fun.plsql.fun_seq_batch.populate_acct_seq_prog_view',
1494: 'Unexpected exception in Populate_Acct_Seq_Prog_View' || ', ' ||
1495: 'p_request_id: ' || p_request_id ||', ' ||
1496: 'ae_header_id: ' || l_debug_ae_header_id|| ', ' ||
1566: BEGIN
1567: --
1568: -- Debug Information
1569: --
1570: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1571: FND_LOG.STRING(
1572: FND_LOG.LEVEL_PROCEDURE,
1573: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.begin',
1574: 'p_request_id => ' || p_request_id );
1567: --
1568: -- Debug Information
1569: --
1570: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1571: FND_LOG.STRING(
1572: FND_LOG.LEVEL_PROCEDURE,
1573: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.begin',
1574: 'p_request_id => ' || p_request_id );
1575: END IF;
1568: -- Debug Information
1569: --
1570: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1571: FND_LOG.STRING(
1572: FND_LOG.LEVEL_PROCEDURE,
1573: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.begin',
1574: 'p_request_id => ' || p_request_id );
1575: END IF;
1576:
1638: l_ctrl_attr_rec.journal_category := l_je_category_name_tbl(i);
1639: --
1640: -- Debug Information
1641: --
1642: IF (FND_LOG.LEVEL_EVENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1643: FND_LOG.STRING(
1644: FND_LOG.LEVEL_EVENT,
1645: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.config',
1646: 'Before calling fun_seq.get_assigned_sequence_info... '
1639: --
1640: -- Debug Information
1641: --
1642: IF (FND_LOG.LEVEL_EVENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1643: FND_LOG.STRING(
1644: FND_LOG.LEVEL_EVENT,
1645: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.config',
1646: 'Before calling fun_seq.get_assigned_sequence_info... '
1647: ||', '||
1640: -- Debug Information
1641: --
1642: IF (FND_LOG.LEVEL_EVENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1643: FND_LOG.STRING(
1644: FND_LOG.LEVEL_EVENT,
1645: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.config',
1646: 'Before calling fun_seq.get_assigned_sequence_info... '
1647: ||', '||
1648: 'l_debug_ae_header_id: '
1682:
1683: --
1684: -- Debug Information
1685: --
1686: IF (FND_LOG.LEVEL_EVENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1687: FND_LOG.STRING(
1688: FND_LOG.LEVEL_EVENT,
1689: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.config',
1690: 'After calling fun_seq.get_assigned_sequence_info... '
1683: --
1684: -- Debug Information
1685: --
1686: IF (FND_LOG.LEVEL_EVENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1687: FND_LOG.STRING(
1688: FND_LOG.LEVEL_EVENT,
1689: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.config',
1690: 'After calling fun_seq.get_assigned_sequence_info... '
1691: ||', '||
1684: -- Debug Information
1685: --
1686: IF (FND_LOG.LEVEL_EVENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1687: FND_LOG.STRING(
1688: FND_LOG.LEVEL_EVENT,
1689: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.config',
1690: 'After calling fun_seq.get_assigned_sequence_info... '
1691: ||', '||
1692: 'l_seq_ver_id_tbl(i): ' || l_seq_ver_id_tbl(i) ||', '||
1734: IF l_xla_ae_header_id_tbl.COUNT > 0 THEN
1735: --
1736: -- Debug Information
1737: --
1738: IF (FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1739: FND_LOG.STRING(
1740: FND_LOG.LEVEL_STATEMENT,
1741: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.config',
1742: 'Before calling Sort_Acct_Entires: Sort Option - ' ||
1735: --
1736: -- Debug Information
1737: --
1738: IF (FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1739: FND_LOG.STRING(
1740: FND_LOG.LEVEL_STATEMENT,
1741: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.config',
1742: 'Before calling Sort_Acct_Entires: Sort Option - ' ||
1743: l_sort_option_code);
1736: -- Debug Information
1737: --
1738: IF (FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1739: FND_LOG.STRING(
1740: FND_LOG.LEVEL_STATEMENT,
1741: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.config',
1742: 'Before calling Sort_Acct_Entires: Sort Option - ' ||
1743: l_sort_option_code);
1744: END IF;
1770:
1771: --
1772: -- Debug Information
1773: --
1774: IF (FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1775: FND_LOG.STRING(
1776: FND_LOG.LEVEL_STATEMENT,
1777: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.config',
1778: 'After calling Sort_Acct_Entires');
1771: --
1772: -- Debug Information
1773: --
1774: IF (FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1775: FND_LOG.STRING(
1776: FND_LOG.LEVEL_STATEMENT,
1777: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.config',
1778: 'After calling Sort_Acct_Entires');
1779: END IF;
1772: -- Debug Information
1773: --
1774: IF (FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1775: FND_LOG.STRING(
1776: FND_LOG.LEVEL_STATEMENT,
1777: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.config',
1778: 'After calling Sort_Acct_Entires');
1779: END IF;
1780:
1805:
1806: --
1807: -- Debug Information
1808: --
1809: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1810: FND_LOG.STRING(
1811: FND_LOG.LEVEL_PROCEDURE,
1812: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.end',
1813: 'p_request_id: ' || p_request_id );
1806: --
1807: -- Debug Information
1808: --
1809: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1810: FND_LOG.STRING(
1811: FND_LOG.LEVEL_PROCEDURE,
1812: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.end',
1813: 'p_request_id: ' || p_request_id );
1814: END IF;
1807: -- Debug Information
1808: --
1809: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1810: FND_LOG.STRING(
1811: FND_LOG.LEVEL_PROCEDURE,
1812: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.end',
1813: 'p_request_id: ' || p_request_id );
1814: END IF;
1815: EXCEPTION
1816: WHEN no_assigned_seq_info THEN
1817: --
1818: -- Logging
1819: --
1820: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1821: fnd_log.string(
1822: fnd_log.level_exception,
1823: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt',
1824: 'p_request_id: ' || p_request_id ||', ' ||
1817: --
1818: -- Logging
1819: --
1820: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1821: fnd_log.string(
1822: fnd_log.level_exception,
1823: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt',
1824: 'p_request_id: ' || p_request_id ||', ' ||
1825: 'ae_header_id: ' || l_debug_ae_header_id|| ', ' ||
1818: -- Logging
1819: --
1820: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1821: fnd_log.string(
1822: fnd_log.level_exception,
1823: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt',
1824: 'p_request_id: ' || p_request_id ||', ' ||
1825: 'ae_header_id: ' || l_debug_ae_header_id|| ', ' ||
1826: 'SQLERRM: ' || SQLERRM);
1846: WHEN invalid_sort_option THEN
1847: --
1848: -- Logging
1849: --
1850: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1851: fnd_log.string(
1852: fnd_log.level_exception,
1853: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt',
1854: 'p_request_id: ' || p_request_id || ', ' ||
1847: --
1848: -- Logging
1849: --
1850: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1851: fnd_log.string(
1852: fnd_log.level_exception,
1853: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt',
1854: 'p_request_id: ' || p_request_id || ', ' ||
1855: 'ae_header_id: ' || l_debug_ae_header_id|| ', ' ||
1848: -- Logging
1849: --
1850: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1851: fnd_log.string(
1852: fnd_log.level_exception,
1853: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt',
1854: 'p_request_id: ' || p_request_id || ', ' ||
1855: 'ae_header_id: ' || l_debug_ae_header_id|| ', ' ||
1856: 'sort_option_code: ' || l_sort_option_code || ', ' ||
1864: WHEN OTHERS THEN
1865: --
1866: -- Logging
1867: --
1868: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1869: fnd_log.string(
1870: fnd_log.level_exception,
1871: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt',
1872: 'Unexpected exception in populate_rep_seq_prog_gt' || ', ' ||
1865: --
1866: -- Logging
1867: --
1868: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1869: fnd_log.string(
1870: fnd_log.level_exception,
1871: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt',
1872: 'Unexpected exception in populate_rep_seq_prog_gt' || ', ' ||
1873: 'p_request_id: ' || p_request_id ||', ' ||
1866: -- Logging
1867: --
1868: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1869: fnd_log.string(
1870: fnd_log.level_exception,
1871: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt',
1872: 'Unexpected exception in populate_rep_seq_prog_gt' || ', ' ||
1873: 'p_request_id: ' || p_request_id ||', ' ||
1874: 'ae_header_id: ' || l_debug_ae_header_id|| ', ' ||
1897: l_temp_tab := fun_seq_bt_tbl_type();
1898: --
1899: -- Debug Information
1900: --
1901: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1902: FND_LOG.STRING(
1903: FND_LOG.LEVEL_PROCEDURE,
1904: 'fun.plsql.fun_seq_batch.Sort_Acct_Entries.begin',
1905: 'p_ae_header_id_tbl.count => ' || p_ae_header_id_tbl.COUNT);
1898: --
1899: -- Debug Information
1900: --
1901: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1902: FND_LOG.STRING(
1903: FND_LOG.LEVEL_PROCEDURE,
1904: 'fun.plsql.fun_seq_batch.Sort_Acct_Entries.begin',
1905: 'p_ae_header_id_tbl.count => ' || p_ae_header_id_tbl.COUNT);
1906: END IF;
1899: -- Debug Information
1900: --
1901: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1902: FND_LOG.STRING(
1903: FND_LOG.LEVEL_PROCEDURE,
1904: 'fun.plsql.fun_seq_batch.Sort_Acct_Entries.begin',
1905: 'p_ae_header_id_tbl.count => ' || p_ae_header_id_tbl.COUNT);
1906: END IF;
1907: --
1942:
1943: --
1944: -- Debug Information
1945: --
1946: IF (FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1947: FND_LOG.STRING(
1948: FND_LOG.LEVEL_STATEMENT,
1949: 'fun.plsql.fun_seq_batch.Sort_Acct_Entries.config',
1950: 'Local temp table has been populated: ' || p_calling_program);
1943: --
1944: -- Debug Information
1945: --
1946: IF (FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1947: FND_LOG.STRING(
1948: FND_LOG.LEVEL_STATEMENT,
1949: 'fun.plsql.fun_seq_batch.Sort_Acct_Entries.config',
1950: 'Local temp table has been populated: ' || p_calling_program);
1951: END IF;
1944: -- Debug Information
1945: --
1946: IF (FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1947: FND_LOG.STRING(
1948: FND_LOG.LEVEL_STATEMENT,
1949: 'fun.plsql.fun_seq_batch.Sort_Acct_Entries.config',
1950: 'Local temp table has been populated: ' || p_calling_program);
1951: END IF;
1952:
1984:
1985: --
1986: -- Debug Information
1987: --
1988: IF (FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1989: FND_LOG.STRING(
1990: FND_LOG.LEVEL_STATEMENT,
1991: 'fun.plsql.fun_seq_batch.Sort_Acct_Entries.config',
1992: 'Local temp table has been populated: ' || p_calling_program);
1985: --
1986: -- Debug Information
1987: --
1988: IF (FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1989: FND_LOG.STRING(
1990: FND_LOG.LEVEL_STATEMENT,
1991: 'fun.plsql.fun_seq_batch.Sort_Acct_Entries.config',
1992: 'Local temp table has been populated: ' || p_calling_program);
1993: END IF;
1986: -- Debug Information
1987: --
1988: IF (FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1989: FND_LOG.STRING(
1990: FND_LOG.LEVEL_STATEMENT,
1991: 'fun.plsql.fun_seq_batch.Sort_Acct_Entries.config',
1992: 'Local temp table has been populated: ' || p_calling_program);
1993: END IF;
1994:
2048:
2049: --
2050: -- Debug Information
2051: --
2052: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
2053: FND_LOG.STRING(
2054: FND_LOG.LEVEL_PROCEDURE,
2055: 'fun.plsql.fun_seq_batch.Sort_Acct_Entries.end',
2056: 'p_ae_header_id_tbl.count => ' || p_ae_header_id_tbl.COUNT);
2049: --
2050: -- Debug Information
2051: --
2052: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
2053: FND_LOG.STRING(
2054: FND_LOG.LEVEL_PROCEDURE,
2055: 'fun.plsql.fun_seq_batch.Sort_Acct_Entries.end',
2056: 'p_ae_header_id_tbl.count => ' || p_ae_header_id_tbl.COUNT);
2057: END IF;
2050: -- Debug Information
2051: --
2052: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
2053: FND_LOG.STRING(
2054: FND_LOG.LEVEL_PROCEDURE,
2055: 'fun.plsql.fun_seq_batch.Sort_Acct_Entries.end',
2056: 'p_ae_header_id_tbl.count => ' || p_ae_header_id_tbl.COUNT);
2057: END IF;
2058: EXCEPTION
2059: WHEN OTHERS THEN
2060: --
2061: -- Logging
2062: --
2063: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
2064: fnd_log.string(
2065: log_level => fnd_log.level_exception,
2066: module => 'fun.plsql.fun_seq_batch.Sort_Acct_Entries.Exception',
2067: message => 'SQLERRM: ' || SQLERRM);
2060: --
2061: -- Logging
2062: --
2063: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
2064: fnd_log.string(
2065: log_level => fnd_log.level_exception,
2066: module => 'fun.plsql.fun_seq_batch.Sort_Acct_Entries.Exception',
2067: message => 'SQLERRM: ' || SQLERRM);
2068: END IF;
2061: -- Logging
2062: --
2063: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
2064: fnd_log.string(
2065: log_level => fnd_log.level_exception,
2066: module => 'fun.plsql.fun_seq_batch.Sort_Acct_Entries.Exception',
2067: message => 'SQLERRM: ' || SQLERRM);
2068: END IF;
2069: app_exception.raise_exception;