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);
1187: WHEN OTHERS THEN
1188: --
1189: -- Logging
1190: --
1191: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1192: fnd_log.string(
1193: log_level => fnd_log.level_exception,
1194: module => l_module,
1195: message => 'p_request_id: ' || p_request_id || ', ' ||
1188: --
1189: -- Logging
1190: --
1191: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1192: fnd_log.string(
1193: log_level => fnd_log.level_exception,
1194: module => l_module,
1195: message => 'p_request_id: ' || p_request_id || ', ' ||
1196: 'SQLERRM: ' || SQLERRM);
1189: -- Logging
1190: --
1191: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1192: fnd_log.string(
1193: log_level => fnd_log.level_exception,
1194: module => l_module,
1195: message => 'p_request_id: ' || p_request_id || ', ' ||
1196: 'SQLERRM: ' || SQLERRM);
1197: END IF;
1252: BEGIN
1253: --
1254: -- Debug Information
1255: --
1256: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1257: FND_LOG.STRING(
1258: FND_LOG.LEVEL_PROCEDURE,
1259: 'fun.plsql.fun_seq_batch.populate_acct_seq_prog_view.begin',
1260: 'p_request_id => ' || p_request_id );
1253: --
1254: -- Debug Information
1255: --
1256: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1257: FND_LOG.STRING(
1258: FND_LOG.LEVEL_PROCEDURE,
1259: 'fun.plsql.fun_seq_batch.populate_acct_seq_prog_view.begin',
1260: 'p_request_id => ' || p_request_id );
1261: END IF;
1254: -- Debug Information
1255: --
1256: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1257: FND_LOG.STRING(
1258: FND_LOG.LEVEL_PROCEDURE,
1259: 'fun.plsql.fun_seq_batch.populate_acct_seq_prog_view.begin',
1260: 'p_request_id => ' || p_request_id );
1261: END IF;
1262:
1316:
1317: --
1318: -- Debug Information
1319: --
1320: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1321: FND_LOG.STRING(
1322: FND_LOG.LEVEL_PROCEDURE,
1323: 'fun.plsql.fun_seq_batch.populate_acct_seq_prog_view.config',
1324: 'Before calling fun_seq.get_assigned_sequence_info... '
1317: --
1318: -- Debug Information
1319: --
1320: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1321: FND_LOG.STRING(
1322: FND_LOG.LEVEL_PROCEDURE,
1323: 'fun.plsql.fun_seq_batch.populate_acct_seq_prog_view.config',
1324: 'Before calling fun_seq.get_assigned_sequence_info... '
1325: ||', '||
1318: -- Debug Information
1319: --
1320: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1321: FND_LOG.STRING(
1322: FND_LOG.LEVEL_PROCEDURE,
1323: 'fun.plsql.fun_seq_batch.populate_acct_seq_prog_view.config',
1324: 'Before calling fun_seq.get_assigned_sequence_info... '
1325: ||', '||
1326: 'l_debug_ae_header_id: '
1363: x_error_code => l_error_code_tbl(i));
1364: --
1365: -- Debug Information
1366: --
1367: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1368: FND_LOG.STRING(
1369: FND_LOG.LEVEL_PROCEDURE,
1370: 'fun.plsql.fun_seq_batch.populate_acct_seq_prog_view.config',
1371: 'After calling fun_seq.get_assigned_sequence_info... '
1364: --
1365: -- Debug Information
1366: --
1367: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1368: FND_LOG.STRING(
1369: FND_LOG.LEVEL_PROCEDURE,
1370: 'fun.plsql.fun_seq_batch.populate_acct_seq_prog_view.config',
1371: 'After calling fun_seq.get_assigned_sequence_info... '
1372: ||', '||
1365: -- Debug Information
1366: --
1367: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1368: FND_LOG.STRING(
1369: FND_LOG.LEVEL_PROCEDURE,
1370: 'fun.plsql.fun_seq_batch.populate_acct_seq_prog_view.config',
1371: 'After calling fun_seq.get_assigned_sequence_info... '
1372: ||', '||
1373: 'l_seq_ver_id_tbl(i): ' || l_seq_ver_id_tbl(i) ||', '||
1454:
1455: --
1456: -- Debug Information
1457: --
1458: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1459: FND_LOG.STRING(
1460: FND_LOG.LEVEL_PROCEDURE,
1461: 'fun.plsql.fun_seq_batchpopulate_acct_seq_prog_view.end',
1462: 'p_request_id: ' || p_request_id );
1455: --
1456: -- Debug Information
1457: --
1458: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1459: FND_LOG.STRING(
1460: FND_LOG.LEVEL_PROCEDURE,
1461: 'fun.plsql.fun_seq_batchpopulate_acct_seq_prog_view.end',
1462: 'p_request_id: ' || p_request_id );
1463: END IF;
1456: -- Debug Information
1457: --
1458: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1459: FND_LOG.STRING(
1460: FND_LOG.LEVEL_PROCEDURE,
1461: 'fun.plsql.fun_seq_batchpopulate_acct_seq_prog_view.end',
1462: 'p_request_id: ' || p_request_id );
1463: END IF;
1464:
1466: WHEN no_assigned_seq_info THEN
1467: --
1468: -- Logging
1469: --
1470: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1471: fnd_log.string(
1472: fnd_log.level_exception,
1473: 'fun.plsql.fun_seq_batch.populate_acct_seq_prog_view',
1474: 'p_request_id: ' || p_request_id ||', ' ||
1467: --
1468: -- Logging
1469: --
1470: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1471: fnd_log.string(
1472: fnd_log.level_exception,
1473: 'fun.plsql.fun_seq_batch.populate_acct_seq_prog_view',
1474: 'p_request_id: ' || p_request_id ||', ' ||
1475: 'ae_header_id: ' || l_debug_ae_header_id|| ', ' ||
1468: -- Logging
1469: --
1470: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1471: fnd_log.string(
1472: fnd_log.level_exception,
1473: 'fun.plsql.fun_seq_batch.populate_acct_seq_prog_view',
1474: 'p_request_id: ' || p_request_id ||', ' ||
1475: 'ae_header_id: ' || l_debug_ae_header_id|| ', ' ||
1476: 'SQLERRM: ' || SQLERRM);
1485: WHEN OTHERS THEN
1486: --
1487: -- Logging
1488: --
1489: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1490: fnd_log.string(
1491: fnd_log.level_exception,
1492: 'fun.plsql.fun_seq_batch.populate_acct_seq_prog_view',
1493: 'Unexpected exception in Populate_Acct_Seq_Prog_View' || ', ' ||
1486: --
1487: -- Logging
1488: --
1489: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1490: fnd_log.string(
1491: fnd_log.level_exception,
1492: 'fun.plsql.fun_seq_batch.populate_acct_seq_prog_view',
1493: 'Unexpected exception in Populate_Acct_Seq_Prog_View' || ', ' ||
1494: 'p_request_id: ' || p_request_id ||', ' ||
1487: -- Logging
1488: --
1489: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1490: fnd_log.string(
1491: fnd_log.level_exception,
1492: 'fun.plsql.fun_seq_batch.populate_acct_seq_prog_view',
1493: 'Unexpected exception in Populate_Acct_Seq_Prog_View' || ', ' ||
1494: 'p_request_id: ' || p_request_id ||', ' ||
1495: 'ae_header_id: ' || l_debug_ae_header_id|| ', ' ||
1565: BEGIN
1566: --
1567: -- Debug Information
1568: --
1569: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1570: FND_LOG.STRING(
1571: FND_LOG.LEVEL_PROCEDURE,
1572: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.begin',
1573: 'p_request_id => ' || p_request_id );
1566: --
1567: -- Debug Information
1568: --
1569: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1570: FND_LOG.STRING(
1571: FND_LOG.LEVEL_PROCEDURE,
1572: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.begin',
1573: 'p_request_id => ' || p_request_id );
1574: END IF;
1567: -- Debug Information
1568: --
1569: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1570: FND_LOG.STRING(
1571: FND_LOG.LEVEL_PROCEDURE,
1572: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.begin',
1573: 'p_request_id => ' || p_request_id );
1574: END IF;
1575:
1637: l_ctrl_attr_rec.journal_category := l_je_category_name_tbl(i);
1638: --
1639: -- Debug Information
1640: --
1641: IF (FND_LOG.LEVEL_EVENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1642: FND_LOG.STRING(
1643: FND_LOG.LEVEL_EVENT,
1644: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.config',
1645: 'Before calling fun_seq.get_assigned_sequence_info... '
1638: --
1639: -- Debug Information
1640: --
1641: IF (FND_LOG.LEVEL_EVENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1642: FND_LOG.STRING(
1643: FND_LOG.LEVEL_EVENT,
1644: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.config',
1645: 'Before calling fun_seq.get_assigned_sequence_info... '
1646: ||', '||
1639: -- Debug Information
1640: --
1641: IF (FND_LOG.LEVEL_EVENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1642: FND_LOG.STRING(
1643: FND_LOG.LEVEL_EVENT,
1644: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.config',
1645: 'Before calling fun_seq.get_assigned_sequence_info... '
1646: ||', '||
1647: 'l_debug_ae_header_id: '
1681:
1682: --
1683: -- Debug Information
1684: --
1685: IF (FND_LOG.LEVEL_EVENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1686: FND_LOG.STRING(
1687: FND_LOG.LEVEL_EVENT,
1688: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.config',
1689: 'After calling fun_seq.get_assigned_sequence_info... '
1682: --
1683: -- Debug Information
1684: --
1685: IF (FND_LOG.LEVEL_EVENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1686: FND_LOG.STRING(
1687: FND_LOG.LEVEL_EVENT,
1688: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.config',
1689: 'After calling fun_seq.get_assigned_sequence_info... '
1690: ||', '||
1683: -- Debug Information
1684: --
1685: IF (FND_LOG.LEVEL_EVENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1686: FND_LOG.STRING(
1687: FND_LOG.LEVEL_EVENT,
1688: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.config',
1689: 'After calling fun_seq.get_assigned_sequence_info... '
1690: ||', '||
1691: 'l_seq_ver_id_tbl(i): ' || l_seq_ver_id_tbl(i) ||', '||
1733: IF l_xla_ae_header_id_tbl.COUNT > 0 THEN
1734: --
1735: -- Debug Information
1736: --
1737: IF (FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1738: FND_LOG.STRING(
1739: FND_LOG.LEVEL_STATEMENT,
1740: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.config',
1741: 'Before calling Sort_Acct_Entires: Sort Option - ' ||
1734: --
1735: -- Debug Information
1736: --
1737: IF (FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1738: FND_LOG.STRING(
1739: FND_LOG.LEVEL_STATEMENT,
1740: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.config',
1741: 'Before calling Sort_Acct_Entires: Sort Option - ' ||
1742: l_sort_option_code);
1735: -- Debug Information
1736: --
1737: IF (FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1738: FND_LOG.STRING(
1739: FND_LOG.LEVEL_STATEMENT,
1740: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.config',
1741: 'Before calling Sort_Acct_Entires: Sort Option - ' ||
1742: l_sort_option_code);
1743: END IF;
1769:
1770: --
1771: -- Debug Information
1772: --
1773: IF (FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1774: FND_LOG.STRING(
1775: FND_LOG.LEVEL_STATEMENT,
1776: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.config',
1777: 'After calling Sort_Acct_Entires');
1770: --
1771: -- Debug Information
1772: --
1773: IF (FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1774: FND_LOG.STRING(
1775: FND_LOG.LEVEL_STATEMENT,
1776: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.config',
1777: 'After calling Sort_Acct_Entires');
1778: END IF;
1771: -- Debug Information
1772: --
1773: IF (FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1774: FND_LOG.STRING(
1775: FND_LOG.LEVEL_STATEMENT,
1776: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.config',
1777: 'After calling Sort_Acct_Entires');
1778: END IF;
1779:
1804:
1805: --
1806: -- Debug Information
1807: --
1808: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1809: FND_LOG.STRING(
1810: FND_LOG.LEVEL_PROCEDURE,
1811: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.end',
1812: 'p_request_id: ' || p_request_id );
1805: --
1806: -- Debug Information
1807: --
1808: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1809: FND_LOG.STRING(
1810: FND_LOG.LEVEL_PROCEDURE,
1811: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.end',
1812: 'p_request_id: ' || p_request_id );
1813: END IF;
1806: -- Debug Information
1807: --
1808: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1809: FND_LOG.STRING(
1810: FND_LOG.LEVEL_PROCEDURE,
1811: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt.end',
1812: 'p_request_id: ' || p_request_id );
1813: END IF;
1814: EXCEPTION
1815: WHEN no_assigned_seq_info THEN
1816: --
1817: -- Logging
1818: --
1819: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1820: fnd_log.string(
1821: fnd_log.level_exception,
1822: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt',
1823: 'p_request_id: ' || p_request_id ||', ' ||
1816: --
1817: -- Logging
1818: --
1819: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1820: fnd_log.string(
1821: fnd_log.level_exception,
1822: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt',
1823: 'p_request_id: ' || p_request_id ||', ' ||
1824: 'ae_header_id: ' || l_debug_ae_header_id|| ', ' ||
1817: -- Logging
1818: --
1819: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1820: fnd_log.string(
1821: fnd_log.level_exception,
1822: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt',
1823: 'p_request_id: ' || p_request_id ||', ' ||
1824: 'ae_header_id: ' || l_debug_ae_header_id|| ', ' ||
1825: 'SQLERRM: ' || SQLERRM);
1845: WHEN invalid_sort_option THEN
1846: --
1847: -- Logging
1848: --
1849: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1850: fnd_log.string(
1851: fnd_log.level_exception,
1852: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt',
1853: 'p_request_id: ' || p_request_id || ', ' ||
1846: --
1847: -- Logging
1848: --
1849: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1850: fnd_log.string(
1851: fnd_log.level_exception,
1852: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt',
1853: 'p_request_id: ' || p_request_id || ', ' ||
1854: 'ae_header_id: ' || l_debug_ae_header_id|| ', ' ||
1847: -- Logging
1848: --
1849: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1850: fnd_log.string(
1851: fnd_log.level_exception,
1852: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt',
1853: 'p_request_id: ' || p_request_id || ', ' ||
1854: 'ae_header_id: ' || l_debug_ae_header_id|| ', ' ||
1855: 'sort_option_code: ' || l_sort_option_code || ', ' ||
1863: WHEN OTHERS THEN
1864: --
1865: -- Logging
1866: --
1867: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1868: fnd_log.string(
1869: fnd_log.level_exception,
1870: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt',
1871: 'Unexpected exception in populate_rep_seq_prog_gt' || ', ' ||
1864: --
1865: -- Logging
1866: --
1867: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1868: fnd_log.string(
1869: fnd_log.level_exception,
1870: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt',
1871: 'Unexpected exception in populate_rep_seq_prog_gt' || ', ' ||
1872: 'p_request_id: ' || p_request_id ||', ' ||
1865: -- Logging
1866: --
1867: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
1868: fnd_log.string(
1869: fnd_log.level_exception,
1870: 'fun.plsql.fun_seq_batch.populate_rep_seq_prog_gt',
1871: 'Unexpected exception in populate_rep_seq_prog_gt' || ', ' ||
1872: 'p_request_id: ' || p_request_id ||', ' ||
1873: 'ae_header_id: ' || l_debug_ae_header_id|| ', ' ||
1896: l_temp_tab := fun_seq_bt_tbl_type();
1897: --
1898: -- Debug Information
1899: --
1900: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1901: FND_LOG.STRING(
1902: FND_LOG.LEVEL_PROCEDURE,
1903: 'fun.plsql.fun_seq_batch.Sort_Acct_Entries.begin',
1904: 'p_ae_header_id_tbl.count => ' || p_ae_header_id_tbl.COUNT);
1897: --
1898: -- Debug Information
1899: --
1900: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1901: FND_LOG.STRING(
1902: FND_LOG.LEVEL_PROCEDURE,
1903: 'fun.plsql.fun_seq_batch.Sort_Acct_Entries.begin',
1904: 'p_ae_header_id_tbl.count => ' || p_ae_header_id_tbl.COUNT);
1905: END IF;
1898: -- Debug Information
1899: --
1900: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1901: FND_LOG.STRING(
1902: FND_LOG.LEVEL_PROCEDURE,
1903: 'fun.plsql.fun_seq_batch.Sort_Acct_Entries.begin',
1904: 'p_ae_header_id_tbl.count => ' || p_ae_header_id_tbl.COUNT);
1905: END IF;
1906: --
1941:
1942: --
1943: -- Debug Information
1944: --
1945: IF (FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1946: FND_LOG.STRING(
1947: FND_LOG.LEVEL_STATEMENT,
1948: 'fun.plsql.fun_seq_batch.Sort_Acct_Entries.config',
1949: 'Local temp table has been populated: ' || p_calling_program);
1942: --
1943: -- Debug Information
1944: --
1945: IF (FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1946: FND_LOG.STRING(
1947: FND_LOG.LEVEL_STATEMENT,
1948: 'fun.plsql.fun_seq_batch.Sort_Acct_Entries.config',
1949: 'Local temp table has been populated: ' || p_calling_program);
1950: END IF;
1943: -- Debug Information
1944: --
1945: IF (FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1946: FND_LOG.STRING(
1947: FND_LOG.LEVEL_STATEMENT,
1948: 'fun.plsql.fun_seq_batch.Sort_Acct_Entries.config',
1949: 'Local temp table has been populated: ' || p_calling_program);
1950: END IF;
1951:
1983:
1984: --
1985: -- Debug Information
1986: --
1987: IF (FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1988: FND_LOG.STRING(
1989: FND_LOG.LEVEL_STATEMENT,
1990: 'fun.plsql.fun_seq_batch.Sort_Acct_Entries.config',
1991: 'Local temp table has been populated: ' || p_calling_program);
1984: --
1985: -- Debug Information
1986: --
1987: IF (FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1988: FND_LOG.STRING(
1989: FND_LOG.LEVEL_STATEMENT,
1990: 'fun.plsql.fun_seq_batch.Sort_Acct_Entries.config',
1991: 'Local temp table has been populated: ' || p_calling_program);
1992: END IF;
1985: -- Debug Information
1986: --
1987: IF (FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
1988: FND_LOG.STRING(
1989: FND_LOG.LEVEL_STATEMENT,
1990: 'fun.plsql.fun_seq_batch.Sort_Acct_Entries.config',
1991: 'Local temp table has been populated: ' || p_calling_program);
1992: END IF;
1993:
2014:
2015: --
2016: -- Debug Information
2017: --
2018: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
2019: FND_LOG.STRING(
2020: FND_LOG.LEVEL_PROCEDURE,
2021: 'fun.plsql.fun_seq_batch.Sort_Acct_Entries.end',
2022: 'p_ae_header_id_tbl.count => ' || p_ae_header_id_tbl.COUNT);
2015: --
2016: -- Debug Information
2017: --
2018: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
2019: FND_LOG.STRING(
2020: FND_LOG.LEVEL_PROCEDURE,
2021: 'fun.plsql.fun_seq_batch.Sort_Acct_Entries.end',
2022: 'p_ae_header_id_tbl.count => ' || p_ae_header_id_tbl.COUNT);
2023: END IF;
2016: -- Debug Information
2017: --
2018: IF (FND_LOG.LEVEL_PROCEDURE >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) THEN
2019: FND_LOG.STRING(
2020: FND_LOG.LEVEL_PROCEDURE,
2021: 'fun.plsql.fun_seq_batch.Sort_Acct_Entries.end',
2022: 'p_ae_header_id_tbl.count => ' || p_ae_header_id_tbl.COUNT);
2023: END IF;
2024: EXCEPTION
2025: WHEN OTHERS THEN
2026: --
2027: -- Logging
2028: --
2029: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
2030: fnd_log.string(
2031: log_level => fnd_log.level_exception,
2032: module => 'fun.plsql.fun_seq_batch.Sort_Acct_Entries.Exception',
2033: message => 'SQLERRM: ' || SQLERRM);
2026: --
2027: -- Logging
2028: --
2029: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
2030: fnd_log.string(
2031: log_level => fnd_log.level_exception,
2032: module => 'fun.plsql.fun_seq_batch.Sort_Acct_Entries.Exception',
2033: message => 'SQLERRM: ' || SQLERRM);
2034: END IF;
2027: -- Logging
2028: --
2029: IF fnd_log.level_exception >= fnd_log.g_current_runtime_level THEN
2030: fnd_log.string(
2031: log_level => fnd_log.level_exception,
2032: module => 'fun.plsql.fun_seq_batch.Sort_Acct_Entries.Exception',
2033: message => 'SQLERRM: ' || SQLERRM);
2034: END IF;
2035: app_exception.raise_exception;