{"title":"Codeunit 8898 Map Email Source, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/8898-map-email-source/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":8898,"name":"Map Email Source","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/8898-map-email-source/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/8898-map-email-source/source/","path":"src/Layers/W1/BaseApp/OtherCapabilities/Email/MapEmailSource.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:700":{"name":"Page Management","url":"https://jonas-paprotka.de/ref/codeunit/700-page-management/"},"codeunit:1173":{"name":"Document Attachment Mgmt","url":"https://jonas-paprotka.de/ref/codeunit/1173-document-attachment-mgmt/"},"table:8910":{"name":"Email Related Attachment","url":"https://jonas-paprotka.de/ref/table/8910-email-related-attachment/"},"codeunit:8904":{"name":"Email Message","url":"https://jonas-paprotka.de/ref/codeunit/8904-email-message/"},"table:1173":{"name":"Document Attachment","url":"https://jonas-paprotka.de/ref/table/1173-document-attachment/"},"codeunit:4100":{"name":"Temp Blob","url":"https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/"}},"procs":[{"name":"OnGetPageForSourceRecord","line":12,"kind":"procedure","access":"local","params":3,"steps":[[21,"ext","codeunit",700,"PageRun",1]]},{"name":"FindRelatedAttachments","line":26,"kind":"procedure","access":"local","params":3,"steps":[[36,"ext","codeunit",1173,"SetDocumentAttachmentRelatedFiltersForRecRef",2],[46,"write",8910,"Insert"]]},{"name":"InsertAttachment","line":51,"kind":"procedure","access":"local","params":3,"steps":[[65,"ext","codeunit",8904,"Get",1],[68,"ext","table",1173,"GetAsTempBlob",1],[70,"ext","codeunit",4100,"HasValue",0],[73,"ext","codeunit",4100,"CreateInStream",1],[74,"ext","codeunit",8904,"AddAttachment",3],[74,"ext","table",1173,"GetContentType",0]]}]}