DownloadAttachment
Returns the file attached to the invoice.
Stored Procedures Specific Information
Process of Download Attachment
Zoho Books allows only a small subset of columns to be used in the Exec query. These columns can typically be used with only = comparison. The available columns for DownloadAttachment are SourceId, SourceType and FileLocation.
SourceId will be the ID of different categories such as Invoices, Purchase Orders, Bills, SalesOrders.
SourceType will be the category types such as Invoices, Purchase Orders, Bills, SalesOrders.
FileLocation will be the path where the attachment will be downloaded.
For example:
Execute DownloadAttachment SourceId = '1894553000000091007', SourceType = 'invoices', FileLocation = 'C:/zohobooks'
Input
Name | Type | Required | Description |
SourceId | String | True | ID of categories like Invoices, Purchase Orders, Bills, SalesOrders. |
SourceType | String | True | Type of source
使用できる値は次のとおりです。invoices, purchaseorders, bills, salesorders |
FileLocation | String | True | The folder path to download the file to. |
Result Set Columns
Name | Type | Description |
Status | String | Stored procedure execution status. |