---
id: object/codeunit/11029-de
type: object
title: Codeunit 11029 "IntrastatReportManagementDE" (DE)
summary: Codeunit 11029 "IntrastatReportManagementDE" (DE) in the DE country layer (Microsoft.Inventory.Intrastat). 2 public procedures, 3 events, 13 event subscribers. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - de layer
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 2b7e50d8d9083d94c1ba58b6129063331d21b5b5251e841459adfefeb92b66c8
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/DE/IntrastatDE/app/src/IntrastatReportManagementDE.Codeunit.al
    title: src/Apps/DE/IntrastatDE/app/src/IntrastatReportManagementDE.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/de
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/10088
    - change/bcapps/9078
object_type: codeunit
object_id: 11029
name: IntrastatReportManagementDE
namespace: Microsoft.Inventory.Intrastat
app: IntrastatDE
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
country: DE
counts:
  fields: 0
  procedures: 22
  events: 3
  subscribers: 13
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 11029 "IntrastatReportManagementDE" (DE)

> Codeunit 11029 "IntrastatReportManagementDE" (DE) in the DE country layer (Microsoft.Inventory.Intrastat). 2 public procedures, 3 events, 13 event subscribers. Introduced in BC29, still in BC30.

DE country layer · Microsoft.Inventory.Intrastat · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/DE/IntrastatDE/app/src/IntrastatReportManagementDE.Codeunit.al) · facts from BC29

An object of the [DE localization](../../localizations/de.md), not part of W1.

## Properties

| Property | Value |
|---|---|
| Access | Internal |
| SingleInstance | true |

## Events published

- `OnBeforeGetPartnerIDForCountryDE(CountryRegionCode: Code[10]; VATRegistrationNo: Text[50]; IsPrivatePerson: Boolean; IsThirdPartyTrade: Boolean; var PartnerID: Text[50]; var IsHandled: Boolean)` (integration)
- `OnBeforeDefineFileNamesDE(var IntrastatReportHeader: Record "Intrastat Report Header"; var FileName: Text; var ReceptFileName: Text; var ShipmentFileName: Text; var ZipFileName: Text; var IsHandled: Boolean)` (integration)
- `OnBeforeCreateXMLNodeWithoutAttributesOnPartyIdPathOnBeforeSetXmlNodeValue(var CompanyArea: Code[10]; var RegistrationNo: Text[20]; var AgencyNo: Text[10])` (integration)

## Event subscriptions

- OnBeforeInitSetup subscribes to Codeunit "IntrastatReportManagement" OnBeforeInitSetup
- DefaultSubmissionChannelOnBeforeInsertIntrastatReportHeader subscribes to Table "Intrastat Report Header" OnBeforeInsertEvent
- OnBeforeInitCheckList subscribes to Codeunit "IntrastatReportManagement" OnBeforeInitCheckList
- OnBeforeDefineFileNames subscribes to Codeunit "IntrastatReportManagement" OnBeforeDefineFileNames
- OnBeforeGetPartnerIDForCountry subscribes to Table "Intrastat Report Line" OnBeforeGetPartnerIDForCountry
- OnBeforeCreateXMLNodeWithoutAttributes subscribes to Codeunit "Export Generic XML" OnBeforeCreateXMLNodeWithoutAttributes
- OnBeforeExportIntrastatHeader subscribes to Codeunit "IntrastatReportManagement" OnBeforeExportIntrastatHeader
- OnBeforeCreateXMLDeclaration subscribes to Codeunit "Export Generic XML" OnBeforeCreateXMLDeclaration
- OnBeforeCreateRootElement subscribes to Codeunit "Export Generic XML" OnBeforeCreateRootElement
- OnBeforeExportHeader subscribes to Codeunit "Export Generic XML" OnBeforeExportHeader
- OnBeforeExportDetails subscribes to Codeunit "Export Generic XML" OnBeforeExportDetails
- OnBeforeCheckRecRefCount subscribes to Codeunit "Export Mapping" OnBeforeCheckRecRefCount
- OnBeforeCreateDefaultDataExchangeDef subscribes to Codeunit "IntrastatReportManagement" OnBeforeCreateDefaultDataExchangeDef

## Procedures

- `SetDataExchExportParameters(var IntrastatReportHeader2: Record "Intrastat Report Header")`
- `CreateDefaultDataExchangeDef()`

Plus 4 local procedures.

## Recent changes

- 2026-08-11 [#10088 Harden base ruleset: promote 21 rules back to Error](../../changes/bcapps/10088.md) (main, BC30, refactor)
- 2026-07-07 [#9078 Bug 624364: Intrastat DE groups detail lines by Country/Region of Origin](../../changes/bcapps/9078.md) (main, BC30, fix)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "codeunit", object_name: "IntrastatReportManagementDE")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.

A DE country object, not part of W1: the default corpus does not have it; `bcatlas_list_countries` shows which countries the atlas has.
