Performs mail merge on the Word templates from the attachments specified by TempDeliverySorterWord
and sends them according to the correspondence Type.
procedure Merge(var TempDeliverySorterWord: Record "Delivery Sorter" temporary)
[IntegrationEvent(False,False)]
local procedure OnGetDataSourceOnBeforeRestoreGlobalLanguage(var DataSource: Dictionary of [Text, Text], var InteractLogEntry: Record "Interaction Log Entry", var SegLine: Record "Segment Line")
[IntegrationEvent(False,False)]
local procedure OnBeforeSendMergedDocument(MergedDocumentInStream: InStream, TempDeliverySorter: Record "Delivery Sorter", ToAddress: Text, InteractionLogEntry: Record "Interaction Log Entry", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnExecuteMergeOnBeforeMergeWordTemplates(TempDeliverySorter: Record "Delivery Sorter" temporary, InteractLogEntry: Record "Interaction Log Entry", var SaveFormat: Enum "Word Templates Save Format")
[IntegrationEvent(False,False)]
local procedure 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)
[IntegrationEvent(False,False)]
local procedure OnExecuteMergeOnBeforeInteractionMergeDataInsert(var InteractionMergeData: Record "Interaction Merge Data", var InteractionLogEntry: Record "Interaction Log Entry")