---
title: "Table 1797 Data Migration Error, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/table/1797-data-migration-error/points/
object: https://jonas-paprotka.de/ref/table/1797-data-migration-error/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/table/1797-data-migration-error/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/"
---

# Table 1797 Data Migration Error, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/table/1797-data-migration-error/points/

17 procedures and triggers with a step in src/Layers/W1/BaseApp/System/DataMigration/DataMigrationError.Table.al, in source order, read from the text, not from a run.

## CreateEntryWithMessage

[Line 82](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L82).

- [91](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L91) validates [Table 1797 Data Migration Error](https://jonas-paprotka.de/ref/table/1797-data-migration-error/) `Migration Type`
- [92](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L92) validates [Table 1797 Data Migration Error](https://jonas-paprotka.de/ref/table/1797-data-migration-error/) `Destination Table ID`
- [93](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L93) validates [Table 1797 Data Migration Error](https://jonas-paprotka.de/ref/table/1797-data-migration-error/) `Source Staging Table Record ID`
- [94](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L94) validates [Table 1797 Data Migration Error](https://jonas-paprotka.de/ref/table/1797-data-migration-error/) `Error Message`
- [95](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L95) validates [Table 1797 Data Migration Error](https://jonas-paprotka.de/ref/table/1797-data-migration-error/) `Scheduled For Retry`
- [96](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L96) writes [Table 1797 Data Migration Error](https://jonas-paprotka.de/ref/table/1797-data-migration-error/) Insert(true)
- [98](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L98) calls `UpdateErrorLogging`
- [100](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L100) raises `OnAfterErrorInserted`

## UpdateErrorLogging

[Line 103](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L103), local.

- [107](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L107) calls [Codeunit 1796 Data Migration Error Logging](https://jonas-paprotka.de/ref/codeunit/1796-data-migration-error-logging/) `GetLastRecordUnderProcessing`
- [110](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L110) calls [Codeunit 1796 Data Migration Error Logging](https://jonas-paprotka.de/ref/codeunit/1796-data-migration-error-logging/) `GetLastRecordUnderProcessing`
- [111](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L111) calls [Table 1797 Data Migration Error](https://jonas-paprotka.de/ref/table/1797-data-migration-error/) `SetExceptionCallStack`
- [112](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L112) calls [Table 1797 Data Migration Error](https://jonas-paprotka.de/ref/table/1797-data-migration-error/) `SetFullExceptionMessage`
- [113](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L113) calls [Table 1797 Data Migration Error](https://jonas-paprotka.de/ref/table/1797-data-migration-error/) `SetLastRecordUnderProcessingLog`
- [113](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L113) calls [Codeunit 1796 Data Migration Error Logging](https://jonas-paprotka.de/ref/codeunit/1796-data-migration-error-logging/) `GetFullListOfLastRecordsUnderProcessingAsText`

## CreateEntry

[Line 116](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L116).

- [118](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L118) calls `CreateEntryWithMessage`

## CreateEntryNoStagingTable

[Line 121](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L121).

- [125](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L125) calls `CreateEntry`

## CreateEntryNoStagingTableWithMessage

[Line 128](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L128).

- [132](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L132) calls `CreateEntryWithMessage`

## ClearEntry

[Line 135](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L135).

- [137](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L137) calls `FindEntry`
- [138](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L138) writes [Table 1797 Data Migration Error](https://jonas-paprotka.de/ref/table/1797-data-migration-error/) Delete(true)

## ClearEntryNoStagingTable

[Line 141](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L141).

- [145](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L145) calls `ClearEntry`

## FindEntry

[Line 148](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L148).

- [150](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L150) calls `FilterOnParameters`

## ExistsEntry

[Line 154](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L154).

- [156](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L156) calls `FilterOnParameters`

## Ignore

[Line 167](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L167).

- [174](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L174) writes [Table 1797 Data Migration Error](https://jonas-paprotka.de/ref/table/1797-data-migration-error/) Delete(true)
- [175](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L175) calls [Codeunit 6101 Data Migration Status Facade](https://jonas-paprotka.de/ref/codeunit/6101-data-migration-status-facade/) `IgnoreErrors`

## GetFullExceptionMessage

[Line 193](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L193).

- [202](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L202) calls `GetDefaultTextEncoding`

## SetFullExceptionMessage

[Line 207](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L207).

- [211](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L211) calls `GetDefaultTextEncoding`
- [213](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L213) writes [Table 1797 Data Migration Error](https://jonas-paprotka.de/ref/table/1797-data-migration-error/) Modify(true)

## GetExceptionCallStack

[Line 216](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L216).

- [225](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L225) calls `GetDefaultTextEncoding`

## GetExceptionMessageWithStackTrace

[Line 230](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L230).

- [235](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L235) calls `GetFullExceptionMessage`
- [242](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L242) calls `GetExceptionCallStack`

## SetExceptionCallStack

[Line 246](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L246).

- [250](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L250) calls `GetDefaultTextEncoding`
- [252](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L252) writes [Table 1797 Data Migration Error](https://jonas-paprotka.de/ref/table/1797-data-migration-error/) Modify(true)

## SetLastRecordUnderProcessingLog

[Line 255](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L255).

- [259](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L259) calls `GetDefaultTextEncoding`
- [261](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L261) writes [Table 1797 Data Migration Error](https://jonas-paprotka.de/ref/table/1797-data-migration-error/) Modify(true)

## GetLastRecordsUnderProcessingLog

[Line 264](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L264).

- [273](https://jonas-paprotka.de/ref/table/1797-data-migration-error/source/#L273) calls `GetDefaultTextEncoding`

## Source

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

JOP-AL, 2026-11-20.
