---
title: "Codeunit 1283 Export Generic XML, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/points/
object: https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/
checked: 2026-11-20
changed: 2026-11-19
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 1283 Export Generic XML, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/points/

7 procedures and triggers with a step in src/Layers/W1/BaseApp/ExportGenericXML.Codeunit.al, in source order, read from the text, not from a run.

## OnRun

[Line 12](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L12), trigger.

- [48](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L48) writes [Table 1220 Data Exch.](https://jonas-paprotka.de/ref/table/1220-data-exch/) Insert(true)
- [50](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L50) raises `OnBeforeProcessDataExc`, IsHandled
- [59](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L59) calls `ProcessDetails`
- [61](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L61) calls `ProcessHeader`
- [63](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L63) writes [Table 1220 Data Exch.](https://jonas-paprotka.de/ref/table/1220-data-exch/) Delete(true)
- [66](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L66) calls `ProcessDetails`

## ProcessDetails

[Line 72](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L72), local.

- [89](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L89) raises `OnBeforeExportDetails`, IsHandled
- [117](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L117) calls `GetProgressDivider`
- [119](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L119) calls `LoadDataExchFields`
- [137](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L137) calls `ProcessDataExchColumnDef`
- [137](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L137) calls `GetDataExchFieldValue`

## ProcessHeader

[Line 160](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L160), local.

- [174](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L174) raises `OnBeforeExportHeader`, IsHandled
- [198](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L198) calls `ProcessDataExchColumnDef`
- [198](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L198) calls `GetDataExchFieldValue`
- [206](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L206) raises `OnBeforeCreateXMLDeclaration`, IsHandled
- [216](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L216) calls `GetDataExchFieldValue`
- [223](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L223) raises `OnBeforeCreateRootElement`, IsHandled
- [231](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L231) calls `ProcessDataExchColumnDef`
- [231](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L231) calls `GetDataExchFieldValue`

## GetDataExchFieldValue

[Line 237](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L237), local.

- [242](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L242) calls [Table 1221 Data Exch. Field](https://jonas-paprotka.de/ref/table/1221-data-exch-field/) `GetValue`

## GetDataExchFieldValue

[Line 247](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L247), local.

- [250](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L250) calls [Table 1221 Data Exch. Field](https://jonas-paprotka.de/ref/table/1221-data-exch-field/) `GetValue`

## LoadDataExchFields

[Line 254](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L254), local.

- [286](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L286) writes [Table 1221 Data Exch. Field](https://jonas-paprotka.de/ref/table/1221-data-exch-field/) Insert

## ProcessDataExchColumnDef

[Line 292](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L292), local.

- [326](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L326) raises `OnBeforeCreateXMLNodeWithoutAttributes`, IsHandled
- [351](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L351) raises `OnBeforeCreateXMLAttribute`, IsHandled
- [363](https://jonas-paprotka.de/ref/codeunit/1283-export-generic-xml/source/#L363) raises `OnBeforeCreateXMLNodeWithAttributes`, IsHandled

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
