---
title: "Table 1224 Data Exch. Mapping"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/1224-data-exch-mapping/
type: table
id: 1224
name: "Data Exch. Mapping"
app: "Base Application"
namespace: System.IO
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/table/1224-data-exch-mapping/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 1224 Data Exch. Mapping

Jonas Paprotka, https://jonas-paprotka.de/ref/table/1224-data-exch-mapping/

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

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Data Exch. Def Code | Code[20] | 17-28 | - | - |
| 2 | Table ID | Integer | 17-28 | - | - |
| 3 | Name | Text[250] | 17-28 | - | - |
| 4 | Mapping Codeunit | Integer | 17-28 | - | - |
| 6 | Data Exch. No. Field ID | Integer | 17-28 | - | - |
| 7 | Data Exch. Line Field ID | Integer | 17-28 | - | - |
| 8 | Data Exch. Line Def Code | Code[20] | 17-28 | - | - |
| 9 | Pre-Mapping Codeunit | Integer | 17-28 | - | - |
| 10 | Post-Mapping Codeunit | Integer | 17-28 | - | - |
| 20 | Use as Intermediate Table | Boolean | 17-28 | - | - |
| 21 | Key Index | Integer | 21-28 | - | - |
| 22 | Key | Text[250] | 21-28 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | Data Exch. Def Code, Data Exch. Line Def Code, Table ID | 17-28 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| InsertRec | (Code[20], Code[20], Integer, Text[250], Integer, Integer, Integer) | - | public | 17-28 | - | - |
| InsertRecForExport | (Code[20], Code[20], Integer, Text[250], Integer) | - | public | 17-28 | - | - |
| InsertRecForImport | (Code[20], Code[20], Integer, Text[250], Integer, Integer) | - | public | 17-28 | - | - |
| CreateDataExchMapping | (Integer, Integer, Integer, Integer) | - | public | 17-28 | - | - |
| PositivePayUpdateCodeunits | () | Boolean | public | 17-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeOnDelete | (var Record Data Exch. Mapping, var Boolean) | 23-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.
