{"title":"Codeunit 6115 E-Document Error Helper, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/6115-e-document-error-helper/points/","author":"JOP-AL","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/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":6115,"name":"E-Document Error Helper","app":"E-Document Core","url":"https://jonas-paprotka.de/ref/codeunit/6115-e-document-error-helper/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/6115-e-document-error-helper/source/","path":"src/Apps/W1/EDocument/App/src/Helpers/EDocumentErrorHelper.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"table:700":{"name":"Error Message","url":"https://jonas-paprotka.de/ref/table/700-error-message/"},"table:6121":{"name":"E-Document","url":"https://jonas-paprotka.de/ref/table/6121-e-document/"},"codeunit:8703":{"name":"Feature Telemetry","url":"https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/"}},"procs":[{"name":"ErrorMessageCount","line":17,"kind":"procedure","params":1,"steps":[[21,"ext","table",700,"SetContext",1],[22,"ext","table",700,"ErrorMessageCount",1]]},{"name":"WarningMessageCount","line":30,"kind":"procedure","params":1,"steps":[[34,"ext","table",700,"SetContext",1],[35,"ext","table",700,"ErrorMessageCount",1]]},{"name":"HasErrors","line":43,"kind":"procedure","params":1,"steps":[[47,"ext","table",700,"SetContext",1],[48,"ext","table",700,"HasErrors",1]]},{"name":"ClearErrorMessages","line":55,"kind":"procedure","params":1,"steps":[[60,"write",700,"DeleteAll"]]},{"name":"LogWarningMessage","line":70,"kind":"procedure","params":4,"steps":[[74,"ext","table",700,"SetContext",1],[75,"ext","table",700,"LogMessage",4]]},{"name":"LogErrorMessage","line":85,"kind":"procedure","params":4,"steps":[[89,"call","LogErrorToTelemetry",2],[90,"ext","table",700,"SetContext",1],[91,"ext","table",700,"LogMessage",4]]},{"name":"LogSimpleErrorMessage","line":99,"kind":"procedure","params":2,"steps":[[103,"call","LogErrorToTelemetry",2],[104,"ext","table",700,"SetContext",1],[105,"ext","table",700,"LogSimpleMessage",2]]},{"name":"ThrowIfHasErrors","line":113,"kind":"procedure","params":1,"steps":[[118,"call","HasErrors",1],[121,"ext","table",700,"CopyToTemp",1],[123,"ext","table",700,"ThrowError",0]]},{"name":"LogErrorToTelemetry","line":136,"kind":"procedure","access":"local","params":2,"steps":[[145,"ext","table",6121,"ToString",0],[147,"ext","codeunit",8703,"LogError",6],[147,"call","GetTelemetryFeatureName",0],[147,"call","GetTelemetryImplErrLbl",0]]}]}