---
title: "Codeunit 1215 Data Exch. Type Selector, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/1215-data-exch-type-selector/points/
object: https://jonas-paprotka.de/ref/codeunit/1215-data-exch-type-selector/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/1215-data-exch-type-selector/source/
checked: 2026-11-20
changed: 2026-10-05
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 1215 Data Exch. Type Selector, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/1215-data-exch-type-selector/points/

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

## OnRun

[Line 10](https://jonas-paprotka.de/ref/codeunit/1215-data-exch-type-selector/source/#L10), trigger.

- [17](https://jonas-paprotka.de/ref/codeunit/1215-data-exch-type-selector/source/#L17) calls `CheckContentHasValue`
- [19](https://jonas-paprotka.de/ref/codeunit/1215-data-exch-type-selector/source/#L19) calls `FindDataExchType`
- [21](https://jonas-paprotka.de/ref/codeunit/1215-data-exch-type-selector/source/#L21) calls `SetResult`

## FindDataExchType

[Line 28](https://jonas-paprotka.de/ref/codeunit/1215-data-exch-type-selector/source/#L28), local.

- [40](https://jonas-paprotka.de/ref/codeunit/1215-data-exch-type-selector/source/#L40) calls `DataExchDefUsesIntermediate`
- [42](https://jonas-paprotka.de/ref/codeunit/1215-data-exch-type-selector/source/#L42) calls `CreateDataExch`
- [44](https://jonas-paprotka.de/ref/codeunit/1215-data-exch-type-selector/source/#L44) calls `TryCreateIntermediate`
- [53](https://jonas-paprotka.de/ref/codeunit/1215-data-exch-type-selector/source/#L53) writes [Table 1214 Intermediate Data Import](https://jonas-paprotka.de/ref/table/1214-intermediate-data-import/) DeleteAll(true)
- [55](https://jonas-paprotka.de/ref/codeunit/1215-data-exch-type-selector/source/#L55) writes [Table 1220 Data Exch.](https://jonas-paprotka.de/ref/table/1220-data-exch/) Delete(true)

## CreateDataExch

[Line 62](https://jonas-paprotka.de/ref/codeunit/1215-data-exch-type-selector/source/#L62), local.

- [69](https://jonas-paprotka.de/ref/codeunit/1215-data-exch-type-selector/source/#L69) calls [Table 1220 Data Exch.](https://jonas-paprotka.de/ref/table/1220-data-exch/) `InsertRec`
- [70](https://jonas-paprotka.de/ref/codeunit/1215-data-exch-type-selector/source/#L70) validates [Table 1220 Data Exch.](https://jonas-paprotka.de/ref/table/1220-data-exch/) `Incoming Entry No.`
- [71](https://jonas-paprotka.de/ref/codeunit/1215-data-exch-type-selector/source/#L71) writes [Table 1220 Data Exch.](https://jonas-paprotka.de/ref/table/1220-data-exch/) Modify(true)

## SetResult

[Line 89](https://jonas-paprotka.de/ref/codeunit/1215-data-exch-type-selector/source/#L89), local.

- [101](https://jonas-paprotka.de/ref/codeunit/1215-data-exch-type-selector/source/#L101) validates [Table 130 Incoming Document](https://jonas-paprotka.de/ref/table/130-incoming-document/) `Data Exchange Type`
- [102](https://jonas-paprotka.de/ref/codeunit/1215-data-exch-type-selector/source/#L102) writes [Table 130 Incoming Document](https://jonas-paprotka.de/ref/table/130-incoming-document/) Modify(true)

## CheckContentHasValue

[Line 105](https://jonas-paprotka.de/ref/codeunit/1215-data-exch-type-selector/source/#L105), local.

- [111](https://jonas-paprotka.de/ref/codeunit/1215-data-exch-type-selector/source/#L111) raises `OnBeforeCheckContentHasValue`, IsHandled

## Source

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

JOP-AL, 2026-11-20.
