Generate the Message and Subject (if applicable) portion of each Message Recipient.

This does exactly the same as Generate Messages unless the Document has a Script in which case the Script is called to Generate Messages.

Syntax

finMessageRecipients.GenerateMessagesFromDocument(documentId, parameters, message, dateAsAt, [subject], [recipientIndexForPreview])

Parameters

NameTypeOptionalByRefDescription
documentId String The Document Id.
parameters ISParameters
message String The Message text.
dateAsAt Date The Date As At for resolving tags such as Account Balance and Overdue.
subject String Optional The Subject text (only relevant for Emails).
recipientIndexForPreview Integer Optional If omitted, a value of -1 is assumed.

Return Value

Boolean

A Boolean value indicating success.

Member of:
finMessageRecipients
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0