Codeunit 260 Document-Mailing

Base Application, System.EMail

src/Layers/W1/BaseApp/DocumentMailing.Codeunit.al32 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnRun line 23, trigger

  1. 27callsTable 77 Report Selections SendEmailInBackground

EnqueueEmailFile line 39, internal

  1. 44callsTable 9500 Email Item SetSourceDocuments
  2. 45callsTable 9500 Email Item AddAttachment
  3. 46callsEmailFileInternal

EmailFile line 65

  1. 71callsCodeunit 419 File Management BLOBImportFromServerFile

EmailFile line 76

  1. 81callsTable 9500 Email Item AddAttachment
  2. 83callsEmailFileInternal

EmailFile line 100

  1. 106callsCodeunit 419 File Management BLOBImportFromServerFile

EmailFile line 111

  1. 115raisesOnBeforeEmailFile
  2. 116callsTable 9500 Email Item AddAttachment
  3. 117callsEmailFileInternal

EmailFile line 134

  1. 140callsCodeunit 419 File Management BLOBImportFromServerFile

EmailFile line 145

  1. 150callsTable 9500 Email Item AddSourceDocument
  2. 153callsTable 9500 Email Item AddAttachment
  3. 154callsEmailFileInternal

EmailFile line 171

  1. 177callsCodeunit 419 File Management BLOBImportFromServerFile

EmailFile line 182

  1. 186callsTable 9500 Email Item SetSourceDocuments
  2. 187callsTable 9500 Email Item AddAttachment
  3. 189callsEmailFileInternal

EmailFile line 206

  1. 212callsCodeunit 419 File Management BLOBImportFromServerFile

EmailFile line 217

  1. 222callsTable 9500 Email Item AddSourceDocument
  2. 225callsTable 9500 Email Item AddAttachment
  3. 226callsEmailFileInternal

EmailFile line 241

  1. 247callsTable 9500 Email Item SetSourceDocuments
  2. 248callsTable 9500 Email Item AddAttachment
  3. 250callsCodeunit 4100 Temp Blob CreateOutStream
  4. 253callsEmailFileInternal

EmailFile line 270

  1. 276callsCodeunit 419 File Management BLOBImportFromServerFile

EmailFile line 281

  1. 285callsTable 9500 Email Item SetSourceDocuments
  2. 286callsTable 9500 Email Item AddAttachment
  3. 288callsEmailFileInternal

EmailFile line 303

  1. 307callsTable 9500 Email Item SetSourceDocuments
  2. 308callsTable 9500 Email Item AddAttachment
  3. 310callsEmailFileInternal

EmailFile line 326

  1. 332callsTable 9500 Email Item SetSourceDocuments
  2. 333callsTable 9500 Email Item AddAttachment
  3. 335callsCodeunit 4100 Temp Blob CreateOutStream
  4. 338callsEmailFileInternal

EmailFileWithSubjectAndReportUsage line 355

  1. 361callsCodeunit 419 File Management BLOBImportFromServerFile

EmailFileWithSubjectAndReportUsage line 366

  1. 370callsTable 9500 Email Item AddAttachment
  2. 371callsEmailFileInternal

EmailFileWithSubjectAndReportUsage line 388

  1. 394callsCodeunit 419 File Management BLOBImportFromServerFile

EmailFileWithSubjectAndReportUsage line 399

  1. 403callsTable 9500 Email Item AddAttachment
  2. 406callsTable 9500 Email Item AddSourceDocument
  3. 409callsEmailFileInternal

EmailFileWithSubjectAndReportUsage line 426

  1. 432callsCodeunit 419 File Management BLOBImportFromServerFile

EmailFileWithSubjectAndReportUsage line 436

  1. 440callsTable 9500 Email Item AddAttachment
  2. 441callsTable 9500 Email Item SetSourceDocuments
  3. 443callsEmailFileInternal

GetToAddressFromCustomer line 458

  1. 465raisesOnBeforeGetToAddressFromCustomerIsHandled

GetToAddressFromVendor line 475

  1. 482raisesOnBeforeGetToAddressFromVendorIsHandled

GetAttachmentFileName line 492

  1. 494raisesOnBeforeGetAttachmentFileName
  2. 498callsIsPurchaseReportUsage
  3. 501callsIsSalesReportUsage
  4. 508raisesOnAfterGetAttachmentFileName

GetEmailBody line 569

  1. 577callsTable 9510 Email Parameter GetParameterWithReportUsage
  2. 580callsTable 9510 Email Parameter GetParameterValue

GetEmailSubject line 597

  1. 604raisesOnBeforeGetEmailSubjectIsHandled
  2. 608callsTable 9510 Email Parameter GetParameterWithReportUsage
  3. 609callsTable 9510 Email Parameter GetParameterValue
  4. 618raisesOnAfterGetEmailSubject

EmailFileInternal line 622, local

  1. 643callsCodeunit 4100 Temp Blob HasValue
  2. 644callsCodeunit 419 File Management TempBlobToServerFile
  3. 645raisesOnBeforeEmailFileInternalIsHandled
  4. 650callsCodeunit 419 File Management BLOBImportFromServerFile
  5. 651callsCodeunit 419 File Management DeleteServerFile
  6. 655raisesOnBeforeEmailItemPreparationIsHandled
  7. 661callsTable 9500 Email Item GetAttachments
  8. 664callsCodeunit 4102 Temp Blob List Count
  9. 666callsGetAttachmentFileName
  10. 670callsGetEmailSubject
  11. 671callsIsSalesDocumentReportUsage
  12. 672callsTable 9500 Email Item AttachIncomingDocuments
  13. 677callsCodeunit 4100 Temp Blob HasValue
  14. 678callsTable 9500 Email Item SetBody
  15. 679validatesTable 9500 Email Item Message Type
  16. 683raisesOnBeforeSendEmailIsHandled
  17. 685raisesOnAfterEmailSent
  18. 689callsCodeunit 1630 Office Management AttachAvailable
  19. 689callsCodeunit 4102 Temp Blob List Count
  20. 690callsCodeunit 4102 Temp Blob List Get
  21. 691callsCodeunit 4100 Temp Blob CreateInStream
  22. 692callsCodeunit 1630 Office Management AttachDocument
  23. 692callsTable 9500 Email Item GetBodyText
  24. 694callsCodeunit 1630 Office Management AttachAvailable
  25. 695callsCodeunit 1630 Office Management AttachDocument
  26. 695callsTable 9500 Email Item GetBodyText
  27. 697callsCodeunit 1630 Office Management AttachAvailable
  28. 699callsCodeunit 8891 Email Scenario Mapping FromReportSelectionUsage
  29. 700callsTable 9500 Email Item Send
  30. 702raisesOnAfterEmailSentSuccesfully
  31. 704raisesOnAfterEmailSent

EmailFileFromStream line 733

  1. 738callsTable 9500 Email Item AddAttachment
  2. 739validatesTable 9500 Email Item Plaintext Formatted
  3. 740callsTable 9500 Email Item SetBodyText
  4. 742callsEmailFileInternal

EmailHtmlFromStream line 757

  1. 763callsCodeunit 4100 Temp Blob CreateOutStream
  2. 765callsEmailFileInternal

EmailFileAndHtmlFromStream line 785

  1. 791callsTable 9500 Email Item AddAttachment
  2. 792callsCodeunit 4100 Temp Blob CreateOutStream
  3. 794callsEmailFileInternal