67433: -- Event count context is set in xla_accounting_pkg.unit_processor.
67434: -- Build_Message for this error is called in xla_accounting_pkg.post_accounting
67435: -- to report it as a general error.
67436: --
67437: IF xla_context_pkg.get_event_count_context <> g_hdr_extract_count
67438: AND xla_context_pkg.get_event_nohdr_context <> 'Y' THEN
67439:
67440: IF (C_LEVEL_STATEMENT >= g_log_level) THEN
67441: trace
67434: -- Build_Message for this error is called in xla_accounting_pkg.post_accounting
67435: -- to report it as a general error.
67436: --
67437: IF xla_context_pkg.get_event_count_context <> g_hdr_extract_count
67438: AND xla_context_pkg.get_event_nohdr_context <> 'Y' THEN
67439:
67440: IF (C_LEVEL_STATEMENT >= g_log_level) THEN
67441: trace
67442: (p_msg => '# of extracted headers and events does not match'
67450: ,p_module => l_log_module);
67451:
67452: trace
67453: (p_msg => '# of events in xla_events_gt: '
67454: ||xla_context_pkg.get_event_count_context
67455: ,p_level => C_LEVEL_STATEMENT
67456: ,p_module => l_log_module);
67457:
67458: trace
67456: ,p_module => l_log_module);
67457:
67458: trace
67459: (p_msg => 'Event No Header Extract Context: '
67460: ||xla_context_pkg.get_event_nohdr_context
67461: ,p_level => C_LEVEL_STATEMENT
67462: ,p_module => l_log_module);
67463:
67464: END IF;
67463:
67464: END IF;
67465:
67466:
67467: xla_context_pkg.set_event_nohdr_context
67468: (p_nohdr_extract_flag => 'Y'
67469: ,p_client_id => sys_context('USERENV','CLIENT_IDENTIFIER'));
67470:
67471: IF (C_LEVEL_STATEMENT >= g_log_level) THEN