DownloadProcurementDocumentAttachment
Allows you to retrieve attachment documents that are part of procurement approvables.
Input
| Name | Type | Description |
| Realm | String | Identify requested realm. |
| AttachmentId | String | The unique attachment ID or attachment ID value which is provided as part of the document's attachment data. QueryType and ApprovableId must also be specified if the attachment ID instead of the unique attachment ID is specified. |
| QueryType | String | Specifies the document type of the historical document whose attachment you wish to retrieve.
使用できる値は次のとおりです。invoices, requisitions, receipts, directOrders, copyOrders, ERPOrders, invoiceReconciliations |
| ApprovableId | String | The unique identifier specifying the historical document whose attachment you wish to retrieve, which you can get from the document's UniqueName field. |
| LocalPath | String | The absolute location where you want to save the file in. |
Result Set Columns
| Name | Type | Description |
| FileData | String | If the LocalPath and FileStream inputs are empty, file data will be output encoded in base64. |
| Success | String | Indicates whether or not the operation was successful. |
| Details | String | Any extra details on the operation's execution. |