---
title: "Table 1222 Data Exch. Def"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/1222-data-exch-def/
type: table
id: 1222
name: "Data Exch. Def"
app: "Base Application"
namespace: System.IO
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/table/1222-data-exch-def/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Table 1222 Data Exch. Def

Jonas Paprotka, https://jonas-paprotka.de/ref/table/1222-data-exch-def/

| | |
| --- | --- |
| App | Base Application |
| Namespace | System.IO |
| Versions | 17-28 |
| Source file | System/DataExchange/DataExchDef.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Code | Code[20] | 17-28 | - | - |
| 2 | Name | Text[100] | 17-28 | - | - |
| 3 | Type | Enum Data Exchange Definition Type | 17-28 | - | - |
| 4 | Reading/Writing XMLport | Integer | 17-28 | - | - |
| 5 | Header Lines | Integer | 17-28 | - | - |
| 8 | Header Tag | Text[250] | 17-28 | - | - |
| 9 | Footer Tag | Text[250] | 17-28 | - | - |
| 10 | Column Separator | Option | 17-28 | - | - |
| 11 | File Encoding | Option | 17-28 | - | - |
| 13 | File Type | Option | 17-28 | - | - |
| 14 | Ext. Data Handling Codeunit | Integer | 17-28 | - | - |
| 15 | Reading/Writing Codeunit | Integer | 17-28 | - | - |
| 16 | Validation Codeunit | Integer | 17-28 | - | - |
| 17 | Data Handling Codeunit | Integer | 17-28 | - | - |
| 18 | User Feedback Codeunit | Integer | 17-28 | - | - |
| 19 | Custom Column Separator | Text[10] | 17-28 | - | - |
| 20 | Line Separator | Option | 19-28 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | Code | 17-28 |
| Key2 | Type | 17-28 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| InsertRec | (Code[20], Text[100], Enum Data Exchange Definition Type, Integer, Integer, Text[250], Text[250]) | - | public | 17-28 | - | - |
| InsertRecForExport | (Code[20], Text[100], Option, Integer, Option) | - | public | 17-28 | - | - |
| ColumnSeparatorChar | () | Text | public | 17-28 | - | - |
| CheckEnableDisableIsNonXMLFileType | () | Boolean | public | 17-28 | - | - |
| CheckEnableDisableIsImportType | () | Boolean | public | 17-28 | - | - |
| CheckEnableDisableIsBankStatementImportType | () | Boolean | public | 17-28 | - | - |
| CheckEnableDisableDelimitedFileType | () | Boolean | public | 17-28 | - | - |
| PositivePayUpdateCodeunits | () | Boolean | public | 17-28 | - | - |
| ProcessDataExchange | (var Record Data Exch.) | - | public | 17-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
