32399: -- Event count context is set in xla_accounting_pkg.unit_processor.
32400: -- Build_Message for this error is called in xla_accounting_pkg.post_accounting
32401: -- to report it as a general error.
32402: --
32403: IF xla_context_pkg.get_event_count_context <> g_hdr_extract_count
32404: AND xla_context_pkg.get_event_nohdr_context <> 'Y' THEN
32405:
32406: IF (C_LEVEL_STATEMENT >= g_log_level) THEN
32407: trace
32400: -- Build_Message for this error is called in xla_accounting_pkg.post_accounting
32401: -- to report it as a general error.
32402: --
32403: IF xla_context_pkg.get_event_count_context <> g_hdr_extract_count
32404: AND xla_context_pkg.get_event_nohdr_context <> 'Y' THEN
32405:
32406: IF (C_LEVEL_STATEMENT >= g_log_level) THEN
32407: trace
32408: (p_msg => '# of extracted headers and events does not match'
32416: ,p_module => l_log_module);
32417:
32418: trace
32419: (p_msg => '# of events in xla_events_gt: '
32420: ||xla_context_pkg.get_event_count_context
32421: ,p_level => C_LEVEL_STATEMENT
32422: ,p_module => l_log_module);
32423:
32424: trace
32422: ,p_module => l_log_module);
32423:
32424: trace
32425: (p_msg => 'Event No Header Extract Context: '
32426: ||xla_context_pkg.get_event_nohdr_context
32427: ,p_level => C_LEVEL_STATEMENT
32428: ,p_module => l_log_module);
32429:
32430: END IF;
32429:
32430: END IF;
32431:
32432:
32433: xla_context_pkg.set_event_nohdr_context
32434: (p_nohdr_extract_flag => 'Y'
32435: ,p_client_id => sys_context('USERENV','CLIENT_IDENTIFIER'));
32436:
32437: IF (C_LEVEL_STATEMENT >= g_log_level) THEN