24698: -- Event count context is set in xla_accounting_pkg.unit_processor.
24699: -- Build_Message for this error is called in xla_accounting_pkg.post_accounting
24700: -- to report it as a general error.
24701: --
24702: IF xla_context_pkg.get_event_count_context <> g_hdr_extract_count
24703: AND xla_context_pkg.get_event_nohdr_context <> 'Y' THEN
24704:
24705: IF (C_LEVEL_STATEMENT >= g_log_level) THEN
24706: trace
24699: -- Build_Message for this error is called in xla_accounting_pkg.post_accounting
24700: -- to report it as a general error.
24701: --
24702: IF xla_context_pkg.get_event_count_context <> g_hdr_extract_count
24703: AND xla_context_pkg.get_event_nohdr_context <> 'Y' THEN
24704:
24705: IF (C_LEVEL_STATEMENT >= g_log_level) THEN
24706: trace
24707: (p_msg => '# of extracted headers and events does not match'
24715: ,p_module => l_log_module);
24716:
24717: trace
24718: (p_msg => '# of events in xla_events_gt: '
24719: ||xla_context_pkg.get_event_count_context
24720: ,p_level => C_LEVEL_STATEMENT
24721: ,p_module => l_log_module);
24722:
24723: trace
24721: ,p_module => l_log_module);
24722:
24723: trace
24724: (p_msg => 'Event No Header Extract Context: '
24725: ||xla_context_pkg.get_event_nohdr_context
24726: ,p_level => C_LEVEL_STATEMENT
24727: ,p_module => l_log_module);
24728:
24729: END IF;
24728:
24729: END IF;
24730:
24731:
24732: xla_context_pkg.set_event_nohdr_context
24733: (p_nohdr_extract_flag => 'Y'
24734: ,p_client_id => sys_context('USERENV','CLIENT_IDENTIFIER'));
24735:
24736: IF (C_LEVEL_STATEMENT >= g_log_level) THEN