Codeunit 8906 Email Editor

System Application, System.Email

src/System Application/App/Email/src/Email/Outbox/EmailEditor.Codeunit.al23 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

Open line 26

  1. 30callsCheckPermissions
  2. 35callsPage 13 Email Editor SetAsNew
  3. 37callsBeforeOpenEmailEditor
  4. 37callsTable 8888 Email Outbox GetMessageId
  5. 42callsPage 13 Email Editor GetAction

BeforeOpenEmailEditor line 48, local

  1. 56callsCodeunit 8904 Email Message Get
  2. 57callsCodeunit 8904 Email Message GetNoOfModifies
  3. 59callsCodeunit 8901 Email OnBeforeOpenEmailEditor
  4. 61callsCodeunit 8904 Email Message Get
  5. 62callsCodeunit 8904 Email Message GetNoOfModifies
  6. 64callsCodeunit 8904 Email Message GetId
  7. 65callsCodeunit 8711 Telemetry LogMessage

OpenWithScenario line 69

  1. 73callsCheckPermissions
  2. 76callsPage 13 Email Editor SetEmailScenario
  3. 79callsPage 13 Email Editor SetAsNew
  4. 84callsPage 13 Email Editor GetAction

CheckPermissions line 90

  1. 95callsCodeunit 8900 Email Impl GetUserEmailViewPolicy

GetEmailAccount line 107

  1. 111callsCodeunit 8894 Email Account GetAllAccounts

GetEmailMessage line 117

  1. 119callsCodeunit 8905 Email Message Impl. Get
  2. 122callsCodeunit 8905 Email Message Impl. Create
  3. 123callsCodeunit 8905 Email Message Impl. GetId
  4. 124writesTable 8888 Email Outbox Modify

CreateOutbox line 127

  1. 135callsCodeunit 8893 Email Scenario GetDefaultEmailAccount
  2. 140writesTable 8888 Email Outbox Insert

ChangeEmailAccount line 143

  1. 147callsPage 8887 Email Accounts EnableLookupMode
  2. 150callsPage 8887 Email Accounts SetAccount
  3. 153callsPage 8887 Email Accounts GetAccount
  4. 157writesTable 8888 Email Outbox Modify

UploadAttachment line 188

  1. 194callsCodeunit 8905 Email Message Impl. GetContentTypeFromFilename
  2. 195callsCodeunit 8905 Email Message Impl. AddAttachmentInternal

DownloadAttachment line 200

  1. 213callsCodeunit 8904 Email Message OnGetAttachmentContent

DownloadAttachments line 220

  1. 230callsCodeunit 425 Data Compression CreateZipArchive
  2. 235callsCodeunit 425 Data Compression AddEntry
  3. 237callsCodeunit 4100 Temp Blob CreateOutStream
  4. 238callsCodeunit 425 Data Compression SaveZipArchive
  5. 239callsCodeunit 425 Data Compression CloseZipArchive
  6. 240callsCodeunit 4100 Temp Blob CreateInStream

ValidateEmailData line 244

  1. 251callsCodeunit 8905 Email Message Impl. ValidateRecipients
  2. 254callsVerifyRelatedRecords
  3. 254callsCodeunit 8905 Email Message Impl. GetId
  4. 256callsCodeunit 8905 Email Message Impl. GetSubject

SendOutbox line 262

  1. 267callsCodeunit 8904 Email Message Get
  2. 269callsCodeunit 8900 Email Impl Send

DiscardEmail line 273

  1. 279writesTable 8888 Email Outbox Delete(true)

AttachFromRelatedRecords line 282

  1. 289callsPage 8890 Email Related Attachments SetMessageID
  2. 293callsPage 8890 Email Related Attachments GetSelectedAttachments
  3. 296callsCodeunit 8901 Email OnGetAttachment

LoadWordTemplate line 344

  1. 352callsFindEmailSourceEntities
  2. 353callsGetPrimarySourceEntity
  3. 356callsPage 9999 Word Template To Text Wizard SetData
  4. 359callsPage 9999 Word Template To Text Wizard WasDialogCompleted
  5. 365callsCodeunit 8905 Email Message Impl. GetSubject
  6. 366callsCodeunit 8905 Email Message Impl. SetSubject
  7. 368callsCodeunit 8905 Email Message Impl. SetBody
  8. 368callsPage 9999 Word Template To Text Wizard GetDocumentAsText
  9. 369callsCodeunit 8905 Email Message Impl. Modify
  10. 370callsPage 9999 Word Template To Text Wizard GetDocumentSize

AttachFromWordTemplate line 377

  1. 387callsFindEmailSourceEntities
  2. 388callsPage 9996 Word Template Selection Wizard SetData
  3. 389callsPage 9996 Word Template Selection Wizard SaveAsDocumentStream
  4. 392callsPage 9996 Word Template Selection Wizard WasDialogCompleted
  5. 398callsPage 9996 Word Template Selection Wizard GetDocumentStream
  6. 400callsPage 9996 Word Template Selection Wizard GetDocumentFormat
  7. 401callsCodeunit 8905 Email Message Impl. GetContentTypeFromFilename
  8. 402callsCodeunit 8905 Email Message Impl. AddAttachmentInternal

GetRelatedAttachments line 409

  1. 413callsCodeunit 8905 Email Message Impl. GetRelatedAttachments

LookupRecipients line 417

  1. 430callsCodeunit 8945 Email Address Lookup OnGetSuggestedAddresses
  2. 435callsPage 8944 Email Address Lookup AddSuggestions
  3. 436writesTable 8944 Email Address Lookup DeleteAll
  4. 439callsPage 8944 Email Address Lookup SetEntityType
  5. 440callsPage 8944 Email Address Lookup WasFullAddressLookup
  6. 441callsPage 8944 Email Address Lookup GetSelectedSuggestions
  7. 446callsCodeunit 8945 Email Address Lookup GetSelectedSuggestionsAsText
  8. 449callsAddRelatedRecordsFromEmailAddress

VerifyRelatedRecords line 456

  1. 471callsCodeunit 8904 Email Message Get
  2. 472callsRemoveFromCacheIfExists
  3. 473callsRemoveFromCacheIfExists
  4. 474callsRemoveFromCacheIfExists
  5. 480writesTable 8909 Email Related Record Delete

RemoveFromCacheIfExists line 488, internal

  1. 493callsCodeunit 8904 Email Message GetRecipients

PopulateRelatedRecordCache line 499, internal

  1. 511callsCodeunit 8945 Email Address Lookup OnGetSuggestedAddresses

AddRelatedRecordsFromEmailAddress line 517, internal

  1. 525callsCodeunit 8904 Email Message Get
  2. 526callsCodeunit 8901 Email HasRelations
  3. 536callsCodeunit 8901 Email AddRelation
  4. 539callsCodeunit 8904 Email Message GetId