Codeunit 5069 "Word Template Interactions"
Base Application · Microsoft.CRM.Interaction
Across versions
- BC23-30present
Neighbourhood 10 connected objects and pages
Base Application · Microsoft.CRM.Interaction · BC23-30 · source at ea08af5e · facts from BC29
Events published
OnBeforeCreateInteractionWordTemplate(var WordTemplateCreationWizard: Page "Word Template Creation Wizard")(integration)OnGetDataSourceOnBeforeRestoreGlobalLanguage(var DataSource: Dictionary of [Text, Text]; var InteractLogEntry: Record "Interaction Log Entry"; var SegLine: Record "Segment Line")(integration)OnBeforeSendMergedDocument(MergedDocumentInStream: InStream; TempDeliverySorter: Record "Delivery Sorter"; ToAddress: Text; InteractionLogEntry: Record "Interaction Log Entry"; var IsHandled: Boolean)(integration)OnExecuteMergeOnBeforeMergeWordTemplates(TempDeliverySorter: Record "Delivery Sorter" temporary; InteractLogEntry: Record "Interaction Log Entry"; var SaveFormat: Enum "Word Templates Save Format")(integration)OnExecuteMergeOnAfterGetInteractLogEntry(InteractionLogEntry: Record "Interaction Log Entry")(integration)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)(integration)OnExecuteMergeOnBeforeInteractionMergeDataInsert(var InteractionMergeData: Record "Interaction Merge Data"; var InteractionLogEntry: Record "Interaction Log Entry")(integration)
Procedures
Merge(var TempDeliverySorterWord: Record "Delivery Sorter" temporary)RunMergedDocument(var SegLine: Record "Segment Line"; var Attachment: Record Attachment): Download a merged Word template for a given segment line and attachment.IsWordDocumentExtension(FileExtension: Text): Boolean: Checks if the provided file extension is a Word document extension.
Plus 13 local procedures.
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 419 “File Management” (7 calls:
ExecuteMerge → DeleteServerFile,ExecuteMerge → ServerTempFileName,Merge → DownloadFromStreamHandler, …) - Codeunit 9987 “Word Template” (6 calls:
ExecuteMerge → GetDocument,ExecuteMerge → Load,ExecuteMerge → Merge, …) - Codeunit 4100 “Temp Blob” (4 calls:
Merge → CreateInStream,Merge → CreateOutStream,SendMergedDocument → CreateInStream, …) - Codeunit 425 “Data Compression” (4 calls:
EnableZipArchive → CreateZipArchive,Merge → CloseZipArchive,Merge → SaveZipArchive, …) - Codeunit 3960 “Regex” (2 calls:
GetAllValuesFromHtmlTable → Groups,GetAllValuesFromHtmlTable → Match) - Codeunit 5052 “AttachmentManagement” (2 calls:
GetMailToAddress → InteractionEMail,GetMergeSourceText → InteractionEMail) - Codeunit 10 “Type Helper” (1 call:
GetContactAltAddresses → NewLine) - Codeunit 260 “Document-Mailing” (1 call:
SendMergedDocument → EmailFile) - Codeunit 365 “Format Address” (1 call:
GetContactAltAddresses → ContactAddrAlt)
Called by
- Codeunit 5052 “AttachmentManagement” (3 calls:
ProcessDeliverySorter → IsWordDocumentExtension,Send → Merge,SendUsingExchange → Merge) - Table 5062 “Attachment” (2 calls:
ShowAttachment → IsWordDocumentExtension,ShowAttachment → RunMergedDocument)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Word Template Interactions"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.