{"title":"Query 8889 Sent Emails, extension points 29","url":"https://jonas-paprotka.de/ref/query/8889-sent-emails/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":"query","id":8889,"name":"Sent Emails","app":"System Application","url":"https://jonas-paprotka.de/ref/query/8889-sent-emails/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/query/8889-sent-emails/source/","path":"src/System Application/App/Email/src/Email/Sent/SentEmails.Query.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:8889":{"name":"Sent Email","url":"https://jonas-paprotka.de/ref/table/8889-sent-email/"}},"procs":[{"name":"GetSentEmails","line":73,"kind":"procedure","params":1,"steps":[[78,"write",8889,"DeleteAll"],[80,"call","CopyFiltersFrom",1],[91,"write",8889,"Insert"]]},{"name":"InsertRecordInto","line":107,"kind":"procedure","params":1,"steps":[[113,"write",8889,"Insert"]]},{"name":"InsertRecordIfAnyRelatedRecords","line":117,"kind":"procedure","params":1,"steps":[[141,"write",8889,"Insert"],[142,"call","ReadUntilNextMessageId",1]]},{"name":"InsertRecordIfAllRelatedRecords","line":151,"kind":"procedure","params":1,"steps":[[169,"write",8889,"Insert"],[179,"call","ReadUntilNextMessageId",1],[191,"write",8889,"Insert"]]},{"name":"GetSentEmailsIfAccessToAllRelatedRecords","line":199,"kind":"procedure","params":2,"steps":[[208,"write",8889,"DeleteAll"],[209,"call","CopyFiltersFrom",1],[225,"call","InsertRecordInto",1],[226,"call","ReadUntilNextMessageId",1],[232,"call","InsertRecordIfAllRelatedRecords",1]]},{"name":"GetSentEmailsIfAccessToAnyRelatedRecords","line":241,"kind":"procedure","params":2,"steps":[[250,"write",8889,"DeleteAll"],[251,"call","CopyFiltersFrom",1],[267,"call","InsertRecordInto",1],[268,"call","ReadUntilNextMessageId",1],[274,"call","InsertRecordIfAnyRelatedRecords",1]]}]}