Source AL, 780 lines
src/Layers/W1/BaseApp/Modules/System/ErrorMessage/ErrorMessageManagement.Codeunit.allines 5 to 20 of 780, Copyright (c) Microsoft Corporation. MIT
codeunit 28 "Error Message Management"{ trigger OnRun() begin end; var LastErrorContextElement: Codeunit "Last Error Context Element"; JoinedErr: Label '%1 %2.', Locked = true; JobQueueErrMsgProcessingTxt: Label 'Job Queue Error Message Processing.', Locked = true; NullJSONTxt: Label 'null', Locked = true; TestFieldEmptyValueErr: Label '%1 must not be empty.', Comment = '%1 - field caption'; TestFieldValueErr: Label '%1 must be equal to %2.', Comment = '%1 - field caption, %2 - field value'; FieldErrorErr: Label '%1 %2', Comment = '%1 - field name, %2 - error message'; FieldMustNotBeErr: Label '%1 must not be %2', Comment = '%1 - field name, %2 - field value';
All 780 lines
Events 17 in 29
| [IntegrationEvent] OnFindActiveSubscriber(var IsFound: Boolean) | 17-29 |
| [IntegrationEvent] OnGetFirstContextID(ContextRecordID: RecordId; var ContextID: Integer) | 17-29 |
| [IntegrationEvent] OnGetErrors(var TempErrorMessageResult: Record "Error Message" temporary) | 17-29 |
| [IntegrationEvent] OnGetLastErrorID(var ID: Integer; var ErrorMessage: Text[250]) | 17-29 |
| [IntegrationEvent] OnLogSimpleError(ErrorMessage: Text; var IsLogged: Boolean) | 17-29 |
| [IntegrationEvent] OnLogError(MessageType: Option; ContextFieldNo: Integer; ErrorMessage: Text; SourceVariant: Variant; SourceFieldNo: Integer; HelpArticleCode: Code[30]; var IsLogged: Boolean) | 17-29 |
| [IntegrationEvent] OnPushContext() | 17-29 |
All 17 events
Public procedures 45 in 29
All 46 procedures in 17-29
Changes 1 in 27
| Activate(var ErrorMessageHandler: Codeunit "Error Message Handler"; ClearError: Boolean): Boolean | new in 19changed in 27 |
| changed, was internal Activate(var ErrorMessageHandler: Codeunit "Error Message Handler"; ClearError: Boolean): Boolean |
All 25 changes in 17-29