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

Jonas Paprotka, https://jonas-paprotka.de/ref/table/700-error-message/

| | |
| --- | --- |
| App | Base Application |
| Namespace | System.Utilities |
| Versions | 17-28 |
| Source file | Modules/System/ErrorMessage/ErrorMessage.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | ID | Integer | 17-28 | - | - |
| 2 | Record ID | RecordId | 17-28 | - | - |
| 3 | Field Number | Integer | 17-28 | - | - |
| 4 | Message Type | Option | 17-28 | - | - |
| 5 | Description | Text[250] | 17-28 | Removed 25.0 | Replaced by "Message" which has an increase in field length. |
| 6 | Additional Information | Text[250] | 17-28 | - | - |
| 7 | Support Url | Text[250] | 17-28 | - | - |
| 8 | Table Number | Integer | 17-28 | - | - |
| 10 | Context Record ID | RecordId | 17-28 | - | - |
| 11 | Field Name | Text[80] | 17-28 | - | - |
| 12 | Table Name | Text[80] | 17-28 | - | - |
| 13 | Context Field Number | Integer | 17-28 | - | - |
| 14 | Context Table Number | Integer | 17-28 | - | - |
| 15 | Context Field Name | Text[80] | 17-28 | - | - |
| 16 | Register ID | Guid | 17-28 | - | - |
| 17 | Created On | DateTime | 17-28 | - | - |
| 18 | Context | Boolean | 17-28 | - | - |
| 20 | Duplicate | Boolean | 17-28 | - | - |
| 21 | Error Call Stack | Blob | 19-28 | - | - |
| 22 | Message | Text[2048] | 21-28 | - | - |
| 23 | Reg. Err. Msg. System ID | Guid | 22-28 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | ID | 17-28 |
| Key2 | Context Record ID, Record ID | 17-28 |
| Key3 | Message Type, ID | 17-28 |
| Key4 | Created On | 17-28 |
| Key5 | Register ID, ID, Context | 17-28 |
| Key6 | Context, Context Record ID | 17-28 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| LogIfEmpty | (Variant, Integer, Option) | Integer | public | 17-28 | - | - |
| LogIfLengthExceeded | (Variant, Integer, Option, Integer) | Integer | public | 17-28 | - | - |
| LogIfInvalidCharacters | (Variant, Integer, Option, Text) | Integer | public | 17-28 | - | - |
| LogIfOutsideRange | (Variant, Integer, Option, Variant, Variant) | Integer | public | 17-28 | - | - |
| LogIfGreaterThan | (Variant, Integer, Option, Variant) | Integer | public | 17-28 | - | - |
| LogIfLessThan | (Variant, Integer, Option, Variant) | Integer | public | 17-28 | - | - |
| LogIfEqualTo | (Variant, Integer, Option, Variant) | Integer | public | 17-28 | - | - |
| LogIfNotEqualTo | (Variant, Integer, Option, Variant) | Integer | public | 17-28 | - | - |
| LogContextFieldError | (Integer, Text, Variant, Integer, Text[250]) | Integer | public | 17-28 | - | - |
| LogSimpleMessage | (Option, Text) | Integer | public | 17-28 | - | - |
| LogMessage | (Variant, Integer, Option, Text) | Integer | public | 17-28 | - | - |
| LogDetailedMessage | (Variant, Integer, Option, Text, Text[250], Text[250]) | Integer | public | 17-28 | - | - |
| LogLastError | () | - | public | 17-28 | - | - |
| AddMessageDetails | (Integer, Text[250], Text[250]) | - | public | 17-28 | - | - |
| FindLastID | () | Integer | public | 17-28 | - | - |
| GetContext | (var Record Error Message) | Boolean | public | 17-28 | - | - |
| GetLastID | () | Integer | public | 17-28 | - | - |
| SetContext | (Variant) | - | public | 17-28 | - | - |
| ClearLog | () | - | public | 17-28 | - | - |
| ClearLogRec | (Variant) | - | public | 17-28 | - | - |
| HasErrorMessagesRelatedTo | (Variant) | Boolean | public | 17-28 | - | - |
| ErrorMessageCount | (Option) | Integer | public | 17-28 | - | - |
| HasErrors | (Boolean) | Boolean | public | 17-28 | - | - |
| ShowErrors | () | Boolean | public | 17-28 | - | - |
| ShowErrorMessages | (Boolean) | Text | public | 17-28 | - | - |
| ToString | () | Text | public | 17-28 | - | - |
| ThrowError | () | - | public | 17-28 | - | - |
| FindRecord | (RecordId, Integer, Option, Text) | Integer | public | 17-28 | - | - |
| CopyToTemp | (var Record Error Message) | - | public | 17-28 | - | - |
| CopyFromTemp | (var Record Error Message) | - | public | 17-28 | - | - |
| CopyFromContext | (Variant) | - | public | 17-28 | - | - |
| GetCachedLastID | () | Integer | public | 18-28 | - | - |
| LogSimpleMessage | (Option, Text, Text) | Integer | public | 19-28 | - | - |
| LogLastError | (Boolean) | - | internal | 19-28 | - | - |
| GetErrorCallStack | () | Text | public | 19-28 | - | - |
| SetErrorCallStack | (Text) | - | public | 19-28 | - | - |
| ShowErrorCallStack | () | - | public | 19-28 | - | - |
| LogIfNotEmpty | (Variant, Integer, Option) | Integer | public | 21-28 | - | - |
| HandleDrillDown | (Integer) | - | public | 22-25 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeLogMessage | (Variant, Integer, Option, Text, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeLogSimpleMessage | (Option, Text, var Boolean) | 17-28 | - | - |
| Integration event | OnLogIfEmptyOnAfterCheckEmptyValue | (FieldRef, FieldRef, Boolean) | 17-19 | - | - |
| Integration event | OnLogIfEmptyOnAfterCheckEmptyValue | (FieldRef, FieldRef, var Boolean) | 20-28 | - | - |
| Integration event | OnLogIfNotEmptyOnAfterCheckEmptyValue | (FieldRef, FieldRef, var Boolean) | 21-28 | - | - |
| Integration event | OnDrillDownSource | (Record Error Message, Integer, var Boolean) | 22-25 | - | - |
| Integration event | OnShowErrorMessagesOnBeforeErrorMessagesRun | (var Record Error Message, var Text, var Boolean) | 23-28 | - | - |
| Integration event | OnShowErrorsOnBeforeErrorMessagesRun | (var Record Error Message, var Boolean, 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.
