AddAttachment
Attaches a file to salesorder, invoice, purchaseorder etc.
Input
Name | Type | Required | Accepts Input Streams | Description |
EntityId | String | True | False | Id of categories like Invoices, Purchase Orders, Bills, SalesOrders. |
EntityName | String | True | False | Name of Entity
The allowed values are invoices, purchaseorders, bills, salesorders, journals. |
Attachments | String | False | False | Allowed Extensions: gif, png, jpeg, jpg, bmp, pdf, xls, xlsx, doc and docx. |
DocumentIds | String | False | False | Ids of the documents. |
CanSendInMail | Boolean | False | False | Boolean to decide if the document should be send in mail or not. |
Content | String | False | True | The content as InputStream to be uploaded when LocalFilePath or FolderPath is not specified. |
FileName | String | False | False | Attachment name. This is required when content is not null. |
Result Set Columns
Name | Type | Description |
Status | String | Stored procedure execution status. |