This does exactly the same as Generate Messages unless the Document has a Script in which case the Script is called to Generate Messages.
| Name | Type | Optional | ByRef | Description |
|---|---|---|---|---|
| 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. |
A Boolean value indicating success.