Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

Codeunit 5054, Merge Email, Extra Attachment.

$
0
0
In Codeunit 5054 Function Execute Merge is it possible to sometimes add an extra attachment to the sent email as well the merged document. e.g., I might want to sent an extra map.pdf to some lines on a segment.
(The Cal Symbol Menu doesn't show the full list of properties of WordDoc.MilMerge.xxx so I can't see if there is an obvious way to do it.)
WordDocument.MailMerge.Destination := 2;
WordDocument.MailMerge.MailAddressFieldName := Text015;
WordDocument.MailMerge.MailSubject := TempDeliverySorter.Subject;
WordDocument.MailMerge.MailAsAttachment :=
WordDocument.MailMerge.MailAsAttachment OR TempDeliverySorter."Send Word Docs. as Attmt.";
WordHelper.CallMailMergeExecute(WordDocument);

Viewing all articles
Browse latest Browse all 10032

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>