{"title":"Codeunit 30 Error Context Element, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/30-error-context-element/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":30,"name":"Error Context Element","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/30-error-context-element/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/30-error-context-element/source/","path":"src/Layers/W1/BaseApp/Modules/System/ErrorMessage/ErrorContextElement.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":{"codeunit:30":{"name":"Error Context Element","url":"https://jonas-paprotka.de/ref/codeunit/30-error-context-element/"},"table:700":{"name":"Error Message","url":"https://jonas-paprotka.de/ref/table/700-error-message/"}},"procs":[{"name":"Copy","line":38,"kind":"procedure","params":1,"steps":[[45,"ext","codeunit",30,"GetData",4],[46,"call","Set",4]]},{"name":"GetErrorMessage","line":49,"kind":"procedure","params":1,"steps":[[52,"validate",700,"Context Record ID"],[53,"validate",700,"Context Field Number"]]},{"name":"OnGetTopElementDataHandler","line":58,"kind":"procedure","access":"local","params":4,"steps":[[61,"call","GetData",4]]},{"name":"OnGetTopContextHandler","line":72,"kind":"procedure","access":"local","params":1,"steps":[[75,"call","GetErrorMessage",1]]}]}