---
title: "Table 1797 Data Migration Error"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/1797-data-migration-error/
type: table
id: 1797
name: "Data Migration Error"
app: "Base Application"
namespace: System.Integration
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/table/1797-data-migration-error/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 1797 Data Migration Error

Jonas Paprotka, https://jonas-paprotka.de/ref/table/1797-data-migration-error/

| | |
| --- | --- |
| App | Base Application |
| Namespace | System.Integration |
| Versions | 17-28 |
| Source file | System/DataMigration/DataMigrationError.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Id | Integer | 17-28 | - | - |
| 2 | Migration Type | Text[250] | 17-28 | - | - |
| 3 | Destination Table ID | Integer | 17-28 | - | - |
| 4 | Source Staging Table Record ID | RecordId | 17-28 | - | - |
| 5 | Error Message | Text[250] | 17-28 | - | - |
| 6 | Scheduled For Retry | Boolean | 17-28 | - | - |
| 9 | Error Dismissed | Boolean | 23-28 | - | - |
| 10 | Exception Message | Blob | 23-28 | - | - |
| 11 | Exception Call Stack | Blob | 23-28 | - | - |
| 12 | Last Record Under Processing | Text[2048] | 23-28 | - | - |
| 15 | Records Under Processing Log | Blob | 23-28 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | Id | 17-28 |
| Key2 | Destination Table ID, Migration Type | 17-28 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| CreateEntryWithMessage | (Text[250], Integer, RecordId, Text[250]) | - | public | 17-22 | - | - |
| CreateEntry | (Text[250], Integer, RecordId) | - | public | 17-28 | - | - |
| CreateEntryNoStagingTable | (Text[250], Integer) | - | public | 17-28 | - | - |
| CreateEntryNoStagingTableWithMessage | (Text[250], Integer, Text[250]) | - | public | 17-28 | - | - |
| ClearEntry | (Text[250], Integer, RecordId) | - | public | 17-28 | - | - |
| ClearEntryNoStagingTable | (Text[250], Integer) | - | public | 17-28 | - | - |
| FindEntry | (Text[250], Integer, RecordId) | Boolean | public | 17-28 | - | - |
| ExistsEntry | (Text[250], Integer, RecordId) | Boolean | public | 17-28 | - | - |
| Ignore | () | - | public | 17-28 | - | - |
| GetErrorMessage | (Text[250], RecordId, var Text[250]) | - | public | 17-28 | - | - |
| CreateEntryWithMessage | (Text[250], Integer, RecordId, Text[2048]) | - | public | 23-28 | - | - |
| GetFullExceptionMessage | () | Text | public | 23-28 | - | - |
| SetFullExceptionMessage | (Text) | - | public | 23-28 | - | - |
| GetExceptionCallStack | () | Text | public | 23-28 | - | - |
| GetExceptionMessageWithStackTrace | () | Text | public | 23-28 | - | - |
| SetExceptionCallStack | (Text) | - | public | 23-28 | - | - |
| SetLastRecordUnderProcessingLog | (Text) | - | public | 23-28 | - | - |
| GetLastRecordsUnderProcessingLog | () | Text | public | 23-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterErrorInserted | (Text, Text) | 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.
