14611: -- Event count context is set in xla_accounting_pkg.unit_processor.
14612: -- Build_Message for this error is called in xla_accounting_pkg.post_accounting
14613: -- to report it as a general error.
14614: --
14615: IF xla_context_pkg.get_event_count_context <> g_hdr_extract_count
14616: AND xla_context_pkg.get_event_nohdr_context <> 'Y' THEN
14617:
14618: IF (C_LEVEL_STATEMENT >= g_log_level) THEN
14619: trace
14612: -- Build_Message for this error is called in xla_accounting_pkg.post_accounting
14613: -- to report it as a general error.
14614: --
14615: IF xla_context_pkg.get_event_count_context <> g_hdr_extract_count
14616: AND xla_context_pkg.get_event_nohdr_context <> 'Y' THEN
14617:
14618: IF (C_LEVEL_STATEMENT >= g_log_level) THEN
14619: trace
14620: (p_msg => '# of extracted headers and events does not match'
14628: ,p_module => l_log_module);
14629:
14630: trace
14631: (p_msg => '# of events in xla_events_gt: '
14632: ||xla_context_pkg.get_event_count_context
14633: ,p_level => C_LEVEL_STATEMENT
14634: ,p_module => l_log_module);
14635:
14636: trace
14634: ,p_module => l_log_module);
14635:
14636: trace
14637: (p_msg => 'Event No Header Extract Context: '
14638: ||xla_context_pkg.get_event_nohdr_context
14639: ,p_level => C_LEVEL_STATEMENT
14640: ,p_module => l_log_module);
14641:
14642: END IF;
14641:
14642: END IF;
14643:
14644:
14645: xla_context_pkg.set_event_nohdr_context
14646: (p_nohdr_extract_flag => 'Y'
14647: ,p_client_id => sys_context('USERENV','CLIENT_IDENTIFIER'));
14648:
14649: IF (C_LEVEL_STATEMENT >= g_log_level) THEN