Codeunit 5052 AttachmentManagement
src/Layers/W1/BaseApp/CRM/Interaction/AttachmentManagement.Codeunit.al25 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
InsertAttachment line 35
- 48writesTable 5062 Attachment Insert(true)
- 51raisesOnInsertAttachmentOnAfterAttachmentInsertedIsHandled
- 57callsTransferAttachment
Send line 63
- 72raisesOnBeforeSendIsHandled
- 75callsProcessDeliverySorter
- 78callsCodeunit 5069 Word Template Interactions Merge
- 81callsDeliverHTMLEmail
- 84callsDeliverEmailWithAttachment
- 86raisesOnAfterSend
SendUsingExchange line 92
TransferAttachment line 114, local
- 124callsTable 5062 Attachment ConstDiskFileName
- 125callsTable 5062 Attachment ExportAttachmentToServerFile
- 130writesTable 5062 Attachment Modify
- 140writesTable 5062 Attachment Modify
- 141callsTable 5062 Attachment ConstDiskFileName
- 141callsTable 5062 Attachment ConstDiskFileName
- 148callsTable 5062 Attachment ImportAttachmentFromServerFile
- 148callsTable 5062 Attachment ConstDiskFileName
- 151writesTable 5062 Attachment Modify
InteractionEMail line 155
- 161raisesOnBeforeInteractionEMailIsHandled
GenerateHTMLContent line 178
- 180callsTable 5062 Attachment IsHTML
- 183callsTable 5062 Attachment IsHTMLReady
- 186callsGenerateHTMLReadyAttachmentFromCustomLayout
LoadHTMLContent line 190
- 192callsTable 5062 Attachment IsHTML
- 195callsTable 5062 Attachment IsHTMLReady
- 196callsTable 5062 Attachment Read
- 198callsLoadHTMLContentFromCustomLayoutAttachment
LoadHTMLContentFromCustomLayoutAttachment line 201, local
- 207callsGenerateHTMLReadyContentFromCustomLayoutAttachment
- 212callsTable 5062 Attachment ImportAttachmentFromServerFile
- 214writesTable 5062 Attachment Insert
- 215callsTable 5062 Attachment Read
- 216callsTable 5062 Attachment RemoveAttachment
GenerateHTMLReadyAttachmentFromCustomLayout line 219, local
- 223callsGenerateHTMLReadyContentFromCustomLayoutAttachment
- 227writesTable 5062 Attachment Delete
- 229callsTable 5062 Attachment ImportAttachmentFromServerFile
- 231writesTable 5062 Attachment Insert
GenerateHTMLReadyContentFromCustomLayoutAttachment line 236, local
- 246callsCodeunit 419 File Management ServerTempFileName
- 250callsTable 5062 Attachment ReadHTMLCustomLayoutAttachment
- 252callsTable 9651 Report Layout Selection SetTempLayoutSelectedName
- 254callsTable 9651 Report Layout Selection SetTempLayoutSelected
- 255callsReport 5084 Email Merge InitializeRequest
- 256callsReport 5084 Email Merge SaveAsHtml
- 257callsTable 9651 Report Layout Selection ClearTempLayoutSelected
InitializeExchange line 260, local
InitializeExchangeWithToken line 271, local
- 277callsCodeunit 6300 Azure AD Mgt. GetAccessTokenAsSecretText
- 277callsCodeunit 6300 Azure AD Mgt. GetO365Resource
- 277callsCodeunit 6300 Azure AD Mgt. GetO365ResourceName
- 280callsCodeunit 5321 Exchange Web Services Server InitializeWithOAuthToken
- 280callsCodeunit 5321 Exchange Web Services Server GetEndpoint
- 286callsCodeunit 5321 Exchange Web Services Server InitializeWithCertificate
- 291callsCodeunit 5321 Exchange Web Services Server SetImpersonatedIdentity
DeliverHTMLEmail line 302, local
- 308raisesOnBeforeDeliverHTMLEmailIsHandled
- 317callsGetAttachment
- 319callsTable 5062 Attachment ExportAttachmentToTempBlob
- 321raisesOnDeliverHTMLEmailOnBeforeSendEmail
- 323raisesOnDeliverHTMLEmailOnBeforeSendEmail
- 326callsSendHTMLEmail
- 328callsSetDeliveryState
DeliverHTMLEmailViaExchange line 332, local
- 343callsGetAttachment
- 344callsCodeunit 419 File Management ServerTempFileName
- 345callsTable 5062 Attachment ExportAttachmentToServerFile
- 348callsSendHTMLEmailViaExchange
- 351callsCodeunit 419 File Management DeleteServerFile
- 353callsSetDeliveryState
DeliverEmailWithAttachment line 357, local
- 364raisesOnBeforeDeliverEmailWithAttachmentIsHandled
- 372callsGetAttachment
- 374callsTable 5062 Attachment ExportAttachmentToTempBlob
- 376callsPrepareDummyEmailBody
- 378raisesOnDeliverEmailWithAttachmentOnBeforeSendEmail
- 380raisesOnDeliverEmailWithAttachmentOnBeforeSendEmail
- 382callsSendEmailWithAttachment
- 384callsSetDeliveryState
DeliverEmailWithAttachmentViaExchange line 388, local
- 412callsPrepareServerAttachment
- 417callsSendEmailWithAttachmentViaExchange
- 420callsCodeunit 419 File Management DeleteServerFile
- 422callsSetDeliveryState
SendHTMLEmail line 429, local
- 439callsCodeunit 4100 Temp Blob CreateInStream
- 451callsCodeunit 260 Document-Mailing EmailFile
- 453callsInteractionEMail
- 455callsSetDeliveryState
SendHTMLEmailViaExchange line 458, local
- 463callsCodeunit 5321 Exchange Web Services Server SendEmailMessageWithAttachment
- 464callsInteractionEMail
- 465callsTable 5062 Attachment Read
- 465callsGetSenderSalesPersonEmail
- 467callsSetDeliveryState
SendEmailWithAttachment line 470, local
- 479callsCodeunit 4100 Temp Blob HasValue
- 480callsCodeunit 4100 Temp Blob CreateInStream
- 492callsCodeunit 260 Document-Mailing EmailFile
- 493callsGetAttachmentFileDefaultName
- 494callsInteractionEMail
- 496callsSetDeliveryState
SendEmailWithAttachmentViaExchange line 499, local
- 504callsCodeunit 5321 Exchange Web Services Server SendEmailMessageWithAttachment
- 505callsInteractionEMail
- 506callsGetSenderSalesPersonEmail
- 507callsSetDeliveryState
PrepareServerAttachment line 510, local
- 517callsGetAttachment
- 518callsCodeunit 419 File Management ServerTempFileName
- 519callsTable 5062 Attachment ExportAttachmentToServerFile
- 520callsCodeunit 419 File Management CombinePath
- 521callsCodeunit 419 File Management GetDirectoryName
- 522callsCodeunit 419 File Management CopyServerFile
- 523callsCodeunit 419 File Management DeleteServerFile
SetDeliveryState line 527, local
ProcessDeliverySorter line 539, local
- 549raisesOnBeforeProcessDeliverySorterIsHandled
- 572writesTable 5074 Delivery Sorter Insert
- 577raisesOnProcessDeliverySorterHtml
- 578writesTable 5074 Delivery Sorter Insert
- 580callsCodeunit 5069 Word Template Interactions IsWordDocumentExtension
- 583raisesOnProcessDeliverySorterWord
- 584writesTable 5074 Delivery Sorter Insert
- 588raisesOnProcessDeliverySorterOther
- 589writesTable 5074 Delivery Sorter Insert
PrepareDummyEmailBody line 607, local
- 612callsCodeunit 4100 Temp Blob CreateOutStream
ConvertCorrespondenceType line 624
- 634raisesOnConvertCorrespondenceTypeElseIsHandled