EmailASalesOrder
Email a sales order to the customer. Input json string is not mandatory. If input json string is empty, mail will be send with default mail content.
Input
Name | Type | Required | Description |
Id | String | True | Id of SalesOrder |
FromContactId | String | False | From Address of the Email Address |
ToMailIds | String | True | Array of email addresses of the recipients. |
CcMailIds | String | False | Array of email addresses of the recipients to be CC ed. |
BCcMailIds | String | False | Array of email addresses of the recipients to be BCC ed. |
Subject | String | True | Subject of an email that has to be sent. |
Body | String | True | Body/content of the email to be sent |
MailDocumentsDocumentId | String | False | Document Ids of the Sales Order |
SalesOrderNumber | String | False | The SalesOrder Number associated with the Id. This value is required if AttachSalesOrderAsPdf is true |
AttachSalesOrderAsPdf | Boolean | False | Boolean value denoting if invoice pdf should be attached or not in the mail. |
Attachments | String | False | Files to be attached to the email |
SendAttachment | Boolean | False | Boolean value denoting if invoice pdf should be attached or not in the mail. |
FileName | String | False | Attachment name. This is required when content is not null. |
Result Set Columns
Name | Type | Description |
Status | String | Execution status of the stored procedure |