JDBC Driver for Sage Intacct

Build 26.0.9770

CreateAttachment

Creates a new attachment record and associates it with a specified folder or entity, facilitating document management.

Input

Name Type Accepts Input Streams Description
SupDocId String False The unique ID of the supporting document (supdoc) to which the attachment is associated.
SupDocName String False The name of the supporting document (supdoc) for identification.
SupDocFolderName String False The name of the folder where the attachment will be stored.
SupDocDescription String False Optional description of the attachment for further context.
AttachmentName String False Optional name of the attachment file.
AttachmentType String False Optional type of the attachment, such as PDF, image, etc.
AttachmentData String False The attachment content encoded in base64 format. This input takes precedence over FileLocation and Content.
FileLocation String False The full path of the file to upload. Used when AttachmentData is not provided, and takes precedence over Content.
Content String True An InputStream containing the attachment content. Used when AttachmentData and FileLocation are not provided.

Result Set Columns

Name Type Description
Result String Indicates whether the attachment creation was successful or failed.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9770