PrintedSalesOrders
Prints or sends a sales order document.
Input
| Name | Type | Description |
| OrderID | String | Reference to OrderID of SalesOrder. |
| DocumentLayout | String | Based on this layout a PDF is created and attached to an Exact Online document and an email. |
| EmailLayout | String | Based on this layout the email text is produced. |
| ExtraText | String | Extra text that can be added to the printed document and email. |
| SendEmailToCustomer | Boolean | Set to True if an email containing the order should be sent to the customer. This option overrules SendOrderToCustomerPostbox. |
| SenderEmailAddress | String | Email address of the sender. |
Result Set Columns
| Name | Type | Description |
| OrderID | String | Reference to OrderID of SalesOrder. |
| Division | Integer | Division code. |
| Document | String | Contains the ID of the document that was created. |
| DocumentCreationError | String | Contains the error message if an error occurred during the creation of the document. |
| DocumentCreationSuccess | String | Contains information if a document was successfully created. |
| DocumentLayout | String | Based on this layout a PDF is created and attached to an Exact Online document and an email. |
| EmailCreationError | String | Contains the error message if an error occurred during the creation of the email. |
| EmailCreationSuccess | String | Contains confirmation that an email was sent. |
| EmailLayout | String | Based on this layout the email text is produced. |
| ExtraText | String | Extra text that can be added to the printed document and email. |
| SendEmailToCustomer | Boolean | Set to True if an email containing the order should be sent to the customer. |
| SenderEmailAddress | String | Email address of the sender. |