274539: -- Event count context is set in xla_accounting_pkg.unit_processor.
274540: -- Build_Message for this error is called in xla_accounting_pkg.post_accounting
274541: -- to report it as a general error.
274542: --
274543: IF xla_context_pkg.get_event_count_context <> g_hdr_extract_count
274544: AND xla_context_pkg.get_event_nohdr_context <> 'Y' THEN
274545:
274546: IF (C_LEVEL_STATEMENT >= g_log_level) THEN
274547: trace
274540: -- Build_Message for this error is called in xla_accounting_pkg.post_accounting
274541: -- to report it as a general error.
274542: --
274543: IF xla_context_pkg.get_event_count_context <> g_hdr_extract_count
274544: AND xla_context_pkg.get_event_nohdr_context <> 'Y' THEN
274545:
274546: IF (C_LEVEL_STATEMENT >= g_log_level) THEN
274547: trace
274548: (p_msg => '# of extracted headers and events does not match'
274556: ,p_module => l_log_module);
274557:
274558: trace
274559: (p_msg => '# of events in xla_events_gt: '
274560: ||xla_context_pkg.get_event_count_context
274561: ,p_level => C_LEVEL_STATEMENT
274562: ,p_module => l_log_module);
274563:
274564: trace
274562: ,p_module => l_log_module);
274563:
274564: trace
274565: (p_msg => 'Event No Header Extract Context: '
274566: ||xla_context_pkg.get_event_nohdr_context
274567: ,p_level => C_LEVEL_STATEMENT
274568: ,p_module => l_log_module);
274569:
274570: END IF;
274569:
274570: END IF;
274571:
274572:
274573: xla_context_pkg.set_event_nohdr_context
274574: (p_nohdr_extract_flag => 'Y'
274575: ,p_client_id => sys_context('USERENV','CLIENT_IDENTIFIER'));
274576:
274577: IF (C_LEVEL_STATEMENT >= g_log_level) THEN