Source AL, 742 lines
src/Layers/W1/BaseApp/CRM/Interaction/WordTemplateInteractions.Codeunit.allines 20 to 35 of 742, Copyright (c) Microsoft Corporation. MIT
codeunit 5069 "Word Template Interactions"{ /// <summary> /// Performs mail merge on the Word templates from the attachments specified by TempDeliverySorterWord /// and sends them according to the correspondence Type. /// </summary> /// <param name="TempDeliverySorterWord">A temporary table containing information about attachments and their recipients.</param> procedure Merge(var TempDeliverySorterWord: Record "Delivery Sorter" temporary) var TempDeliverySorterBuffer: Record "Delivery Sorter" temporary; InteractionLogEntry: Record "Interaction Log Entry"; ZipTempBlob: Codeunit "Temp Blob"; LastAttachmentNo: Integer; LastCorrType: Enum "Correspondence Type"; LastSubject: Text[100]; ZipFileName: Text;
All 742 lines
Events 7 in 29
| [IntegrationEvent] OnBeforeCreateInteractionWordTemplate(var WordTemplateCreationWizard: Page "Word Template Creation Wizard") | new in 18 |
| [IntegrationEvent] OnGetDataSourceOnBeforeRestoreGlobalLanguage(var DataSource: Dictionary of [Text, Text]; var InteractLogEntry: Record "Interaction Log Entry"; var SegLine: Record "Segment Line") | new in 19 |
| [IntegrationEvent] OnBeforeSendMergedDocument(MergedDocumentInStream: InStream; TempDeliverySorter: Record "Delivery Sorter"; ToAddress: Text; InteractionLogEntry: Record "Interaction Log Entry"; var IsHandled: Boolean) | new in 20 |
| [IntegrationEvent] OnExecuteMergeOnBeforeMergeWordTemplates(TempDeliverySorter: Record "Delivery Sorter" temporary; InteractLogEntry: Record "Interaction Log Entry"; var SaveFormat: Enum "Word Templates Save Format") | new in 20 |
| [IntegrationEvent] OnExecuteMergeOnAfterGetInteractLogEntry(InteractionLogEntry: Record "Interaction Log Entry") | new in 23 |
| [IntegrationEvent] OnGetDataSourceOnBeforeAddDataSources(var DataSource: Dictionary of [Text, Text]; var InteractionLogEntry: Record "Interaction Log Entry"; var Contact: Record Contact; var SalespersonPurchaser: Record "Salesperson/Purchaser"; var CountryRegion: Record "Country/Region"; LineNo: Text; ContactAltAddressCode: Code[10]; LanguageCode: Code[10]; ActiveDate: Date; var IsHandled: Boolean) | new in 23 |
| [IntegrationEvent] OnExecuteMergeOnBeforeInteractionMergeDataInsert(var InteractionMergeData: Record "Interaction Merge Data"; var InteractionLogEntry: Record "Interaction Log Entry") | new in 23 |
Public procedures 3 in 29
| Merge(var TempDeliverySorterWord: Record "Delivery Sorter" temporary) | new in 18 |
| RunMergedDocument(var SegLine: Record "Segment Line"; var Attachment: Record Attachment) | new in 18 |
| IsWordDocumentExtension(FileExtension: Text): Boolean | new in 18 |
Changes 3 in 23
| [IntegrationEvent] OnExecuteMergeOnAfterGetInteractLogEntry(InteractionLogEntry: Record "Interaction Log Entry") | new in 23 |
| added |
| [IntegrationEvent] OnGetDataSourceOnBeforeAddDataSources(var DataSource: Dictionary of [Text, Text]; var InteractionLogEntry: Record "Interaction Log Entry"; var Contact: Record Contact; var SalespersonPurchaser: Record "Salesperson/Purchaser"; var CountryRegion: Record "Country/Region"; LineNo: Text; ContactAltAddressCode: Code[10]; LanguageCode: Code[10]; ActiveDate: Date; var IsHandled: Boolean) | new in 23 |
| added |
| [IntegrationEvent] OnExecuteMergeOnBeforeInteractionMergeDataInsert(var InteractionMergeData: Record "Interaction Merge Data"; var InteractionLogEntry: Record "Interaction Log Entry") | new in 23 |
| added |
All 6 changes in 18-29