Codeunit 5069 Word Template Interactions

Base Application, Microsoft.CRM.Interaction

src/Layers/W1/BaseApp/CRM/Interaction/WordTemplateInteractions.Codeunit.al13 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

Merge line 27

  1. 67callsEnableZipArchive
  2. 75callsExecuteMerge
  3. 76writesTable 5074 Delivery Sorter DeleteAll
  4. 80writesTable 5074 Delivery Sorter Insert
  5. 90callsExecuteMerge
  6. 92callsIsZipArchive
  7. 93callsCodeunit 4100 Temp Blob CreateOutStream
  8. 94callsCodeunit 425 Data Compression SaveZipArchive
  9. 95callsCodeunit 425 Data Compression CloseZipArchive
  10. 96callsCodeunit 4100 Temp Blob CreateInStream
  11. 101callsCodeunit 419 File Management DownloadFromStreamHandler

ExecuteMerge line 106, local

  1. 140raisesOnExecuteMergeOnBeforeInteractionMergeDataInsert
  2. 141writesTable 5106 Interaction Merge Data Insert
  3. 143callsGetMailToAddress
  4. 150callsCodeunit 9987 Word Template Load
  5. 152callsCodeunit 9987 Word Template Load
  6. 155raisesOnExecuteMergeOnBeforeMergeWordTemplates
  7. 157callsCodeunit 9987 Word Template Merge
  8. 158callsCodeunit 9987 Word Template GetDocument
  9. 159callsSendMergedDocument
  10. 160writesTable 5106 Interaction Merge Data Delete
  11. 170callsCodeunit 9987 Word Template Load
  12. 172callsCodeunit 9987 Word Template Load
  13. 175callsCodeunit 9987 Word Template Merge
  14. 177callsCodeunit 9987 Word Template Merge
  15. 178callsCodeunit 9987 Word Template GetDocument
  16. 185callsCodeunit 9987 Word Template Load
  17. 186callsCodeunit 9987 Word Template Merge
  18. 187callsCodeunit 9987 Word Template GetDocument
  19. 190callsSendMergedDocument
  20. 191writesTable 5106 Interaction Merge Data Delete
  21. 203callsCodeunit 419 File Management ServerTempFileName
  22. 206callsIsWordDocumentExtension
  23. 209callsTable 5062 Attachment ExportAttachmentToServerFile
  24. 218raisesOnExecuteMergeOnAfterGetInteractLogEntry
  25. 220callsGetMergeSourceText
  26. 221callsGetDataSource
  27. 222callsGetMergedDocumentStream
  28. 223callsSendMergedDocument
  29. 229callsIsZipArchive
  30. 230callsEnableZipArchive
  31. 234callsGetMailToAddress
  32. 235callsGetDataSource
  33. 236callsGetMergedDocumentStream
  34. 237callsSendMergedDocument
  35. 243callsCodeunit 419 File Management DeleteServerFile
  36. 252writesTable 5065 Interaction Log Entry Modify

GetMailToAddress line 258, local

  1. 263callsCodeunit 5052 AttachmentManagement InteractionEMail

SendMergedDocument line 269, local

  1. 286raisesOnBeforeSendMergedDocumentIsHandled
  2. 306callsTable 5062 Attachment SetAttachmentFileFromStream
  3. 318callsCodeunit 260 Document-Mailing EmailFile
  4. 320callsCodeunit 4100 Temp Blob CreateOutStream
  5. 324callsCodeunit 4100 Temp Blob CreateInStream
  6. 325callsCodeunit 260 Document-Mailing EmailFile
  7. 327writesTable 5062 Attachment Insert(true)
  8. 330writesTable 5065 Interaction Log Entry Modify
  9. 335callsTable 5062 Attachment SetAttachmentFileFromStream
  10. 337writesTable 5062 Attachment Insert(true)
  11. 340writesTable 5065 Interaction Log Entry Modify
  12. 342callsIsZipArchive
  13. 345callsCodeunit 419 File Management GetSafeFileName
  14. 347callsCodeunit 419 File Management GetSafeFileName
  15. 348callsCodeunit 425 Data Compression AddEntry
  16. 353callsCodeunit 419 File Management GetSafeFileName
  17. 355callsCodeunit 419 File Management DownloadFromStreamHandler

GetMergedDocumentStream line 362, local

  1. 369callsGetMergedDocument
  2. 371callsGetMergedDocument

RunMergedDocument line 380

  1. 388callsIsWordDocumentExtension
  2. 391callsCodeunit 419 File Management ServerTempFileName
  3. 393callsTable 5062 Attachment ExportAttachmentToServerFile
  4. 398callsGetMergeSourceText
  5. 399callsGetDataSource
  6. 401callsGetDataSource
  7. 404callsGetMergedDocument
  8. 405callsCodeunit 419 File Management DeleteServerFile

GetMergedDocument line 408, local

  1. 416callsCodeunit 9987 Word Template Load
  2. 419callsCodeunit 9987 Word Template Merge
  3. 420callsCodeunit 9987 Word Template GetDocument

GetMergeSourceText line 434, local

  1. 474callsCodeunit 5052 AttachmentManagement InteractionEMail

GetDataSource line 483, local

  1. 491callsGetAllValuesFromHtmlTable

GetAllValuesFromHtmlTable line 505, local

  1. 514callsCodeunit 3960 Regex Match
  2. 516callsCodeunit 3960 Regex Groups
  3. 518callsTable 3964 Groups ReadValue

GetDataSource line 523, local

  1. 543callsInitMergeFields
  2. 552callsCodeunit 43 Language GetLanguageIdOrDefault
  3. 567raisesOnGetDataSourceOnBeforeAddDataSourcesIsHandled
  4. 570callsGetContactAltAddresses
  5. 588callsTable 5050 Contact GetSalutation
  6. 589callsTable 5050 Contact GetSalutation
  7. 628raisesOnGetDataSourceOnBeforeRestoreGlobalLanguage

GetContactAltAddresses line 655, local

  1. 663callsCodeunit 365 Format Address ContactAddrAlt
  2. 666callsCodeunit 10 Type Helper NewLine
  3. 668callsCodeunit 10 Type Helper NewLine

EnableZipArchive line 676, local

  1. 679callsCodeunit 425 Data Compression CreateZipArchive