EmailAPurchaseOrder
Emails a purchase order to the customer.
Input
| Name | Type | Required | Description |
| Id | String | True | Id of PurchaseOrder |
| SendFromOrgEmailId | Boolean | False | Boolean to trigger the email from the organization's email address |
| FromAddressId | Long | False | Id of 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 CCd. |
| BCcMailIds | String | False | Array of email address 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 | Id of the Documents |
| PurchaseOrderNumber | String | False | The PurchaseOrder Number associated with the Id. This value is required if AttachPurchaseOrderAsPdf is true |
| AttachPurchaseOrderAsPdf | Boolean | False | Boolean value denoting if purchase order pdf should be attached or not in the mail. |
| Attachments | String | False | Files to be attached to the email |
| 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 |