{"title":"Query 8888 Outbox Emails, extension points 29","url":"https://jonas-paprotka.de/ref/query/8888-outbox-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":8888,"name":"Outbox Emails","app":"System Application","url":"https://jonas-paprotka.de/ref/query/8888-outbox-emails/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/query/8888-outbox-emails/source/","path":"src/System Application/App/Email/src/Email/Outbox/OutboxEmails.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:8888":{"name":"Email Outbox","url":"https://jonas-paprotka.de/ref/table/8888-email-outbox/"}},"procs":[{"name":"GetOutboxEmails","line":72,"kind":"procedure","params":1,"steps":[[77,"write",8888,"DeleteAll"],[79,"call","CopyFiltersFrom",1],[90,"write",8888,"Insert"]]},{"name":"InsertRecordInto","line":106,"kind":"procedure","params":1,"steps":[[112,"write",8888,"Insert"]]},{"name":"InsertRecordIfAnyRelatedRecords","line":116,"kind":"procedure","params":1,"steps":[[140,"write",8888,"Insert"],[141,"call","ReadUntilNextMessageId",1]]},{"name":"InsertRecordIfAllRelatedRecords","line":150,"kind":"procedure","params":1,"steps":[[168,"write",8888,"Insert"],[178,"call","ReadUntilNextMessageId",1],[190,"write",8888,"Insert"]]},{"name":"GetOutboxEmailsIfAccessToAllRelatedRecords","line":198,"kind":"procedure","params":2,"steps":[[207,"write",8888,"DeleteAll"],[208,"call","CopyFiltersFrom",1],[224,"call","InsertRecordInto",1],[225,"call","ReadUntilNextMessageId",1],[231,"call","InsertRecordIfAllRelatedRecords",1]]},{"name":"GetOutboxEmailsIfAccessToAnyRelatedRecords","line":240,"kind":"procedure","params":2,"steps":[[249,"write",8888,"DeleteAll"],[250,"call","CopyFiltersFrom",1],[266,"call","InsertRecordInto",1],[267,"call","ReadUntilNextMessageId",1],[273,"call","InsertRecordIfAnyRelatedRecords",1]]}]}